JavaScript page malfunction on chooseDate month/year dropdown change
--------------------------------------------------------------------

                 Key: TRINIDAD-1698
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1698
             Project: MyFaces Trinidad
          Issue Type: Bug
    Affects Versions: 1.0.10-core
         Environment: Windows XP, Internet Explorer 7
            Reporter: Nathan Hansford


When using a tr:inputDate in conjunction with a tr:chooseDate such as the 
following:

<tr:inputDate id="datePick" value="#{TestBean.date}" chooseId="dateChooser">
     <f:convertDateTime dateStyle="long" />
     </tr:inputDate>
<tr:chooseDate id="dateChooser" />

the page begins to malfunction after changing the month or year via the 
drop-down boxes in the tr:chooseDate.  Afterward, when a different control is 
used such as the following:

<tr:outputLabel value="Products" />
<tr:selectOneChoice value="#{TestBean.product}" id="productSelect" 
autoSubmit="true" valueChangeListener="#TestBean.productChange}" >
     <f:selectItems value="#{TestBean.products}" />
</tr:selectOneChoice>

<tr:outputLabel value="Policy Type" />
<tr:selectOneChoice value="" id="policyTypeSelect" autoSubmit="false" 
partialTriggers="productSelect">
      <f:selectItems value="#{TestBean.policyTypes}" />
</tr:selectOneChoice>

The components do not function properly, resulting in a JavaScript alert pop-up 
box showing and containing no message.  Upon submitting the form, an HTTP 
Status 400 occurs with the following message "The request sent by the client 
was syntactically incorrect ()."

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to