Re: How to determine previous value in select after user change
As a user I would be surprized if my selection in drop down caused dialog opened. I would be surprized more if some values were not be possible to select. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-determine-previous-value-in-select-after-user-change-tp2340548p2540001.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: Wicket 1.4.11 seems to have Ajax support broken under Firefox 3.6.x
You're not alone. I upgraded to wicket 1.4.11 and noticed that the ajax handling was broked. Rolled back to 1.4.10 and ajax handling was broken. Ctrl+R in FF helped. Probably something is wrong in wicket-ajax.js? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-1-4-11-seems-to-have-Ajax-support-broken-under-Firefox-3-6-x-tp2534120p2535557.html Sent from the Wicket - User 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: Best practice for component interaction
I don't like subscriptions implementation. Somewhen it becomes difficult to realize when to add/remove observers. It depends on the order of instantiations. Visitor pattern seems to be much more reliable. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Best-practice-for-component-interaction-tp2336888p2337874.html Sent from the Wicket - User 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: possible bug?
There is JIRA issue for the problem https://issues.apache.org/jira/browse/WICKET-2933 https://issues.apache.org/jira/browse/WICKET-2933 Igor I believe what you wrote works fine for single form. But when the page contains nested forms the outer form still finds component - inner form. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/possible-bug-tp1894220p2330830.html Sent from the Wicket - User 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: new feature in trunk and branch: Component#onInitialize()
The sources shows that the markup container is initialized prior to children initialization. As expected. I used to double check due to onBeforeRender() method. Should javadoc mention aforementioned? The great news is that onBeforeRender() will never be used for component initialization just for rendering event. Looking forward for 1.4.10 -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/new-feature-in-trunk-and-branch-Component-onInitialize-tp2286924p2287133.html Sent from the Wicket - User 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: DataTable with more than one per item
Igor, Having played with multi-line data tables I realized that there isn't an easy way to extend the basic DataTable. The multiline data table has a customizable layout where cell has collspans and possibly rowspans. It means that the configuration is not simple list of columns. It makes the implementation to base on repeater different from DataGridView. My understanding now is that multiline datatable should be a completely different class encapsulating DataView with customizable item. The only problem is that toolbars cannot be reused. It probably would make sense to patch them after 1.5M1 milestone because the relationships with DataTable are affected. BTW, how 1.5 is going? Looking forward for the new URL handling mechanism. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/DataTable-with-more-than-one-tr-per-item-tp1887973p2250219.html Sent from the Wicket - User 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: efficient resource downloading
Since you wrote that you employ Spring MCV I presume you don't use any page state when constructing your dynamic resource, instead you parse URL parameters. Thus your resource seems to be shared resource. I used to extend WebResource (provide your own dynamic implementation of IResourceStream) for that task and register it as a shared resource at the application initialization time. For the resources that have persistent URLs I used to mount them with shared resource url coding strategy. Since shared resources are handled by Wicket filter I always have access to the session and can check permissions. I like that I can handle the cache by throwing AbortWithWebErrorCodeException(HttpServletResponse.SC_NOT_MODIFIED) exception if the resource hasn't changed since recent download. I would like to ask Igor to comment on that. Code maintainers expressed some thoughts about future support of IResourceStream. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/efficient-resource-downloading-tp2164866p2174267.html Sent from the Wicket - User 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