Thanks for the info!

Chris....

Matthias Wessendorf wrote:
set immediate="true" on the link
or place the required field into a subform
(<tr:subform>)

-M

On 6/21/07, Chris Hane <[EMAIL PROTECTED]> wrote:

Is it possible to "launch" a Dialog before entering data into all required
fields?

If I have the following form, the user must input a valid date before
clicking on the commandLink which launches a Dialog sequence.


    <tr:form id="frm">
          <tr:panelFormLayout>
             <tr:panelLabelAndMessage label="Product">
                <tr:panelGroupLayout layout="horizontal">
                   <tr:inputText value="#{backingBean.desc}"
                                 readOnly="true"
                                 simple="true"
                                 id="desc"
                                 partialTriggers="dlg_select"/>
                   <tr:commandLink action="#{dialog.launchSelect}"
                                   partialSubmit="true"
                                   useWindow="true"
returnListener="#{dialog.returnSelect}"
                                   id="dlg_select">
                      <tr:image source="adf/images/lvib.gif"/>
                   </tr:commandLink>
                </tr:panelGroupLayout>
             </tr:panelLabelAndMessage>

             <tr:inputDate label="Date"
                           value="#{backingBean.Date}"
                           id="date"
                           required="true">
               <tr:convertDateTime pattern="yyyy/M/d" />
             </tr:inputDate>

          </tr:panelFormLayout>
    </tr:form>

Thanks,
Chris....



Reply via email to