Re: Components do not re-render when page is refreshed...

2012-06-30 Thread kshitiz
Ok..thanks for helping me out Dan...:) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Components-do-not-re-render-when-page-is-refreshed-tp4650290p4650311.html Sent from the Users forum mailing list archive at Nabble.com. -

Re: how to connect elements - label and input (checkbox)

2012-06-30 Thread Dan Retzlaff
The easiest way is probably to use a wicket:for attribute: Enabled Alternatively, you can also use FormComponent#setLabel(IModel) in Java to define an input's label value, then show that label by adding (Simple)FormComponentLabel as a separate component (i.e. with its own wicket:id). On Sat, Jun

Re: how to connect elements - label and input (checkbox)

2012-06-30 Thread Dan12321
Hi, when I click on text in element, it select or unselect checkbox. But I need to set attribute "for" in label and attribute "id" in checkbox input. I use it in repeater. So I have to generate random text for this attributes. Is there any better way how to do it? -- View this message in context:

Re: Components do not re-render when page is refreshed...

2012-06-30 Thread Dan Retzlaff
DataView/IDataProvider queries the database for each request too. The reason it is preferred over PageableListView is that it allows only the current page of results to be pulled from the database. PageableListView requires *all* results to be pulled, but then only renders a single page. At any ra

Re: modify Date in model from 3 inputs?

2012-06-30 Thread Sven Meier
How about this one: http://www.rowellbelen.com/content/another-custom-wicket-component-datedropdownfield It uses DropDownChoices but TextFields should be similar. Hope this help Sven On 06/30/2012 04:27 PM, Dan12321 wrote: Hi, I look at TimeField. But there is only override one method (conver

Re: how to connect elements - label and input (checkbox)

2012-06-30 Thread Andrea Del Bene
Hi, what do you mean exactly with "connect" the two component? Hi, is there any easy way, how can I connect label and input(checkbox) in repeater? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/how-to-connect-elements-label-and-input-checkbox-tp4650304.html Sent

Re: modify Date in model from 3 inputs?

2012-06-30 Thread Dan12321
Hi, I look at TimeField. But there is only override one method (convertInput). So, I try it, but it do not help. How can I display in TextField only day? And When I change this number how to change day in Date? How to create model and how to create TextField? Can you help me. Or is there any exa

how to connect elements - label and input (checkbox)

2012-06-30 Thread Dan12321
Hi, is there any easy way, how can I connect label and input(checkbox) in repeater? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/how-to-connect-elements-label-and-input-checkbox-tp4650304.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Components do not re-render when page is refreshed...

2012-06-30 Thread kshitiz
Actually I am using listview because I do want to query database every time I change page of pageable listview. How would I use IModel in pageableListview? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Components-do-not-re-render-when-page-is-refreshed-tp4650290p4650