[JBoss-user] [JBoss Portal] - Re: Sample portlet project - with JSF

2006-07-06 Thread krzsam
Yeah, example portlet application using JSF (facelets) would be of great help :)


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955810#3955810

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955810

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Sample portlet project - with JSF

2006-07-06 Thread [EMAIL PROTECTED]
There is one on www.portletswap.com ...
http://labs.jboss.com/portal/portletswap/downloads/portlets/framework

Sun JSF CarDemo.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955814#3955814

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955814

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Sample portlet project - with JSF

2006-07-06 Thread gilboay
hi,

I've tried to use the card-demo sample as a reference, and I still get a 
JasperException. Here are the errors:

13:59:54,462 ERROR [UIComponentTag] Faces context not found. getResponseWriter 
will fail. Check if the FacesServlet has been initialized at all in your 
web.xml.
13:59:54,462 ERROR [CommandFilter] Exception in command invocation
org.apache.jasper.JasperException
at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:370)
at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
...

13:59:54,477 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
java.lang.NullPointerException
at 
javax.faces.webapp.UIComponentTag.setupResponseWriter(UIComponentTag.java:615)
at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:217)
at org.apache.myfaces.taglib.core.ViewTag.doStartTag(ViewTag.java:71)
at 
org.apache.jsp.jsp.TestJSFPortlet.view_jsp._jspx_meth_f_view_0(org.apache.jsp.jsp.TestJSFPortlet.view_jsp:79)
at 
org.apache.jsp.jsp.TestJSFPortlet.view_jsp._jspService(org.apache.jsp.jsp.TestJSFPortlet.view_jsp:57)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955854#3955854

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955854

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Sample portlet project - with JSF

2006-07-06 Thread [EMAIL PROTECTED]
I've created a new set of portal/portlet sample for 2.4 here 
http://anonsvn.jboss.org/repos/portletswap/portlets/2_4/bundles/

Keep in mind the descriptors have changed a bit in 2.4, so they may not show 
up, without some modifications in 2.2.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955963#3955963

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955963

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Sample portlet project - with JSF

2006-07-06 Thread gilboay
ok ... it's working :)

However, i've noticed that you take two different approaches for JSF vs. JSP:

1) In the JSP sample you create a Portlet class (using JSR-168 API).

2) In the JSF sample you use a set of JSP pages (with JSF taglibs), with no 
intermediary Portlet class.

Is this the best practice, or is it just a short cut for convenincy ?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955990#3955990

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955990

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Sample portlet project - with JSF

2006-07-06 Thread [EMAIL PROTECTED]
gilboay wrote : 1) In the JSP sample you create a Portlet class (using 
JSR-168 API).
  | 
  | 2) In the JSF sample you use a set of JSP pages (with JSF taglibs), with no 
intermediary Portlet class.
  | 
  | Is this the best practice, or is it just a short cut for convenincy ?

The JSP example uses dispatching to JSP for rendering fragments. JSF handles 
the dispatching for you, by the navigation controller that is defined in the 
faces-config.xml. The advantage to JSF is that it provides a framework to build 
portlets with.

For simple (2-3 page) applications, I would hack together with JSP. For 
applications that need flow control, validation, conversion, custom components, 
then I would use JSF.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3956017#3956017

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3956017

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user