This is a problem with your taglib being contra to the spec I believe.

Attributes in tags must be completely runtime expressions, or completely
compile time.

Change

        <foo:mytag value="view.<%= bar %>"/>

to

        <foo:mytag value="<%= "view." + bar %>"/>

and it will work perfectly ;)

Mike

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Thomas Munro
> Sent: Saturday, 27 May 2000 12:08
> To: Orion-Interest
> Subject: taglib processing
>
>
> Hello
>
> In ScreenDefinitions.jsp in Sun's Pet Store demo (which I haven't tried
> to run), I see:
>
> <j2ee:Screen screen="<%=ScreenNames.MAIN_SCREEN%>">
>
> When I try to make my own taglib perform the same trick under Orion, the
> expression is not processed at all, and so my tag
>
> <foo:mytag value="view.<%= bar %>"/>
>
> receives the literal string "view.<%= bar %>" instead of having the
> contents of bar stuck in there.
>
> Is the order of processing configurable somewhere?  Can anyone suggest
> where I'm going wrong there?
>
> --
> Thomas Munro <[EMAIL PROTECTED]>
>  http://www.gi-technology.com/
>  GI Technology (Paris)
>
>
>


Reply via email to