Erlend Hamnaberg wrote:
Erlend Hamnaberg wrote:
Matthias Wessendorf wrote:
converter="evatest.AlternativeConverter"
tried
converter="#{bean.propertyThatReturnsMyConverter}"
?
That didnt work, no alternatives are displayed.
Changed back to the original, the same happens. With debug output
gives this
2007-07-04 13:23:56,426 [btpool0-3] DEBUG
org.apache.myfaces.el.VariableResolverImpl - Variable 'ajaxContext'
could not be resolved.
2007-07-04 13:23:56,427 [btpool0-3] DEBUG
org.evatest.web.beans.TestBean - studenttest.id: 301
2007-07-04 13:23:56,427 [btpool0-3] DEBUG
org.evatest.web.beans.TestBean - studenttest.answers: 7
2007-07-04 13:23:56,580 [btpool0-3] DEBUG
org.evatest.web.beans.TestBean - answers.size: 7
2007-07-04 13:23:56,588 [btpool0-3] DEBUG
org.evatest.web.converter.AlternativeConverter - 2;40;0;0
String from converter.
2007-07-04 13:23:56,588 [btpool0-3] DEBUG
org.evatest.web.converter.AlternativeConverter - 2 40 0
This denotes that the alternative was correctly decoded.
2007-07-04 13:23:56,605 [btpool0-3] DEBUG
org.apache.myfaces.lifecycle.LifecycleImpl - exiting from
lifecycle.execute in PROCESS_VALIDATIONS(3) because getRenderResponse
is true from one of the after listeners
2007-07-04 13:23:56,633 [btpool0-3] DEBUG org.evatest.model.Question
- [EMAIL PROTECTED]
2007-07-04 13:23:56,633 [btpool0-3] DEBUG org.evatest.model.Question
- [EMAIL PROTECTED]
2007-07-04 13:23:56,684 [btpool0-3] DEBUG
org.apache.myfaces.renderkit.html.util.ReducedHTMLParser - PI found
at line 1
2007-07-04 13:23:56,684 [btpool0-3] DEBUG
org.apache.myfaces.renderkit.html.util.ReducedHTMLParser - DOCTYPE
found at line 3
Any thoughts?
The answerBean is requestscoped.. does this mean anything ?
Regards
Erlend
I'm replying to myself in the dead of night.
I changed the implementation AsnwerBean to accept Integers instead of
Alternative.
Without any converter this works fine, however with a
<f:numberConverter integerOnly="true" /> i get the same error as earlier.
Is there a bug in the converter mechanism in myfaces?
Regards
Erlend
Please, anyone ?
Regards
Erlend