#set( $D = '$' )
img alt="${D}{message:altLogotip}" title="${D}{message:altLogotipo}"
src="${D}{asset:context:images/logo.gif}"

On Thu, Nov 20, 2008 at 7:16 AM, Daniel Alonso Sanchez
<[EMAIL PROTECTED]> wrote:
>
> Firstly, Hi everybody. This is a SOS message, because we are finishing our
> project and we need to make a choice for generating tapestry files.
>
> The thing is that tml tapestry files (look like html) have several clauses
> that looks like this:
>
> img alt="${message:altLogotipo}" title="${message:altLogotipo}"
> src="${asset:context:images/logo.gif}"
>
> I have tried to do something like this
>
> #set($openChars="${ ")
> #set($closeKey ="}")
>
> But after all i get this:
>
> img alt="$openCharsmessage:altLogotipo$closeKey"
> title="$openCharsmessage:altLogotipo$closeKey"
> src="$openCharsasset:context:images/logo.gif$closeKey"
>
> If I introduce an space beetween $openChars and message, i get an error in
> tapestry... So... is there anyway to get an output like this?
>
> img alt="${message:altLogotipo}" title="${message:altLogotipo}"
> src="${asset:context:images/logo.gif}"
>
> Thanks a lot in advance for the support. I need a lot of help :,(
>
> --
> View this message in context: 
> http://www.nabble.com/Character-problem-generating-a-tapestry-tml-file-tp20603108p20603108.html
> Sent from the Velocity - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to