NetTalk Central

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - sabra

Pages: [1] 2
1
Web Server - Ask For Help / How to store wholemessage email in MSSQL
« on: December 03, 2012, 12:26:22 PM »
 ??? I want to save my nettalk wholemessage in a mssql . I use the datatype varchar(max) (in the dct blob)  , but when i save my record i get a file system error
if self.WholeMessage <> ''
    ! This code runs each time an email is downloaded.  Here we are simply
    ! storing the WholeMessage property, which we need to use later (below)
    ! to load the email into the FileExplorer control.
    TempLong = self.WholeMessageLen
    if TempLong
      pTempString &= new (string(TempLong))
      pTempString  = self.WholeMessage
    end
    if ~pTempString &= null
      ema:WholeMessage[0: TempLong - 1] = pTempString
      dispose (pTempString)
    end
  end

2
You mean for the current day of like this

mo 25/7  th 26/7 we 27/7


Best regards,

Walter

3
Hi Bruce,

A customer asks me
- Can you put the name of the days in the planner (before the date)
- Can you limit the time range e.g. 7 - 6 pm and calculate the width of the column (appointments) against it?

Is this possible?

Best regards,

Walter

4
Hi Bruce and all,

I attached a modified example of hotdates (12) (c9056/ nt5.22) . It took me some days to find the error because it was in a total different place then i expected.

My planning page consists of three controls: date entry, netwebyear planner control and a browse of orders to be scheduled.

The Sabra example uses updappointment1 . The only difference with updappointment is a validation of the field keu:order.  If i use popup validation, the change button in the bnt_KeuringenUNplanned (updkeuring) does not work anymore: a total different control and table?! Also , the planner is not refreshed (have to press F5) if i validate in popup mode.

The second strange thing is the width of the days. I copied the procedures, they are identical .

Best regards,

Walter

The Netherlands


[attachment deleted by admin]

5
Hi all,

Just to complete this story: i created a custom.css , copied the cal-scroll code in and saved the file. after that i copied the gzipall.bat file from \clarion6\libsrc\netweb folder to my production folder and added this line of code to the gzipall.bat

type web\styles\custom.css        >> web\styles\all.css

Finally i added 'custom.css' in the styles\files tab of the nettalk object in the webserver procedure and ticked the 'is included in the all.css'.

After that the planner opened 'wide' (three days) . Don't forget to refresh your browser.
Walter

6
Ok done, but where do i have to put 'cal-scroll' in my procedure? I have choosen for set BIG and added 'cal-scroll' in  "month' but no luck.
Walter

7
Web Server - Ask For Help / Netwebyear Calender TakeAccepted embed
« on: April 07, 2011, 12:52:27 AM »
Bruce,
I added a netwebyear calender (month 1) which i use as a control on the planning_form. I want to pich a date , store in a session value and then reset the planner browse which i also added as a control on the planning_form.

Which embed must i use (click on a date, set session value) ,e.g. like takeaccepted?


walter

8
Hi Bruce,

Please find the attached screendumps . The planner opens 'small ', i want this to be big esp because the planner does not refresh after inserting an appointment (i press F5 and have to drag
the browse to make it wide again).

Cheers,

walter

[attachment deleted by admin]

9
Hi Bruce,

I strongled today with the planner. The example (web12) runs fine but in my own app the update form did not show up.
Because off a bug in former versions of NT5 , i disabled the popup options in the global extension. I restored it to default and that solved my problem. I have to test the rest of the app I all runs smoothly.

I have these questions (includes questions asked earlier today):

1.      I also want to show a table of unplanned tasks, but there is no place to enter a control (browseunplanned) . I want to create a table below the planner browse.
2.      Set width of the planner browse to full or qty pics.
3.      How to set a bold font in the description field (cell )
4.      Set the time scope e.g. from 6:00 am to 6 pm . The cell width has to be calculated against the time scope (so the cell gets wider). I now have to set a huge pix for a readable cell content.
5.      I also want a date picker on the screen. The option ‘start with’ is now set to today()  so you are limited to the number of days ahead to plan.

Best regards,
Walter / The Netherlands

10
Hi all

I started with the javascript dhtmlxScheduler .  The folder structure is
 Codebase   \ dhtmlxscheduler.js
      \ dhtmlxscheduler.css
      \connector   \connector.js
            \*.php
      \ext      \small .js files
      \imgs

 1)   In nt the default scripts folder is ‘scripts’. Should I copy all the js files in this folder or is it best to keep the js in the codebase folder.? And how must I add this in NT script entry?
2)   In the example there is a file 02_units_view.html. If I open this in the browser, the scheduler opens and runs. Should I call this page directly as a hard page in NT or must I create a NT source page e.g.?
3)   See http://dhtmlx.com/docs/products/dhtmlxScheduler/sample_basic.html. You can download the code there.

Best regards,

Walter


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head>
   <meta http-equiv="Content-type" content="text/html; charset=utf-8">
   <title></title>
</head>
   <script src="../../codebase/dhtmlxscheduler.js" type="text/javascript" charset="utf-8"></script>
   <script src="../../codebase/ext/dhtmlxscheduler_units.js" type="text/javascript" charset="utf-8"></script>
   <link rel="stylesheet" href="../../codebase/dhtmlxscheduler.css" type="text/css" title="no title" charset="utf-8">
   <script src="../../codebase/ext/dhtmlxscheduler_collision.js" type="text/javascript" charset="utf-8"></script>

   
<style type="text/css" media="screen">
   html, body{
      margin:0px;
      padding:0px;
      height:100%;
      overflow:hidden;
   }   
</style>

<script type="text/javascript" charset="utf-8">
   function init() {

      var sections=[
         {key:1, label:"Section A"},
         {key:2, label:"Section B"},
         {key:3, label:"Section C"},
         {key:4, label:"Section D"}
      ];
      
      scheduler.locale.labels.unit_tab = "Unit"
      scheduler.locale.labels.section_custom="Section";
      scheduler.config.details_on_create=true;
      scheduler.config.details_on_dblclick=true;
      scheduler.config.xml_date="%Y-%m-%d %H:%i";
      
      scheduler.config.lightbox.sections=[   
         {name:"description", height:130, map_to:"text", type:"textarea" , focus:true},
         {name:"custom", height:23, type:"select", options:sections, map_to:"section_id" },
         {name:"time", height:72, type:"time", map_to:"auto"}
      ]
      
      scheduler.createUnitsView({
         name:"unit",
         property:"section_id",
         list:sections
      });
      scheduler.config.multi_day = true;
      
      scheduler.init('scheduler_here',new Date(2009,5,30),"unit");
      scheduler.load("../common/units.xml");
   }
</script>

<body onload="init();">
   <div id="scheduler_here" class="dhx_cal_container" style='width:100%; height:100%;'>
      <div class="dhx_cal_navline">
         <div class="dhx_cal_prev_button">&nbsp;</div>
         <div class="dhx_cal_next_button">&nbsp;</div>
         <div class="dhx_cal_today_button"></div>
         <div class="dhx_cal_date"></div>
         <div class="dhx_cal_tab" name="day_tab" style="right:204px;"></div>
         <div class="dhx_cal_tab" name="week_tab" style="right:140px;"></div>
         <div class="dhx_cal_tab" name="unit_tab" style="right:280px;"></div>
         <div class="dhx_cal_tab" name="month_tab" style="right:76px;"></div>
      </div>
      <div class="dhx_cal_header">
      </div>
      <div class="dhx_cal_data">
      </div>      
   </div>
</body>


11
Web Server - Ask For Help / Re: Servedocument in netform embed
« on: January 25, 2011, 10:25:41 PM »
I found out that i can use p_web._sendfile(loc:pdfname)

This however in the _self. i want _blank , otherwise my form in gone.

Cheers,


Walter

12
The browse is a control on a (empty) form called w_form. The browse is used on several forms
The filter is
'Keu:status=10' and is conditional (child of w_form)

Walter

13
Web Server - Ask For Help / Servedocument in netform embed
« on: January 25, 2011, 01:25:59 PM »
In the postupdate embed of my netwebform i create a pdf report. Based on the condition SendByPost = true i want to show this pdf in a new page in the browser. I have the servedocument procedure working , but thats based on clicking a download button in a browse.
How can i do this on the server side ?

Best regards,

Walter

14
Hi,
I have a browse that is filtered on status =10. When i update a record (form) and change it to 20 , the browse returns with no records found. I want to return to the browse filled with status= 10 records . At the moment i use a refresh button .
Best Regards,

Walter
,The Netherlands

15
Hi all,

I have a browse with a 'sendpdf' button in each row. This button only must appear is the parent that is embedding the browse is 'Y') (loc:parent).

How can this be done?

Cheers,

Walter , the Netherlands

Pages: [1] 2