Hi,

Then just give the action mentioned in the jsp form tag in the requestURI of
display tag. In the calling servlet keep the collection object in request
scope.

for ex:

if ur jsp is

<html><body>
<form action="someaction" method="post/get">
ur presentation code or jsp code

<display:table id="some name" name="your request scope object name"
requestURI="/your action name in form tags action attribute" pagesize="10"
cellpadding="2" cellspacing="2"> 
        <display:column property="getter method name" title="column title"
sortable="true" style="text-align:center;" /> 
      
         </display:column> 
        <display:column title="Review" style="text-align:center;"> 
                       <html:multibox name="deptUsers" property="review" /> 
        </display:column> 
</display:table> 
</form>
</body>
</html>

in service or post or get method

List al = new ArrayList();
Bean b = new Bean();
b.set....(....);
al.add(b);

request.setAttribute("your request scope object name",al);

-- 
View this message in context: 
http://old.nabble.com/DisplayTag-in-request-scope.-How--tp32036278p32066091.html
Sent from the DisplayTag - General mailing list archive at Nabble.com.


------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to