[Petal] Another simple question, concatenation
Fergal Daly
fergal at esatclear.ie
Tue Feb 8 20:49:37 GMT 2005
On Tue, Feb 08, 2005 at 03:43:48PM -0500, Josh Narins wrote:
> I've got my dynamic includes working, I used the Petal::Hash::Include
> method, thanks for all the help.
>
> Now I am working with petal:attribute
>
> I have a variable, the server name, stored in a hash. But I want to add
> a constant string to the end of the variable, sorta like this...
>
> <form method="GET" action="https://"
> petal:attributes="action c/SROOT + '/path' " />
>
> But that doesn't work.
>
> Any ideas?
"action string:${c/SROOT}/path"
should do what you want,
Fergal
More information about the Petal
mailing list