Re: Re: Flexy feedback
| From: | Alan Knowles | Date: | Wed, 10 Dec 2003 15:14:50 +0000 |
| Subject: | Re: Re: Flexy feedback | ||
| References: | 1 2 3 4 5 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-9455@lists.php.net to get a copy of this message | ||
Fixed in CVS (hopefully :)
Regards
Alan
Demian Turner wrote:
hi alan thanks for the quick answer however i'm getting caught in flexy's Tag.php:129 with the test : if (strtoupper($k) == 'FLEXY:RAW') {-- Can you help out? Need Consulting Services or Know of a Job? http://www.akbkhome.comif (!is_object($v)) { PEAR::raiseError( 'flexy:raw only accepts a variable or method call as an argument, eg.'. ' flexy:raw="{somevalue}" you provided something else.' . " Error on Line {$this->element->line} <{$this->element->tag}>", null, PEAR_ERROR_DIE); }the $v which is being test always seems to be an array and fails: array 0 => '"' 1 =>object(html_template_flexy_token_var) 'token' => 'Var' 'value' => 'user.is_acct_active' 'line' => 123 'close' => null 'children' => array 'ignoreChildren' => false 'modifier' => null2 => '"' with the error msg: flexy:raw only accepts a variable or method call as an argument, eg. flexy:raw="{somevalue}" you provided something else. Error on Line 123 <INPUT> cheers demian Alan Knowles wrote:I've just commited <input type="checkbox"flexy:raw="{checked}" flexy:ignore="yes" name="hello" />where the value in flexy:raw get expanded into the tag.