Re: Lightweight generic busy indicator

2008-06-08 Thread Martin Makundi
Ok. So I finally figured out my javascript syntax mistake. Do not use Wicket.Ajax.registerPreCallHandler(showBusysign()) but instead without the brackets with the function: Wicket.Ajax.registerPreCallHandler(showBusysign); This snipplet is now complete and can be used with any application: /*

Re: Status of Wicket and Groovy?

2008-06-08 Thread Dmitry Kandalov
On Monday 09 June 2008 10:47:45 Eelco Hillenius wrote: > > IMHO they cannot be easily used together at the moment. > > Hmmm, interesting. My only experience with Groovy is years ago, and > back then we abandoned and switched to PNuts (which I guess should > work with Wicket as well) due to Groovy's

Re: Bookmarkable pages and wicket session life-cycle

2008-06-08 Thread Eelco Hillenius
> I have got a question on bookmarkable page and if wicket session's > life-cycle has any relation with it. > > Actually i have a couple of bookmarkable pages in my application (mounted > through queryurlcodingstrategy). > > For scenarios where the session-expiry has reached, invoking any action on

Re: Status of Wicket and Groovy?

2008-06-08 Thread Eelco Hillenius
> IMHO they cannot be easily used together at the moment. Hmmm, interesting. My only experience with Groovy is years ago, and back then we abandoned and switched to PNuts (which I guess should work with Wicket as well) due to Groovy's immaturity back then. Dima, are these problems hard to overcom

Bookmarkable pages and wicket session life-cycle

2008-06-08 Thread mfs
Guys, I have got a question on bookmarkable page and if wicket session's life-cycle has any relation with it. Actually i have a couple of bookmarkable pages in my application (mounted through queryurlcodingstrategy). For scenarios where the session-expiry has reached, invoking any action on any

Re: Status of Wicket and Groovy?

2008-06-08 Thread Dmitry Kandalov
On Saturday 07 June 2008 22:09:02 Ashley Aitken wrote: > So my question is: what is the status (now and going forward) with   > regards to using Groovy to develop with Wicket?  I know there has been   > much discussion of generifying Wicket but perhaps moving to a dynamic   > language could be an a

Re: Stateless AutoComplete

2008-06-08 Thread Eelco Hillenius
On Thu, Jun 5, 2008 at 1:53 PM, nate roe <[EMAIL PROTECTED]> wrote: > I'm using Wicket 1.2, and it appears that when a user's session times out, > my implementation of AbstractAutoCompleteTextRenderer stops working. I > assume that when the session times out, the server returns errors and the > pa

Re: How can I customize Autocomplete?

2008-06-08 Thread Eelco Hillenius
> I am bumping this because this is an issue I know people are interested in. I > am not the only one wanting the choices for autocomplete to be shown on a > null value. I know technically you have this fixed in 1.4-m2 but you still > have to press the down arrow. I would like the choices to show u

Re: Redirect problem

2008-06-08 Thread Eelco Hillenius
No idea. Check if the source looks good and what the proxy does. It sounds like the problem is with the proxy somehow. Eelco On Fri, Jun 6, 2008 at 4:12 AM, Martijn Lindhout <[EMAIL PROTECTED]> wrote: > Hi all, > > Has anyone ever deployed a Wicket app at EATJ (www.eatj.com)? I did > last week an

Re: Wizard Form problems in IE

2008-06-08 Thread Eelco Hillenius
No ideas, sorry. Wizard seems to be working fine for us. I'm afraid you'll have to dig deeper. Eelco On Thu, Jun 5, 2008 at 4:34 PM, Michael Laccetti <[EMAIL PROTECTED]> wrote: > > I've implemented a Wizard that uses dynamic steps to process things based on > user input. Everything works under

Re: Create WebPage inside a TimerTask Class

2008-06-08 Thread Eelco Hillenius
You'll need to set the whole thread up like you would regularly do when you want to construct and render a Wicket page in a separate thread. After that, it should just work. If it doesn't even execute your log statement, I suspect something else is wrong. Do you have a stack trace to share? Eelco

Re: PackageResource - why does'nt get Locale directly from Session ?

2008-06-08 Thread Eelco Hillenius
That's just by design to not make the assumption where the locale comes from. But you can override the class and pass Session.get().getLocale() and you're done :-) Eelco On Fri, Jun 6, 2008 at 9:17 AM, Stefan Simik <[EMAIL PROTECTED]> wrote: > > Hi boys, > > I would like to ask, why PackageResour

Re: Status of Wicket and Groovy?

2008-06-08 Thread Eelco Hillenius
> I know Wicket makes it very easy to develop components and there are some > component libraries (e.g. Wicket Stuff) but it doesn't seem like there are > as many (high level components) as Django or that they are as easy to > integrate (that's just my perception). I don't know about Django, but I

RE: Can't get round this problem

2008-06-08 Thread Alex Jacoby
I imagine it can be done, but I don't know how. You might want to explain more about what you're trying to do. -Original Message- From: Mathias P.W Nilsson [mailto:[EMAIL PROTECTED] Sent: Sun 6/8/2008 6:08 PM To: users@wicket.apache.org Subject: RE: Can't get round this problem The hi

RE: Can't get round this problem

2008-06-08 Thread Mathias P.W Nilsson
The hidden fields are set after ajax submit and then I set the action on the form. I must MD5 some fields before submitting. Why can't this be done in wicket? -- View this message in context: http://www.nabble.com/Can%27t-get-round-this-problem-tp17723379p17723787.html Sent from the Wicket - Us

RE: Can't get round this problem

2008-06-08 Thread Alex Jacoby
Sounds like you're submitting the info to another website (not back to your wicket app), in which case you should just use a plain HTML form (without associated wicket form components): wicket won't change the input field names then. Alex -Original Message- From: Mathias P.W Nilsson [m

Can't get round this problem

2008-06-08 Thread Mathias P.W Nilsson
I have a page that has 2 fragment. One for normal ordering and one for credit card ordering. When sending the input type hidden names they must have the exact name but wicket changes it orderPanel:Merchant_id must be Merchant_id. How can I remove the orderPanel that adds to the markup. I have t

Re: localized string in session

2008-06-08 Thread hannes p.
Thank you for your solution! My workaround was just to check it on the loginpage before I create the session. So if the user is in the wrong group he will get the message "account not activated"... but I will try your sollution. greets -hannes -- View this message in context: http://www.nabb

Re: Lightweight generic busy indicator

2008-06-08 Thread Martin Makundi
Hi! In my understanding it should (IMHO) be possible to hook all ajax calls without doing anything on the server side. I think your "add onClick to an AjaxButton" issue involves attaching specific javascript (from the server side) to a specific button. That's not what I need, is it? I would have t

Re: AutoCompleteTextField scrolls entire page

2008-06-08 Thread Marcus Mattila
Hi, we have reproduced the same problem with AutocompleteTextfield. We use 1.3-SNAPSHOT. Did you get it solved? Code and css we use is same as in Wicket Examples: http://www.wicket-library.com/wicket-examples/ajax/?wicket:interface=sources:0:filespanel:file:2:link::ILinkListener:: br, Marcus O

Re: localized string in session

2008-06-08 Thread Per Newgro
Hi Emacs: Can you handle this by raising an exception in your "check" method? In the web-session public boolean isActivated(String userId) throws UserAccountNotActivatedExcepeption { ... } So you could catch the Exception in your component (where the auth call was made) and you have all access

Re: Lightweight generic busy indicator

2008-06-08 Thread Eyal Golan
check my posts on "add onClick to an AjaxButton" in the users list (I couldn't get the URL for it ...) It seems that you have a similar problem. Eyal On Sat, Jun 7, 2008 at 11:41 PM, Martin Makundi < [EMAIL PROTECTED]> wrote: > Hi! > > Did I misunderstand something? I am not a javascript-wizar

Re: Add onClick to an AjaxButton

2008-06-08 Thread Eyal Golan
No, We're on 1.3.3 Nice though :) when we move to 1.4, I'll try to remember using it as well. Thanks On Wed, Jun 4, 2008 at 6:15 AM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > are you on 1.4, i checked in a change that will allow ajaxbutton to > utilize getonclickscript() within the ajax handler