handling Wicket response

2010-04-04 Thread Alex Zeit
Dear All, How to insert Wicket response into div tag on the page served outside of Wickets. This static page looks as follows: script type='text/javascript' var request; function doSomeRequest(servletName){ var servlet = servletName;//the name (URI) of your servlet var req

Re: Click link

2010-04-04 Thread Mathias Nilsson
I solved it. I needed to set return false; in the javascript to get it to work in all browsers. -- View this message in context: http://old.nabble.com/Click-link-tp28127635p28132265.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: DynamicWizards and Forms

2010-04-04 Thread Sumit Raja
Yes but they don't cover the scenario where the new wizard step is submitted even before it is displayed. Investigated this a bit further and it seems that the delegation by the model to the actual wizard step does not happen in the correct order. I'll try and recreate this with a very simple

Re: Click link

2010-04-04 Thread James Carman
For this, why are you having to write your own JavaScript? On Sun, Apr 4, 2010 at 6:00 AM, Mathias Nilsson wicket.program...@gmail.com wrote: I solved it. I needed to set return false; in the javascript to get it to work in all browsers. -- View this message in context:

Wicket GAE performance

2010-04-04 Thread Ian Marshall
I have a static initialisation method and two static data members as follows: public class DataExchange { private static final Object objLockPMF = new Object(); private static volatile PersistenceManagerFactory g_pmf = null; /** * If this class's static singleton

Re: Image Upload Using TinyMCE Within Wicket Framework

2010-04-04 Thread Andreas Petersson
Looks very helpful on first sight. maybe it would make sense to release the used code in the form of a wicketstuff project, for better accessability for developers. I wrote an article for following topic: Image upload using TinyMce within Wicket Framework Article is based on functionality

Re: DynamicWizards and Forms

2010-04-04 Thread Jeremy Thomerson
If you can recreate it in a quickstart, you can send it to the list and we can get a better idea of what you mean. -- Jeremy Thomerson http://www.wickettraining.com On Sun, Apr 4, 2010 at 5:41 AM, Sumit Raja sumitr...@gmail.com wrote: Yes but they don't cover the scenario where the new

Re: Click link

2010-04-04 Thread Mathias Nilsson
What is your suggestion? -- View this message in context: http://old.nabble.com/Click-link-tp28127635p28133755.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail:

Re: Click link

2010-04-04 Thread James Carman
Sorry, I didn't notice the part where you're looking for the enter key to be pressed. I thought you were just looking to do the callback on any key press. You might want to override getPreconditionScript() to check for that key code, though. That might be a bit cleaner and a bit less brittle.

Re: Any mature work on integrating Hibernate Validator with Wicket?

2010-04-04 Thread David Chang
Found another related work. http://42lines.net/content/integrating-hibernate-validator-and-wicket Any comment or pointers regarding relatively mature work in this regard? Regards. --- On Sat, 4/3/10, David Chang david_q_zh...@yahoo.com wrote: From: David Chang david_q_zh...@yahoo.com

SOLVED: handling Wicket response

2010-04-04 Thread Alex Zeit
It was silly error in JavaScript. Wicket page embeds into div like a charm this way. The correct JS: function doSomeRequest(servletName){ var servlet = servletName+document.attributeform.username.value;//the name (URI) of your servlet var req = servlet;

Re: Wicket GAE performance

2010-04-04 Thread Anton Veretennikov
Hello, i'm working with GAE too, may i clarify something? Transaction tx = pm.currentTransaction(); This is a transaction of every session? If no, how may i handle this situation: When one user is accessing a page i must return data from one entity from the datastore, then close it from