Open Power Template 2.x family
PLEASE PROVIDE THE TEMPLATES AND/OR PHP CODE IN THE TASK DESCRIPTION (Not URL-s to them). THAT ALLOWS US TO REPRODUCE THE PROBLEM! OTHERWISE WE ARE NOT ABLE TO HELP YOU!
Remember to hide all the security-related pieces of code from the task description, like passwords, server paths etc. for your own safety. Once we close the task, we cannot edit it anymore!
PLEASE PROVIDE THE TEMPLATES AND/OR PHP CODE IN THE TASK DESCRIPTION (Not URL-s to them). THAT ALLOWS US TO REPRODUCE THE PROBLEM! OTHERWISE WE ARE NOT ABLE TO HELP YOU!
Remember to hide all the security-related pieces of code from the task description, like passwords, server paths etc. for your own safety. Once we close the task, we cannot edit it anymore!
FS#63 - Passing empty parameters in component instruction
Attached to Project:
Open Power Template
Opened by nediam (nediam) - Monday, 09 March 2009, 04:10 GMT-7
Last edited by Zyx (Zyx) - Friday, 13 March 2009, 01:29 GMT-7
Opened by nediam (nediam) - Monday, 09 March 2009, 04:10 GMT-7
Last edited by Zyx (Zyx) - Friday, 13 March 2009, 01:29 GMT-7
|
DetailsWhen parameters data are empty eg:
<opt:input template="formLayout" name="keywords" value="" /> then OPT should generate: $_component_1->set('value', ''); but it generates: $_component_8->set('value', ); causing php syntax error. |
This task depends upon
Closed by Zyx (Zyx)
Friday, 13 March 2009, 01:29 GMT-7
Reason for closing: Fixed
Additional comments about closing: Fixed in rev. 63.
Friday, 13 March 2009, 01:29 GMT-7
Reason for closing: Fixed
Additional comments about closing: Fixed in rev. 63.
~~~~
<opt:input template="formLayout" name="keywords" value="null" />
~~~~
However, please notice that `str:value=""` works and gives an empty string.