Re: new feature in trunk and branch: Component#onInitialize()

2010-07-13 Thread Ernesto Reinaldo Barreiro
Igor, Thanks for this new feature! Just one question/remark... the JavaDoc of onBeforeRender states * Because this method is responsible for cascading {...@link #onBeforeRender()} call to * children it is strongly recommended that super call is made at the end of the override. Is this also

Re: new feature in trunk and branch: Component#onInitialize()

2010-07-13 Thread Igor Vaynberg
onInitialize() is called only once, like the javadoc says. -igor On Mon, Jul 12, 2010 at 10:58 PM, Ernesto Reinaldo Barreiro reier...@gmail.com wrote: Igor, Thanks for this new feature! Just one question/remark... the JavaDoc of onBeforeRender states * Because this method is responsible

Re: Consecutive AJAX operations lead to Page Expired

2010-07-13 Thread asarpe
Not very sure what you meant by quickstart or it didnt happen but I am assuming is referring to the lack of code sample. If so, sorry for the incomplete post. Here is the Panel class in question, trimmed down to size to just the relevant parts. public class MyPanel extends Panel {

Re: new feature in trunk and branch: Component#onInitialize()

2010-07-13 Thread vladimir.kovalyuk
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

Re: Consecutive AJAX operations lead to Page Expired

2010-07-13 Thread Martin Grigorov
I guess he meant that this is very common use case and that's why we believe it is an error in your code. Please create as simple as possible application that manifests the problem [1] and attach it to a ticket in the bug tracking system [2]. [1] To create a simple application you may use Wicket

wicket in a mobile application.

2010-07-13 Thread amit1400158
Please tell me how successful is wicket in mobile application?? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-in-a-mobile-application-tp2287273p2287273.html Sent from the Wicket - User mailing list archive at Nabble.com.

RE: wicket in a mobile application.

2010-07-13 Thread Stefan Lindner
What do you mean with mobile? Search for walmart on this list. Then you will find some informations about walmart using Wicket for mobile devices. Stefan -Ursprüngliche Nachricht- Von: amit1400158 [mailto:ade...@qasource.com] Gesendet: Dienstag, 13. Juli 2010 13:22 An:

Re: wicket in a mobile application.

2010-07-13 Thread Ernesto Reinaldo Barreiro
http://www.mail-archive.com/users@wicket.apache.org/msg48605.html On Tue, Jul 13, 2010 at 1:21 PM, amit1400158 ade...@qasource.com wrote: Please tell me how successful is wicket in  mobile application?? -- View this message in context:

Re: wicket in a mobile application.

2010-07-13 Thread Arjun Dhar
Check out: http://www.thebuzzmedia.com/apache-wicket-powers-mobile-walmart-com/ Also, keep in mind Wicket is a server side component framework and like all such frameworks it produces HTML, BUT as you will read from the link that it allows you maintain consistent server-side code for components

Re: wicket in a mobile application.

2010-07-13 Thread amit1400158
Thanks for speedy replies Stefan I already know that walmart has developed its mobile site in wicket, I want to know how successful is wicket in mobile applications. Like are there any performance issues with using wicket in mobile, are there any tendencies of hanging the application?? I have

Re: wicket in a mobile application.

2010-07-13 Thread amit1400158
Arjun thanks for explaining me nicely -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-in-a-mobile-application-tp2287273p2287334.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: wicket in a mobile application.

2010-07-13 Thread Martin Funk
Hi Amit, the market for web-apps specially designed for mobiles is rather new, the technological decisions made in that area aren't quite settled yet. Its not even clear if serving your content in an web-app is the best approach. The biggest problem seems to be the big number of different devices

Page Expired with back button

2010-07-13 Thread Christian Helmbold
Hello, when I go back to the previous page with the browsers back button and click on a link on that page, I get every time a page expired error. It seems like Wicket loses the session, since all other actions in the application then results in an expired error. I've looked if the number of

Re: Page Expired with back button

2010-07-13 Thread Martin Grigorov
You are the second person reporting this problem with click link1 and then click link2 this week. Can you please create a simple application that shows the problem and attach it to Jira ticket. On Tue, 2010-07-13 at 07:38 -0700, Christian Helmbold wrote: Hello, when I go back to the previous

Re: new feature in trunk and branch: Component#onInitialize()

2010-07-13 Thread Igor Vaynberg
On Tue, Jul 13, 2010 at 1:05 AM, vladimir.kovalyuk koval...@gmail.com wrote: The sources shows that the markup container is initialized prior to children initialization. As expected. im pretty sure that is a safe assumption to make, not sure if its javadoc worthy. -igor I used to double

Re: new feature in trunk and branch: Component#onInitialize()

2010-07-13 Thread Josh Glassman
Nice, I have one or two places where onInitialize would make more sense than onBeforeRender. Thanks for the update! One question, does it matter where in the override we call super#onInitialize (beginning or end)?

Re: new feature in trunk and branch: Component#onInitialize()

2010-07-13 Thread Igor Vaynberg
i think in most cases it would make sense to call super first, just like the constructor. -igor On Tue, Jul 13, 2010 at 8:35 AM, Josh Glassman josh...@gmail.com wrote: Nice, I have one or two places where onInitialize would make more sense than onBeforeRender. Thanks for the update! One

Re: Panel update with Ajax

2010-07-13 Thread Sven Meier
Hi, always when working with PropertyModel make sure that the properties exists. In your case it should probably be: new PropertyModelString(this, model.object.id)) Note that using the CompoundPropertyModel as suggested earlier is much easier. Regards Sven On 07/13/2010 05:16 AM,

Re: new feature in trunk and branch: Component#onInitialize()

2010-07-13 Thread Erik van Oosten
I always wonder about the order and worry what could go wrong. A small sentence in the javadoc would stop that. E.g. something simple like: * p * Markup containers are initialized prior to their children. * /p would be marvelous. Regards, Erik. Op 13-07-10 17:16, Igor Vaynberg

Interrupting AjaxSelfUpdatingTimerBehavior

2010-07-13 Thread dbuttery
Hi all, This may have been asked-and-answered but here goes ... I'm looking for a way to interrupt a AjaxSelfUpdatingTimerBehavior. Specifically, there is a AjaxSelfUpdatingTimerBehavior running on a page to auto-refresh displayed data. There is also a button to invoke a dialog to allow

Any Italian wicket maniacs out there?

2010-07-13 Thread Francisco Diaz Trepat - gmail
Hi, I would like to ask some Italian users about something personal. If any, and don't mind please contact me privately. I'll surely appreciate it. regards, f(t)

Multiple columns using div with last one on each row different

2010-07-13 Thread Chris Colman
I'm using wicket to generate HTML and Compass/Blueprint to manage the CSS. I have a multi column layout with a product in each cell like: P1 P2 P3 P4 P5 P6 P7 Etc., With the blueprint CSS framework you need to specify a slightly different CSS 'class' (eg., lastCell) for the last item

Re: Multiple columns using div with last one on each row different

2010-07-13 Thread Anh
Not familiar with the blueprint framework, but is there some reason you could not use whatever:last-child { } CSS pseudo-selector? On Tue, Jul 13, 2010 at 7:16 PM, Chris Colman chr...@stepaheadsoftware.com wrote: I'm using wicket to generate HTML and Compass/Blueprint to manage the CSS. I

Re: Panel update with Ajax

2010-07-13 Thread Mansour Al Akeel
Sven, thank you. But what about the ajax part. On Tue, Jul 13, 2010 at 7:28 PM, Sven Meier s...@meiers.net wrote: Hi, always when working with PropertyModel make sure that the properties exists. In your case it should probably be:    new PropertyModelString(this, model.object.id)) This one

RE: Multiple columns using div with last one on each row different

2010-07-13 Thread Chris Colman
That would probably not work because the child at the end of each row is not necessarily the last child in the 'containing object'. The container is the category which has n products eg., P1 P2 P3 P4 P5 P6 P7 P8 Where P8 would be the last child But I need P3 and P6 to be marked as 'last