repeatingview or listview help

2011-06-12 Thread wmike1...@gmail.com
The only example the wicket docs give of a repeatingView is one with 1 html element in the repeater's markup: If I wanted something like: Is this even possible with a repeatingView? Or is it more suitable for a ListView? Thanks -- View this message in context: http://apache-w

Re: CompoundPropertyModel for label?

2011-06-12 Thread Clint Checketts
You need to set the CompoundPropertyModel on the parent object. In your example the page. Try the following code: customer = new Customer(); customer.setFirstName("Jimmy"); customer.setLastName("Dean"); customer.getAddress().setStreet("123 Easy Street");

CompoundPropertyModel for label?

2011-06-12 Thread Brian Lavender
Is it possible to use a compound property model for a label? I tried adding labels using the following, but when I run it, the label comes out with what appears to be a reference to the model. customer = new Customer(); customer.setFirstName("Jimmy"); customer.

Re: Dynamic AJAX text in WebMarkupContainer

2011-06-12 Thread Josh Kamau
Scott, What if you use a label(with a span) inside your jq-styled component, then you call renderBodyOnly on the label ? The idea is to put content inside your jq-styled component. Josh. On Sun, Jun 12, 2011 at 4:54 AM, Scott Reed wrote: > Thank you, BenoƮt. > > I am not familiar enough with t

Re: Bookmarkable Page URL without version id param

2011-06-12 Thread Martin Grigorov
To not have the page version in the URL your page should be stateless. See StatelessChecker from wicket-devutils to find all stateful components in your pages. The page version changes when there are changes in the hierarchy of the page. By just changing the value of a request parameter this wont