-
1. Re: pages.xml and pageflow.jpdl.xml
pmuir Jan 18, 2007 5:29 AM (in response to vk101).jpdl.xml describe (jBPM based) pageflows. pages.xml affects many of the Seam view-related features (e.g. action method run on page load, description for conversation list, param passing over redirect) - take a look at the reference manual :)
-
2. Re: pages.xml and pageflow.jpdl.xml
vk101 Jan 18, 2007 10:42 AM (in response to vk101)What's the difference between putting @RequestParameter in a session bean and putting the param tag in pages.xml?
When I put the param tag in pages.xml for a given page, why does the attribute show up the first time as attributeName=0 rather than no attribute? I understand that 0 is the value of the EL in the param tag, but how can I get it to ignore that when it's 0 or null? (I'm using s:link for the link to the page referenced in pages.xml. Before I even go to that page, the link rendered to that page contains pageName.seam?attributeName=0) -
3. Re: pages.xml and pageflow.jpdl.xml
pmuir Jan 18, 2007 11:10 AM (in response to vk101)"lightbulb432" wrote:
What's the difference between putting @RequestParameter in a session bean and putting the param tag in pages.xml?
Just different ways of achieving the same thing - the pages.xml method is more recent than @RequestParameter and often gives a cleaner design. -
4. Re: pages.xml and pageflow.jpdl.xml
vk101 Jan 18, 2007 11:17 AM (in response to vk101)Should I be using s:link in this case? Or would outputLink or commandLink be more appropriate?
When would you choose s:link over one of the other options? -
5. Re: pages.xml and pageflow.jpdl.xml
pmuir Jan 18, 2007 11:25 AM (in response to vk101)You have to use command{Link,Button} when you want to submit the form. outputLink is useful for rendering a link to something outside of your web app. s:{link,button} I often use for navigation.
-
6. Re: pages.xml and pageflow.jpdl.xml
vk101 Jan 18, 2007 11:31 AM (in response to vk101)When would you use s:link over commandButton for navigation? What extra functionality does it offer that makes it more useful here?
It doesn't sound like there's any strong requirement to use it...but I'm sure there was a reason for creating it in the first place...