[ http://jira.codehaus.org/browse/DISPL-160?page=comments#action_53523 ]
Emilio Dolce commented on DISPL-160: ------------------------------------ Use the startRow decorator to create an hidden field. It start just before <TR> tag rendering. > I would like the ability to embed a hidden input element in a row of > displaytag output without needing to specify it in a column > -------------------------------------------------------------------------------------------------------------------------------- > > Key: DISPL-160 > URL: http://jira.codehaus.org/browse/DISPL-160 > Project: DisplayTag > Type: New Feature > Reporter: Keith Garry Boyce > > > I would like the ability to embed a hidden input element in a row of > displaytag output without needing to specify it in a column. Currently I have > to enter code like: > <% String selectedPlanPkgChk = StagingPlanPackagesForm.SELECTED_PLAN_PACKAGES > + "(" + ((PlanPackage) pageContext.getAttribute("row")).getId() + ")"; %> > <display:column media="html" style="width:0"><html:hidden property="<%= > selectedPlanPkgChk %>" value="on"/></display:column> > otherwise the hidden element will not show up. Unfortunetly the side effect > is that an additional column is created. > Please advise -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ displaytag-devel mailing list displaytag-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-devel