[
https://issues.apache.org/jira/browse/TOBAGO-408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13693119#comment-13693119
]
Udo Schnurpfeil commented on TOBAGO-408:
----------------------------------------
Hmmm, I can believe, that this is a bit tricky, because the change event
executes the AJAX reload of the suggest list.
But I don't really understand, why the input suggest field should be updated on
change.
Maybe you want to update only the 2nd field?
On the other side, this issue might be outdated? I will close it. If there is
still a problem please reopen it, or create a new one.
> Problem with input suggestion and change facet
> ----------------------------------------------
>
> Key: TOBAGO-408
> URL: https://issues.apache.org/jira/browse/TOBAGO-408
> Project: MyFaces Tobago
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.0.11
> Environment: All
> Reporter: Helmut Swaczinna
> Priority: Minor
>
> I've a tc:in with a suggestMethod and a change facet with a command tag. But
> the command is not executed when I
> choose a value from the suggestion list. It is only executed when the
> suggestion list is empty.
> Example:
> <tc:panel id="inputPanel">
> <tc:in id="value1" value="#{controller.value1}"
> suggestMethod="#{controller.suggest}">
> <f:facet name="change">
> <tc:command action="#{controller.changeAction}">
> <tc:attribute name="renderedPartially"
> value=":inputPage:inputPanel"/>
> </tc:command>
> </f:facet>
> </tc:in>
> <tc:in readonly="true" id="value2" value="#{controller.value2}"/>
> </tc:panel>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira