[jboss-user] [JBoss Seam] - Re: How to extract the page id

2007-06-28 Thread trekker880
@ pete.muir i was just trying to find out the seam feasibility bt it got repeated in two seperate thread. neverthless sorry for any inconvenience. Again as you said that the code i posted in this same thread isn't interpreted by the container. | ProcessDefinition pageflowDefinition =jbpm.

[jboss-user] [JBoss Seam] - Re: How to extract the page id

2007-06-28 Thread [EMAIL PROTECTED]
Stop constantly asking this question in multiple threads all over the place. anonymous wrote : Can Pageflow-defintion.xml be called from the servlet? If you really want to just parse a pageflow definition from a servlet, then you can just use a XML (e.g. SAX) parser. This has nothing to with Se

[jboss-user] [JBoss Seam] - Re: How to extract the page id

2007-06-28 Thread trekker880
Can you tell me how to access to that code in cvs? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4058601#4058601 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4058601 ___ jbos

[jboss-user] [JBoss Seam] - Re: How to extract the page id

2007-06-28 Thread avbentem
"trekker880" wrote : Is there any sample code to test the pageflow transitions? As in PageflowTest.java? This is currently not enabled in CVS, but it was enabled until recently. So, I guess that was not hard to find and you're surely able to get that code working again? View the original post :

[jboss-user] [JBoss Seam] - Re: How to extract the page id

2007-06-27 Thread trekker880
Can Pageflow-defintion.xml be called from the servlet? If yes then how do we call it from the servlet? And where to put it in web application ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4058545#4058545 Reply to the post : http://www.jboss.com/index.html?m

[jboss-user] [JBoss Seam] - Re: How to extract the page id

2007-06-24 Thread trekker880
Is there any sample code to test the pageflow transitions? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4057240#4057240 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4057240

[jboss-user] [JBoss Seam] - Re: How to extract the page id

2007-06-22 Thread trekker880
>From this code i want to pass the current page,Next page as parameters in a >method. So i want this functionality in java class. You are right as this is not interpreted by the container. But cannot we do something to read the xml first and after that we can use the methods to get the Current p

[jboss-user] [JBoss Seam] - Re: How to extract the page id

2007-06-22 Thread [EMAIL PROTECTED]
Please use [ code ] tags when you post. The code you posted above won't work as the call to test1.test() isn't intercepted by the container - hence the IllegalStateException. Try just calling the method from a JSF page. View the original post : http://www.jboss.com/index.html?module=bb&op=vie

[jboss-user] [JBoss Seam] - Re: How to extract the page id

2007-06-22 Thread trekker880
Hi this is my simple code - package example; import java.io.FileInputStream; import org.jboss.seam.ScopeType; import org.jboss.seam.annotations.Begin; import org.jboss.seam.annotations.Create; import org.jboss.seam.annotations.Name; import org.jboss.seam.annotations.Scope; import org.jboss.seam.

[jboss-user] [JBoss Seam] - Re: How to extract the page id

2007-06-21 Thread [EMAIL PROTECTED]
I strongly recommend that you install a debugger on your development machine. It will make your life *much* easier :-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4056732#4056732 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode

[jboss-user] [JBoss Seam] - Re: How to extract the page id

2007-06-21 Thread trekker880
NO Reply ??? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4056717#4056717 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4056717 ___ jboss-user mailing list jboss-user@lists.j

[jboss-user] [JBoss Seam] - Re: How to extract the page id

2007-06-21 Thread trekker880
Ok. If i am doing this ProcessDefinition pageflowDefinition =jbpm.getPageflowProcessDefinition("submit2"); I m still getting the same output. Could you tell how we find out the path for the submit2.jpdl.xml in the java class ? thanx View the original post : http://www.jboss.com/index.html?mo

[jboss-user] [JBoss Seam] - Re: How to extract the page id

2007-06-21 Thread [EMAIL PROTECTED]
Pageflows are mapped by name not path. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4056485#4056485 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4056485 ___ jboss-user maili

[jboss-user] [JBoss Seam] - Re: How to extract the page id

2007-06-21 Thread trekker880
Hi i am using the same thing u told but i am not getting the desired output pls tell me where i am wrong. The output is *** --pageflowDefinition is null--- -instance.getProcessInstance()null -pageflow.getNode()null *

[jboss-user] [JBoss Seam] - Re: How to extract the page id

2007-06-21 Thread [EMAIL PROTECTED]
You can access the ProcessDefintion object using Jbpm.instance().getPageflowProcessDefintion("Submit2"); You can then use a method like getNode("page2") or getNodes() to inspect the node. Cast the Node object you want to org.jboss.seam.pageflow.Page. View the original post : http://www.jboss

[jboss-user] [JBoss Seam] - Re: How to extract the page id

2007-06-21 Thread trekker880
"trekker880" wrote : I had defined a pageflow.xml (Submit2.jpdl.xml) | | And i m trying to find out the view-id in the java class and the corrosponding page name. | In Short i need the last,Current,and Next page with every page transition. | Then what is the procedure ? | Here i am not

[jboss-user] [JBoss Seam] - Re: How to extract the page id

2007-06-21 Thread trekker880
I had defined a pageflow.xml (Submit2.jpdl.xml) And i m trying to find out the view-id in the java class and the corrosponding page name. In Short i need the last,Current,and Next page with every page transition. Then what is the procedure ? Here i am not able to read the xml in the java file. h

[jboss-user] [JBoss Seam] - Re: How to extract the page id

2007-06-21 Thread [EMAIL PROTECTED]
You should start by explaining what you are trying to do. Alternatively look at the code in org.jboss.seam.bpm.Jbpm to see how Seam parses the pageflow (if you *really* want to reparse it yourself)! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4056358#40563

[jboss-user] [JBoss Seam] - Re: How to extract the page id

2007-06-21 Thread trekker880
"trekker880" wrote : hi how we can extract the view-id that is defined in the pageflow.jpdl.xml ? How to read the pageflow.jpdl.xml file in a java class like we do it in the processdefintion.xml in jbpm? FileInputStream fis = new FileInputStream("processes/Hello_Core/processdefinition.xml");