You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by hemant <ya...@softhome.net> on 2002/07/18 20:03:05 UTC

Setter Methods not being called in nested:iterate scenario :+(

Comrades,

I am trying to Iterate over a Collection of Collections of ValueObjects and after some real painful experimentation (With VA 3.5.3 + Apache Tomcat + Poolman ), I got the page to come up properly :). So far so good. I went out and celebrated for a few minutes... 

The getter methods seem to work fine. But the user data is not being captured on Submit :(

Please throw some light on this...

Here is the snippet from my JSP.

<!--bean:define id="collectionOfPairs" name = "ldmservice" property="ranges" type="java.util.Collection" scope="session"/-->
<nested:root name="rangesform">

<!--logic:iterate id="pairs" name="collectionOfPairs"  type="java.util.Collection"-->
<nested:iterate  property="collectionOfRanges">

 <nested:iterate id="vopair" property="this/" type="com.xxx.operations.mplanning.mpi.util.ValueObjectPair">


  <nested:root name="vopair">

...................
...................


            <tr>
               <td width="10%">Description</td>
               <td width="90%"><nested:write name="vopair" property="twVo.description"/></td>
            </tr>



For some reason, the setter Method of setDescription(String xyz) is not being called.


Please help...


Many Thanks for Your Time

Regards
hemant




property="this/" VS property="something" in nested:iterate

Posted by hemant <ya...@softhome.net>.
Here is a snippet from my JSP


//Start of Snippet///////////////////////////////

<nested:iterate id="collectionOfRanges" property="collectionOfRanges">

 <nested:iterate id="vopair" property="this/"
type="com.xxx.operations.mplanning.mpi.util.ValueObjectPair">

  <nested:root name="vopair">
    .....................................
    ...................................
  <td>
  <nested:write name="vopair"  property="twVo.objectType"/> - <nested:write
name="vopair" property="twVo.description"/>
  </td>

//End of Snippet///////////////////////////////

Now the getters work fine. The setters for some reason do not work. Yes, I
have my reset() method and it is as follows....

public void reset(ActionMapping mapping, HttpServletRequest request)
{
    if (this.collectionOfRanges == null)
        {
        HttpSession session = request.getSession();
        MpiServiceBean msb =
            (MpiServiceBean)
session.getAttribute(MpiConstants.MPI_SERVICE_BEAN);

        this.collectionOfRanges = msb.getRanges();
    }
}

So the collectionOfRanges  is populated before the page is fired up and it
is expected that this method is called before Submit data is fed into
collectionOfRanges .

But for some reason, the setter() methods are not being called.

Is this because of having

<nested:iterate id="vopair" property="this/"
type="com.xxx.operations.mplanning.mpi.util.ValueObjectPair">

instead of

<nested:iterate id="vopair" property="something"
type="com.xxx.operations.mplanning.mpi.util.ValueObjectPair">

???????


If that is true, then it would mean I need a bean for every property that I
want to set. Isnt that cumbersome?

Thanks in Advance
hemant












----- Original Message -----
From: "hemant" <ya...@softhome.net>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Thursday, July 18, 2002 6:11 PM
Subject: Re: Setter Methods not being called in nested:iterate scenario :+(


> Adam
> Thanks for responding..
>
> The Actionform (rangesform) itself is my root and I have a collection
> reference "collectionOfPairs" in "rangesform",  replete with getter/setter
> methods.
>
> The collectionOfPairs is instantiated and populated. If not, I would not
be
> seeing the page with the correct data. right?
>
> As I said earlier, the getters work, the setters do not work. All this
> inspite of having the bean in the form.
>
> Thanks
> hemant
>
>
> ----- Original Message -----
> From: "Adam Hardy" <ah...@cyberspaceroad.com>
> To: "Struts Users Mailing List" <st...@jakarta.apache.org>
> Sent: Thursday, July 18, 2002 4:39 PM
> Subject: Re: Setter Methods not being called in nested:iterate scenario
:+(
>
>
> > nested tags / indexed properties / nested beans gotcha. You have to
> > instantiate the beans yourself in the form reset() if you want to
> > capture the indexed properties.
> >
> >
> > [this answer was automated, virtually]
> >
> > hemant wrote:
> > > Comrades,
> > >
> > > I am trying to Iterate over a Collection of Collections of
ValueObjects
> and after some real painful experimentation (With VA 3.5.3 + Apache Tomcat
+
> Poolman ), I got the page to come up properly :). So far so good. I went
out
> and celebrated for a few minutes...
> > >
> > > The getter methods seem to work fine. But the user data is not being
> captured on Submit :(
> > >
> > > Please throw some light on this...
> > >
> > > Here is the snippet from my JSP.
> > >
> > > <!--bean:define id="collectionOfPairs" name = "ldmservice"
> property="ranges" type="java.util.Collection" scope="session"/-->
> > > <nested:root name="rangesform">
> > >
> > > <!--logic:iterate id="pairs" name="collectionOfPairs"
> type="java.util.Collection"-->
> > > <nested:iterate  property="collectionOfRanges">
> > >
> > >  <nested:iterate id="vopair" property="this/"
> type="com.xxx.operations.mplanning.mpi.util.ValueObjectPair">
> > >
> > >
> > >   <nested:root name="vopair">
> > >
> > > ...................
> > > ...................
> > >
> > >
> > >             <tr>
> > >                <td width="10%">Description</td>
> > >                <td width="90%"><nested:write name="vopair"
> property="twVo.description"/></td>
> > >             </tr>
> > >
> > >
> > >
> > > For some reason, the setter Method of setDescription(String xyz) is
not
> being called.
> > >
> > >
> > > Please help...
> > >
> > >
> > > Many Thanks for Your Time
> > >
> > > Regards
> > > hemant
> > >
> > >
> > >
> > >
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> >
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>


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


Re: Setter Methods not being called in nested:iterate scenario

Posted by hemant <ya...@softhome.net>.
Aaron

Many Thanks for the Monkey Struts example on your site. It was terrific.
The Manager bashing is quite appropriate too. I am currently working for one
right now :D

Anyway.. going by the Monkey See, Monkey Code principle, any examples on the
whole "wrapping it into LazyList and providing a class definition of the
child bean" example for me to see* ? Why do I need to wrap it in the first
place and it looks as if every wrapped collection has to be in some bean for
the setters to work. Correct me If Iam wrong.

Regards
hemant





----- Original Message -----
From: "Arron Bates" <st...@keyboardmonkey.com>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Friday, July 19, 2002 8:41 AM
Subject: Re: Setter Methods not being called in nested:iterate scenario :+(


> FYI
>
> This isn't a "nested tags" issue at all, but a nested bean-in-a-list
> issue which Struts had a long time before I wrote the nested tags.
>
> They're only guilty of making something quite complex very easy to do.
> :)
>
> Wrap your collections in org.apache.commons.collections.LazyList,
> provide a class definition of your child bean and it'll be sweet and
> ready to do without any other effort, even in the reset() method.
>
>
> Arron.
>
>
> On Fri, 2002-07-19 at 18:24, Adam Hardy wrote:
> > Wrong!
> > I'll eat my hat if you haven't been gotcha'd by the nested tags gotcha.
> > If your form is in the request, it (and its beans content) will have
> > disappeared after displaying your page, and the new form bean on
> > instantiation for a new request (incoming submit) will not contain the
> > beans, because it ain't been thro' your Action yet. You need to do it in
> > your reset() or put your form in the session scope. Everybody on the
> > list has heard this once a week since the invention of nested tags, I
> > reckon - sorry folks. You can apologise too Hemant, unless you ain't
> > been gotcha'd. Coz it's all in the archives.
> >
> > hemant wrote:
> >
> > >Adam
> > >Thanks for responding..
> > >
> > >The Actionform (rangesform) itself is my root and I have a collection
> > >reference "collectionOfPairs" in "rangesform",  replete with
getter/setter
> > >methods.
> > >
> > >The collectionOfPairs is instantiated and populated. If not, I would
not be
> > >seeing the page with the correct data. right?
> > >
> > >As I said earlier, the getters work, the setters do not work. All this
> > >inspite of having the bean in the form.
> > >
> > >Thanks
> > >hemant
> > >
> > >
> > >----- Original Message -----
> > >From: "Adam Hardy" <ah...@cyberspaceroad.com>
> > >To: "Struts Users Mailing List" <st...@jakarta.apache.org>
> > >Sent: Thursday, July 18, 2002 4:39 PM
> > >Subject: Re: Setter Methods not being called in nested:iterate scenario
:+(
> > >
> > >
> > >
> > >
> > >>nested tags / indexed properties / nested beans gotcha. You have to
> > >>instantiate the beans yourself in the form reset() if you want to
> > >>capture the indexed properties.
> > >>
> > >>
> > >>[this answer was automated, virtually]
> > >>
> > >>hemant wrote:
> > >>
> > >>
> > >>>Comrades,
> > >>>
> > >>>I am trying to Iterate over a Collection of Collections of
ValueObjects
> > >>>
> > >>>
> > >and after some real painful experimentation (With VA 3.5.3 + Apache
Tomcat +
> > >Poolman ), I got the page to come up properly :). So far so good. I
went out
> > >and celebrated for a few minutes...
> > >
> > >
> > >>>The getter methods seem to work fine. But the user data is not being
> > >>>
> > >>>
> > >captured on Submit :(
> > >
> > >
> > >>>Please throw some light on this...
> > >>>
> > >>>Here is the snippet from my JSP.
> > >>>
> > >>><!--bean:define id="collectionOfPairs" name = "ldmservice"
> > >>>
> > >>>
> > >property="ranges" type="java.util.Collection" scope="session"/-->
> > >
> > >
> > >>><nested:root name="rangesform">
> > >>>
> > >>><!--logic:iterate id="pairs" name="collectionOfPairs"
> > >>>
> > >>>
> > >type="java.util.Collection"-->
> > >
> > >
> > >>><nested:iterate  property="collectionOfRanges">
> > >>>
> > >>> <nested:iterate id="vopair" property="this/"
> > >>>
> > >>>
> > >type="com.xxx.operations.mplanning.mpi.util.ValueObjectPair">
> > >
> > >
> > >>>  <nested:root name="vopair">
> > >>>
> > >>>...................
> > >>>...................
> > >>>
> > >>>
> > >>>            <tr>
> > >>>               <td width="10%">Description</td>
> > >>>               <td width="90%"><nested:write name="vopair"
> > >>>
> > >>>
> > >property="twVo.description"/></td>
> > >
> > >
> > >>>            </tr>
> > >>>
> > >>>
> > >>>
> > >>>For some reason, the setter Method of setDescription(String xyz) is
not
> > >>>
> > >>>
> > >being called.
> > >
> > >
> > >>>Please help...
> > >>>
> > >>>
> > >>>Many Thanks for Your Time
> > >>>
> > >>>Regards
> > >>>hemant
> > >>>
> > >>>
> > >>>
> > >>>
> > >>>
> > >>>
> > >>
> > >>--
> > >>To unsubscribe, e-mail:
> > >>
> > >>
> > ><ma...@jakarta.apache.org>
> > >
> > >
> > >>For additional commands, e-mail:
> > >>
> > >>
> > ><ma...@jakarta.apache.org>
> > >
> > >
> > >
> > >
> > >--
> > >To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> > >For additional commands, e-mail:
<ma...@jakarta.apache.org>
> > >
> > >
> > >
> > >
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> > For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
>
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>


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


Re: Setter Methods not being called in nested:iterate scenario :+(

Posted by Arron Bates <st...@keyboardmonkey.com>.
FYI

This isn't a "nested tags" issue at all, but a nested bean-in-a-list
issue which Struts had a long time before I wrote the nested tags.

They're only guilty of making something quite complex very easy to do.
:)

Wrap your collections in org.apache.commons.collections.LazyList,
provide a class definition of your child bean and it'll be sweet and
ready to do without any other effort, even in the reset() method.


Arron.


On Fri, 2002-07-19 at 18:24, Adam Hardy wrote:
> Wrong!
> I'll eat my hat if you haven't been gotcha'd by the nested tags gotcha. 
> If your form is in the request, it (and its beans content) will have 
> disappeared after displaying your page, and the new form bean on 
> instantiation for a new request (incoming submit) will not contain the 
> beans, because it ain't been thro' your Action yet. You need to do it in 
> your reset() or put your form in the session scope. Everybody on the 
> list has heard this once a week since the invention of nested tags, I 
> reckon - sorry folks. You can apologise too Hemant, unless you ain't 
> been gotcha'd. Coz it's all in the archives.
> 
> hemant wrote:
> 
> >Adam
> >Thanks for responding..
> >
> >The Actionform (rangesform) itself is my root and I have a collection
> >reference "collectionOfPairs" in "rangesform",  replete with getter/setter
> >methods.
> >
> >The collectionOfPairs is instantiated and populated. If not, I would not be
> >seeing the page with the correct data. right?
> >
> >As I said earlier, the getters work, the setters do not work. All this
> >inspite of having the bean in the form.
> >
> >Thanks
> >hemant
> >
> >
> >----- Original Message -----
> >From: "Adam Hardy" <ah...@cyberspaceroad.com>
> >To: "Struts Users Mailing List" <st...@jakarta.apache.org>
> >Sent: Thursday, July 18, 2002 4:39 PM
> >Subject: Re: Setter Methods not being called in nested:iterate scenario :+(
> >
> >
> >  
> >
> >>nested tags / indexed properties / nested beans gotcha. You have to
> >>instantiate the beans yourself in the form reset() if you want to
> >>capture the indexed properties.
> >>
> >>
> >>[this answer was automated, virtually]
> >>
> >>hemant wrote:
> >>    
> >>
> >>>Comrades,
> >>>
> >>>I am trying to Iterate over a Collection of Collections of ValueObjects
> >>>      
> >>>
> >and after some real painful experimentation (With VA 3.5.3 + Apache Tomcat +
> >Poolman ), I got the page to come up properly :). So far so good. I went out
> >and celebrated for a few minutes...
> >  
> >
> >>>The getter methods seem to work fine. But the user data is not being
> >>>      
> >>>
> >captured on Submit :(
> >  
> >
> >>>Please throw some light on this...
> >>>
> >>>Here is the snippet from my JSP.
> >>>
> >>><!--bean:define id="collectionOfPairs" name = "ldmservice"
> >>>      
> >>>
> >property="ranges" type="java.util.Collection" scope="session"/-->
> >  
> >
> >>><nested:root name="rangesform">
> >>>
> >>><!--logic:iterate id="pairs" name="collectionOfPairs"
> >>>      
> >>>
> >type="java.util.Collection"-->
> >  
> >
> >>><nested:iterate  property="collectionOfRanges">
> >>>
> >>> <nested:iterate id="vopair" property="this/"
> >>>      
> >>>
> >type="com.xxx.operations.mplanning.mpi.util.ValueObjectPair">
> >  
> >
> >>>  <nested:root name="vopair">
> >>>
> >>>...................
> >>>...................
> >>>
> >>>
> >>>            <tr>
> >>>               <td width="10%">Description</td>
> >>>               <td width="90%"><nested:write name="vopair"
> >>>      
> >>>
> >property="twVo.description"/></td>
> >  
> >
> >>>            </tr>
> >>>
> >>>
> >>>
> >>>For some reason, the setter Method of setDescription(String xyz) is not
> >>>      
> >>>
> >being called.
> >  
> >
> >>>Please help...
> >>>
> >>>
> >>>Many Thanks for Your Time
> >>>
> >>>Regards
> >>>hemant
> >>>
> >>>
> >>>
> >>>
> >>>      
> >>>
> >>
> >>--
> >>To unsubscribe, e-mail:
> >>    
> >>
> ><ma...@jakarta.apache.org>
> >  
> >
> >>For additional commands, e-mail:
> >>    
> >>
> ><ma...@jakarta.apache.org>
> >  
> >
> >
> >
> >--
> >To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> >For additional commands, e-mail: <ma...@jakarta.apache.org>
> >
> >
> >  
> >
> 
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>




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


Re: Setter Methods not being called in nested:iterate scenario :+(

Posted by Adam Hardy <ah...@cyberspaceroad.com>.
Wrong!
I'll eat my hat if you haven't been gotcha'd by the nested tags gotcha. 
If your form is in the request, it (and its beans content) will have 
disappeared after displaying your page, and the new form bean on 
instantiation for a new request (incoming submit) will not contain the 
beans, because it ain't been thro' your Action yet. You need to do it in 
your reset() or put your form in the session scope. Everybody on the 
list has heard this once a week since the invention of nested tags, I 
reckon - sorry folks. You can apologise too Hemant, unless you ain't 
been gotcha'd. Coz it's all in the archives.

hemant wrote:

>Adam
>Thanks for responding..
>
>The Actionform (rangesform) itself is my root and I have a collection
>reference "collectionOfPairs" in "rangesform",  replete with getter/setter
>methods.
>
>The collectionOfPairs is instantiated and populated. If not, I would not be
>seeing the page with the correct data. right?
>
>As I said earlier, the getters work, the setters do not work. All this
>inspite of having the bean in the form.
>
>Thanks
>hemant
>
>
>----- Original Message -----
>From: "Adam Hardy" <ah...@cyberspaceroad.com>
>To: "Struts Users Mailing List" <st...@jakarta.apache.org>
>Sent: Thursday, July 18, 2002 4:39 PM
>Subject: Re: Setter Methods not being called in nested:iterate scenario :+(
>
>
>  
>
>>nested tags / indexed properties / nested beans gotcha. You have to
>>instantiate the beans yourself in the form reset() if you want to
>>capture the indexed properties.
>>
>>
>>[this answer was automated, virtually]
>>
>>hemant wrote:
>>    
>>
>>>Comrades,
>>>
>>>I am trying to Iterate over a Collection of Collections of ValueObjects
>>>      
>>>
>and after some real painful experimentation (With VA 3.5.3 + Apache Tomcat +
>Poolman ), I got the page to come up properly :). So far so good. I went out
>and celebrated for a few minutes...
>  
>
>>>The getter methods seem to work fine. But the user data is not being
>>>      
>>>
>captured on Submit :(
>  
>
>>>Please throw some light on this...
>>>
>>>Here is the snippet from my JSP.
>>>
>>><!--bean:define id="collectionOfPairs" name = "ldmservice"
>>>      
>>>
>property="ranges" type="java.util.Collection" scope="session"/-->
>  
>
>>><nested:root name="rangesform">
>>>
>>><!--logic:iterate id="pairs" name="collectionOfPairs"
>>>      
>>>
>type="java.util.Collection"-->
>  
>
>>><nested:iterate  property="collectionOfRanges">
>>>
>>> <nested:iterate id="vopair" property="this/"
>>>      
>>>
>type="com.xxx.operations.mplanning.mpi.util.ValueObjectPair">
>  
>
>>>  <nested:root name="vopair">
>>>
>>>...................
>>>...................
>>>
>>>
>>>            <tr>
>>>               <td width="10%">Description</td>
>>>               <td width="90%"><nested:write name="vopair"
>>>      
>>>
>property="twVo.description"/></td>
>  
>
>>>            </tr>
>>>
>>>
>>>
>>>For some reason, the setter Method of setDescription(String xyz) is not
>>>      
>>>
>being called.
>  
>
>>>Please help...
>>>
>>>
>>>Many Thanks for Your Time
>>>
>>>Regards
>>>hemant
>>>
>>>
>>>
>>>
>>>      
>>>
>>
>>--
>>To unsubscribe, e-mail:
>>    
>>
><ma...@jakarta.apache.org>
>  
>
>>For additional commands, e-mail:
>>    
>>
><ma...@jakarta.apache.org>
>  
>
>
>
>--
>To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
>  
>



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


Re: Setter Methods not being called in nested:iterate scenario :+(

Posted by hemant <ya...@softhome.net>.
Adam
Thanks for responding..

The Actionform (rangesform) itself is my root and I have a collection
reference "collectionOfPairs" in "rangesform",  replete with getter/setter
methods.

The collectionOfPairs is instantiated and populated. If not, I would not be
seeing the page with the correct data. right?

As I said earlier, the getters work, the setters do not work. All this
inspite of having the bean in the form.

Thanks
hemant


----- Original Message -----
From: "Adam Hardy" <ah...@cyberspaceroad.com>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Thursday, July 18, 2002 4:39 PM
Subject: Re: Setter Methods not being called in nested:iterate scenario :+(


> nested tags / indexed properties / nested beans gotcha. You have to
> instantiate the beans yourself in the form reset() if you want to
> capture the indexed properties.
>
>
> [this answer was automated, virtually]
>
> hemant wrote:
> > Comrades,
> >
> > I am trying to Iterate over a Collection of Collections of ValueObjects
and after some real painful experimentation (With VA 3.5.3 + Apache Tomcat +
Poolman ), I got the page to come up properly :). So far so good. I went out
and celebrated for a few minutes...
> >
> > The getter methods seem to work fine. But the user data is not being
captured on Submit :(
> >
> > Please throw some light on this...
> >
> > Here is the snippet from my JSP.
> >
> > <!--bean:define id="collectionOfPairs" name = "ldmservice"
property="ranges" type="java.util.Collection" scope="session"/-->
> > <nested:root name="rangesform">
> >
> > <!--logic:iterate id="pairs" name="collectionOfPairs"
type="java.util.Collection"-->
> > <nested:iterate  property="collectionOfRanges">
> >
> >  <nested:iterate id="vopair" property="this/"
type="com.xxx.operations.mplanning.mpi.util.ValueObjectPair">
> >
> >
> >   <nested:root name="vopair">
> >
> > ...................
> > ...................
> >
> >
> >             <tr>
> >                <td width="10%">Description</td>
> >                <td width="90%"><nested:write name="vopair"
property="twVo.description"/></td>
> >             </tr>
> >
> >
> >
> > For some reason, the setter Method of setDescription(String xyz) is not
being called.
> >
> >
> > Please help...
> >
> >
> > Many Thanks for Your Time
> >
> > Regards
> > hemant
> >
> >
> >
> >
>
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>


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


Re: Setter Methods not being called in nested:iterate scenario :+(

Posted by Adam Hardy <ah...@cyberspaceroad.com>.
nested tags / indexed properties / nested beans gotcha. You have to 
instantiate the beans yourself in the form reset() if you want to 
capture the indexed properties.


[this answer was automated, virtually]

hemant wrote:
> Comrades,
> 
> I am trying to Iterate over a Collection of Collections of ValueObjects and after some real painful experimentation (With VA 3.5.3 + Apache Tomcat + Poolman ), I got the page to come up properly :). So far so good. I went out and celebrated for a few minutes... 
> 
> The getter methods seem to work fine. But the user data is not being captured on Submit :(
> 
> Please throw some light on this...
> 
> Here is the snippet from my JSP.
> 
> <!--bean:define id="collectionOfPairs" name = "ldmservice" property="ranges" type="java.util.Collection" scope="session"/-->
> <nested:root name="rangesform">
> 
> <!--logic:iterate id="pairs" name="collectionOfPairs"  type="java.util.Collection"-->
> <nested:iterate  property="collectionOfRanges">
> 
>  <nested:iterate id="vopair" property="this/" type="com.xxx.operations.mplanning.mpi.util.ValueObjectPair">
> 
> 
>   <nested:root name="vopair">
> 
> ...................
> ...................
> 
> 
>             <tr>
>                <td width="10%">Description</td>
>                <td width="90%"><nested:write name="vopair" property="twVo.description"/></td>
>             </tr>
> 
> 
> 
> For some reason, the setter Method of setDescription(String xyz) is not being called.
> 
> 
> Please help...
> 
> 
> Many Thanks for Your Time
> 
> Regards
> hemant
> 
> 
> 
> 



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