[jboss-user] [JBoss Seam] - Re: Pagefrow - Redirect & Description

enda do-not-reply at jboss.com
Mon Nov 19 12:24:53 EST 2007


Here it is  ;],
so Pete now your answer ;)), thanks

In seam documentation is many various combinations of managing workspace.
But it seem like there is not a combination that would allow to redirect in jPDL and to specify description together.

There are examples where I can use pages.xml like this
====================================================


  | <page view-id="/private/people/personHomeView.xhtml"
  |     conversation-required="true"
  |     no-conversation-view-id="/private/home.xhtml">
  |   Foo at #{bar.circle}
  | </page>
  | 
====================================================
but this is completely ignored when I use pageflow jPDL!

other alternative is to use jPDL
====================================================

  | <page name="viewPersonHomeAjax"
  |    timeout="600000"
  |    view-id="/private/people/personHomeAjax.xhtml">
  |    <description>
  |          View person home: #{person.username}
  |    </description>
  |    <transition name="cancel" to="end"></transition>
  | </page>
  | 

====================================================

but then I cannot use redirect!

this fails to deploy:
====================================================

  | <page name="viewPersonHomeAjax"
  |    timeout="600000"
  |    view-id="/private/people/personHomeAjax.xhtml">
  |    <redirect/>
  |    <description>
  | 		    View person home: #{person.username}
  |     </description>
  |     <transition name="cancel" to="end"></transition>
  | </page>
  | 
====================================================

this is ignored at all (what is the purpose of that???):
====================================================

  | <page name="viewPersonHomeAjax"
  |      timeout="600000"
  |      redirect="yes"
  |      view-id="/private/people/personHomeAjax.xhtml">
  |     <description>
  |        View person home: #{person.username}
  |     </description>
  |     <transition name="cancel" to="end"></transition>
  | </page>
  | 


====================================================

Maybe there is some magic combination but then it is not in documentation.
Does anyone figure it out?

Tomas

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106108#4106108

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106108



More information about the jboss-user mailing list