You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Helmut Swaczinna <sw...@wlp-systems.de> on 2007/05/22 14:17:16 UTC

[Tobago] Problem with input suggestion and change facet

Hi,

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>

Regards
Helmut 



Re: [Tobago] Problem with input suggestion and change facet

Posted by Bernd Bohmann <be...@atanion.com>.
Hello Helmut,

please add a jira issue.

Regards

Bernd

Helmut Swaczinna wrote:
> Hi,
> 
> 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>
> 
> Regards
> Helmut
> 
>