myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maik77 <maik.kwiatkow...@arcor.de>
Subject Re: [trinidad] action method from tr:commandLink not called
Date Sat, 09 Feb 2008 09:44:24 GMT

Problem: The scope of the backingbean (request).
Solution: With seam I can use conversations to solve this problem. (I think
without seam you can use <t:saveState value="#{yourBean}"/>)


Maik77 wrote:
> 
> Hi,
> 
> I am using seam, and that is really not the problem.
> After searching around, I think it is a scope-problem. I hope I'll find
> time to try out...
> 
> 
> 
> Andrew Robinson-5 wrote:
>> 
>> #{treeModelAdapter.showInTree(kategorie)} doesn't look like valid EL
>> to me, unless you are using something like a seam EL resolver. Was
>> this something added in JSF 1.2 or are you using another 3rd party
>> library for this?
>> 
>> To my knowlege, the action listener should simply be a pointer to the
>> method that is implemented as "public void x(ActionEvent evt)"
>> 
>> On 10/25/07, Maik77 <maik.kwiatkowski@arcor.de> wrote:
>>>
>>> Hi,
>>>
>>> the action-method from the commandLink is not called when clicking. The
>>> links are rendered correctly. When I place the commandLink outside the
>>> tr:table the method is called!
>>> What is the problem???
>>>
>>>  <tr:table
>>>                                                         id="resultTable"
>>>                                                         var="kategorie"
>>>                                                         rows="4"
>>>                                                        
>>> value="#{searchAction.kategorien}">
>>>                                                 <f:facet name="actions">
>>>                                                         <tr:outputText
>>> value="Ergebnisse"/>
>>>                                                 </f:facet>
>>>                                                         <tr:column>
>>>                                                                
>>> <tr:commandLink
>>>                                                                    
>>> partialSubmit="false"
>>>                                                                    
>>> text="#{kategorie.name}"
>>>
>>> actionListener="#{treeModelAdapter.showInTree(kategorie)}" />
>>>                                                        </tr:column>
>>>                                 </tr:table>
>>>
>>> Greetings,
>>>
>>> Maik
>>> --
>>> View this message in context:
>>> http://www.nabble.com/-trinidad--action-method-from-tr%3AcommandLink-not-called-tf4692726.html#a13413075
>>> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>>>
>>>
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/-trinidad--action-method-from-tr%3AcommandLink-not-called-tp13413075p15370048.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.


Mime
View raw message