Hello folks!
I just gave JSF another shot, for me it seems to work very nicely. I
just committed a sandbox JSF integration project under http://
svn.magnolia.info/svn/sandbox/magnolia-jsf/ . You can check-it out,
simply do a mvn clean install and deploy the magnolia-jsf-webapp to
your Tomcat 6 installation. You should be able to access http://
localhost:8080/magnolia-jsf-webapp/welcome.jsf
I think the missing step in your configuration was to define
appropriate bypasses for the magnolia filter chain. Related to that
you should use Magnolia 3.5 final version (3.5.2) instead of RC 1,
since global bypasses were not implemented in that version.
Try it out and let me know what you think. Any comments pretty much
appreciated.
Thanks & regards,
Vivian
Magnolia International Ltd.
------------------------------------------------------------------------
---------
[EMAIL PROTECTED] http://www.magnolia.info
Magnolia® - Simple Enterprise Content Management
------------------------------------------------------------------------
---------
Am 12.12.2007 um 14:26 schrieb Ducret, Gilles (CH):
I have been thinking to that problem too and at the moment I can't
see how it can work together. Instead we have chosen the following
approach: we write JSF applications (when needed) who access
Magnolia content (wrapping, or getting html content, or getting XML
content)
Gilles
-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 12, 2007 1:52 PM
To: [email protected]
Subject: Re: [magnolia-user] integration Magnolia 3.5 Rc1 with JSF
Hi,
i worked on that issue last year (not successful :-(
).
The problem (with JSF ) is the template mechanism.
Magnolia uses a quite complex filtering / handling to
generate the html pages from the templates. While JSF
has a well defined lifecycle, which doesn't fit the
mechanism of magnolia. Also the navigation differs a
lot. If you come to a solution, please let me know.
Kind regards
Robin
--- bogdan82 <[email protected]> schrieb:
Hello,
I am trying to integrate Magnolia 3.5Rc1 with JSF.
I was testing may configurations but i can't make
Magnolia3.5Rc1 to work
with JSF.
I have FacesServlet in my web.xml file:
<!-- Faces Servlet START -->
<listener>
<listener-class>com.sun.faces.config.ConfigureListener</listener-
class>
</listener>
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.jsf</url-pattern>
</servlet-mapping>
<!-- Faces Servlet END -->
I am sure a have all required jar files.
I was trying to do new Jsf template (it didn't
work). probably it didn't go
througt jsf servlet.
I was createing new paragraphs with jsf type and try
to forward from
this paragraph to another jsf page
<jsp:forward page="jsfPage.jsf" />
(i have jsfPage.jsp file in the same direcotry)
(it didn't work)
i was adding
<listener>
<listener-class>com.sun.faces.config.ConfigureListener</listener-
class>
</listener>
to my web.xml file (it didn't work)
I tested many url-patterns with above configurations
<url-pattern>*.jsf</url-pattern>
<url-pattern>*.html</url-pattern>
<url-pattern>.magnolia</url-pattern>
<url-pattern>.magnolia/MyProject</url-pattern>
<url-pattern>/MyProject</url-pattern>
... and many others ...
I think that subject (integrate M3.5rc1 with jsf) is
more complicated then i
thought.
please help me.
--
View this message in context:
http://www.nabble.com/integration-Magnolia-3.5-Rc1-with-JSF-
tp13968804p13968804.html
Sent from the Magnolia - User mailing list archive
at Nabble.com.
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------
Please note:
This message and any attachment are confidential and may be
privileged or otherwise protected from disclosure. If you are not
the intended recipient, please telephone or email the sender and
delete this message and any attachment from your system. If you are
not the intended recipient you must not copy this message or
attachment or disclose the contents to any other person.
Heute schon einen Blick in die Zukunft von E-Mails wagen?
Versuchen Sie´s mit dem neuen Yahoo! Mail. www.yahoo.de/mail
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------
**********************************************************************
**************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom
they are addressed.
If you have received this email in error, please notify the system
manager ([EMAIL PROTECTED]) and delete the message with any
attached files from your system.
The confidentiality and integrity of this message cannot be
guaranteed on the Internet and the sender does not accept liability
for its content.
**********************************************************************
*************
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------