portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vlachogiannis Evangelos <evl...@aegean.gr>
Subject RE: wicket portlet
Date Fri, 11 Dec 2009 07:37:57 GMT
Hi David,

Thanks for the interest. 

- check out project. this is a java eclipse project generated using mvn eclipse:eclispe.
- for first time run *only* go into gr.uportal.cms.jcr.JcrWicketTreeAdapter - initRepo() and
enable populateRepo4test();
- run mvn install so that you can get jars
- For running it as a wicket application using eclipse you need to run as java application
the gr.uportal.cms.Start class under test folder. This starts up jetty server on 8080 port.
Then you can see result at http://localhost:8080/CmsJcrWicketApplication/ . This should work
for you too.

- Now for running as portlet (my problem) you need to mvn install and deloy generated war
under Jetspeed. Then you only need to add it on a psml page like:
<fragment id="P-1256904ec68-10000" type="portlet" name="cmsApp::CmsJcrWicketApplication">
            <property name="row" value="0"></property>
            <property name="column" value="0"></property>
        </fragment>

Thanks for your time! 
Vangelis


-----Original Message-----
From: David Sean Taylor [mailto:d.taylor@onehippo.com] 
Sent: Friday, December 11, 2009 1:26 AM
To: Jetspeed Developers List
Subject: Re: wicket portlet

Hi Vangelis,


On Dec 7, 2009, at 4:21 AM, Vlachogiannis Evangelos wrote:

> Thnx for your time!
> I have compared with these and everything seems ok. However I still  
> have same problem...
> Let me try give some "context". I am actually trying to develop a  
> very simple CMS based on jcr/jackrabbit and wicket. You can find  
> source code in http://source.aegean.gr/svn/projects/e-university/uportal3/cmsApp/ 
>  . It would be great if somebody could take a look or even deploy  
> and give me a hint. When I am testing as wicket application  
> everything is ok. When I deploy as portlet I get the exception below..
>
I'd be happy to test this out. If you could provide me with steps I  
need to build, setup the Jackrabbit repo etc, then I will check it out  
and see what I can find out. Interested to see your CMS...


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message