Is there any advice about creating frame-based web-applications in
Wicket?

I only use Frames in one simple case, but I have a class for the page with the Frameset and classes for the individual paqges in the frameset. It might be nicer to make a Wicket component for the frames, but here's what I do:

toplink.add(new AttributeModifier("src", new Model()
  {
    public Object getObject(Component component) {
      //XXX deal with pagemaps -- must exit pagemap when returning to non-frame 
pages
      return component.getPage().urlFor(null, TopFramePage.class, pageparams);
    }
}));

Not the most elegant, but it seems to work...

Dan


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to