[Petal] Another simple question, concatenation
Josh Narins
josh at narins.net
Tue Feb 8 21:38:03 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
Thanks again!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
Url : http://lists.webarch.co.uk/pipermail/petal/attachments/20050208/1691d882/attachment.bin
More information about the Petal
mailing list