struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sri Sankaran" <Sri.Sanka...@sas.com>
Subject RE: Can Nested Tag lib go 2 Level Deep.
Date Thu, 31 Oct 2002 03:39:59 GMT
Alright, your JSP is referring to a app.flowrapper class but I don't have a definition for
it.

However, looking at your app.flow and app.flowstep class, the name of the getter jumps out
at me.  For example, in app.flowstep, the getter for lfse should be getLfse() and not getlfse()
-- note the upper-case 'L'.

Please double check on that.

Sri

-----Original Message-----
From: Gopal Mukkamala [mailto:gmukkamala@yahoo.com] 
Sent: Wednesday, October 30, 2002 4:40 PM
To: Struts Users Mailing List
Subject: RE: Can Nested Tag lib go 2 Level Deep.


Sorry missed the JSP FILES

1.)http://desistar.no-ip.org:8080/strutshop/notworkingmytst.txt

2.)http://desistar.no-ip.org:8080/strutshop/working1level.txt

Please Hit CTRL-REFRESH if you see a small orange
table.

Regards
Gopal

--- Gopal Mukkamala <gmukkamala@yahoo.com> wrote:
> 
> Hi Sai,
> 
> Thanks for replying back.
> 
> 1.)Here is 1 level working
>
http://desistar.no-ip.org:8080/strutshop/working1level.jsp
> 
> 2.)Here is 2 level not working
>
http://desistar.no-ip.org:8080/strutshop/notworkingmytst.jsp
> 
> 3.)Here is A
> http://desistar.no-ip.org:8080/strutshop/flow.txt
> 
> 4.)Here is B
>
http://desistar.no-ip.org:8080/strutshop/flowstep.txt
> 
> 5.)Here is C
>
http://desistar.no-ip.org:8080/strutshop/flowstepevent.txt
> 
> Buds. Thanks for your help.
> 
> Regards
> Gopal
> 
> --- Sri Sankaran <Sri.Sankaran@sas.com> wrote:
> > Yes, this is very much doable.
> > 
> > I would take a closer look at the getter in class
> B
> > -- in particular the case, is it getHldC().
> > 
> > Is it working ok for the first level?  That would
> > indicate if you are getting the right *kind* of
> > object.
> > 
> > Sri
> > 
> > -----Original Message-----
> > From: Gopal Mukkamala
> [mailto:gmukkamala@yahoo.com]
> > Sent: Wednesday, October 30, 2002 2:55 PM
> > To: struts-user@jakarta.apache.org
> > Subject: Can Nested Tag lib go 2 Level Deep.
> > 
> > 
> > ============================
> > Class A
> > {
> > private int a;
> > List hldB ;//holds references for class B
> > }
> > 
> > Class B
> > {
> > int b;
> > List hldC; ;//holds references for class C
> > }
> > 
> > Class C {
> > int c;
> > }
> > ============================
> > 
> > Is it possible with nested tag libs to
> > get hldC from Class A and iterate ?
> > 
> > <bean id="A">
> > <nested:root name="fA">
> >           <nested:write property="a" />
> >         <nested:iterate property="hldB">
> >           <nested:write property="b" />
> >             <nested:iterate property="hldC">
> >               <nested:write property="c" />
> >            </nested:iterate>
> >         </nested:iterate>
> > </nested:root>
> > It gives me method not defined,
> > property hldB[0].hldC
> > while the method is there in CLASS B?
> > 
> > Is it a doable thing and if yes HOW?
> > 
> > Please advise.
> > Gopal
> > 
> > __________________________________________________
> > Do you Yahoo!?
> > HotJobs - Search new jobs daily now http://hotjobs.yahoo.com/
> > 
> > --
> > To unsubscribe, e-mail:
> >
> <mailto:struts-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail: 
> > <mailto:struts-user-help@jakarta.apache.org>
> > 
> > 
> > --
> > To unsubscribe, e-mail:
> >
> <mailto:struts-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail: 
> > <mailto:struts-user-help@jakarta.apache.org>
> > 
> 
> 
> __________________________________________________
> Do you Yahoo!?
> HotJobs - Search new jobs daily now
> http://hotjobs.yahoo.com/
> 
> --
> To unsubscribe, e-mail:
> <mailto:struts-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:struts-user-help@jakarta.apache.org>
> 


__________________________________________________
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/

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


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


Mime
View raw message