-
1. Re: Seam and Wicket Newbie
robshep Jan 27, 2010 7:20 PM (in response to gzoller.greg.zoller.aviall.com)If you didn't create a link to the page using the normal wicket components then you may be able to browse to:
/...web app context.../?wicket:bookmarkablePage=:com.example.MyClass
Wicket also let's you conveniently
mount
pages at particular paths like /...web app context.../Something...but I haven't tried that in SEAM app, don't see why it wouldn't work, though.
Try out making links in your Main class to point to your new class. You'll find how it work easy enough.
Regards
Rob
-
2. Re: Seam and Wicket Newbie
gzoller.greg.zoller.aviall.com Jan 27, 2010 11:25 PM (in response to gzoller.greg.zoller.aviall.com)Rob,
Thanks for the info! The wicket:bookmarkablePage url worked fine.
But I still have a problem getting my seam/wicket app bootstrapped, i.e. getting past the first page. The seam view directory isn't wicket-enabled so how can I (from plan html) link into a wicket page in my application? Looks like once inside the wicket page graph I'll be ok if I use the wicket:link tags.
Thanks!
Greg -
3. Re: Seam and Wicket Newbie
robshep Jan 27, 2010 11:44 PM (in response to gzoller.greg.zoller.aviall.com)if you just want to move from HTML-files to your app, then try mounts, as suggested previously.
This provides a convenient layer of direction to any direct typing/linking you need.
Regards
Rob
-
4. Re: Seam and Wicket Newbie
gzoller.greg.zoller.aviall.com Jan 27, 2010 11:58 PM (in response to gzoller.greg.zoller.aviall.com)Woohoo! That was what I needed.
BTW, for anyone else reading this thread wanting to do a seam/wicket project I highly recommend this thread regarding a patch for seam-gen. Works great with one hitch: the patch references a .classpath file containing a line mvel14.jar. Seam 2.2.0 now uses mvel2.jar so you'll need to update this line in the patch but otherwise looks good.
http://seamframework.org/Community/WicketSupportForSeamgen
Thanks!
Greg