SV: Hello World Portlet

2010-01-04 Thread Wilhelmsen Tor Iver
For Servlet 2.4/2.5 I have found (depending on container) that you need to add the dispatchers involved, like so: > > wicket.report > /report/* REQUEST INCLUDE FORWARD ERROR > - Tor Iver --

Re: Hello World Portlet

2010-01-03 Thread Mansour Al Akeel
I totally forgot I mentioned JSR 286. Thank you. On Mon Jan 04,2010 05:47 pm, Steve Swinsburg wrote: > You said in your first post it was JSR286 and Jetspeed 2 implements that > spec, whereas Jetspeed 1 is JSR-168. > > I am glad you have Wicket based portlets working in a JSR-286 container,

Re: Hello World Portlet

2010-01-03 Thread Steve Swinsburg
You said in your first post it was JSR286 and Jetspeed 2 implements that spec, whereas Jetspeed 1 is JSR-168. I am glad you have Wicket based portlets working in a JSR-286 container, shame the same can't be said for a JSR-168 container, ie Pluto :( cheers, Steve On 04/01/2010, at 5:17 PM, M

Re: Hello World Portlet

2010-01-03 Thread Mansour Al Akeel
Yes, this is JS2.2, but how where you able to tell it it's JSR286 ? In fact this was going to be my next step, to do interportlet communication. If you work with JS, I have to tell you that wicket with JS is amazingly col. You have all the pages you need where they sould be. I am still new t

Re: Hello World Portlet

2010-01-03 Thread Steve Swinsburg
Absolutely that would be great. BTW I assume this is Jetspeed 2 since its JSR286? On 04/01/2010, at 4:48 PM, Mansour Al Akeel wrote: > I checked jetspeed.log it but no luck. I was going to change the log > level to see what's going on. > However, I decided to run my wicket pages as a web appli

Re: Hello World Portlet

2010-01-03 Thread Mansour Al Akeel
I checked jetspeed.log it but no luck. I was going to change the log level to see what's going on. However, I decided to run my wicket pages as a web application, and found that I was missing the binding for slf4j. I added this to the pom and it worked: org.slf4j

Re: Hello World Portlet

2010-01-03 Thread Steve Swinsburg
Hi Mansour, Thats just the Tomcat log, you should have a portal log that has the actual exception or error that occurred? cheers, Steve On 04/01/2010, at 3:32 PM, Mansour Al Akeel wrote: > Sorry, Forgot to include the error message: > > Found web.xml > Found WEB-INF/portlet.xml > Attempting

Re: Hello World Portlet

2010-01-03 Thread Mansour Al Akeel
Sorry, Forgot to include the error message: Found web.xml Found WEB-INF/portlet.xml Attempting to add portlet_2_0.tld to war... Adding portlet_2_0.tld to war... Creating war /opt/Programs/apache-tomcat-6.0.14/webapps/reports-0.5.4.war ... War /opt/Programs/apache-tomcat-6.0.14/webapps/reports-0.5.

Re: Hello World Portlet

2010-01-03 Thread Mansour Al Akeel
Thank you Tor: Here's what I have. this is copied from the web.xml from the wicket maven project : http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";

Re: Hello World Portlet

2010-01-03 Thread Wilhelmsen Tor Iver
> What I find unclear, is the way it functions. It extends a wicker > portlet, but the application is ran from WebApplication instance that > mounts EditPage, HeaderPage, and doesn't seem to have any direct link > to the WicketPortlet. The link is via the filter mapping and page mounting. Case in

Hello World Portlet

2010-01-03 Thread Mansour Al Akeel
I am trying to understand portlets using wicket. I read on multiple resources, that wicket supports JSR 286 in a transparent way. However, I can not see any reference to a simple portlet application to adopt as the basis for my project and build on top of it. I have checked out the examples from th