struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <newton.d...@yahoo.com>
Subject Re: How to write variable in a Struts 2 tag?
Date Tue, 11 Mar 2008 19:36:14 GMT
--- Musachy Barroso <musachy@gmail.com> wrote:
> I am trying to let people know about this new cool google thingy, 
> that finds stuff for you :)

Riiiiight. Even if it did it'll never catch on.

Dave

> 
> musachy
> 
> On Tue, Mar 11, 2008 at 2:35 PM, Dave Newton <newton.dave@yahoo.com> wrote:
> > --- Musachy Barroso <musachy@gmail.com> wrote:
> >  > http://answers.google.com/answers/threadview?id=371241
> >
> >  Wow, you're like Meta-Google.
> >
> >  Dave
> >
> >
> >
> >  > On Tue, Mar 11, 2008 at 1:39 PM, bugs_ <bugsmail@centrum.cz> wrote:
> >  > >
> >  > >  I need rewrite jsp page from Struts 1 to Struts 2.
> >  > >
> >  > >  In Strust 1 is in the page something like this:
> >  > >  <% String variable = ... %>
> >  > >  <html:hidden property="foo" value="<%= variable %>"/>
> >  > >
> >  > >  I tried to rewrite it in Struts 2:
> >  > >  <% String variable = ... %>
> >  > >  <s:hidden name="foo" value="<%= variable %>" />
> >  > >  but this doesn't work. It return an error message: "According to
> TLD or
> >  > >  attribute directive in tag file, attribute value does not accept
> any
> >  > >  expressions"
> >  > >
> >  > >  I really don't know how to access variable in a Struts 2 tag?
> >  > >
> >  > >  I tried to read Struts 2 documentation, but I didn't find solution.
> >  > >  --
> >  > >  View this message in context:
> >  >
> > 
>
http://www.nabble.com/How-to-write-variable-in-a-Struts-2-tag--tp15981156p15981156.html
> >  > >  Sent from the Struts - User mailing list archive at Nabble.com.
> >  > >
> >  > >
> >  > > 
> ---------------------------------------------------------------------
> >  > >  To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> >  > >  For additional commands, e-mail: user-help@struts.apache.org
> >  > >
> >  > >
> >  >
> >  >
> >  >
> >  > --
> >  > "Hey you! Would you help me to carry the stone?" Pink Floyd
> >  >
> >  > ---------------------------------------------------------------------
> >  > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> >  > For additional commands, e-mail: user-help@struts.apache.org
> >  >
> >  >
> >
> >
> >  ---------------------------------------------------------------------
> >  To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> >  For additional commands, e-mail: user-help@struts.apache.org
> >
> >
> 
> 
> 
> -- 
> "Hey you! Would you help me to carry the stone?" Pink Floyd
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 


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


Mime
View raw message