[JBoss-user] [JBoss Seam] - Re: How to retrieve current view ?
I was just pointing out the difference with regards to the way things are implemented now and why the two styles of invocation didn't act the same with regard to pageflow. I didn't understand the distinction myself until we talked about it a month or two ago, and so I definitely think most users would be confused by this. I *think* I would prefer the the page action and invoke application action to work the same for pageflows, but even if they are different, I would expect an s:link action to work like an h:commandLink action. Maybe some other Seam users here can comment on what they feel is more natural. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955183#3955183 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955183 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: How to retrieve current view ?
I can treat pageflows that start from a page action the same as pageflows that start during INVOKE_APPLICATION if you think that would be more natural/correct, Norman. But the idea is that page actions do not _usually_ change the view id, so you are already at the start-page when the action is called... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955180#3955180 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955180 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: How to retrieve current view ?
That's actually not the issue here though. The difference here is that the h:commandLink action executes during the normal invoke application phase. With an s:link action, the action executes during as a page event during the render response phase. If a pageflow starts during the invoke application, it should start with a start-node. When started from ender response, it needs to begin with a start-page. This is somewhat awkward because you have to make sure that you are on the correct starting view. (s:link should contain both a view and an action attribute) Hope that helps. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955175#3955175 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955175 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: How to retrieve current view ?
No, they are not interchangeable. s:link does _not_ submit the form! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955144#3955144 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955144 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: How to retrieve current view ?
Thanks Gavin. Maybe a bit off topic , but in the DVD sample in the login.xhtml page I've modified in my own prototype to use s:link instead of the anonymous wrote : Create Account but did not work. I had the idea that both commandLink and s:Link would be somewhat interchangable but it seems not. Can you point to resources providing insight on the differences? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955097#3955097 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955097 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: How to retrieve current view ?
Just the standard JSF way: facesContext.getViewRoot().getViewId() View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955094#3955094 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955094 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: How to retrieve current view ?
Thanks for your almost quick response Gavin, great support ! I'm thinking if the JSF viewId would be the correct way to access it or does Seam store that reference or handler somewhere else? If so how should I access it: standard JSF or via a Seam method ? Yeyo. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955093#3955093 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955093 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: How to retrieve current view ?
You mean you want to discover the current JSF viewId? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955091#3955091 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955091 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user