Okay, I finally made it work. I will explain how I did it here if other
people find the same problem I was facing.
First of all thanks to Matt and Cens for your replies.
I cannot use @PostConstruct since I need the web app to be compatible with
servlet engines like Tomcat and Jetty.
Cens, your
Hi Pedro,
I will show you my solution, but first I must make a consideration.
The use of @PostConstruct annotation will work only in a full J2EE
Application server (e.g. JBoss or WebSphere), not in a Servlet
container (like Tomcat or Jetty).
Indeed I did not test this, but this annotation is part o
Quick update: I tried the JSFPageParser and configuration steps to make
sitemesh decorators JSF-aware as described here
(http://forums.opensymphony.com/thread.jspa?threadID=36939&messageID=72427#72427)
but with no luck. I still got a blank screen with no errors when I tried to
use JSF tags in the
Hi Matt,
Thanks for the quick reply. I tried your suggestion and I still cannot make
it work properly.
Perhaps if I provide more details you or someone else may be able to help me
on that. In default.jsp I added something like this:
Even after I added the oamSubmitForm it is still not call
Here's what we use in editProfile.xhtml:
http://www.w3.org/1999/xhtml";
xmlns:f="http://java.sun.com/jsf/core";
xmlns:h="http://java.sun.com/jsf/html";>
// Might be able to remove proprietary call if I can get
@PostConstruct to work
oamSubmitForm('userProfile','us
Hi All,
Does anyone know how to call a JSF action from AppFuse's non-JSF
default.jsp?
I implemented a shopping cart component UI in default.jsp so it would be
presented in most screens of the application. In this UI component I added a
link (and later replaced with a form and a button with simil