No t able to save by dropdownlist values to DB
----------------------------------------------
Key: NXP-4797
URL: https://jira.nuxeo.org/browse/NXP-4797
Project: Nuxeo Enterprise Platform
Issue Type: Bug
Affects Versions: 5.3 GA
Environment: Mac OS, Nuxeo5.3, java1.6,Jboss Application Server
Reporter: Sujatha Kari
Priority: Major
Hi,
In my document page, I created a dropdownlist using <nxdir:selectOneListbox>
in my xhtml file. My requirement is, when a select a item like "Special" from
this dropdown, i have to display another dropdown. I am able to do this by
using Ajax rendering(render property).But, when i create the document, I am
able to see these values in summary. But when i logoff and Login to Nuxeo
again, these values are disappearing.these values are not saving into nuxeo
DB.They are saving only in session. Below is my code snippet.
<a4j:region renderRegionOnly="false">
<B><h:outputLabel value=" Section " styleClass="required"/><rich:spacer
width="80"/></B>
<nxdir:selectOneListbox value="#{mediaManager.section}"
directoryName="section" localize="true"
validator="#{sectionValidator.validate}">
<a4j:support event="onchange" reRender="ajaxPanel" />
</nxdir:selectOneListbox><br></br><br></br>
<h:message for="isbn" styleClass="errorMessage"/>
<a4j:outputPanel id="ajaxPanel" >
<B><h:outputLabel value=" Speciality (aka Patient Care) "
styleClass="required" rendered="#{mediaManager.labelSection() == 'Special'}"
required="true"/><rich:spacer width="80"/></B>
<nxdir:selectOneListbox name ="isb" value="#{mediaManager.speciality}"
directoryName="speciality" localize="true"
rendered="#{mediaManager.labelSection() == 'Special'}"
required="true">
<f:selectItems value="#{mediaManager.speciality}" />
</nxdir:selectOneListbox>
<h:message for="isb" styleClass="errorMessage"/>
</a4j:outputPanel><br />
</a4j:region>
Please help me, how to save by dropdown values into DB.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets