Re: getBodyContainer replacement for appending attributes to body tag

2008-05-30 Thread TheMayor
Hi Eelco, This helps you with having some javascript run, in my case I am trying to add a css class (in order to set the right top-nav element on). Is my only recourse to set add that css class through javascript at this point? -hc Eelco Hillenius wrote: > >> That's described in the migrati

Re: Best Wicket Books or Tutorials

2008-05-30 Thread TheMayor
I read both Wicket in Action (in its MEAP form) and Enjoying Web Development with Wicket. And I think Wicket in Action is by far a much better book. On certain points it goes a lot deeper than EWDWW. Part of the beauty (and could be an issue for some) of Wicket is that it gives you great freedom

getBodyContainer replacement for appending attributes to body tag

2008-05-12 Thread TheMayor
Hi Guys, Since getBodyContainer is no longer available as of wicket 1.3.x, how can you allow inherited page markup to update or contribute to the body tag's attributes (other than onLoad and onUnload). We used to rely on getBodyContainer().getBodyContainer(). Thanks for the help -hc -- View t

Re: Anchoring back to a submitted form

2008-01-03 Thread TheMayor
Matej Knopp-2 wrote: > > > however, this will not work in safari. Wicket does redirect after post > and in safari the redirect doesn't preserve the anchor. > > -Matej > > Thanks, this should do the trick. Is the problem with Safari a known issue (in JIRA)? I tried some quick queries but di

Anchoring back to a submitted form

2008-01-03 Thread TheMayor
Hi, I have a couple of forms on a page. I would like a user to be able to submit a form at the bottom of the page and be anchored back to the form. Is there a non-javascript way to do this in Wicket? Kinda like using href="#[id]" in links. Thanks, -hc -- View this message in context: http://w

Changing the model of a ListView item to use CompoundPropertyModel

2007-11-16 Thread TheMayor
Hello All, I love to use CompoundPropertyModel whenever I can, and I had a debate today on how to appropriately use it within a ListView. Here is the markup, this is the start of the implementation of a message panel: in the java code I set the model of the page initially: setModel(new Compo