You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Arron Bates <ar...@pacific.net.au> on 2002/03/01 07:40:56 UTC

Re: use of nested:iterate and nested:nest tags

I was hoping that other people would start helping with the nested tags, 
but anyways.

Rest assured, your markup is fine (At least the part you provided :).
It's easier to tell with nested tags. Less detail to worry about ;)

Are there any errors, or is it just that the bean property isn't 
updating on the server?... Throw some System.out.println() messages into 
the bean's setter method to double check.
The "name" text field updates fine?...

Because this part of the markup is perfect, the problem would have to be 
with how the bean itself is managed. Any clean-up code may be destroying 
the bean, or possibly the bean may be bouncing in and out of scope.

Try the above and get back to us.

Arron.


Sriram Nookala wrote:

>I have the following code in my jsp within a <html:form> tag:
>
>Here attributeDefintionList is a collection of AttributeDefintion beans.
>AttributeDefinition has a property type which itself is an AttributeType bean with a property store.
>The code I have doesn't seem to setting and getting store for AttributeType.
>What am I missing here?
>thanks,
>sriram
>
> <nested:iterate property="attributeDefinitionList">
>    <tr class="table_row_odd">
>        <td class="table_cell">
>          <nested:text property="name" />
>        </td>
>        <td class="table_cell">
>     <nested:nest property="type">
>       <nested:text property="store"/>
>     </nested:nest>
>        </td>
>    </tr>
>    </nested:iterate>
>
>



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


Re: use of nested:iterate and nested:nest tags

Posted by CyberZombie <Cy...@mediaone.net>.
FWIW (too lazy to reply on the original thread), thanks for fixing the 
nested:link tag.  And I'm getting ready to start extending the nested 
tags in my custom link tags as they're just too darn useful to not use...

Arron Bates wrote:

> No stress.
> :)
>
> CyberZombie wrote:
>
>> Heh...I didn't reply as I saw nothing wrong with it and didn't count 
>> myself advanced enough in the ins-and-outs of nested to guess outside 
>> of the given scope.
>
>
>
>
> -- 
> 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: use of nested:iterate and nested:nest tags

Posted by Arron Bates <ar...@pacific.net.au>.
No stress.
:)

CyberZombie wrote:

> Heh...I didn't reply as I saw nothing wrong with it and didn't count 
> myself advanced enough in the ins-and-outs of nested to guess outside 
> of the given scope.



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


Re: use of nested:iterate and nested:nest tags

Posted by CyberZombie <Cy...@mediaone.net>.
Heh...I didn't reply as I saw nothing wrong with it and didn't count 
myself advanced enough in the ins-and-outs of nested to guess outside of 
the given scope.

Arron Bates wrote:

> I was hoping that other people would start helping with the nested 
> tags, but anyways.
>
> Rest assured, your markup is fine (At least the part you provided :).
> It's easier to tell with nested tags. Less detail to worry about ;)
>
> Are there any errors, or is it just that the bean property isn't 
> updating on the server?... Throw some System.out.println() messages 
> into the bean's setter method to double check.
> The "name" text field updates fine?...
>
> Because this part of the markup is perfect, the problem would have to 
> be with how the bean itself is managed. Any clean-up code may be 
> destroying the bean, or possibly the bean may be bouncing in and out 
> of scope.
>
> Try the above and get back to us.
>
> Arron.
>
>
> Sriram Nookala wrote:
>
>> I have the following code in my jsp within a <html:form> tag:
>>
>> Here attributeDefintionList is a collection of AttributeDefintion beans.
>> AttributeDefinition has a property type which itself is an 
>> AttributeType bean with a property store.
>> The code I have doesn't seem to setting and getting store for 
>> AttributeType.
>> What am I missing here?
>> thanks,
>> sriram
>>
>> <nested:iterate property="attributeDefinitionList">
>>    <tr class="table_row_odd">
>>        <td class="table_cell">
>>          <nested:text property="name" />
>>        </td>
>>        <td class="table_cell">
>>     <nested:nest property="type">
>>       <nested:text property="store"/>
>>     </nested:nest>
>>        </td>
>>    </tr>
>>    </nested:iterate>
>>
>>
>
>
>
> -- 
> 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>