CommandLink Navigation (component tree built in java code)
----------------------------------------------------------

                 Key: MYFACES-1672
                 URL: https://issues.apache.org/jira/browse/MYFACES-1672
             Project: MyFaces Core
          Issue Type: Bug
    Affects Versions: 1.1.5
         Environment: Win2K and OpenSuse 10.2
JDK 1.6 Tomcat 5.5.23 (and possibly Tomcat 6.1.10)
            Reporter: Shane Petroff
            Priority: Critical


Navigation via command links behaves very strangely. I've included a zip file 
containing a stripped down project. I've deleted gobs of stuff from there so 
hopefully the remaining classes/files retain some cohesion to an external 
audience. The zip contains java, jsp and config files. In spite of the maven 
style directory structure, I haven't actually migrated yet, so dependencies 
could be a problem. (I'm assuming that most of you will already have 
everything, and including them in the zip would needlessly create a larger 
download). I've also included my Intellij IDEA project files in the off chance 
that someone else uses it. I've mocked out the data access layer (no comments 
on how awful the mocked code is), so it should be self contained. I've also 
included a single Selenium IDE test. It's not really a 'test' per se, rather it 
is a convenient way to navigate to the problem page without my having to 
describe it. Many of the paths through this stripped down version are broken, 
so letting Selenium handle the navigation seemed easiest. The test is in 
src\test\selenium.

I actually have 2 classes of problems I can't figure out. The first is the one 
outlined in this email's subject: navigating through students via the command 
links on the left had side of the page. If you navigate to the detail page via 
Selenium, then click on one of the other Student command links at the left, 
every *second* click of the student commandLink works. During the submits where 
nothing happens, the appropriate backing bean is created, but none of it's 
methods are called and the page refreshes. The other problem relates to the 
warnings about submitted values, but this bug is related to tomahawk, not the 
core.

The zip also includes a 1.1.4 version of the myfaces core. If one switches to 
this version, navigation works correctly again. This activity is critical to my 
application and this bug is preventing me from upgrading to current myfaces 
versions.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to