Steps
--------
1. unzip the test_app.zip and copy the booking directory to the jboss-eap-5.1/seam/examples/booking directory.
2. set the jboss.home in jboss-eap-5.1.2/seam/build.properties file.
3. In the booking directory, run ant deploy
4. run.sh -c default
5. access the following test case requests URL in Browser.
result) In 1st request, you will not find out the standard log. But, in 2nd request, you can check the following log "INFO [STDOUT] ***** SlinkTestAction.test() *****"
Steps
--------
1. unzip the test_app.zip and copy the booking directory to the jboss-eap-5.1/seam/examples/booking directory.
2. set the jboss.home in jboss-eap-5.1.2/seam/build.properties file.
3. In the booking directory, run ant deploy
4. run.sh -c default
5. access the following test case requests URL in Browser.
Test Case
--------
[1] test1.seam (<s:link>)
1) QueryString actionMethod=test1.xhtml:slinktest.test
request) http://localhost:8080/seam-booking/test1.seam?actionMethod=test1.xhtml%3Aslinktest.test
result) In standard out, you can check the following log:"INFO [STDOUT] ***** SlinkTestAction.test() *****"
2) QueryString actionMethod=/test1.xhtml:slinktest.test (inserted "/" front on test1.xhtml)
request) http://localhost:8080/seam-booking/test1.seam?actionMethod=%2Ftest1.xhtml%3Aslinktest.test
result) same [1] -1)
[2] test2.seam (<s:link> is included in <ui:include>)
1) QueryString actionMethod=test2.xhtml:slinktest.test
request) http://localhost:8080/seam-booking/test2.seam?actionMethod=test2.xhtml%3Aslinktest.test
result) In 1st request, you will not find out the standard log. But, in 2nd request, you can check the following log "INFO [STDOUT] ***** SlinkTestAction.test() *****"
2) QueryString actionMethod=/test2.xhtml:slinktest.test (inserted "/" front on test1.xhtml)
request) http://localhost:8080/seam-booking/test2.seam?actionMethod=%2Ftest2.xhtml%3Aslinktest.test
result) There are no logs in the standard log.
Not Required
NEW
Description
SafeAction does not work using ui:include including s:link.