Re: [auth-roles] Design of x-RoleAuthorizationStartegy

2013-10-15 Thread Sven Meier
Hi, wicket-auth-roles is 'mostly a technology demonstration': https://wicket.apache.org/learn/projects/authroles.html It's a very simple starting point, thus it cannot serve all needs. Please use it as an inspiration for your own solution. Regards Sven On 10/11/2013 12:50 PM, Per Newgro

Make a Shared Variable-Length ListView (checkbox matrix with N columns)

2013-10-15 Thread eugenebalt
We have 2 cases where we need to display a matrix with checkboxes. In the first case, the matrix has 3 columns, in the second, it has 8. Both are working, and both were implemented as ListViews. But is there a way to make this a Shared Component, with a more elegant design? The problem is the HTML

Browser Page Refresh Not Really Refreshing

2013-10-15 Thread dhongyt
I have a wicket page that contains a dataview of subscriptions. Any user that subscribes will show up on this page. If I am already on the page and someone else create a subscription and I do a browser refresh, like CTRL+R or F5 the user subscription does not show up. I would have to click on the

Re: Browser Page Refresh Not Really Refreshing

2013-10-15 Thread Sven Meier
Is this because I need to set my headers to not cache? No. How do you iterate over your subscriptions: AbstractRepeater, ListView, DataTable? Where do you get the subscriptions from? Sven On 10/15/2013 03:54 PM, dhongyt wrote: I have a wicket page that contains a dataview of subscriptions

Re: Browser Page Refresh Not Really Refreshing

2013-10-15 Thread Andrew Hall
Sent from my HTC One SV - Reply message - From: "dhongyt" To: Subject: Browser Page Refresh Not Really Refreshing Date: Tue, Oct 15, 2013 8:55 AM I have a wicket page that contains a dataview of subscriptions. Any user that subscribes will show up on this page. If I am already on

Re: [auth-roles] Design of x-RoleAuthorizationStartegy

2013-10-15 Thread Per Newgro
Thanks for your reply Sven. That makes sense. Ok then we can definitly build our own solution. Cheers Per Am 15.10.2013 13:48, schrieb Sven Meier: Hi, wicket-auth-roles is 'mostly a technology demonstration': https://wicket.apache.org/learn/projects/authroles.html It's a very simple star

Modifying model output to TextArea

2013-10-15 Thread dgn
I'm stumped in how to modify model output for redisplay on a web page after confirmation. I have a TextArea> that gets added to a form. On submission I have a custom converter that work fine to transform the input into a model object with the same type of member. After form submit there is a conf

RE: Make a Shared Variable-Length ListView (checkbox matrix with N columns)

2013-10-15 Thread Paul Bors
We have a tab panel with permissions per section of the product that would list the sections and then the permissions along with checkboxes to authorize a user different roles. That's a tab panel with a list view of sections which nest a list view of check boxes depending on the model of the paren

RE: Modifying model output to TextArea

2013-10-15 Thread Paul Bors
Well, take a look at the Wicket Guide to review how converters work: * 11.3 Input value conversion http://wicket.apache.org/guide/guide/single.html#chapter11_3 Did you remember to override the convertToString() method? Second, why not use a form component panel in this case? * 11.8 Creating com

RE: Modifying model output to TextArea

2013-10-15 Thread dgn
You nailed it asking about convertToString(). In the custom converter I'd taken great care in converting the TextArea input to List. Then, somewhat blindly, in convertToString() just took that List and returned a toString() which, as as List toString() does, returned the enclosed objects within br