That's correct.  You cannot nest custom taglibs.

Try separating them:

<bean:define id="pg">
<tiles:get name='step'/>
</bean:define>
<html:img page="<%=pg%>" height="10" />

if 'step' was set to "/images/myImage.gif", and your app was "myApp", you
would get:

<img src="/myApp/images/myImage.gif">




--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx

----- Original Message -----
From: "Phong Nguyen Thanh" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 28, 2004 2:39 PM
Subject: How to use tiles:get together with html:img


>
> Hi,
>
> I want to do something like this
>
>        <html:img page="<tiles:get name='step'/>" height="10" />
>
> step will represent some images that is dynamically put into using
> tiles:put. But what I got is
>
>        <img src="/validator<tiles:get name='title'/>"
>
> i.e. <tiles:get name='step'/> is not get expanded.
>
> Can I do the above and how?
>
> Thank you very much.
>
> Kind regards,
>
> Phong.
>
> ---------------------------------------------------------------------
> 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