Re: [PHPTAL] concatenate string

2008-08-04 Thread Christoph Frick
On Mon, Aug 04, 2008 at 11:11:10AM +1200, anru chen wrote:

 person-id = 1;
 person-name=;
 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_)

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


pgp4EsSYMoOOi.pgp
Description: PGP signature
___
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal


[PHPTAL] concatenate string

2008-08-03 Thread anru chen
Hi all:

suppose i have a object person

person-id = 1;
person-name=;
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_)

regards

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