Re: [ANNOUNCE] Wicketopia 0.9 Released...
Try using the @Enabled annotation to limit editing to only certain contexts (such as ADMIN or something). On Sat, Oct 22, 2011 at 11:18 AM, androidcoolguy androidcool...@hotmail.com wrote: James, Your metadata annotation is based on Metastopheles, but I can't find much information about it. Do you have more information elsewhere that you could provide? Specifically, I need to see if there is a way to make a property read only (non-editable). What kind of annotation should I apply in the domain class? Thanks. AG -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/ANNOUNCE-Wicketopia-0-9-Released-tp3418771p3928352.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 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
PageMap locking...
We have some pages that might take a long time to load, depanding on data. Once the user has clicked a link to another page (Or switched a tab if it is a tabed page), is there a way to terminate the request to prevent a load on the server for a page that will not be displayed? In a tabed page, is there a way to go to another tab without waiting for the first tab to rendered? (As the tab link is waiting to the page map to be relased...) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/PageMap-locking-tp3930623p3930623.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
Form Submit and wicket:interface parameter
Hello i have a little problem with my form submit button. I made a small online shop and you have on a special article page the possibility to add some products to a cart. So if i use the embedded form in the page it does everything fine and responses me on the same page but with the parameter wicket:interface=:1:::. So if the customer press the back button after this he gets back to the view of the page where no article where submitted to the cart. My wish is that he gets back to the search or the category page where he comes from. But i think this parameter wicket:interface=:1::: avoids this. So i disabled versioning but this doesn't work. Is there a way to avoid these parameter and get the normal html form behaviour? Thanks in advance and best regards Thomas -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Form-Submit-and-wicket-interface-parameter-tp3927879p3927879.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: Wrong path for resources on redirected login page
Hi. I didn't get things to work with 1.5.2, seems to be the same behavior there. I've done some additional research and debugging... As far as I understand, my problem boils down to this: * Wicket creates a redirect from my StartPage (mounted as App/StartPage) to my LoginPage (mounted as LoginPage). * In the end of this redirect, wicket calls the sendRedirect(String location) method of the Response class of my web container, which in my case is org.apache.catalina.connector.Response (JBoss/Tomcat). As the location parameter, wicket sends LoginPage. * Looking into the source code of org.apache.catalina.connector.Response, I can see that Tomcat treats this as a relative URL. Since the last URL visited was App/StartPage, tomcat renders the redirect URL to be App/LoginPage. * My browser receives the redirect and asks for the page App/LoginPage. Although this URL is wrong, wicket somehow seems to work out that LoginPage is the page to access, but no resources are loaded bacause of wrong URLs. I've tried mounting my LoginPage like: mountPage(/LoginPage, LoginPage.class); But that attempt was futile, since it seems like wicket strips the / in the beginning of a mount URL. The question now is whether this is a wicket or a tomcat issue (or both, or none :) ). As far as I can see, if wicket called the org.apache.catalina.connector.Response with sendRedirect(/LoginPage), things would work out. But there may well be many things I dont understand here... Bottom line... * Is my scenario meant to work? * Are my conclusions correct? * If so, should I create a JIRA case on this issue? Thanks for reading and your time! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wrong-path-for-resources-on-redirected-login-page-tp3920038p3931337.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
inmethod grid - Is is possible to have column with AJAX link to perform some action?
Is it possible in inmethod grid to create a column where each row contains a link (nice to have an icon even instead of text) that a user can click on to initiate an AJAX event such as opening a modal dialog? If so is there a dedicated column property class for this already or do we need to create a custom one? Chris