Bug #1030

Mode= N in collectionInput Tag doesn't render the item at all in the jsp instead of making it just Not Visible [Albino Soave]

Added by Old User over 9 years ago. Updated 5 months ago.

Status:Nouveau Start date:
Priority:Medium Due date:
Assignee:Old User % Done:


Target version:-


[Albino Soave]
Hello, I tried to use collectionInput tag with mode=N ("Not Displayed"), but I found that the tag behaves like NOT PRESENT (I don't think this is the right behaviour of mode=N attribute).In fact, with the current implementation, the tag is not rendered at all in my JSP. Instead, using mode=N, I expected something like this rendered in my JSP:
<input type="hidden" name="myProperty" value="myValue"></input>
in order to receive in my form the array values of myProp even if
they are not displayed.
This is caused by this implementation:
if (fieldDisplayMode == AbstractFieldTag.MODE_NODISPLAY) {
// The column should not be displayed.
return EVAL_PAGE;
in the doEndLayoutTag method of the collectionInput tag and subsequent code lines. The remark "column should not be displayed"


Updated by Old User over 9 years ago

[Albino Soave]
Any news with this?

Updated by Pierce Warren 5 months ago

Your project looks really brilliant, I have been quite busy at all the quality essay writing but reading some exceptional StrutsLayout is really brilliant, Would love to get more updates on what going to happen next

Also available in: Atom PDF