You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Bruno Aranda (JIRA)" <my...@incubator.apache.org> on 2005/07/09 12:35:26 UTC
[jira] Commented: (MYFACES-317) inputCalendar gets Conversion Error when is in the same form
[ http://issues.apache.org/jira/browse/MYFACES-317?page=comments#action_12315383 ]
Bruno Aranda commented on MYFACES-317:
--------------------------------------
I cannot reproduce this issue using tomcat 5.5.9. Brendan, can you try this with the latest svn? Could you post a snippet of your backing bean code?
Bruno
> inputCalendar gets Conversion Error when <h:commandButton> is in the same form
> ------------------------------------------------------------------------------
>
> Key: MYFACES-317
> URL: http://issues.apache.org/jira/browse/MYFACES-317
> Project: MyFaces
> Type: Bug
> Versions: 1.0.9 beta
> Environment: Tested on IBM RAD/RAS 6.0; not sure if it's a problem elsewhere
> Reporter: Brendan Conner
>
> If <h:commandButton> is placed in the same form as <x:inputCalendar>, a conversion error occurs after pressing the command button. It happens when HtmlCalendarRenderer.getConvertedValue() is called, because, at that point, submittedValue is null.
> Here's an example snippet from a JSP that produces this error:
> <h:form>
> <x:inputCalendar value="#{calendar.date}"
> monthYearRowClass="yearMonthHeader"
> weekRowClass="weekHeader"
> dayCellClass="dayCell"
> currentDayCellClass="currentDayCell"
> <h:inputText value="#{actionBean.input}"></h:inputText>
> <h:commandButton value="Submit" action="#{actionBean.action}"/>
> </h:form>
> <h:messages layout="table" />
> - Brendan
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira