Re: Re: Flexy feedback
| From: | Demian Turner | Date: | Wed, 10 Dec 2003 14:49:41 +0000 |
| Subject: | Re: Re: Flexy feedback | ||
| References: | 1 2 3 4 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-9453@lists.php.net to get a copy of this message | ||
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') {
if (!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' => null
2 => '"'
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.