Re: weird "Unable to find component with id"

2016-05-05 Thread Ernesto Reinaldo Barreiro
Hi Thorsten, Thanks for your comments. Weird thing is it only happens rarely in production. I have tried to reproduce this locally simulating random user access with no success. On Wed, May 4, 2016 at 7:11 PM, Thorsten Schöning wrote: > Guten Tag Ernesto Reinaldo

Re: weird "Unable to find component with id"

2016-05-05 Thread Ernesto Reinaldo Barreiro
Hi Martin, Thanks for your answer. On Thu, May 5, 2016 at 8:36 AM, Martin Grigorov wrote: > Hi Ernesto, > > Does this page use variations/style, e.g. > ReplyToProjectRequestPage_custom.html > ? > No there is only ReplyToProjectRequestPage.html: that was one of the first

Re: DropDownChoice and Object/Property

2016-05-05 Thread Martin Grigorov
Hi, In that case you need something like: IModel model = new Model<>(OrderPage.this .getOrderController().order().shippingHeader()getShipMethod().getId()); IModel models = new ListModel(shipMethods.stream().map(ShipMethod::getId).collect(Collectors.toList())); IChoiceRenderer renderer =

Re: DropDownChoice and Object/Property

2016-05-05 Thread Lon Varscsak
haha, sorry…here’s another pass: So the objects that are in the list are called ShipMethod and it has a “description” which I want to use for display, and an “id” which is the thing I want stored in the Order object. But with the property model and ChoiceRenderer as I have it, it’s expecting to

Re: Too many 302 redirects with 1.5.8 Wicket

2016-05-05 Thread tomask79
Perfect, Martin. Thank you very much for tip, I will point my investigation in this way. cheers Tomas. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Too-many-302-redirects-with-1-5-8-Wicket-tp4674532p4674567.html Sent from the Users forum mailing list archive at

Re: Too many 302 redirects with 1.5.8 Wicket

2016-05-05 Thread Martin Grigorov
On Thu, May 5, 2016 at 1:29 PM, tomask79 wrote: > Hi Martin, > > REDIRECT_TO_BUFFER and by is meant > >

Re: Too many 302 redirects with 1.5.8 Wicket

2016-05-05 Thread tomask79
Hi Martin, REDIRECT_TO_BUFFER and by is meant

Re: Too many 302 redirects with 1.5.8 Wicket

2016-05-05 Thread Martin Grigorov
Hi, What is in GET /wicket/page?420-1. ? Which render strategy do you use ? REDIRECT_TO_BUFFER (the default), REDIRECT_TO_RENDER or ONE_PASS_RENDER ?

Re: Too many 302 redirects with 1.5.8 Wicket

2016-05-05 Thread tomask79
Well, today I found out we experience this problem also with Wicket 6.0...(6.21) Guys, do you have any idea when this could happen? When Wicket could rotate the same request over and over again? Pattern is still the same...POST -> and eventual 302 GET for response is rotated many

Re: Restrict wicket/bookmarkable

2016-05-05 Thread Илья Нарыжный
Martin, Done: https://issues.apache.org/jira/browse/WICKET-6161 Thank you! 2016-05-04 23:38 GMT-07:00 Martin Grigorov : > Hi Ilia, > > Please create a ticket so we don't forget it! > Thanks! > > Martin Grigorov > Wicket Training and Consulting >

Re: DropDownChoice and Object/Property

2016-05-05 Thread Martin Grigorov
Hi, On Thu, May 5, 2016 at 2:28 AM, Lon Varscsak wrote: > Hey all, > > Is there a way to have a DropDownChoice use a complex object (think ORM > class) as it’s list, but get/set the Model’s value as the ID instead of the > complex object? > > So for: > > new

Re: Wicket 6.15 - Component not getting refreshed

2016-05-05 Thread Martin Grigorov
Hi, On Wed, May 4, 2016 at 11:37 PM, sameerkhanna wrote: > Hi, > > We recently upgraded from wicket 1.3 to wicket 6.15. However, it was a step > by step upgrade for each major version. > > On one of the pages in the application we have a set of radio buttons. We >

Re: Restrict wicket/bookmarkable

2016-05-05 Thread Martin Grigorov
Hi Ilia, Please create a ticket so we don't forget it! Thanks! Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Wed, May 4, 2016 at 7:32 PM, Илья Нарыжный wrote: > For now I just removed BookmarkableMapper. Everything works. But it seems > to me

Re: weird "Unable to find component with id"

2016-05-05 Thread Martin Grigorov
Hi Ernesto, Does this page use variations/style, e.g. ReplyToProjectRequestPage_custom.html ? It could be that some user uses this custom variation and you test with the default version. Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Wed, May 4, 2016 at 12:27