You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Sven Rottstock <ju...@gmx.de> on 2007/10/09 10:01:54 UTC

[Trinidad] maybe returnListener is broken in trinidad 1.0.3

Hi,

if i add a returnListener to my commandButton, which is defined in a facet from a table, the returnListener is not called anymore. Here is a short example:

<tr:table var="row" value="#{backing.allRows}">
  <f:facet name="footer">
    <tr:panelButtonBar>
      <tr:commandButton text="Hit me" partialSubmit="true" useWindow="true" immediate="true" action="dialog:openHitMeDialog" returnListener="#{backing.handleReturn}" />
    </tr:panelButtonBar>
  </f:facet>
  <tr:column>
    <f:facet name="header">
      <af:outputText value="Header 1"
    </f:facet>
    <tr:outputText value="#{row.data}" />
  </tr:column>
</tr:table>

I have tested this scenario with trinidad 1.0.2 and it works fine. The difference between these releases is amongst others the jira issue TRINIDAD-737. I have removed this changes from my trinidad 1.0.3 source and started a new build and now the returnListener is called again.
Is it a problem how i defined the commandButton in my page or is it a bug that comes with TRINIDAD-737???

Hope anybody can help me...

Cheers Sven
-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kanns mit allen: http://www.gmx.net/de/go/multimessenger

-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kanns mit allen: http://www.gmx.net/de/go/multimessenger

Re: [Trinidad] maybe returnListener is broken in trinidad 1.0.3

Posted by Matthias Wessendorf <ma...@apache.org>.
yes, that looks good to me


On 10/16/07, Sven Rottstock <sr...@web.de> wrote:
>
>  I have created a sub-task of trinidad issue 737. I hope it was the right
> manner...
>
>  (see https://issues.apache.org/jira/browse/TRINIDAD-771)
>
>  Matthias Wessendorf schrieb:
>  see https://issues.apache.org/jira/browse/TRINIDAD-737
>
> On 10/15/07, Matthias Wessendorf <ma...@apache.org> wrote:
>
>
>  Can you at least file an issue in our jira ?
> So we don't forget this..
>
> On 10/9/07, Sven Rottstock <ju...@gmx.de> wrote:
>
>
>  Hi,
>
> if i add a returnListener to my commandButton, which is defined in a facet
> from a table, the returnListener is not called anymore. Here is a short
> example:
>
> <tr:table var="row" value="#{backing.allRows}">
>  <f:facet name="footer">
>  <tr:panelButtonBar>
>  <tr:commandButton text="Hit me" partialSubmit="true" useWindow="true"
> immediate="true" action="dialog:openHitMeDialog"
> returnListener="#{backing.handleReturn}" />
>  </tr:panelButtonBar>
>  </f:facet>
>  <tr:column>
>  <f:facet name="header">
>  <af:outputText value="Header 1"
>  </f:facet>
>  <tr:outputText value="#{row.data}" />
>  </tr:column>
> </tr:table>
>
> I have tested this scenario with trinidad 1.0.2 and it works fine. The
> difference between these releases is amongst others the jira issue
> TRINIDAD-737. I have removed this changes from my trinidad 1.0.3 source and
> started a new build and now the returnListener is called again.
> Is it a problem how i defined the commandButton in my page or is it a bug
> that comes with TRINIDAD-737???
>
> Hope anybody can help me...
>
> Cheers Sven
> --
> Psssst! Schon vom neuen GMX MultiMessenger gehört?
> Der kanns mit allen:
> http://www.gmx.net/de/go/multimessenger
>
> --
> Psssst! Schon vom neuen GMX MultiMessenger gehört?
> Der kanns mit allen:
> http://www.gmx.net/de/go/multimessenger
>
>
>  --
> Matthias Wessendorf
>
> further stuff:
> blog: http://matthiaswessendorf.wordpress.com/
> mail: matzew-at-apache-dot-org
>
>
>
>
>


-- 
Matthias Wessendorf

further stuff:
blog: http://matthiaswessendorf.wordpress.com/
mail: matzew-at-apache-dot-org

Re: [Trinidad] maybe returnListener is broken in trinidad 1.0.3

Posted by Sven Rottstock <sr...@web.de>.
I have created a sub-task of trinidad issue 737. I hope it was the right 
manner...

(see https://issues.apache.org/jira/browse/TRINIDAD-771)

Matthias Wessendorf schrieb:
> see https://issues.apache.org/jira/browse/TRINIDAD-737
>
> On 10/15/07, Matthias Wessendorf <ma...@apache.org> wrote:
>   
>> Can you at least file an issue in our jira ?
>> So we don't forget this..
>>
>> On 10/9/07, Sven Rottstock <ju...@gmx.de> wrote:
>>     
>>> Hi,
>>>
>>> if i add a returnListener to my commandButton, which is defined in a facet from a table, the returnListener is not called anymore. Here is a short example:
>>>
>>> <tr:table var="row" value="#{backing.allRows}">
>>>   <f:facet name="footer">
>>>     <tr:panelButtonBar>
>>>       <tr:commandButton text="Hit me" partialSubmit="true" useWindow="true" immediate="true" action="dialog:openHitMeDialog" returnListener="#{backing.handleReturn}" />
>>>     </tr:panelButtonBar>
>>>   </f:facet>
>>>   <tr:column>
>>>     <f:facet name="header">
>>>       <af:outputText value="Header 1"
>>>     </f:facet>
>>>     <tr:outputText value="#{row.data}" />
>>>   </tr:column>
>>> </tr:table>
>>>
>>> I have tested this scenario with trinidad 1.0.2 and it works fine. The difference between these releases is amongst others the jira issue TRINIDAD-737. I have removed this changes from my trinidad 1.0.3 source and started a new build and now the returnListener is called again.
>>> Is it a problem how i defined the commandButton in my page or is it a bug that comes with TRINIDAD-737???
>>>
>>> Hope anybody can help me...
>>>
>>> Cheers Sven
>>> --
>>> Psssst! Schon vom neuen GMX MultiMessenger gehört?
>>> Der kanns mit allen: http://www.gmx.net/de/go/multimessenger
>>>
>>> --
>>> Psssst! Schon vom neuen GMX MultiMessenger gehört?
>>> Der kanns mit allen: http://www.gmx.net/de/go/multimessenger
>>>
>>>       
>> --
>> Matthias Wessendorf
>>
>> further stuff:
>> blog: http://matthiaswessendorf.wordpress.com/
>> mail: matzew-at-apache-dot-org
>>
>>     
>
>
>   

Re: [Trinidad] maybe returnListener is broken in trinidad 1.0.3

Posted by Matthias Wessendorf <ma...@apache.org>.
see https://issues.apache.org/jira/browse/TRINIDAD-737

On 10/15/07, Matthias Wessendorf <ma...@apache.org> wrote:
> Can you at least file an issue in our jira ?
> So we don't forget this..
>
> On 10/9/07, Sven Rottstock <ju...@gmx.de> wrote:
> > Hi,
> >
> > if i add a returnListener to my commandButton, which is defined in a facet from a table, the returnListener is not called anymore. Here is a short example:
> >
> > <tr:table var="row" value="#{backing.allRows}">
> >   <f:facet name="footer">
> >     <tr:panelButtonBar>
> >       <tr:commandButton text="Hit me" partialSubmit="true" useWindow="true" immediate="true" action="dialog:openHitMeDialog" returnListener="#{backing.handleReturn}" />
> >     </tr:panelButtonBar>
> >   </f:facet>
> >   <tr:column>
> >     <f:facet name="header">
> >       <af:outputText value="Header 1"
> >     </f:facet>
> >     <tr:outputText value="#{row.data}" />
> >   </tr:column>
> > </tr:table>
> >
> > I have tested this scenario with trinidad 1.0.2 and it works fine. The difference between these releases is amongst others the jira issue TRINIDAD-737. I have removed this changes from my trinidad 1.0.3 source and started a new build and now the returnListener is called again.
> > Is it a problem how i defined the commandButton in my page or is it a bug that comes with TRINIDAD-737???
> >
> > Hope anybody can help me...
> >
> > Cheers Sven
> > --
> > Psssst! Schon vom neuen GMX MultiMessenger gehört?
> > Der kanns mit allen: http://www.gmx.net/de/go/multimessenger
> >
> > --
> > Psssst! Schon vom neuen GMX MultiMessenger gehört?
> > Der kanns mit allen: http://www.gmx.net/de/go/multimessenger
> >
>
>
> --
> Matthias Wessendorf
>
> further stuff:
> blog: http://matthiaswessendorf.wordpress.com/
> mail: matzew-at-apache-dot-org
>


-- 
Matthias Wessendorf

further stuff:
blog: http://matthiaswessendorf.wordpress.com/
mail: matzew-at-apache-dot-org

Re: [Trinidad] maybe returnListener is broken in trinidad 1.0.3

Posted by Matthias Wessendorf <ma...@apache.org>.
Can you at least file an issue in our jira ?
So we don't forget this..

On 10/9/07, Sven Rottstock <ju...@gmx.de> wrote:
> Hi,
>
> if i add a returnListener to my commandButton, which is defined in a facet from a table, the returnListener is not called anymore. Here is a short example:
>
> <tr:table var="row" value="#{backing.allRows}">
>   <f:facet name="footer">
>     <tr:panelButtonBar>
>       <tr:commandButton text="Hit me" partialSubmit="true" useWindow="true" immediate="true" action="dialog:openHitMeDialog" returnListener="#{backing.handleReturn}" />
>     </tr:panelButtonBar>
>   </f:facet>
>   <tr:column>
>     <f:facet name="header">
>       <af:outputText value="Header 1"
>     </f:facet>
>     <tr:outputText value="#{row.data}" />
>   </tr:column>
> </tr:table>
>
> I have tested this scenario with trinidad 1.0.2 and it works fine. The difference between these releases is amongst others the jira issue TRINIDAD-737. I have removed this changes from my trinidad 1.0.3 source and started a new build and now the returnListener is called again.
> Is it a problem how i defined the commandButton in my page or is it a bug that comes with TRINIDAD-737???
>
> Hope anybody can help me...
>
> Cheers Sven
> --
> Psssst! Schon vom neuen GMX MultiMessenger gehört?
> Der kanns mit allen: http://www.gmx.net/de/go/multimessenger
>
> --
> Psssst! Schon vom neuen GMX MultiMessenger gehört?
> Der kanns mit allen: http://www.gmx.net/de/go/multimessenger
>


-- 
Matthias Wessendorf

further stuff:
blog: http://matthiaswessendorf.wordpress.com/
mail: matzew-at-apache-dot-org