Hi guys,
I have an input field as "Product category" with a "choose" button attached.
<s:decorate id="psProductcategoryField" template="layout/edit.xhtml">
<ui:define name="label"> product category</ui:define>
<h:inputText id="state" value=" "/>
<a4j:commandButton value="Select" onclick="openWindow()"/>
</s:decorate>
When I click on the choose button , a new pop-up window opens up with a grid display.
My issue is to select a category from the grid(pop-up window) and render it back into my input field!! Can you help me??
Thanks in advance!