osdir.com
mailing list archive

Subject: Wicket portlet ClassCastException - msg#01003

List: users-wicket.apache.org

Date: Prev Next Index Thread: Prev Next Index
Hi all,

I have a Wicket portlet running in uPortal, and normal things like labels
and images work, but for anything that submits data, ie a Link or Button, it
throws a ClassCastException:

org.apache.pluto.internal.impl.ActionResponseImpl cannot be cast to
javax.portlet.RenderResponse

It may be do do with the implementation of the two classes I need to provide
from here:
http://cwiki.apache.org/WICKET/portal-howto.html

Does that sound familiar? How are others handling links/forms? Does anyone
have a portlet (for any portal) that I can take a look at?

thanks,
Steve
Was this page helpful?
Yes No
Thread at a glance:

Previous Message by Date: click to view message preview

Re: Wicket tester test coverage

Pierre Goupil wrote: > > So I'm looking for a way to list all Page instances in a Wicket app, which > could then allow me to be sure that they are all covered by a test. And > when > it's done maybe I could use the same system in order to ensure that > Selenium > (the automated functional testing tool) has covered all my pages as well > (more deeply). > What you need is TDD. Once you adopt TDD, you will have every page tested. ----- -- Kent Tong Better way to unit test Wicket pages (http://wicketpagetest.sourceforge.net) -- View this message in context: http://old.nabble.com/Wicket-tester-test-coverage-tp26505428p26507647.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxxx

Next Message by Date: click to view message preview

Re: Wicket cannot work on OC4J (ias 10g)?

Refer below url, I have documented my findings to make wicket working in OC4J http://webmoli.com/2009/11/22/wicket-in-oc4j-oracleas/ http://webmoli.com/2009/11/22/wicket-in-oc4j-oracleas/ -- View this message in context: http://old.nabble.com/Wicket-cannot-work-on-OC4J-%28ias-10g%29--tp16738242p26507948.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxxx

Previous Message by Thread: click to view message preview

Wicket tester test coverage

Guys, One thing that I like regarding Wicket tester is that it easily allows one to check a Page under design for any exception that it could throw at creation-time. Actually, doing such a basic test is for me essential, so as it takes only two lines of code, I systematically check all my pages this way. You know, the: // start and render the test page this.tester.startPage(HomePage.class); // assert rendered page class this.tester.assertRenderedPage(HomePage.class); thing. What I like so much with it is that any error which would occur when you load the page in FF / IE... occurs without leaving Eclipse and immediately. When the workflow to find the page in the browser is long and repetitive, it's a relief! BUT, when the number of pages grow, two related problems emerge: -you have to duplicate these two lines of code everytime, which is a (small) pain in itself -and you have no guarantee that you didn't forget any page, which is worst. So I'm looking for a way to list all Page instances in a Wicket app, which could then allow me to be sure that they are all covered by a test. And when it's done maybe I could use the same system in order to ensure that Selenium (the automated functional testing tool) has covered all my pages as well (more deeply). I could use a test coverage tool, but 1) it wouldn't work with Selenium 2) I don't want to generate a report, I want the test suit to fail if a Page is not covered by my test class. Could anyone suggest where to start, please? Regards, Pierre -- Rien de grand ne s'est accompli dans le monde sans passion. (G.W.F. Hegel, philosophe allemand)

Next Message by Thread: click to view message preview

Re: Wicket cannot work on OC4J (ias 10g)?

Refer below url, I have documented my findings to make wicket working in OC4J http://webmoli.com/2009/11/22/wicket-in-oc4j-oracleas/ http://webmoli.com/2009/11/22/wicket-in-oc4j-oracleas/ -- View this message in context: http://old.nabble.com/Wicket-cannot-work-on-OC4J-%28ias-10g%29--tp16738242p26507948.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxxx
Sign up for updates to this mailing list. email:
Loading Comments...
Home | News | Patents | Sitemap | FAQ | advertise

Advertising by