Re: howto JSON Wicket works?

2007-11-25 Thread Johan Compagner
Again, why do you try to generate a json object in the browser?? Why not create a normal wicket form that you post to the server and then in the form submit method you create the json object On 11/24/07, Pen [EMAIL PROTECTED] wrote: I don't know how to get the postdata from the request object

Re: How to determine absolute URL of a mounted page?

2007-11-25 Thread Johan Compagner
Can we then make something where we ask some setting first for the host part? If not found we generate from the current request, which i think for many many production environments will not really work because who doesnt virtualhost or puts apache in front of it? On 11/25/07, Al Maw [EMAIL

Re: Regression in 1.3.0-beta3(?)

2007-11-25 Thread Johannes Schneider
https://issues.apache.org/jira/browse/WICKET-1185 Johan Compagner wrote: please make a jira issue for this On Nov 22, 2007 9:49 PM, Johannes Schneider [EMAIL PROTECTED] wrote: I have the same problem with 1.3.0-rc1... I have tried to create a minimal example, but did not work... The

Re: How to determine absolute URL of a mounted page?

2007-11-25 Thread Johan Compagner
If you virtual host in apache on a server (local ip 10.0.0.1) so www.mydomain.com/ is virtual hosted by a tomcat server on a local network (10.0.0.2) 10.0.0.2:8080/myapp1context and you do a request to apach it will rewrite the url and give it to tomcat Then the request url is really

Re: How to determine absolute URL of a mounted page?

2007-11-25 Thread John Patterson
On 25 Nov 2007, at 13:01, Johan Compagner wrote: If you virtual host in apache on a server (local ip 10.0.0.1) it will rewrite the url and give it to tomcat Then the request url is really http://10.0.0.2:8080/myapp1context/XX I use Apache as a proxy and have got past this issue by using

Re: Lightbox javascript

2007-11-25 Thread Igor Vaynberg
something like this would be nice in wicketstuff-minis ... -igor On Nov 25, 2007 5:15 AM, Uwe Schäfer [EMAIL PROTECTED] wrote: hi with significant help of the IRC, i did a Lightbox2-Panel-Component, that can be found here: http://www.codesmell.org/org.codesmell.wicket.lightbox thanks to

Re: How to determine absolute URL of a mounted page?

2007-11-25 Thread Johan Compagner
also the port? On Nov 25, 2007 8:47 PM, John Patterson [EMAIL PROTECTED] wrote: On 25 Nov 2007, at 13:01, Johan Compagner wrote: If you virtual host in apache on a server (local ip 10.0.0.1) it will rewrite the url and give it to tomcat Then the request url is really

Re: Lightbox javascript

2007-11-25 Thread Uwe Schäfer
Igor Vaynberg schrieb: something like this would be nice in wicketstuff-minis ... i´d be glad to contribute it into wicketstuff-minis, as soon as it is mature enough. currently it lacks some features i´d like to add. expect this to be done in a few weeks. promise. cu uwe

Re: How to determine absolute URL of a mounted page?

2007-11-25 Thread John Patterson
On 25 Nov 2007, at 15:26, Johan Compagner wrote: also the port? Yes the port is also contained in the host header so it works fine - as if the proxy was not there at all. I know that Jetty always respects the host header.

Re: How to determine absolute URL of a mounted page?

2007-11-25 Thread Sebastiaan van Erk
Ryan Sonnek wrote: I'm trying to accomplish the same thing and think that wicket should provide such an API. all of the issues mentioned are well known issues and other web frameworks still provide an API and just acknowledge the limitations. This is pretty important for me as I can't

Re: How to determine absolute URL of a mounted page?

2007-11-25 Thread Ryan Sonnek
Personally I'd rather put it in a config file and know it's right rather than have it break if someone decides to virtual host/firewall/proxy the webapp and forgets to tweak the settings just right, (e.g., forgets the ProxyPreserveHost directive). That's why you have automated tests to make

Re: Jasypt + ICrypt + ICryptFactory

2007-11-25 Thread Daniel Fernández Garrido
Thank you for your answers. As you can see, I have already done the release. Let's hope this is useful for someone :-) Regards, Daniel. Eelco Hillenius wrote: But the question here is... what is the real use of the ICryptFactory today (1.3.0-rc1) in wicket? Is it only encrypting URLs? (I

wicket + gwt

2007-11-25 Thread Jonathan Locke
i noticed daniel carleton was working on wicket gwt integration, but the wiki page makes it look incomplete. has anyone gone any further on this? -- View this message in context: http://www.nabble.com/wicket-%2B-gwt-tf4872556.html#a13942831 Sent from the Wicket - User mailing list archive at

Stateless Form

2007-11-25 Thread Joshua Jackson
Dear all, I've made a Page with the usual Form component. The use case is users are able to enter data from this form more than once when they are still on that page. But the problem is the state of the object from that form is kept, so it looks like that user enters the same data. So I tried

Re: Stateless Form

2007-11-25 Thread Johan Compagner
If you use a stateless form then the complete page is recreated when the user does a submit, the plus is then that you never have an expired page and for you that you start fresh. But that starting fresh is only because you page is fully stateless, if you had some other none stateless thing on it