vcl4php-developers Mailing List for VCL for PHP (Page 12)
Brought to you by:
ttm
You can subscribe to this list here.
2007 |
Jan
|
Feb
|
Mar
|
Apr
(63) |
May
(29) |
Jun
(135) |
Jul
(36) |
Aug
(15) |
Sep
(30) |
Oct
|
Nov
(6) |
Dec
(2) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2008 |
Jan
|
Feb
(1) |
Mar
(3) |
Apr
|
May
(2) |
Jun
(3) |
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(9) |
Dec
(15) |
2009 |
Jan
(2) |
Feb
(4) |
Mar
(2) |
Apr
|
May
(8) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2010 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2012 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2014 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
2016 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
From: Rob W. <rob...@gm...> - 2007-05-31 02:34:53
|
There was an htmleditor error that hung around still after I applied my last patch, so I'm adding this patch into the mix: What it does: In the htmleditor setup it checks if htmleditor exists before processing it. It's just a good idea anyway, and it works here by eliminating the error message. This might be my last patch for a while, since I'm now getting no errors on my demo app that is still (admittedly) early in development. -Rob -- Rob Wilkens http://RobWilkens.com 516-874-0579 |
From: Rob W. <rob...@gm...> - 2007-05-31 01:42:59
|
This patch turns off (but does not delete) the storing of resources (in loadResource()) in the session. It just doesn't work yet, and in order to develop/test stuff off the SVN version, I personally (and probably others too) would like to have functional code available. IF you want me to, I'll try to debug it for you if I can. However, I'm offering this patch anyway. Hint for debugging: Test it outside of the PHP Debugger, or if you test it on the PHP debugger, put some submit buttons on the form and click them multiple times. I might be able to get more infor for you, but right now, I think it's more important to be functional. -- Rob Wilkens http://RobWilkens.com 516-874-0579 |
From: Rob W. <rob...@gm...> - 2007-05-31 01:01:00
|
This is not an ideal/clean patch, but it works. What it does: Enables the ability to see/use a RichEdit on a PageControl. In htmlarea.js, I did two things : (1) Assigned xinha_editors[textarea.id] = this, in order to allow the user to reference as expected the editor in the xinha_editors array. (2) Added a bunch of "if (textarea) {...}" checks which seems to prevent some page errors that were coming up (visible easily in firebug) when a richedit control was on a page control. Also, in stdctrls.inc.php, I added, in dumpChildrenControls() which conveniently, i also submitted another patch for earlier today (not included here), I added the following: (1) A global variable to tell whether or not the control was initialized once (it should only be done once), (2) A function named after the control's name which is an 'appear' event handler - it does the initialization of the richedit, (3) Set the appear event to call that event handler. It's attached because it's a bit much to include in-line. Any comments (positive or negative) are welcome. Thanks, -Rob -- Rob Wilkens http://RobWilkens.com 516-874-0579 |
From: Rob W. <rob...@gm...> - 2007-05-30 22:35:42
|
Hello, This change (in some similar form, I presume) had already made it into SVN. I've got one more patch I'm working on, and when I see how you handled the below, It'll probably make it easier to do. Specifically, it's a patch for the RichTextEditor which allows it to work on a page control too. It'll probably initially still say "Page Errors" as it does now, but later on that can be worked out too. I'll try to get in the fix that at least lets it work tonight if I can. -Rob On 5/30/07, Jose Leon <qa...@gm...> wrote: > Hello, > Please, submit your patches using unified diff format, so we can > apply them easily for testing. > > I suggest you to checkout the current SVN sources using a svn client, > like tortoise, make your changes and issue the patch. > > Regards > > On 5/29/07, Rob Wilkens <rob...@gm...> wrote: > > Ok, what I did to make it work for me, and you can decide how you want > > it to work for others: > > > > I modified dumpContents() in comctrls.inc.php for the > > customPAgeControl class to have the follwing added two lines of code, > > plus I modified one line : > > [key: + = added line, +/- = modified line] > > > > + echo " var _javascriptForTabs = new > > Array();"; > > while(list($key, $val)=each($pages)) > > { > > -/+ > > $js=$this->dumpChildrenControls(-31,-11,$val, $names[$key]); > > + echo " > > _javascriptForTabs[\"$names[$key]\"]=function()".'{'.$js.'};'; > > } > > > > (Note: This will probably only work where there is only one page > > control, as otherwise _javascriptForTabs will be duplicately > > declared.) > > > > Then, inside of my onChange() event handler (in my own application, > > not in the library), I check what page we are on, then do something > > like this: > > > > if (Page2Initialized==false){ > > _javascriptForTabs["Name of tab"](); > > Page2Initialized=true; > > }; > > > > Is anyone else going to work on this further, or do you want me to do > > any more with it (I'm willing to). > > > > -Rob > > > > > > > > > > > > > > On 5/29/07, Rob Wilkens <rob...@gm...> wrote: > > > Hi, > > > > > > I filed a bug before I found out about this mailing list. > > > > > > I'm looking into a problem with dumpChildrenControls() or more > > > specifically, the function which calls it. > > > > > > dumpChildrenControls() is called from a parent container (I believe) > > > like a PageControl or a GroupBox. > > > > > > It does output buffering, then after the show() event is called for > > > each child control (and I'm wondering if it's checking the 'visible' > > > property, now that I think about another bug I hit) it's failing to > > > ever echo the Javascript code which it separates out. > > > > > > The result, for at least the calendar (DateTimePicker) control, is > > > that the initialization code (which itself is bad, I fixed my copy and > > > might share that later) never gets executed. > > > > > > The initialization code should be inserted into a javascript event > > > handler for when the page is changed to a particular page for the > > > first time (in the case of a PageControl). OF course, that means it > > > has to be executed _before_ an end-user would get their Javascript > > > control of that event. > > > > > > Ok, I think I've said too much for one message, I'll stop here and > > > just ask: What can I do here to help out on this issue? I could work > > > on the whole issue and submit a patch with Diff (which I think cygwin > > > has)? I could work with someone who knows what they're doing to get > > > this addressed too. > > > > > > Also: FYI, I think that enhancement with storing the *XML.PHP files in > > > the session isn't working out so good. IT looks like every second > > > (and beyond) page load the page (w/ a PageControl on it) looks > > > corrupted. If I close the browser and come back it's "fixed" until I > > > reload (i.e. click "Login" in my app). I've been forced to revert to > > > 1.0 version as a result. > > > > > > -- > > > Rob Wilkens > > > http://RobWilkens.com > > > 516-874-0579 > > > > > > > > > -- > > Rob Wilkens > > http://RobWilkens.com > > 516-874-0579 > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > vcl4php-developers mailing list > > vcl...@li... > > https://lists.sourceforge.net/lists/listinfo/vcl4php-developers > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > vcl4php-developers mailing list > vcl...@li... > https://lists.sourceforge.net/lists/listinfo/vcl4php-developers > -- Rob Wilkens http://RobWilkens.com 516-874-0579 |
From: Rob W. <rob...@gm...> - 2007-05-30 21:14:12
|
Unfortunately, other things are broken in the latest SVN release so I couldn't fully test it with my sample app, but I verified as much as it didn't seem to break anything new.. I've attached it and included text below. Not sure which method is preferred. Description: If you're escaping escaped strings, it wasn't working right, it should work correctly now. -Rob diff -urp vcl4php/stdctrls.inc.php vcl4php-new/stdctrls.inc.php --- vcl4php/stdctrls.inc.php 2007-05-22 16:01:38.348495000 -0400 +++ vcl4php-new/stdctrls.inc.php 2007-05-30 17:02:32.392434000 -0400 @@ -328,7 +328,7 @@ class QWidget extends FocusControl $html=$c[1]; ob_end_clean(); - echo str_replace("\r",'',str_replace("\n",'',str_replace('"','\"', $html))); + echo str_replace("\r",'',str_replace("\n",'',str_replace('"','\"', str_replace('\\','\\\\',$html)))); echo "\");\n"; echo " container.setLeft(".($v->Left+$leftoffset).");\n"; echo " container.setTop(".($v->Top+$topoffset).");\n"; |
From: Rob W. <rob...@gm...> - 2007-05-30 14:33:43
|
> Please, submit the patch in diff format. THANKS! ;-) > > Regards No problem. ;-) This one I can probably do a diff patch for fairly easily. However, I've got to head out for the day but will try to get to it later this afternoon (where local time now is 10:28am, it will probably be after 4-6pm that I get back to it). The other fix (your first reply) isn't ready to be fully submitted yet but I will work on that too, just need to create a wrapper function which runs the _javascriptForTabs() function. Even then it won't be ready for prime-time, but it will be better than what is currently there I think. -Rob -- Rob Wilkens http://RobWilkens.com 516-874-0579 |
From: Jose L. <qa...@gm...> - 2007-05-30 14:25:59
|
Hello, On 5/30/07, Rob Wilkens <rob...@gm...> wrote: > In stdctrls.inc.php, the following line in dumpChildrenControls needs > to be modified as shown here: > > echo str_replace("\r",'',str_replace("\n",'',str_replace('"','\"', > str_replace('\\','\\\\',$html)))); > > Basically we're escaping quotes, but if quotes are already escaped, > we're not escaping the escape characters, so that last little > insertion of replacing \\ with \\\\ is needed. i.e. We'd replace \" > with \\" originally, which would result in an escaped escape character > and a regular quote which is bad. > > If it's not already fixed in a newer release, can someone add this fix? Please, submit the patch in diff format. THANKS! ;-) Regards |
From: Jose L. <qa...@gm...> - 2007-05-30 14:25:14
|
Hello, Please, submit your patches using unified diff format, so we can apply them easily for testing. I suggest you to checkout the current SVN sources using a svn client, like tortoise, make your changes and issue the patch. Regards On 5/29/07, Rob Wilkens <rob...@gm...> wrote: > Ok, what I did to make it work for me, and you can decide how you want > it to work for others: > > I modified dumpContents() in comctrls.inc.php for the > customPAgeControl class to have the follwing added two lines of code, > plus I modified one line : > [key: + = added line, +/- = modified line] > > + echo " var _javascriptForTabs = new > Array();"; > while(list($key, $val)=each($pages)) > { > -/+ > $js=$this->dumpChildrenControls(-31,-11,$val, $names[$key]); > + echo " > _javascriptForTabs[\"$names[$key]\"]=function()".'{'.$js.'};'; > } > > (Note: This will probably only work where there is only one page > control, as otherwise _javascriptForTabs will be duplicately > declared.) > > Then, inside of my onChange() event handler (in my own application, > not in the library), I check what page we are on, then do something > like this: > > if (Page2Initialized==false){ > _javascriptForTabs["Name of tab"](); > Page2Initialized=true; > }; > > Is anyone else going to work on this further, or do you want me to do > any more with it (I'm willing to). > > -Rob > > > > > > > On 5/29/07, Rob Wilkens <rob...@gm...> wrote: > > Hi, > > > > I filed a bug before I found out about this mailing list. > > > > I'm looking into a problem with dumpChildrenControls() or more > > specifically, the function which calls it. > > > > dumpChildrenControls() is called from a parent container (I believe) > > like a PageControl or a GroupBox. > > > > It does output buffering, then after the show() event is called for > > each child control (and I'm wondering if it's checking the 'visible' > > property, now that I think about another bug I hit) it's failing to > > ever echo the Javascript code which it separates out. > > > > The result, for at least the calendar (DateTimePicker) control, is > > that the initialization code (which itself is bad, I fixed my copy and > > might share that later) never gets executed. > > > > The initialization code should be inserted into a javascript event > > handler for when the page is changed to a particular page for the > > first time (in the case of a PageControl). OF course, that means it > > has to be executed _before_ an end-user would get their Javascript > > control of that event. > > > > Ok, I think I've said too much for one message, I'll stop here and > > just ask: What can I do here to help out on this issue? I could work > > on the whole issue and submit a patch with Diff (which I think cygwin > > has)? I could work with someone who knows what they're doing to get > > this addressed too. > > > > Also: FYI, I think that enhancement with storing the *XML.PHP files in > > the session isn't working out so good. IT looks like every second > > (and beyond) page load the page (w/ a PageControl on it) looks > > corrupted. If I close the browser and come back it's "fixed" until I > > reload (i.e. click "Login" in my app). I've been forced to revert to > > 1.0 version as a result. > > > > -- > > Rob Wilkens > > http://RobWilkens.com > > 516-874-0579 > > > > > -- > Rob Wilkens > http://RobWilkens.com > 516-874-0579 > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > vcl4php-developers mailing list > vcl...@li... > https://lists.sourceforge.net/lists/listinfo/vcl4php-developers > |
From: Rob W. <rob...@gm...> - 2007-05-30 13:49:47
|
In stdctrls.inc.php, the following line in dumpChildrenControls needs to be modified as shown here: echo str_replace("\r",'',str_replace("\n",'',str_replace('"','\"', str_replace('\\','\\\\',$html)))); Basically we're escaping quotes, but if quotes are already escaped, we're not escaping the escape characters, so that last little insertion of replacing \\ with \\\\ is needed. i.e. We'd replace \" with \\" originally, which would result in an escaped escape character and a regular quote which is bad. If it's not already fixed in a newer release, can someone add this fix? -Rob -- Rob Wilkens http://RobWilkens.com 516-874-0579 |
From: Rob W. <rob...@gm...> - 2007-05-29 20:38:18
|
Ok, what I did to make it work for me, and you can decide how you want it to work for others: I modified dumpContents() in comctrls.inc.php for the customPAgeControl class to have the follwing added two lines of code, plus I modified one line : [key: + = added line, +/- = modified line] + echo " var _javascriptForTabs = new Array();"; while(list($key, $val)=each($pages)) { -/+ $js=$this->dumpChildrenControls(-31,-11,$val, $names[$key]); + echo " _javascriptForTabs[\"$names[$key]\"]=function()".'{'.$js.'};'; } (Note: This will probably only work where there is only one page control, as otherwise _javascriptForTabs will be duplicately declared.) Then, inside of my onChange() event handler (in my own application, not in the library), I check what page we are on, then do something like this: if (Page2Initialized==false){ _javascriptForTabs["Name of tab"](); Page2Initialized=true; }; Is anyone else going to work on this further, or do you want me to do any more with it (I'm willing to). -Rob On 5/29/07, Rob Wilkens <rob...@gm...> wrote: > Hi, > > I filed a bug before I found out about this mailing list. > > I'm looking into a problem with dumpChildrenControls() or more > specifically, the function which calls it. > > dumpChildrenControls() is called from a parent container (I believe) > like a PageControl or a GroupBox. > > It does output buffering, then after the show() event is called for > each child control (and I'm wondering if it's checking the 'visible' > property, now that I think about another bug I hit) it's failing to > ever echo the Javascript code which it separates out. > > The result, for at least the calendar (DateTimePicker) control, is > that the initialization code (which itself is bad, I fixed my copy and > might share that later) never gets executed. > > The initialization code should be inserted into a javascript event > handler for when the page is changed to a particular page for the > first time (in the case of a PageControl). OF course, that means it > has to be executed _before_ an end-user would get their Javascript > control of that event. > > Ok, I think I've said too much for one message, I'll stop here and > just ask: What can I do here to help out on this issue? I could work > on the whole issue and submit a patch with Diff (which I think cygwin > has)? I could work with someone who knows what they're doing to get > this addressed too. > > Also: FYI, I think that enhancement with storing the *XML.PHP files in > the session isn't working out so good. IT looks like every second > (and beyond) page load the page (w/ a PageControl on it) looks > corrupted. If I close the browser and come back it's "fixed" until I > reload (i.e. click "Login" in my app). I've been forced to revert to > 1.0 version as a result. > > -- > Rob Wilkens > http://RobWilkens.com > 516-874-0579 > -- Rob Wilkens http://RobWilkens.com 516-874-0579 |
From: Rob W. <rob...@gm...> - 2007-05-29 14:50:28
|
Hi, I filed a bug before I found out about this mailing list. I'm looking into a problem with dumpChildrenControls() or more specifically, the function which calls it. dumpChildrenControls() is called from a parent container (I believe) like a PageControl or a GroupBox. It does output buffering, then after the show() event is called for each child control (and I'm wondering if it's checking the 'visible' property, now that I think about another bug I hit) it's failing to ever echo the Javascript code which it separates out. The result, for at least the calendar (DateTimePicker) control, is that the initialization code (which itself is bad, I fixed my copy and might share that later) never gets executed. The initialization code should be inserted into a javascript event handler for when the page is changed to a particular page for the first time (in the case of a PageControl). OF course, that means it has to be executed _before_ an end-user would get their Javascript control of that event. Ok, I think I've said too much for one message, I'll stop here and just ask: What can I do here to help out on this issue? I could work on the whole issue and submit a patch with Diff (which I think cygwin has)? I could work with someone who knows what they're doing to get this addressed too. Also: FYI, I think that enhancement with storing the *XML.PHP files in the session isn't working out so good. IT looks like every second (and beyond) page load the page (w/ a PageControl on it) looks corrupted. If I close the browser and come back it's "fixed" until I reload (i.e. click "Login" in my app). I've been forced to revert to 1.0 version as a result. -- Rob Wilkens http://RobWilkens.com 516-874-0579 |
From: Jonathan B. <co...@jo...> - 2007-05-25 16:10:49
|
Hi, As requested by Jose in the SF tracker, I'm posting a testcase for the bug: https://sourceforge.net/tracker/?func=detail&atid=929250&aid=1696212&group_id=189419 Here is the testcase: http://www.jomitech.com/downloads/testcase.zip In the zip you'll find a component file, a package and a unit. Place the component and package into the vcl directory, and install into the IDE. The component prints out <!-- dumping header code for " . $this->Name . " --> when its dumpHeaderCode method is called. The unit contains a Panel, with 2 MyComponents dropped onto it. The first one is on the layer test, the second on the layer 123. When the unit is run, the expected behaviour to see in the HTML source is that both MyComponent instances print out that comment in the <head> section. However, only the MyComponent that is located on the ActiveLayer of the Panel prints out that comment. HTH Jon |
From: qadram s. <su...@qa...> - 2007-05-25 09:43:12
|
Tiago Lima Trinidad escribió: > I think that this new feature: "+Added a third parameter to ajaxCall to allow specify which components > to get updated by the ajax request" will serve as a workaround for this copy/cloning problem as I believe ajax calls will only receive updates for the needed component and not everything else. You are right, the problem of duplication of components using ajax is that those components doesn't implement dumpForAjax method, so they are created again, we should add dumpForAjax on all those components. Regards -- José León qadram software C/Juan Ramón Jiménez, 15 Entlo. 2 03203 Elche ALICANTE (SPAIN) T: +34 965 45 48 48 F: +34 965 45 48 48 M: +34 618 28 13 69 http://www.qadram.com |
From: Tiago L. T. <ti...@la...> - 2007-05-24 22:26:44
|
I think that this new feature: "+Added a third parameter to ajaxCall to allow specify which components to get updated by the ajax request" will serve as a workaround for this copy/cloning problem as I believe ajax calls will only receive updates for the needed component and not everything else. pac...@pa... escreveu: > We have seen this multiple copy/cloning behaviour when Ajax calls complete > for controls like groupbox and bitbutton as well. But not consistently. On > the same page one may multiply and the other will not. > > -----Original Message----- > From: vcl...@li... > [mailto:vcl...@li...] On Behalf Of Tiago > Lima Trinidad > Sent: Friday, 25 May 2007 7:33 a.m. > To: vcl...@li... > Subject: [vcl4php-developers] Patch Fixing qooxdoo's Windows+Ajax and > Canvas+Ajax+JS. > > Hi all! > This fixes the problem when using ajax and having a Window widget that you > end getting multiple copies of the same window. > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > ------------------------------------------------------------------------ > > _______________________________________________ > vcl4php-developers mailing list > vcl...@li... > https://lists.sourceforge.net/lists/listinfo/vcl4php-developers > -- Tiago Lima Trinidad |
From: <pac...@pa...> - 2007-05-24 21:33:41
|
Any response to this developers submission? -----Original Message----- From: vcl...@li... [mailto:vcl...@li...] On Behalf Of Fawzib Rojas Sent: Wednesday, 18 April 2007 3:30 a.m. To: VCL4PHP Developers Subject: [vcl4php-developers] Fix for Smarty + Ajax Smarty and Ajax don't work together. I made some changes to forms.inc.php and smartytemplate.inc.php to enable Smarty with Ajax. Changes forms.inc.php: Page->processAjax() - added Page->dumpUsingTemplate() - changed Page->dumpHeaderJavascript() - changed Page->dumpContents() - changed smartytemplate.inc.php: SmartyTemplate->assignComponents() - changed |
From: <pac...@pa...> - 2007-05-24 21:08:09
|
We have seen this multiple copy/cloning behaviour when Ajax calls complete for controls like groupbox and bitbutton as well. But not consistently. On the same page one may multiply and the other will not. -----Original Message----- From: vcl...@li... [mailto:vcl...@li...] On Behalf Of Tiago Lima Trinidad Sent: Friday, 25 May 2007 7:33 a.m. To: vcl...@li... Subject: [vcl4php-developers] Patch Fixing qooxdoo's Windows+Ajax and Canvas+Ajax+JS. Hi all! This fixes the problem when using ajax and having a Window widget that you end getting multiple copies of the same window. |
From: Tiago L. T. <ti...@la...> - 2007-05-24 19:33:56
|
Hi all! This fixes the problem when using ajax and having a Window widget that you end getting multiple copies of the same window. The Canvas class now allows ajax drawing and JavaScript drawing. This was done fixing some initialization of the component's name required prior to using the drawing methods. I added a function named boolToStr in (rtl.inc.pas) wich converts a PHP boolean into a JavaScript compatible boolean string. This can be used while dumping component boolean properties, replacing things like: if ($this->_tabposition==tpTop) { $position="true"; } else { $position="false"; }; with $position=boolToStr($this->_tabposition==tpTop); I also did some formatting in the source code, specially in the indentation. Any comments? PS: Btw, sorry for the crossposting. -- Tiago Lima Trinidad |
From: Tiago L. T. <ti...@la...> - 2007-05-24 19:27:43
|
Hi all! This fixes the problem when using ajax and having a Window widget that you end getting multiple copies of the same window. The Canvas class now allows ajax drawing and JavaScript drawing. This was done fixing some initialization of the component's name required prior to using the drawing methods. I added a function named boolToStr in (rtl.inc.pas) wich converts a PHP boolean into a JavaScript compatible boolean string. This can be used while dumping component boolean properties, replacing things like: if ($this->_tabposition==tpTop) { $position="true"; } else { $position="false"; }; with $position=boolToStr($this->_tabposition==tpTop); I also did some formatting in the source code, specially in the indentation. Any comments? -- Tiago Lima Trinidad |
From: Hallen D. S. M. <ha...@ob...> - 2007-05-23 16:59:32
|
Hello all, >> 1. An exception is thrown when the component on the form inherits from the >> Pen class. I modified the exception throw in classes.inc.php to show me the >> class name : "'Cannot unserialize a component Pen without an owner'" >> >> Just drop a shape control on a form and run to test this. >> > Ok, it's fixed now, Pen and Brush should also to return a valid owner > to be serialized/unserialized properly. > The same occurs with LabeledEdit component but not fixed in revision 43. -- Hállen David |
From: Jonathan B. <co...@jo...> - 2007-05-23 11:49:54
|
Hi Jose, Sorry I took so long to reply, as you know, been busy with Components For PHP :-) > Don't understand very well, the page it outputs a table that is the > Page itself, with the color, background,etc, properties that are setup > for the Page control and inside it dumps the controls it holds using a > layout. Please, explain a bit more. Sorry I wasn't very clear, I'll make another try :-) forms.inc.php, line 1163. Why is a table printed out? Only the XY_LAYOUT uses this table, so can't Layout::dumpXYLayout dump this table instead? Jon |
From: Jose L. <qa...@gm...> - 2007-05-23 10:17:07
|
Hello, On 5/23/07, pac...@pa... <pac...@pa...> wrote: > 1. An exception is thrown when the component on the form inherits from the > Pen class. I modified the exception throw in classes.inc.php to show me the > class name : "'Cannot unserialize a component Pen without an owner'" > > Just drop a shape control on a form and run to test this. Ok, it's fixed now, Pen and Brush should also to return a valid owner to be serialized/unserialized properly. > 2. The new ajax parameter passing seems to have disrupted ajax calls. > Haven't had time to investigate why. Property not found errors. Rolled back > to v41 in the meantime. Are there ant changes to ajax.js to accommodate the > component list? No changes on the ajax.js, is just a new parameter is sent to ajaxProcess. Regards |
From: qadram s. <su...@qa...> - 2007-05-22 11:23:29
|
Hello, Lots of changes on the latest release, there is a major change about the application lifecycle aimed to improve the execution time and also to reduce the size of session storage, so take it as a really unstable build and don't hesitate to report anything you find: This is the changelog: +Added global var $checkduplicatenames to make component creation faster by avoiding checking of naming when components are added to an owner +Optimized loading of forms by not reading .xml.php if the form is already on the session +Added support for serializing persistent child properties +Moved dumpJSEvent to Component class to allow non-visible components to generate javascript events +Added a third parameter to ajaxCall to allow specify which components to get updated by the ajax request +Modified readNamePath to behave correctly even with Persistent descendants +Added a default application name so you can specify different application domains so they live together on the same session +Now, the restore_session parameter doesn't work if the request is an ajax request, so the session is not restored +Added UseAjaxDebug property to pages, so it turns on/off ajax debugging +Added UsePixelTrans property to Layout objects, so you can specify if it generates transparent pixels or not You can download it from here: http://www.qadram.com/vcl4php/index.php?ac=2100 Is the version 07_05_22. THANKS! -- José León qadram software C/Juan Ramón Jiménez, 15 Entlo. 2 03203 Elche ALICANTE (SPAIN) T: +34 965 45 48 48 F: +34 965 45 48 48 M: +34 618 28 13 69 http://www.qadram.com |
From: Tiago L. T. <ti...@la...> - 2007-05-17 22:16:56
|
Hi, I would like to send a patch for Canvas class in Graphics.inc.php that corrects polygon and polyline drawing methods. -- Tiago Lima Trinidad |
From: Hallen D. S. M. <ha...@ob...> - 2007-05-15 22:02:56
|
The function 'getimagesize' not verify if _imagesource is a valid file. This causes errors in case of the _imagesource it will be a php page that return the image of database (Blob fields). I suggest call the function 'is_file' before. Ex.: On line 129 of extctrls.inc.php: ... if ($this->_imagesource!="") { if (is_file($this->getImageSourcePath())) { $result = getimagesize($this->getImageSourcePath()); if (is_array($result)) { ... The same occurs on line 186. |
From: qadram s. <su...@qa...> - 2007-05-10 09:25:44
|
Hello, Just note this link: http://www.ndesign-studio.com/blog/mac/css-dock-menu It could be a nice component to be developed. It uses jquery, which was requested to be integrated into the VCL, maybe we can contact them so they release it under LGPL, not GPL. If you decide to develop this component, please, feel free to ask any question you have. Regards -- José León qadram software C/Juan Ramón Jiménez, 15 Entlo. 2 03203 Elche ALICANTE (SPAIN) T: +34 965 45 48 48 F: +34 965 45 48 48 M: +34 618 28 13 69 http://www.qadram.com |