Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to get data from rich:pikclist into another

 
sivaji balla
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi to all,

I am using richface in seam frame work.I am applied the two rich:picklists in one rich:modelpanal.

Those two are working fine.But here i have a problem.I have to displayed the data (which is in first picklist ) in second picklist.

In first picklist,if i clicking the one item, then related data of this item(selected item) has to be displayed in second picklist as (available items) of same rich:modelpanal.

Please observe the bellow attachment.

Kindly any one help me.

thanks in advanced.
this is my code
<div align="center" style="background-color: #eaeac5;">
<table >
<tr >
<th > Available Attribute Groups</th>
<th ></th>
<th >Assigned Attribute Groups</th>
</tr>
</table>
</div>
<rich:pickList controlClass="lightyelo" id="addpickpagesid" layout="pageDirection" styleClass="roles" copyAllControlLabel="ADD ALL" style="font-family:Calibri;font-size:10px;text-align:left;"
copyControlLabel="ADD ONE" removeAllControlLabel="REMOVE ALL" removeControlLabel="REMOVE ONE" targetListWidth="250px" sourceListWidth="250px" listsHeight="200px" >
<f:selectItem itemLabel="Xxxxx" itemValue="1"/>
<f:selectItem itemLabel="Xxxxx" itemValue="2"/>
<f:selectItem itemLabel="Xxxxx" itemValue="3"/>
<s:convertEntity/>
</rich:pickList>
<div align="center" style="background-color: #eaeac5;">
<table >
<tr >
<th > Available Attributes</th>
<th ></th>
<th > Assigned Attributes</th>
</tr>
</table>
</div>
<rich:pickList controlClass="lightyelo" id="addpickpagesid1" layout="pageDirection" styleClass="roles" copyAllControlLabel="ADD ALL" style="font-family:Calibri;font-size:10px;text-align:left;"
copyControlLabel="ADD ONE" removeAllControlLabel="REMOVE ALL" removeControlLabel="REMOVE ONE" targetListWidth="250px" sourceListWidth="250px" listsHeight="200px" >
<f:selectItem itemLabel="Xxxxx" itemValue="1"/>
<f:selectItem itemLabel="Xxxxx" itemValue="2"/>
<f:selectItem itemLabel="Xxxxx" itemValue="3"/>
<s:convertEntity/>
</rich:pickList>
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic