-
1. Re: Xforms and Jbpm
kukeltje Apr 14, 2008 4:58 AM (in response to brca)brca,
I'm not sure if this is jBPM related at all, your last statement about the browser asking you what to do with a .xhtml file is a plain web issue. So you have to be more specific in how you are trying to achieve things. -
2. Re: Xforms and Jbpm
brca Apr 14, 2008 6:32 AM (in response to brca)Here is the code:
I have one xhtml file for task node. In that xhtml I put code of iframe:
If instead of iframe tag put just link:
Show me the xform
It's the same think.
But if I put in iframe path to html file for example home.html, when viewing the task it's displayed correctly.
I also tried to edit jbm-console.war - task.xhtml file and to put iframe tag there.
I tried to put path to xhtml file, not xforms and got the same problem. So I can't open any file with xhtml extension, while html works fine.
I tried to open xhtml page in firefox browser which has iframe tag like I wrote, and it works fine, but not work with jbpm, and with tomcat working too.
Don't know what's the problem. Is it possible to do something like that? -
3. Re: Xforms and Jbpm
brca Apr 14, 2008 6:36 AM (in response to brca)I forgot to disable html :)
Here is the code:
I have one xhtml file for task node. In that xhtml I put code of iframe:
< iframe src="xform.xhtml" width="800" height="600">
If instead of iframe tag put just link:
< a href="xform.xhtml">Show me the xform
It's the same think.
But if I put in iframe path to html file for example home.html, when viewing the task it's displayed correctly.
I also tried to edit jbm-console.war - task.xhtml file and to put iframe tag there.
I tried to put path to xhtml file, not xforms and got the same problem. So I can't open any file with xhtml extension, while html works fine.
I tried to open xhtml page in firefox browser which has iframe tag like I wrote, and it works fine, but not work with jbpm, and with tomcat working too.
Don't know what's the problem. Is it possible to do something like that? -
4. Re: Xforms and Jbpm
kukeltje Apr 14, 2008 12:19 PM (in response to brca)sounds like a generic jsf extension issue. task.xhtml should not be typed in, but task.jsf or whatever extension is configured.
-
5. Re: Xforms and Jbpm
brca Apr 14, 2008 3:24 PM (in response to brca)It's finally working :)
I deployed jbpm in jboss-4.2.1-GA and it's working there with iframe. -
6. Re: Xforms and Jbpm
brca Apr 14, 2008 4:58 PM (in response to brca)Now I need path to xhtml file.
With this code I get only file name. How can I get full path to that file?
< iframe src=""#{taskForms[task.name]}"" width="800" height="600">