On Mon, Aug 04, 2008 at 11:11:10AM +1200, anru chen wrote:

> person->id = 1;
> person->name=xxxx;
> person->email = "[EMAIL PROTECTED]".
> 
> my question is how can i do some thing like this:
> 
> <button name="sub" value="" ><button>
> I want to set the button value equal to person/id . "_". person/name (1_xxxx)

<button name="sub" value="SomeName" tal:attributes="value 
string:${person/id}_${person/name}" />

on the other hand - if the value there is app releavant then you might
generate it in php.

-- 
cu

Attachment: pgp4EsSYMoOOi.pgp
Description: PGP signature

_______________________________________________
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal

Reply via email to