vcl4php-developers Mailing List for VCL for PHP (Page 10)
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: qadram s. <su...@qa...> - 2007-06-09 23:06:28
|
Rob Wilkens escribió: > Here's a tortoise generated patch for this. Ok, it has been applied and commited, thanks! 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: qadram s. <su...@qa...> - 2007-06-09 23:05:54
|
FrozenDice escribió: > I've noticed when using the MainMenu component that if you create an > item on the top level that has nothing inside it and click it during > runtime you get this small grey box that appears under it where a menu > would usually come out. I know it's hard to explain so here's a > picture: http://uomu.com/public/differenceMenus.jpg This sets Items => > null for this specific item(Test). If you set Items => null then it > doesn't show that, and acts like a you would expect a menu to when it > has nothing under it, more like a button. Ok, this has been fixed, a check has been added to detect if the array is empty. > Also another question I have, is it possible to have a click > Javascript event fire when you click on a menu with things inside > it(if Test had options under it, could I click on Test and have a > click event be fired)? I'm asking this because if I combine Items => > null and a click event like this then you could make a about, or help, > or anything on the main menu that acted more like a button rather than > a dropdown. Not yet, you can submit a feature request on the forum for that. > Another thing, what's with the limited scope of this > MainMenu? Qooxdoo has the ability to do RadioButtons, CheckBoxes, and > a whole ton of other things. That features are not yet wrapped on the component, but you can use them using qooxdoo syntax, you can also submit feature requests for that, so we have it into account for new developments. 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: Rob W. <rob...@gm...> - 2007-06-09 22:37:52
|
Here's what I learned is "unique" about my code that causes problems with it. I have a bunch of generated at run time (not in the designer) controls, which are generated based on what database I'm looking at. The code loops and does stuff like this: $this->lblCust[$ctr]=new Label($this); $this->lblCust[$ctr]->Name="lblCust_".$ctr; $this->lblCust[$ctr]->Left=32; $this->lblCust[$ctr]->Top=$CustCurTop; $this->lblCust[$ctr]->Width=162; $this->lblCust[$ctr]->alignment=agRight; $this->lblCust[$ctr]->Caption=trim($CustRow["Name"]).":"; $this->lblCust[$ctr]->Layer="More Contact Details"; $this->lblCust[$ctr]->Parent=$this->PageControl1; Note: I just added the "Name" assignment to my code tonight while I was troubleshooting the issue, originally name was unset and blank. What's stored in the session looks something like this: [snip].....[lblCust_1] => Array ( [0] => PageControl1 [1] => Label ) [edtCust_1] => Array( [0] => PageControl1 [1] => DateTimePicker ) [lblCust_2] => Array ( [0] => PageControl1 [1] => Label ) [edtCust_2] => Array ( [0] => PageControl1 [1] => RichEdit ) [lblCust_3] => .... [snip] This is a modified snippet of readFromResource(): $var->setName($name); echo "var=".$var." name=".$name." parent=".$parent."<p>"; $this->$name=$var; The last output before the dump is: .... var=Object id #370 name=Button1 parent=RWDContactPage var=Object id #375 name=lblCust_0 parent=PageControl1 Application raised an exception class EPropertyNotFound with message 'Error using a property, not defined as a member [RWDContactPage.lblCust_0]' Callstack #0 File: C:\Users\Robert Wilkens\Documents\Delphi for PHP Projects\index.php Line: 708 |_Callstack #1 File: C:\program files\codegear\delphi for php\1.0\vcl\classes.inc.php Line: 1374 |_Callstack #2 File: C:\program files\codegear\delphi for php\1.0\vcl\classes.inc.php Line: 1403 So, apparently the fields that I added dynamically (which is a very important thing to be able to do) are not being properly handled ... Any info would help as I continue to look into this. -Rob -- Rob Wilkens http://RobWilkens.com 516-874-0579 |
From: qadram s. <su...@qa...> - 2007-06-09 22:26:56
|
pac...@pa... escribió: > Check the VCL Wiki links page. Add components for download in there. > http://www.qadram.com/vcl4php/wiki/index.php/Links > > You can also use the various forums there for posting announcements. > > -----Original Message----- > From: vcl...@li... > > Is there any preferable way to announce a component you want to make > available, like posting on the newsgroups? Also is there any list or > compilation of components that people have made so far? You can also post on codegear newsgroups, and no compilations (apart from the wiki list) as far as I know. 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: qadram s. <su...@qa...> - 2007-06-09 22:24:26
|
FrozenDice escribió: > I've noticed that whenever I try to put a button with a server side > event in a window it just plain doesn't work. Javascript events work > fine, but for some reason I can't get it to submit inside a window. > Is this just how the window functions or a bug? You can use the javascript onclick to submit your form: document.Unit396.submit(); Controls inside qwidget descendants become qooxdoo atoms, so it may not work exactly in the same way. > I'm also running VCL > 1.0, which version is decently stable enough to upgrade to? This is hard to say because the only *stable* version is the 1.0, you should check the changelog to know if the problems you have, have been fixed on an specific version. 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: Rob W. <rob...@gm...> - 2007-06-09 22:17:11
|
On 6/9/07, qadram support <su...@qa...> wrote: > Rob Wilkens escribi=F3: > > Before releasing a "1.2" stable version you still have to deal with > > the one issue I worked around in an earlier patch that was never > > applied. Specifically dealing with storing of xml resource data in > > the session. > Please, don't send direct messages to me, send it to the development list= . > > Regarding the 1.2 version, it was changed to "start closing" a version, > to prepare it for the next Delphi for PHP update, that doesn't mean is > stable at all. > > And regarding your *patch*, you sent a patch that disabled a change we > made to the source code, that patch is not going to be applied as it is > not useful, let me explain you some things: > -The current SVN versions and daily builds are "unstable" and > "development" versions, because of that, are intended for developers > with the aim of contribute or test the latest features, is not intended > for production > > -If you find a problem with such a development version, don't send a > patch that *disables* a newly added feature, that is not useful at all, > you have several options in that case: > a) Preferred: Send test cases of code that worked before the new > feature was added and now doesn't work, so we are able to address and > fix the problem > b) Send a patch that fixes the problem, but that makes the feature > work, not to remove it. > > > > I might try to fix it again a different way and submit another patch. > > I've been busy with non-computer issues lately. > Ok, thanks, and don't hesitate to ask anything on the list. > > Regards > -- > Jos=E9 Le=F3n > qadram software > C/Juan Ram=F3n Jim=E9nez, 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 > Ok, I understand, and am replying to the list as requested. The reason I resubmitted that 'patch' (which to me is defined as something which plugs a hole) is because I just learned how to do it using TortoiseSVN. I'll do some homework tonight and see if I can find out what's "Really" wrong and get back to you. I also understand if it will take some time to review the patches for: -RichEdit on PageControl -and- -DateTimePicker properties -Rob --=20 Rob Wilkens http://RobWilkens.com 516-874-0579 |
From: qadram s. <su...@qa...> - 2007-06-09 22:15:00
|
Tiago Lima Trinidad escribió: > Hi qadram! > I'm looking forward to have my modifications added, too and I've already > sent the copyright thing about the legal issues of written by myself > being integrated in vcl4php. > I'd like to be able to actively contribute to this project, with, > either, new components, maybe property editors, fixing existing bugs and > providing code samples but don't know where to start. What would you > suggest? > > Thanks :) We have added some tasks you can help us here: http://www.qadram.com/vcl4php/wiki/index.php/Contributors_guide Nothing specific but the priority is to bugfixing and documentation. 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: qadram s. <su...@qa...> - 2007-06-09 22:00:06
|
pac...@pa... escribió: > Is it possible to fix the Layout and Font derivatives of Persistent? As of > now, since build 42 the Persistent:unserialize method is choking when it > calls $ob->unserialize looking for a non null owner by calling > $owner=$this->readOwner(); but readOwner is defined as null in all > Persistent derivatives.. > > What this means is that an empty form in the last two builds cannot compile > and execute. The Layout and Font properties of a form raise an exception. > > It should just be a matter of adding this override as was done to Pen and > Brush: > > function readOwner() > { > return($this->_control); > } > > If issues are raised here should they also be added to the project bug > tracker? You can check first here to know more about that problem and after that, depending on the problem, open a tracker. In any case, try the latest SVN version to check if that problem persists, we have check all Persistent descendants and all implement readOwner and we cannot reproduce the problem you mention, so send some sample which causes the error. > What is the best place to get the repository owners attention? This list > Also > I wonder what sort of testing process is used with releases? What and how do > the phpunit relate to the vc/tests directory? Is this functionality working? It's working partially, something we need collaboration is on writting test cases. 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: qadram s. <su...@qa...> - 2007-06-09 21:53:32
|
Rob Wilkens escribió: > 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). Please, send the patch and we will check it. 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: qadram s. <su...@qa...> - 2007-06-09 21:52:05
|
pac...@pa... escribió: > 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. That's because those components doesn't implement an specific dumpforAjax() method, so every ajax request recreates them, so to fix it, we need you send us a list of components you detect this behaviour. 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: qadram s. <su...@qa...> - 2007-06-09 21:49:51
|
pac...@pa... escribió: > 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 This patch has been applied. 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: qadram s. <su...@qa...> - 2007-06-09 21:47:54
|
Rob Wilkens escribió: > In fact, all these bugs may be fixed in xinha --- I don't know, they > no longer use htmlarea.js :--), it's a compatibility file which links > to what I'll call a 'compressed for space' XinhaCore.js file > > Should I try replacing htmlarea with a clean xinha download????? > > If I do, we'll still have to deal with xinha_editors[id] assignment > unless they dealt with that too, and that's easy to do, in my earlier > patch just modify 'new HTMLArea(...)" with "xinha_editors[id]=new > HTMLArea(...);" where id is the text area id which I believe we have > at the time of the call (or can easily get). If that updates the editor we are using to a newer version, then it's OK for me, don't know what others developers think, but you should try to provide patches for your changes, SVN compliant, the mechanism we use for integration is: -Get your patch -Check the changes to see if, at glance, look good -Integrate it -Test it -If everything is OK, we commit the changes to the source repository, if not, we revert back changes and send comments on the list So you can try to replace xinha by a newer version and send a patch with all the modifications and we will check it. 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: qadram s. <su...@qa...> - 2007-06-09 21:41:45
|
Tiago Lima Trinidad escribió: > Hi, > You have to install it in Delphi for PHP IDE as the components are NOT > automatically installed. The path is Component (in the main menu) -> > Packages -> Click Add button and that's it. > Hope that helps! > > FrozenDice escreveu: >> I'm trying to write components myself, and I think I have most of it >> right but I just can't figure how to install to the IDE. I have the >> .package.php but I don't know what to do with it. Do I put the >> .package.php along with the .inc.php in the VCL main folder and leave >> it there? Do I execute the .package.php? >> When I execute it I just get output to the screen but as far as I can >> tell nothing is installed. >> >> I went and grabbed another component someone else made >> http://www.qadram.com/vcl4php/forums/viewtopic.php?t=295 the same >> exact thing happened when I tried executing the .package.php to >> install. I figure there must be some trick I don't know about. >> Thanks for reading. Also, if you want to setup your packages into the IDE using an installer, you can find more info here: http://www.qadram.com/vcl4php/wiki/index.php/CWG:Deployment 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: qadram s. <su...@qa...> - 2007-06-09 21:36:23
|
FrozenDice escribió: > So I was successful in making my own component. Now I'm having a > problem where after I make it initially if I try to resize it in in > D4PHP it doesn't expand. Here's a screencap of what it looks like: > http://uomu.com/public/noUpdate.bmp I figure it's not redrawing in > D4PHP for some reason. I just don't know why. I've seen the same > behavior in other third party components also. > > When you run it through it looks perfectly find, the problem only > exists in the IDE. > > Ideas? By seeing the image, it looks to me you are not using the Width and Height of the component to render the code, that is, you are using a fixed width and height, or maybe some warnings are shown when you get the component drawn. It would be useful if you sent your component code, so we can check it, at least, the dumpContents() method. 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: Rob W. <rob...@gm...> - 2007-06-09 12:27:06
|
Attached is a fix that lets the richedit work on a PageControl and be accessed via the xinha_editors[] array like the rest of them. There are still page errors from pre-existing code, but this is a big step in the right direction, as it adds the functionality needed. -- Rob Wilkens http://RobWilkens.com 516-874-0579 |
From: Rob W. <rob...@gm...> - 2007-06-09 11:45:34
|
I still owe you a fix for the richedit on page control thing which doesn't alter htmlarea.js. Today looks like a rainy day here, so with any luck I'll get to it today. -Rob -- Rob Wilkens http://RobWilkens.com 516-874-0579 |
From: Rob W. <rob...@gm...> - 2007-06-09 11:42:27
|
FYI - This is a critical patch because without it I get a stack trace similar to the following when I reload a page: Application raised an exception class EPropertyNotFound with message 'Error using a property, not defined as a member [RWDContactPage.]' Callstack #0 File: C:\Users\Robert Wilkens\Documents\Delphi for PHP Projects\index.php Line: 707 |_Callstack #1 File: C:\program files\CodeGear\delphi for php\1.0\vcl\classes.inc.php Line: 1375 |_Callstack #2 File: C:\program files\CodeGear\delphi for php\1.0\vcl\classes.inc.php Line: 1402 Or, alternatively, a page control might show-through what's on each page all on one page. This fixes something that is badly broken. I fixed the description this time to be: Disable LOADNIG of resources stored in the session because they don't work yet, they are still stored in the session. -- Rob Wilkens http://RobWilkens.com 516-874-0579 |
From: Rob W. <rob...@gm...> - 2007-06-09 11:25:57
|
Here's a tortoise generated patch for this. -Rob On 6/9/07, Robert Wilkens <rob...@gm...> wrote: > I generated it with diff -urp , I think. > > I'll see if I can figure out how to do it with to do it with tortoise. > > -----Original Message----- > From: qadram support <su...@qa...> > Sent: June 09, 2007 6:44 AM > To: vcl...@li... > Subject: Re: [vcl4php-developers] Patch: Adds 2 properties to DateTimePic= ker > > Rob Wilkens escribi=F3: > > This patch adds two properties to the DateTimePicker control: > > > > IfFormat : Lets you change the date/time format > > ShowsTime: True/False : Whether or not to show the time in the Date/Tim= e > > Picker > > > > Note that I removed the 'default value' for the 'text' field of the > > DateTimePicker because it would be initialized *before* the format was > > changed, and the result would be that we'd have the wrong format > > date/time in the initial field value, and the result of that was an > > invalid date, and the first time (for example) after changing to > > %m/%d/%Y, would be a date around the year 2099 when you clicked the > > pull-down calendar. > I'm very interested to apply this patch, but the format is not compliant > with tortoise svn, are you using it to generate it? > > A valid patch must look like this: > > Index: comctrls.inc.php > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- comctrls.inc.php (revision 44) > +++ comctrls.inc.php (working copy) > > Regards > -- > Jos=E9 Le=F3n > qadram software > C/Juan Ram=F3n Jim=E9nez, 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 > > ------------------------------------------------------------------------- > 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 > > --=20 Rob Wilkens http://RobWilkens.com 516-874-0579 |
From: Robert W. <rob...@gm...> - 2007-06-09 10:57:37
|
I generated it with diff -urp , I think. I'll see if I can figure out how to do it with to do it with tortoise. -----Original Message----- From: qadram support <su...@qa...> Sent: June 09, 2007 6:44 AM To: vcl...@li... Subject: Re: [vcl4php-developers] Patch: Adds 2 properties to DateTimePicke= r Rob Wilkens escribi=F3: > This patch adds two properties to the DateTimePicker control: >=20 > IfFormat : Lets you change the date/time format > ShowsTime: True/False : Whether or not to show the time in the Date/Time= =20 > Picker >=20 > Note that I removed the 'default value' for the 'text' field of the > DateTimePicker because it would be initialized *before* the format was > changed, and the result would be that we'd have the wrong format > date/time in the initial field value, and the result of that was an > invalid date, and the first time (for example) after changing to > %m/%d/%Y, would be a date around the year 2099 when you clicked the > pull-down calendar. I'm very interested to apply this patch, but the format is not compliant=20 with tortoise svn, are you using it to generate it? A valid patch must look like this: Index: comctrls.inc.php =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- comctrls.inc.php (revision 44) +++ comctrls.inc.php (working copy) Regards --=20 Jos=E9 Le=F3n qadram software C/Juan Ram=F3n Jim=E9nez, 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 ------------------------------------------------------------------------- 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: qadram s. <su...@qa...> - 2007-06-09 10:44:57
|
Rob Wilkens escribió: > This patch adds two properties to the DateTimePicker control: > > IfFormat : Lets you change the date/time format > ShowsTime: True/False : Whether or not to show the time in the Date/Time > Picker > > Note that I removed the 'default value' for the 'text' field of the > DateTimePicker because it would be initialized *before* the format was > changed, and the result would be that we'd have the wrong format > date/time in the initial field value, and the result of that was an > invalid date, and the first time (for example) after changing to > %m/%d/%Y, would be a date around the year 2099 when you clicked the > pull-down calendar. I'm very interested to apply this patch, but the format is not compliant with tortoise svn, are you using it to generate it? A valid patch must look like this: Index: comctrls.inc.php =================================================================== --- comctrls.inc.php (revision 44) +++ comctrls.inc.php (working copy) 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: qadram s. <su...@qa...> - 2007-06-09 10:39:05
|
Rob Wilkens escribió: > 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? This change has been made to stdctrls.inc.php 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: qadram s. <su...@qa...> - 2007-06-09 10:35:50
|
Tiago Lima Trinidad escribió: > 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? Hi Tiago, thanks a lot for this patch, some of the changes have been applied, but there are many differences and conflicts between your forms.inc.php and the current one (my fault for not to apply this patch earlier), so can you checkout the current forms.inc.php and create a new patch for your modifications? 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: qadram s. <su...@qa...> - 2007-06-09 08:45:40
|
Tiago Lima Trinidad escribió: > I would like to send a patch for Canvas class in Graphics.inc.php that > corrects polygon and polyline drawing methods. Your patch has been applied, thanks!!! 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: qadram s. <su...@qa...> - 2007-06-09 08:38:00
|
Hallen David Silva Maia escribió: > 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. This fix has been added, thanks! 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: qadram s. <su...@qa...> - 2007-06-09 08:31:09
|
Jairo Viana Junior escribió: > Hi! > > I wrote some code in dbtables.inc.php regarding execution of non-fetchable stored procedures. I've implemented the Oracle-like syntax and mysql syntax remains pending. > > I've tried to submit patches on sourceforge like José explained, but I do not succeeded. Maybe 'cause I'm not a registered developer on the project. > > What can be done? Your patch has been applied, thanks a lot!! Still pending the TODO to make work the bindvars, let us know if you plan to implement it. 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 |