Implement Check Availability link

2010-05-16 Thread Apple Grew
the value.. Please suggest. Regards, Apple Grew my blog @ http://blog.applegrew.com/

Re: Implement Check Availability link

2010-05-16 Thread Apple Grew
They already are in a form along with other text fields. I tired playing with AjaxSubmitLink, but here too I fail to fetch the username from model as other fields still do not have the required inputs, causing the form to report error. Regards, Apple Grew my blog @ http://blog.applegrew.com

Re: Implement Check Availability link

2010-05-16 Thread Apple Grew
They already are in a form along with other text fields. I tired playing with AjaxSubmitLink, but here too I fail to fetch the username from model as other fields still do not have the required inputs, causing the form to report error. Regards, Apple Grew my blog @ http://blog.applegrew.com

Re: Implement Check Availability link

2010-05-16 Thread Apple Grew
Is there any other way around? Adding nested form will change my markup which I don't want to do just for this purpose. The solution I am looking for, is there any way I can capture the username's value using javascript and send to my component via Wicket's Ajax? Regards, Apple Grew my blog

Re: Implement Check Availability link

2010-05-16 Thread Apple Grew
Unfortunately textfield.getconvertedinput() return null. That's why I am stuck. Regards, Apple Grew my blog @ http://blog.applegrew.com/ On Sun, May 16, 2010 at 7:28 PM, vineet semwal vineetsemwal1...@gmail.comwrote: you can just do textfield.updateModel(),that will update textfield model

Re: Implement Check Availability link

2010-05-16 Thread Apple Grew
on blur event, this has nothing to do with the nature of the link, then how come making the link-non-submitting doesn't work? Regards, Apple Grew my blog @ http://blog.applegrew.com/ On Mon, May 17, 2010 at 2:56 AM, Jeremy Thomerson jer...@wickettraining.com wrote: Ah, but he's *not* using

Re: Strip header contributors from Ajax response.

2010-05-06 Thread Apple Grew
Hi All, Thanks for all the responses. I got this solved by making my behavior extend AbstractHeaderContributor. In its getHeaderContributors() I return the list of headers only if response is not ajax. In case of ajax I simply return null. Regards, Apple Grew my blog @ http://blog.applegrew.com

Re: Strip header contributors from Ajax response.

2010-04-22 Thread Apple Grew
there. This unnecessarily bloats the response. Regards, Apple Grew my blog @ http://blog.applegrew.com/ On Thu, Apr 22, 2010 at 10:50 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote: wicket will filter duplicate contributions for you and even though they are rendered they are not executed. if you

Re: Strip header contributors from Ajax response.

2010-04-22 Thread Apple Grew
@Igor I have a very tight budget so the resources are pretty limited, so I need to save the bandwidth wherever possible. BTW I didn't find any class - iheaderresponsecontributor. Regards, Apple Grew my blog @ http://blog.applegrew.com/ On Fri, Apr 23, 2010 at 8:37 AM, Igor Vaynberg igor.vaynb

Re: Strip header contributors from Ajax response.

2010-04-22 Thread Apple Grew
That's a good point. :) BTW if i implement my own IHeaderContributor how will take advantage of wicket's js code stripper and compressor provided by JavascriptPackageResource? Regards, Apple Grew my blog @ http://blog.applegrew.com/ On Fri, Apr 23, 2010 at 9:46 AM, Igor Vaynberg igor.vaynb

Re: Strip header contributors from Ajax response.

2010-04-22 Thread Apple Grew
ohk... will check. Regards, Apple Grew my blog @ http://blog.applegrew.com/ On Fri, Apr 23, 2010 at 10:08 AM, Igor Vaynberg igor.vaynb...@gmail.comwrote: you use iheadercontributor to write out the url to the resourse, which i think will point to the javascriptpackageresource. -igor

Strip header contributors from Ajax response.

2010-04-21 Thread Apple Grew
of removing JS contributed by super calsses of the componenet. Please suggest. Thanks and regards, Apple Grew my blog @ http://blog.applegrew.com/

Re: Shutting down wicketstuff jira and confluence (temporarily)

2010-04-19 Thread Apple Grew
Shame real shame. Why ppl have to exercise their intellectual evilness on community sites like these. Regards, Apple Grew my blog @ http://blog.applegrew.com/ On Mon, Apr 19, 2010 at 11:02 PM, nino martinez wael nino.martinez.w...@gmail.com wrote: Great news :) 2010/4/19 Martijn Dashorst

Re: resources folder / package

2010-04-15 Thread Apple Grew
@Eyal Maybe you would like to have a look at this thread. http://n4.nabble.com/resource-css-loading-td1878209.html Regards, Apple Grew my blog @ http://blog.applegrew.com/ On Fri, Apr 16, 2010 at 2:41 AM, Eyal Golan egola...@gmail.com wrote: hi, thanks. I know this, but my question

Re: resource (css) loading

2010-04-11 Thread Apple Grew
u r welcome. Regards, Apple Grew my blog @ http://blog.applegrew.com/ On Sun, Apr 11, 2010 at 11:48 AM, sahar rostami sahar.rost...@gmail.comwrote: Thanks so much dear apple grew! Regards On Sun, Apr 11, 2010 at 9:49 AM, Apple Grew appleg...@gmail.com wrote: Maybe it was stripped

Re: resource (css) loading

2010-04-10 Thread Apple Grew
Maybe it was stripped by Wicket Mailing list. Anyway I will paste the code in the mail itself. Regards, Apple Grew my blog @ http://blog.applegrew.com/ --Code Starts-- /** * Web based application for e-shopping. * Copyright (C) 2010 Nirupam Biswas (AppleGrew) * * This program is free

Picking different CSS for different styles.

2010-04-09 Thread Apple Grew
that page as (say) classic-Home. Now, if user B tries to access the same page but with style 'jazzy' then Wicket will use another key to store cache. I am simply guessing. Am I on the right track? Will this work? Regards, Apple Grew my blog @ http://blog.applegrew.com/

Re: Picking different CSS for different styles.

2010-04-09 Thread Apple Grew
instead of /jazzy-all.css. Regards, Apple Grew my blog @ http://blog.applegrew.com/ On Fri, Apr 9, 2010 at 11:08 PM, Jeremy Thomerson jer...@wickettraining.com wrote: Wicket does not cache the *generated HTML, which is I believe what you are concerned about.* -- Jeremy Thomerson http

Re: Picking different CSS for different styles.

2010-04-09 Thread Apple Grew
Hey Thanks a lot. I guess header contributor will be the best choice. Regards, Apple Grew my blog @ http://blog.applegrew.com/ On Fri, Apr 9, 2010 at 11:31 PM, Jeremy Thomerson jer...@wickettraining.com wrote: Inline On Fri, Apr 9, 2010 at 12:55 PM, Apple Grew appleg...@gmail.com wrote

Re: Javascript Compression not working.

2010-04-08 Thread Apple Grew
integrate WRO-like minification of JS and CSS right into Wicket? Regards, Apple Grew my blog @ http://blog.applegrew.com/ On Wed, Apr 7, 2010 at 10:21 PM, Alex Objelean alex_objel...@yahoo.comwrote: Actually you don't have to access the resources. The wro filter just handles the request

Re: Javascript Compression not working.

2010-04-08 Thread Apple Grew
From my Java code I can simply get the actual css name by; wro/ + MyApplication.getThemeName() + -all.css, but for cases where I would simply add the url to html's head, I find extending wicket:link more attractive. Regards, Apple Grew my blog @ http://blog.applegrew.com/ On Thu, Apr 8, 2010

Javascript Compression not working.

2010-04-07 Thread Apple Grew
the following code with a form:- add(JavascriptPackageResource.getHeaderContribution(ApplicationCore.class, js/form.js)); I can still see the white spaces in the JS code when I try to access them from my browser. Pls guide. Regards, Apple Grew my blog @ http://blog.applegrew.com/

Re: Javascript Compression not working.

2010-04-07 Thread Apple Grew
To add on to the previous mail. I am in developement mode, but I have enabled default compression for javascript using the following code:- resourceSettings.setJavascriptCompressor(new DefaultJavascriptCompressor()); Regards, Apple Grew my blog @ http://blog.applegrew.com/ On Wed, Apr 7, 2010

Re: Javascript Compression not working.

2010-04-07 Thread Apple Grew
resources. Regards, Apple Grew my blog @ http://blog.applegrew.com/ On Wed, Apr 7, 2010 at 8:20 PM, Alex Objelean alex_objel...@yahoo.comwrote: You could take a look at wro4j: http://code.google.com/p/wro4j/ . It helps you keep you javascripts (and css) organized in a single location, merge

Re: Javascript Compression not working.

2010-04-07 Thread Apple Grew
and CSS based on theme name. Any suggestions how can I achieve this using WRO or can I integrate WRO-like minification of JS and CSS right into Wicket? Regards, Apple Grew my blog @ http://blog.applegrew.com/ On Wed, Apr 7, 2010 at 10:21 PM, Alex Objelean alex_objel...@yahoo.comwrote

Re: What happens after browser's 'back' button?

2010-04-07 Thread Apple Grew
It was done possibly to save performance hits (devs correct me if I am wrong). You can read here ( http://blogs.atlassian.com/developer/2007/12/cachecontrol_nostore_considere.html) for some possible insight. Regards, Apple Grew my blog @ http://blog.applegrew.com/ On Thu, Apr 8, 2010 at 1:39

Re: resource (css) loading

2010-04-07 Thread Apple Grew
().putClassAlias(ApplicationCore.class, global); The above needs to be put in your Application class. Regards, Apple Grew my blog @ http://blog.applegrew.com/ On Wed, Apr 7, 2010 at 10:19 PM, Stefan Lindner lind...@visionet.de wrote: You could e.g. write your own page class class MyCustomersPage

Detecting end of request cycle

2010-03-10 Thread Apple Grew
it is accessed. But, this sql session needs to be closed at end of all the transactions. For that I need a reliable method to detect the end of the request cycle to close this sql session. Any suggestions? Regards, Apple Grew my blog @ http://blog.applegrew.com/

Re: Detecting end of request cycle

2010-03-10 Thread Apple Grew
Wow. Thanks. I looked up the hierarchy but somehow missed that. Regards, Apple Grew my blog @ http://blog.applegrew.com/ On Thu, Mar 11, 2010 at 8:35 AM, Igor Vaynberg igor.vaynb...@gmail.comwrote: requestcycle.onendrequest() or requestcycle.detach() -igor On Wed, Mar 10, 2010 at 6:54 PM

Re: [OT] Wicket App Hosting

2010-02-25 Thread Apple Grew
I am using http://www.eapps.com . Very good service and hosting option. They are not cheap but not too exorbitant either. Regards, Apple Grew my blog @ http://blog.applegrew.com/ On Thu, Feb 25, 2010 at 7:15 PM, Fatih Mehmet Ucar fmu...@gmail.com wrote: linode is the best for me up to now

Re: Stateless AJAX links

2010-01-30 Thread Apple Grew
Joachim. Thanks a lot got your contribution. Regards, Apple Grew my blog @ http://blog.applegrew.com/ On Sat, Jan 30, 2010 at 3:43 AM, Joachim Kainz j...@jolira.com wrote: I have created a wiki page with my solution for stateless Ajax at http://cwiki.apache.org/confluence/display/WICKET

Getting control of Wicket Session.

2010-01-18 Thread Apple Grew
be notified x minutes before Wicket expires the session?* Regards, Apple Grew my blog @ http://blog.applegrew.com/

Re: Getting control of Wicket Session.

2010-01-18 Thread Apple Grew
? If I make any Http request from client's end (AJAX), even if that request is simply ignored by my application, will that help to keep the session alive? @Steve Yup this will be AJAX. When my solution is ready, will share it, definitely. :) Regards, Apple Grew my blog @ http