RE: updateActionListener not working with tomahawk12_1.1.9?

2009-12-16 Thread Michael Heinen
To: MyFaces Discussion Subject: Re: updateActionListener not working with tomahawk12_1.1.9? Hi I remember an issue not the same but related: http://issues.apache.org/jira/browse/MYFACES-1819 In few words the problem is that in EL, expressions like "#{bean.map['somekey']}&quo

Re: updateActionListener not working with tomahawk12_1.1.9?

2009-12-15 Thread Leonardo Uribe
Hi I remember an issue not the same but related: http://issues.apache.org/jira/browse/MYFACES-1819 In few words the problem is that in EL, expressions like "#{bean.map['somekey']}" returns null when getType() is called. Note this does not happens in jsf 1.1, but on jsf 1.2. Checking the cod

Re: updateActionListener not working with tomahawk12_1.1.9?

2009-12-15 Thread Mike Kienenberger
I had a similar issue. What I did was replace "t:updateActionListener property=" with the standardized "f:setPropertyActionListener target=". f:setPropertyActionListener better supports edge cases under Facelets as well. Other than avoiding the one-time conversion cost of the page templates, ther

Re: updateActionListener not working with tomahawk12_1.1.9?

2009-12-15 Thread Jakob Korherr
Hi, The NullPointerException is raised in the following line: if (!type.equals(String.class) && ! type.equals(Object.class)) Thus type is null. type is the result of calling getPropertyBinding().getType(facesContext), which returns null in your case. However, I don't know exactly why this return

updateActionListener not working with tomahawk12_1.1.9?

2009-12-15 Thread Michael Heinen
Hi, I am still working on my update from JSF 1.1 to 1.2. Now Buttons using a t:updateActionListener are not working anymore due to a java.lang.NullPointerException at org.apache.myfaces.custom.updateactionlistener.UpdateActionListener.processAction(UpdateActionListener.java:137)