the showApplication method is not being called. The log output in its first line is not displayed.
Is there a way to get some more Debug output of the MyFaces implementation?
Got to say I'm quite new to JSF and don't know which switches to turn.
Cheers Matthias
Sean Schofield wrote:
Matthias,
I will try running your example later today when I get home from work. I am pretty sure that I was able to get a command link to work in a dataTable before but I can't be sure. Your example should work. Are you able to say definitively (through either debugger or log statement) that the showApplication method is not being called at all?
I was looking at the source code (in both the RI and MyFaces) for dataTable recently because I wanted to get some ideas for the tree component I am working on. At that time found myself wondering how dataTable could possibly work with events, etc. the way it was written. This would be consistent with your experience.
But I also seem to recall doing a simple example and being satisfied that it was working. I seem to recall using the <f:param> in a simple example and then checking the value in my action listener and being satisfied. This is why I am asking you to verify that the method is not being called (as opposed to your end result not being what you expect.)
That being said, there is some weirdness going on with dataTable becayse Sylvain is having some problems with the checkbox in dataTable. I will look into all of this later tonight and report back.
sean
On Thu, 10 Feb 2005 15:39:00 +0100, Matthias Jung
<[EMAIL PROTECTED]> wrote:
I am not sure if this is related to the other commandButton discussions or not, but I have a similar problem using actions and commandLinks.
The attached jsp file shows one case where an action is successfully executed if a link is clicked and another case where the action and the navigation afterwards is not executed. The same page is displayed again. The only difference is the commandLink is part of a dataTable.
I am not sure if there is a mistake by my side or could be a bug within the MyFaces implementation.
Any idea?
Thanks Matthias
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %> !!! This works !!! This does not work

