-
1. Re: Using complex JavaScript libraries in a JSF app
fmarwede Oct 16, 2007 11:29 AM (in response to fmarwede)I can answer myself: There were broken references to images deep inside the JavaScript. Now it is running.
Perhaps I will have some other questions about embedding this editor in an richfaces web app (for example drag and drop), but for now I'm happy. -
2. Re: Using complex JavaScript libraries in a JSF app
fmarwede Oct 21, 2007 11:51 AM (in response to fmarwede)As announced here another question: The graphical editor mentioned is pure javascript, so I need a ajax connection to the server for loading and saving. It seems very easy to me to use a4j:jsFunction for that and at first glance it works.
But are they any pitfalls I have to keep in mind or alternative ways you can suggest?
Thank you! -
3. Re: Using complex JavaScript libraries in a JSF app
wingmandodo7 Aug 24, 2009 5:41 AM (in response to fmarwede)Hi friend,
I'm trying in developing an application like your one.
Using JSF RichFaces page as container of a pre-made application which uses OpenJacobDrawn2D library.
Can you help me, better explaining how to include the cited library inside the RichFaces page ?
My problem occurs when I import javacript using tag and the <rich:panelMenuGroup> tags seem to stop run. In fact when I click them nothing happens. On the other hand, without importing the draw2D library the JSF page behaves normally.
I hope you can write me a running example of your application, in which you succesfully integrates JSF richface page (using different tags other than a normal <h:panelGrid>) and the Draw2D library.. -
4. Re: Using complex JavaScript libraries in a JSF app
wingmandodo7 Aug 24, 2009 5:45 AM (in response to fmarwede)"wingmandodo7" wrote:
sorry I didn't find the Edit Button
Hi friend,
I'm trying in developing an application like your one.
Using JSF RichFaces page as container of a pre-made application which uses OpenJacobDrawn2D library.
Can you help me, better explaining how to include the cited library inside the RichFaces page ?
My problem occurs when I import javacript using "script" tag and the "rich:panelMenuGroup" tags seem to stop run. In fact when I click them nothing happens. On the other hand, without importing the draw2D library the JSF page behaves normally.
I hope you can write me a running example of your application, in which you succesfully integrates JSF richface page (using different tags other than a normal "h:panelGrid" tag) and the Draw2D library..