I am not sure I understand what you mean. Is "someTagAttribute" set in
the context by your custom tag?

musachy

On Mon, Oct 12, 2009 at 2:57 PM, Alex Siman <aleksandr.si...@gmail.com> wrote:
>
> I have created JSP file tag as it is described here
> http://java.sun.com/javaee/5/docs/tutorial/doc/bnama.html
>
> To get value of tag attribute 'someTagAttribute' I use this code:
> <s:property value="%{#attr.someTagAttribute}"/>
>
> OGNL context works fine within this file tag. But I realized that if there
> will be an action property with the same name 'someTagAttribute' and value
> for tag attribute will not be set, then the above code will return value of
> action property as if it is the value of tag attribute.
>
> How to get value of tag attribute directly from OGNL?
> --
> View this message in context: 
> http://www.nabble.com/How-to-get-value-of-tag-attribute-from-OGNL--tp25862967p25862967.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>



-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to