aspose file tools*
The moose likes JSF and the fly likes how to get data from rich:pikclist into another Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "how to get data from rich:pikclist into another" Watch "how to get data from rich:pikclist into another" New topic
Author

how to get data from rich:pikclist into another

sivaji balla
Greenhorn

Joined: May 11, 2012
Posts: 7
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>
 
jQuery in Action, 2nd edition
 
subject: how to get data from rich:pikclist into another