setRowsPerPage with AjaxFallbackDefaultDataTable
Good day! My impression about AjaxFallbackDefaultDataTable is - fantastic! Thank you, Igor! I'm implementing small Ajax panel that changes amount of rows shown. It looks like standart 20 40 60 80 ... Everything is working but: Once top bar with navigation 1 2 3 4 hides (when amount of rows is less then rowsPerPage) it never shows itself again. What I do in a AjaxLink onClick is: if (dataTable != null) { dataTable.setRowsPerPage(getCurrentCount()); target.addComponent(dataTable); } What I need to do to inform topbar about changes in rows? -- Tony - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Why are we top-posting...
I vote for top or interleaved, dont bottom post thats the most horrible one On 14/03/2009, taha siddiqi tawushaf...@gmail.com wrote: Hi, The story goes like this... Once I was brave enough to take on linux-kernal programming and joined a mailing list. My first post brought me a link which was not an answer to my question but an advice and today I feel we all need to look at it http://www.caliburn.nl/topposting.html Every time I try to read an archived mail to solve my problem I have to scroll the page up and down... Why don't we bottom-post to make our mails more readable and future proof HUMBLE REQUEST taha - 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
Re: Why are we top-posting...
Those who receive first part of e-mail through sms message are very thankful if valuable part is on top. On Sun, Mar 15, 2009 at 5:35 PM, Johan Compagner jcompag...@gmail.com wrote: I vote for top or interleaved, dont bottom post thats the most horrible one On 14/03/2009, taha siddiqi tawushaf...@gmail.com wrote: Hi, The story goes like this... Once I was brave enough to take on linux-kernal programming and joined a mailing list. My first post brought me a link which was not an answer to my question but an advice and today I feel we all need to look at it http://www.caliburn.nl/topposting.html Every time I try to read an archived mail to solve my problem I have to scroll the page up and down... Why don't we bottom-post to make our mails more readable and future proof HUMBLE REQUEST taha - 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 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Switch tab only if user doesn't want to save changes.
On Wed, Mar 11, 2009 at 6:30 PM, jchappelle jchappe...@4redi.com wrote: Could you post how you are detecting unsaved changes? I am trying to implement something similar. Hi Josh, it depends on the kind of data you are dealing with, but basically it is just a matter of keeping the initial model object values somewhere and comparing them with the new ones resulting from form updating by the user. Regards, Fabio Fioretti - WindoM - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Why are we top-posting...
I don't even read bottom-posts. All that scrolling gives me RSI. Regards, Erik. Anton Veretennikov wrote: Those who receive first part of e-mail through sms message are very thankful if valuable part is on top. -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
RE: Why are we top-posting...
+1 -Original Message- From: Erik van Oosten [mailto:e.vanoos...@grons.nl] Sent: 15 March 2009 16:11 To: users@wicket.apache.org Subject: Re: Why are we top-posting... I don't even read bottom-posts. All that scrolling gives me RSI. Regards, Erik. Anton Veretennikov wrote: Those who receive first part of e-mail through sms message are very thankful if valuable part is on top. -- Erik van Oosten http://www.day-to-day-stuff.blogspot.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
Re: Managing Pagemaps
Subbu, If you write a Wicket application you never worry about session cleanups. Only Wicket puts stuff in the session and only Wickets removes it again. Wicket really does an excellent job here. I have never found any reason to tweak this. That said, you as a programmer have the responsibility to keep session size usage low. In particular you must make sure that your models do not retain too much data. Luckily this is easy by using detachable models. Regards, Erik. subbu_tce wrote: Sorry if i am being ignorant in posting these kind of questions But i am in the evaluation of wicket in comparison with a proprietary framework (currently used for building large scale business applications) which provides comprehensive session clean up flexibilities thorough XML Configuration while navigating between different wicket applications in a single window. That's why i had to put this question to wicket experts Does Wicket provide any hooks to do session cleanups between wicket clean ups? Martijn Dashorst wrote: Premature optimization. Don't try to do this type of stuff unless it is actually a problem. Why not make sure you have applications first and then see if it is actually a problem? Martijn On Sat, Mar 14, 2009 at 2:40 AM, subbu_tce subramanian.mur...@gmail.com wrote: I mean two different wicket applications running in the same JVM.. And i launch the first wicket application in a window.. i navigate among different pages in the first wicket application. now since i have navigated through different pages, i understand that multiple versions of the pages would have been maintained in page maps. Now i navigate to the second wicket application from the first wicket application. From the second wicket application, i might never navigate back to the first wicket application. so i would need to clean up everything that would be maintained in session with respect to the first wicket application when i navigate to the second application. thatz y i was wondering whether any hooks are there for the same. Johan Compagner wrote: do you mean multiply wicket applications on the same host? (just like our example?) then yes you have a pagemap set per wicket app in your session (prefixed with the wicket app name) There are no such hooks because a wicket app 1 is independent on wicket app 2, they should be isolated. (they could be in 1 context like exampels but also could be under different contexts) Why do you want to clean up pagemaps.. A pagemap only holds they active page and nothing more. What you can do is destroy the session on a logout button, but i guess you cant invalidate the http session if it is shared over multiply apps... johan On Fri, Mar 13, 2009 at 00:58, subbu_tce subramanian.mur...@gmail.comwrote: I understand that wicket maintains page maps by windows / tabs opened. If the user navigates to pages in multiple wicket applications in the same window, how are the page maps maintained? Will a new page map be created / maintained for every wicket application navigated in the same window? And does wicket provide any hook points to clean up page maps when a user navigates to different applications with in the same window? Thanks, Subbu. -- View this message in context: http://www.nabble.com/Managing-Pagemaps-tp22487669p22487669.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 -- View this message in context: http://www.nabble.com/Managing-Pagemaps-tp22487669p22508300.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 -- Become a Wicket expert, learn from the best: http://wicketinaction.com Apache Wicket 1.3.5 is released Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
AjaxLinkTree questions
Hi, I have created a panel with AjaxLinkTree with Possibility to add new node, as a child of the currently selected node. Now I want to make this component reusable, participating in parent form. As suggested by Wicket in Action, it will extend FormComponentPanel. It's data model will be simple Integer, with the intention that it will point to the currently selected node. public MyTree(String id, IModelInteger model) { super(id, model); ... } Here are my needs, maybe somebody will give some hint how to implement it: a) how do I mark such tree object as 'required'? I mean that the value represented by the tree is required. Do I do it inside the component that defines tree or outside, on the parent form level? b) I want this tree to expand at the beginning to the position specified by initial value of the model. Do I implement it myself, knowing the backend data model - or there is any internal feature. Any help from more experienced wicketers? Regards, Darek - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Which version is stable
We are using wicket 1.4rc2 without any problems... taha siddiqi wrote: Hi, Which version 1.3.x or 1.4.x should I use in production. Which one is stable ? ( stupid question I know :) but I am confused ) I use 1.3.5, should I be using 1.4.x. taha - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- View this message in context: http://www.nabble.com/Which-version-is-stable-tp22511969p22526624.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
setModel() and getModel() questions
I am obviously doing something wrong here. On my wicket pages, I am trying to set the Model with setModel() e.g.setModel(new CompoundPropertyModel(new Treatment())); On the components (forms, panels etc.) contained on that page, I try to retrieve the object with getModelObject() or getInnermostModel() but both of them return null. eg. Treatment treatment = (Treatment) getModelObject(); The other components still function correctly in the form so they manage to access the model properties using the CompoundPropertyModel. What is the difference between getModelObject() and getInnermostModel().getObject()? Anybody have a tip on what I am doing wrong here? Thanks, Pieter - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: setModel() and getModel() questions
make sure you are not calling these methods in the constructors - before the components are added to the page that has the model. -igor On Sun, Mar 15, 2009 at 1:39 PM, pieter claassen pie...@claassen.co.uk wrote: I am obviously doing something wrong here. On my wicket pages, I am trying to set the Model with setModel() e.g. setModel(new CompoundPropertyModel(new Treatment())); On the components (forms, panels etc.) contained on that page, I try to retrieve the object with getModelObject() or getInnermostModel() but both of them return null. eg. Treatment treatment = (Treatment) getModelObject(); The other components still function correctly in the form so they manage to access the model properties using the CompoundPropertyModel. What is the difference between getModelObject() and getInnermostModel().getObject()? Anybody have a tip on what I am doing wrong here? Thanks, Pieter - 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
Re: Why are we top-posting...
chuckle This is an old argument that I've seen get pretty heated, but I haven't heard it mentioned since I used news groups for this sort of thing. Anyway -- What Martijn said... - Brill On 14-Mar-09, at 9:25 PM, taha siddiqi wrote: I was not expecting this... ( look I am also top posting ). All I wanted to say was MAY BE it is easy to read the archives that way.( MAY BE ) Thanks anyways taha On Sun, Mar 15, 2009 at 12:54 AM, Martijn Dashorst martijn.dasho...@gmail.com wrote: Top posting is, has been and forever will be acceptable in this community. If you don't like that, you're free to bottom post, interleave post or not post at all. Nobody is forcing you to read this list, nobody will flame you when you bottom post. Just don't start telling us how to conduct our communications. I don't care what color the bikeshed is in and I'm not interested in what color you like, I just want to put my bike inside and get to work. Martijn On Sat, Mar 14, 2009 at 2:14 PM, taha siddiqi tawushaf...@gmail.com wrote: Hi, The story goes like this... Once I was brave enough to take on linux-kernal programming and joined a mailing list. My first post brought me a link which was not an answer to my question but an advice and today I feel we all need to look at it http://www.caliburn.nl/topposting.html Every time I try to read an archived mail to solve my problem I have to scroll the page up and down... Why don't we bottom-post to make our mails more readable and future proof HUMBLE REQUEST taha - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Become a Wicket expert, learn from the best: http:// wicketinaction.com Apache Wicket 1.3.5 is released Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3. - 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 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
extensions not in the snapshot?
I trying to use the DatePicker extension in the extensions module, but I was surprised to find that it's not actually in the latest snapshot. (http://www.wicketframework.org/wicket-extensions/DatePicker.html) Anyone know if there is some other dependency I should be including (an extension, extension maybe) ? - Brill - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
ajax busy indicator
is there any ajax busy indicator which blocks the entire page some thing like nexus repository manager does . -- View this message in context: http://www.nabble.com/ajax-busy-indicator-tp22529825p22529825.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
How NOT TO Cache Markup - Markup Dynamically created
Hi All, I don't see this post in the forum.. so I am posting again. I have a page where the markup is creating dynamically and I do not want the markup to be cached. I am implementing both IMarkupResourceStreamProvider, IMarkupCacheKeyProvider I'm not sure what I need to do in order for the markup not to be cached. In one of the source files in here http://wicketstuff.org/wicket13/customresourceloading, it said that if I returned null from getCacheKey that the markup would not be cached. When I do this I get into a loop and it keeps trying to get the markup over and over again. @Override public String getCacheKey( MarkupContainer container, Class containerClass ) { return null; } I tried calling the clearing the cache after the page renders... but when I do this the page won't even load. Any help would greatly be appreciated. I am using wicket1.4rc2. Thanks Karen. -- View this message in context: http://www.nabble.com/How-NOT-TO-Cache-Markup---Markup-Dynamically-created-tp22529829p22529829.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: How NOT TO Cache Markup - Markup Dynamically created
On Sunday 15 March 2009, schapey said: Hi All, I don't see this post in the forum.. so I am posting again. sometimes I just wish we were using grails. but I am sure that would come with it's own problems. I have a page where the markup is creating dynamically and I do not want the markup to be cached. I am implementing both IMarkupResourceStreamProvider, IMarkupCacheKeyProvider I'm not sure what I need to do in order for the markup not to be cached. In one of the source files in here http://wicketstuff.org/wicket13/customresourceloading, it said that if I returned null from getCacheKey that the markup would not be cached. When I do this I get into a loop and it keeps trying to get the markup over and over again. @Override public String getCacheKey( MarkupContainer container, Class containerClass ) { return null; } I tried calling the clearing the cache after the page renders... but when I do this the page won't even load. Any help would greatly be appreciated. I am using wicket1.4rc2. Thanks Karen. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
AjaxEditableLabel trouble in Safari
Anyone else having issues with AjaxEditableLabel in Safari? This could be a legit bug for Safari, but I thought i'd ask before adding an issue. What I'm getting is: 1) Label is beside the input box 2) when label is clicked, a new input is added to the page and the label is moved over. So you get: inpout...input...label - Brill - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
request time logging with application and network time disguished
we are trying to do logging on the request time to check the application processing time and the request output network time we first try to time the request processing by overriding WebRequestCycle#onBeginRequest, #onEndRequest but it seems the processing time is the same as the request time logged at tomcat, i.e. it includes both application+request output network time can i log the application time, isolating the request output network time? i check that i am using IRequestCycleSettings.RenderStrategy REDIRECT_TO_BUFFER, by which the IRequestCycleSettings.RenderStrategy class javadoc says: * bufferResponse (defaults to true) - True if the application should buffer responses. This * does require some additional memory, but helps keep exception displays accurate because the whole * rendering process completes before the page is sent to the user, thus avoiding the possibility of * a partially rendered page. so we can time the whole wicket rendering process (the application logic) before sending out to the client? can anyone point out where i can add the timing by myself? if wicket does not have an easy extension point here, i can just go to the code and compile for my use myself many thanks -- View this message in context: http://www.nabble.com/request-time-logging-with-application-and-network-time-disguished-tp22530747p22530747.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: Why are we top-posting...
I have my arguments but it is your mailing list, so I have to abide by the rules besides Martijn is my teacher ( Wicket in Action ) so can't argue.. :) Still came to know about 'Advantages of top posting', thanks everyone for the response - taha On Mon, Mar 16, 2009 at 2:54 AM, Brill Pappin br...@pappin.ca wrote: chuckle This is an old argument that I've seen get pretty heated, but I haven't heard it mentioned since I used news groups for this sort of thing. Anyway -- What Martijn said... - Brill On 14-Mar-09, at 9:25 PM, taha siddiqi wrote: I was not expecting this... ( look I am also top posting ). All I wanted to say was MAY BE it is easy to read the archives that way.( MAY BE ) Thanks anyways taha On Sun, Mar 15, 2009 at 12:54 AM, Martijn Dashorst martijn.dasho...@gmail.com wrote: Top posting is, has been and forever will be acceptable in this community. If you don't like that, you're free to bottom post, interleave post or not post at all. Nobody is forcing you to read this list, nobody will flame you when you bottom post. Just don't start telling us how to conduct our communications. I don't care what color the bikeshed is in and I'm not interested in what color you like, I just want to put my bike inside and get to work. Martijn On Sat, Mar 14, 2009 at 2:14 PM, taha siddiqi tawushaf...@gmail.com wrote: Hi, The story goes like this... Once I was brave enough to take on linux-kernal programming and joined a mailing list. My first post brought me a link which was not an answer to my question but an advice and today I feel we all need to look at it http://www.caliburn.nl/topposting.html Every time I try to read an archived mail to solve my problem I have to scroll the page up and down... Why don't we bottom-post to make our mails more readable and future proof HUMBLE REQUEST taha - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Become a Wicket expert, learn from the best: http://wicketinaction.com Apache Wicket 1.3.5 is released Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3. - 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 - 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
Re: ajax busy indicator
see mask component in wicketstuff-minis -igor On Sun, Mar 15, 2009 at 4:47 PM, miro miroconn...@yahoo.com wrote: is there any ajax busy indicator which blocks the entire page some thing like nexus repository manager does . -- View this message in context: http://www.nabble.com/ajax-busy-indicator-tp22529825p22529825.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 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Ajax Back Button
Hi, I have a panel filled application which has almost everything configured as AjaxFallback... Can I make the browser back button work... ( It seems I cannot ) Also is it possible that I can have components configurable as Ajax or Basic Html, so that I can have both Basic HTML version and Ajax Version... Thanks taha - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org