[JBoss-user] [JBoss Portal] - Re: JBOSS and JSF Portlets (Sun RI)

2006-05-08 Thread pauljoyce
Hi Elam,

Did not find a solution or spend very long trying to. Switched to using the 
Jetspeed 2 Portal.

/Paul.

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

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


---
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: Where is the MyFaces cardemo portlet source?

2006-03-30 Thread pauljoyce
cooliluv,

I got the guess number sample working by 'converting' it to MyFaces. that is
1) changed the portlet.xml to use MyFacesGenericPortlet instead of the sun 
FacesPortlet.
2) changed the init-param  to default-view


  | descriptionJSF GuessNumber Portlet/description
  | portlet-nameguessNumber/portlet-name
  | display-nameJSF GuessNumber Portlet/display-name
  | 
portlet-classorg.apache.myfaces.portlet.MyFacesGenericPortlet/portlet-class
  | 
  | init-param 
  | descriptionPortlet init page/description
  | namedefault-view/name
  | value/greeting.jsp/value
  | /init-param
  | 

3) changed the  in web.xml to

  | listener  
listener-classorg.apache.myfaces.webapp.StartupServletContextListener/listener-class
  | /listener 
  | 

4) removed the Sun Jars (jsf-impl and jsf-api) from the war. it will use the 
MyFaces jars bundled with JBoss.

5) it works.

My problem still is that I have other Sun RI apps that I want to use with JBoss 
and leave as Sun RI JSF. The wiki says you just remove the MyFaces jars from 
JBoss but this 'breaks' JBoss - it uses them itself.

any solution ?  

/pj

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: JBOSS and JSF Portlets (Sun RI)

2006-03-29 Thread pauljoyce
from the wiki

anonymous wrote : 
  | To use the JSF Reference Implementation instead of the bundled MyFaces 
implementation, simply delete the jbossweb-tomcat55.sar/jsf-lib directory. 
Then, package the RI in your WEB-INF/lib directory as usual.

this does NOT work.
JBoss itself uses these jars so when removed you cannot access the portal 
homepage.


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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: JBOSS and JSF Portlets (Sun RI)

2006-03-29 Thread pauljoyce
how does one go about this ? i.e. embedding the jars in the JBoss Portal webapp 
i tried moving them the the server/default/lib dir but  no joy. have to run so 
will look at it again tomorrow.
if you have any suggestions it would be great.
pj

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: JBOSS and JSF Portlets (Sun RI)

2006-03-28 Thread pauljoyce
Hi, 

me again. I managed to get the guess-numbers sample portlet deployed to JBoss. 
What did I do :

1) changed the portlet.xml to use myfaces libraries
2) added the myfaces listener to web.xml
2) removed the JSF Sun RI libs from the jar.

so basically changed the sample to use Myfaces libs instead of Sun RI. 

I still have an app that is Sun RI based that I want to deploy to JBoss. Toms 
question is very relevant. The solution on the JBoss site ( remove the JSF libs 
) does not work as there are portlets in the JBoss portal that use these libs.

regards,
PJ

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - JBOSS and JSF Portlets (Sun RI)

2006-03-27 Thread pauljoyce
Hi,

I am trying to deploy a JSF JSR 168 portlet to JBoss Portal 2.2.1 RC3.
The Portlet I am trying to deploy is a Sun RI example (guess number JSF 
portlet). I am using this as it is Sun RI portlets I hope to deploy. 

I am getting an exception on deployment that mentions a MyFaces class ?? 
strange. I read somehwhere that I should remove the bundled myfaces jars - I 
did to no avail.

Stan Silverts excellent presentation at JavaOne last year made it seem very 
simple to adapt a JSF app and deploy it as a JSR 168 portlet to JBoss. Sadly I 
am failing. Does anyone have more detailed instructions ? 

Has anyone managed to deploy the example I mentioned - guess-number-jsf-portlet 
from Sun.

The exception I get is 


  | javax.faces.FacesException: java.lang.ClassCastException: 
org.apache.myfaces.renderkit.html.ext.HtmlButtonRenderer
  | at 
com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:324)
  | at 
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3692)
  | :
  | :
  | :
  | 

I would really appreciate any help available. I am new to portlets and JSF so I 
am have a hell of a time trying to get it all to gel. Some post say the 
integration (JSF/JSR168) is simple but others paint a bleak picture.

regards,
pj

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user