• Post Reply Bookmark Topic Watch Topic
  • New Topic

How do i select value from dropdown box in netui:repeater tag  RSS feed

Jessi US
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Need soem help on this .

I am displaying data using netui:repeater tag.

Eah row in a table has data from DB and there is one column in each row
that is dropdown with fixed values in it "First Choice" , "Seconf
Choice" , "Third Choice." and one more column to click update this row

example of one row of table

ID , FirstName , LastName , DropDown , Link

Now when usr clicks that link in column , I call one action in .jpf and
pass parameters from the table..ID , FirstName , LastName as paramaters
in anchor.

My problem is how do i know whick option user has selected from the
dropdown before clicking the Link... Here is the code . I am using Form
in repeaterTag and binding the dropdown to actioForm. But this is not
working ...

<netui-data:repeater dataSource="{pageFlow.SkuDetails}">

<netui:form tagId="skuDetailsForm" action="findAdjustmentType">

<tr class=datarow>
<netui-data:getData resultId="atype"
value="{container.item.adjustmentType}" />
<% String adtype =
(String)pageContext.getAttribute("atype"); %>

<td class=datatext ><div align="center"><netui:label
<td class=datatext ><div align="center"><netui:label
<td class=datatext ><div align="center"><netui:label
<td class=datatext ><div align="center"><netui:label

<% if(adtype==null) { %>

<td class=datatext><div align="left">
<netui:select tagId = "seladtype" dataSource =
<netui:selectOption value="Recurring" />
<netui:selectOption value="Comp" />
<netui:selectOption value="Billing" />
<td class=datatext><div align="center">
<netui:anchor action="findAdjustmentType"
formSubmit="true" styleClass="top-nav">
<netui arameter name="lineId"
value="{container.item.lineId}" />
<netui arameter name="invDate"
value="{container.item.invoiceDate}" />
<netui arameter name="orgId"
value="{container.item.orgId}" />
<netui:image border="0" src="/add_small.gif"
width="19" height="19"/>
<% } else { %>
<td class=datatext ><div align="center"><netui:label


  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!