Re: Check Box in pageablelistview

2015-05-07 Thread K
Hi Martin

I am new to wicket so can you please tell me how to use the data stored in
checkbox's model. i tried doing that but i have been getting a null pointer
exception.

Thanks 

-
K
--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Check-Box-in-pageablelistview-tp4670625p4670650.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Check Box in pageablelistview

2015-05-07 Thread Martin Grigorov
What did you try?

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Thu, May 7, 2015 at 3:57 PM, K kondetiudayki...@gmail.com wrote:

 Hi Martin

 I am new to wicket so can you please tell me how to use the data stored in
 checkbox's model. i tried doing that but i have been getting a null pointer
 exception.

 Thanks

 -
 K
 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/Check-Box-in-pageablelistview-tp4670625p4670650.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




Re: Check Box in pageablelistview

2015-05-07 Thread K
Hey Martin 

I got what i was trying to acheive but i am not su7re if it is optimal
solution.

I created my own Model and added the object to a list when check box is
selected.


and i called it in my listview 



if this is not optimal please suggest 

Thank You

-
K
--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Check-Box-in-pageablelistview-tp4670625p4670652.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Check Box in pageablelistview

2015-05-05 Thread K
Hey




how are the selected records stored and how can i use it. i understand that
on form submission these records are submitted but i am not clear on how and
where. 

this is how the page looks like

http://apache-wicket.1842946.n4.nabble.com/file/n4670625/1.png 

Thanks in Advance

-
K
--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Check-Box-in-pageablelistview-tp4670625.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Check Box in pageablelistview

2015-05-05 Thread Martin Grigorov
Hi,

The data is saved in the Checkbox's model.
Make sure you read
https://github.com/apache/wicket/blob/master/wicket-core/src/main/java/org/apache/wicket/markup/html/list/ListView.java#L84
before using FormComponents inside ListView.

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Tue, May 5, 2015 at 5:10 PM, K kondetiudayki...@gmail.com wrote:

 Hey




 how are the selected records stored and how can i use it. i understand that
 on form submission these records are submitted but i am not clear on how
 and
 where.

 this is how the page looks like

 http://apache-wicket.1842946.n4.nabble.com/file/n4670625/1.png

 Thanks in Advance

 -
 K
 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/Check-Box-in-pageablelistview-tp4670625.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org