You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Sanjay Choudhary <ja...@yahoo.com> on 2002/08/02 21:02:07 UTC

Re: nested tags --- caught me again--- urgent help needed.

Arron,

We also discovered that it works for the attributes
without "_"(underscore) in them. With attribute name
with an underscore it fails. 

we are using struts 1.1 beta dt. 30 May 2002.

-Sanjay


--- Arron Bates <ar...@keyboardmonkey.com> wrote:
> it's looking for ...
> 
> public String getLast_name()
> public void setLast_name(String newVal)
> 
> ...in your personVO object. From this uml-ish
> diagram ("last_name:String")
> it's hard to make this out.
> 
> 
> Arron.
> 
> 
> 
> > Hi friends,
> > 
> > I am kind of in a loop with nested tags.
> > 
> > In my formbean I have attribute
> > 
> > authority: AuthorityVo
> >   |
> >   |
> >   -- person:PersonVo
> >         |
> >         |
> >         -- last_name:String
> > 
> > I wish to display name attribute in my jsp
> > 
> > To display this I am doing the following
> > 
> > <nested:nest property="authority">
> >    <nested:nest property="person">
> >       <nested:write property="last_name"/>
> >    </nested:nest>
> > </nested:nest>
> > 
> > I get an error no setter/getter defined for
> > authority.person.last_name. Where as methods are
> > defined?
> > 
> > Please help.
> > 
> > -Sanjay
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! Health - Feel better, live better
> > http://health.yahoo.com
> 
> 
> 
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>