Hi All,


I have a parent form which has an input field and a command button next
to it. Here is the code:



<t:inputText size="64" id="physicianNameRequested" forceId="true"
styleClass="inputText" value="#{patientEConsultation.userName}">

</t:inputText>

<jp:popupFrame actionOpen="#{patientEConsultation.searchUser}"
height="400px" width="850px" scrolling="auto" center="true"
title="Demographic Information"
actionClose="#{patientEConsultation.closeSearchPopup}">

<h:commandButton id="physicansearchbutton"
value="#{msg['button.econsultation.search-physician']}"
disabled="#{((patientEConsultation.openComposeMode=='createcompose') ?
false :true)}"></h:commandButton>

                        <t:updateActionListener
property="#{userSearchController.calledFromSourceIndicator}"
value="searchFromPopup"/>      

                        <t:updateActionListener
property="#{userSearchController.retrievedData}" value="newRequest"/>

</jp:popupFrame>





When the popup closes then the input text field in the parent form is
not populated.

Weird:

The only way in which the user will see the value is to make the input
text component disabled. If it is disabled then the value is seen on the
screen. The only problem with this approach is that required="true"
cannot be set on the input text component anymore as it has
disabled="true" set on it.



This behavior is seen when using <s:selectManyPicklist> component as
well. There are two select many lists for this component. The one on the
left hand side contains the master list initially. The one on the left
which gets populated by the values chosen from the list on the left.



If you already have some pre-selected values on the right select list
and you want to show the values on page load then you will not be able
to see any value unless the entire component is marked as "disabled"



The reason I posted jenia popup problem here is that the same problem
occurs with sandbox component as well.



Any help will be appreciated!



Rgds,

Madhav



**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely 
for the use of the addressee(s). If you are not the intended recipient, please 
notify the sender by e-mail and delete the original message. Further, you are 
not to copy, disclose, or distribute this e-mail or its contents to any other 
person and any such actions are unlawful. This e-mail may contain viruses. 
Infosys has taken every reasonable precaution to minimize this risk, but is not 
liable for any damage you may sustain as a result of any virus in this e-mail. 
You should carry out your own virus checks before opening the e-mail or 
attachment. Infosys reserves the right to monitor and review the content of all 
messages sent to or from this e-mail address. Messages sent to or from this 
e-mail address may be stored on the Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***

Reply via email to