custom (non wicket) modal dialog. Problem with urls.

2011-08-08 Thread brazz
Hello everyone, in our project i have to use our own modal dialog (application is included in a portal). I have to open the dialog with the help of a javascript function which is wrapped in a Behaviour. What i am doing now: - in the constructor of my response page i call the javascript function

quickstart with 1.5 build

2011-08-08 Thread Kaz C
I'm trying to get going with quickstart on a 1.5 build off of trunk. After svn co, and mvn install, I used the form on http://wicket.apache.org/start/quickstart.html to generate the command line: mvn archetype:generate -DarchetypeGroupId=org.apache.wicket

Re: quickstart with 1.5 build

2011-08-08 Thread Martin Grigorov
try just http://localhost:8080 On Mon, Aug 8, 2011 at 9:38 AM, Kaz C kaz@gmail.com wrote: I'm trying to get going with quickstart on a 1.5 build off of trunk. After svn co, and mvn install, I used the form on http://wicket.apache.org/start/quickstart.html to generate the command line:

RE: Form in a form for ModalWindows

2011-08-08 Thread Chris Colman
I fixed it with this: form wicket:id=wrapperForm_0 div wicket:id=modalWindow_0/div /form and so got DateTimeFieldS working correctly in IE when using ModalX Only problem is that it adds extra height to the caption area.

Re: quickstart with 1.5 build

2011-08-08 Thread Kaz C
aha, thanks. worked. On Mon, Aug 8, 2011 at 12:29 AM, Martin Grigorov mgrigo...@apache.orgwrote: try just http://localhost:8080 On Mon, Aug 8, 2011 at 9:38 AM, Kaz C kaz@gmail.com wrote: I'm trying to get going with quickstart on a 1.5 build off of trunk. After svn co, and mvn

Re: 1.5 - wicket module build question

2011-08-08 Thread Martin Grigorov
To make it more clear wicket module has type 'pom' and aggregates modules wicket-core, wicket-util and wicket-request which are all 'jar' On Mon, Aug 8, 2011 at 1:42 AM, Pedro Santos pedros...@gmail.com wrote: wicket module under trunk is there just to be an agregator of the main dependencies

Re: CSS, JS resource file handle issues?

2011-08-08 Thread Peter Ertl
Well, there is no close statement for URLConnection! Just looking at a method named 'open' makes me automatically search for the equivalent 'close' statement. Am 07.08.2011 um 20:03 schrieb Peter Ertl: in Connection#getLastModified(String url), line 69 there's an

Re: CSS, JS resource file handle issues?

2011-08-08 Thread Martin Grigorov
Please try to follow the development. The first close was removed with https://issues.apache.org/jira/browse/WICKET-3895 which will be released with RC6, so this is not the problem here. In RC5.1 there were two calls of close() and this caused some problems in WebLogic container. Calling second

Re: CSS, JS resource file handle issues?

2011-08-08 Thread Peter Ertl
Well, I _did_ follow the development ;-) Just made me wonder just from looking at 'open...' that there's no close. Maybe we need to do this: // otherwise open the url and proceed URLConnection connection = url.openConnection(); // ---

Re: CSS, JS resource file handle issues?

2011-08-08 Thread Martin Grigorov
This wont harm. Do it. About the problem in this thread - please create a quickstart and attach it to Jira. On Mon, Aug 8, 2011 at 12:54 PM, Peter Ertl pe...@gmx.org wrote: Well, I _did_ follow the development ;-) Just made me wonder just from looking at 'open...' that there's no close.

Stateless pagination

2011-08-08 Thread heikki
hello, I've noticed that rather many Wicket components cause the page to become stateful, something which I wish to avoid. In particular I'm wondering if there is some way to use the Pagination* components (or similar alternative ones) to create a page that has pagination over a repeater,

Re: Stateless pagination

2011-08-08 Thread Vytautas R.
Hi, I guess you might be interested in this: https://xaloon.googlecode.com/svn/trunk/xaloon-wicket/xaloon-wicket-components/src/main/java/org/xaloon/wicket/component/navigation/BookmarkablePagingNavigator.java it's a bookmarkable navigator example with abitility to change items per page and it

How can i toggle panel visibility without javascript?

2011-08-08 Thread Mike Mander
Hi, i have two adress panels. Invoice and shipping. Shipping is off by default. I would like to add a button or something to my invoice panel which is toggling the visibility of the shipping panel. I tried to add a page parameter to my current site and redirect, but the added parameter is not

Re: Downloader for files outside Web Context

2011-08-08 Thread jcgarciam
Check: DownloadLink component http://wicket.apache.org/apidocs/1.4/org/apache/wicket/markup/html/link/DownloadLink.html On Mon, Aug 8, 2011 at 1:14 AM, Arjun Dhar [via Apache Wicket] ml-node+3726062-793087976-65...@n4.nabble.com wrote: Liek a DownloadServlet that is given some params and

PopUp not refreshed while everything else is

2011-08-08 Thread Dawid Dudzinski
Hello, I'm having a strange problem: In a fairly complex application I refresh image on main page and need to pop up a dialog [org.odlabs.wiquery.ui.dialog.Dialog] with another image. Main page image updates without issues, dialog opens [dialog.open(target);] but the image reference is broken.

Re: Stateless pagination

2011-08-08 Thread jcgarciam
Just for the record, using HttpSession makes your application already stateful as well. On Mon, Aug 8, 2011 at 10:21 AM, Vytautas Racelis-2 [via Apache Wicket] ml-node+3726961-1182509707-65...@n4.nabble.com wrote: Hi, I guess you might be interested in this:

Re: How can i toggle panel visibility without javascript?

2011-08-08 Thread jcgarciam
Try using the Swap Panel technique, here is an example using Fragments http://pawelzubkiewicz.blogspot.com/2009/06/wicket-swapping-replacing-fragments.html On Mon, Aug 8, 2011 at 10:39 AM, Mike Mander [via Apache Wicket] ml-node+3727006-1582440175-65...@n4.nabble.com wrote: Hi, i have two

Re: custom (non wicket) modal dialog. Problem with urls.

2011-08-08 Thread Andrea Del Bene
Hi, I'm not sure I have fully understood your situation. You should have: 1- a page which opens a modal dialog via Javascript 2- another page which is rendered inside modal dialog 3- in this last page (the one inside modal window) you want a link to the page in background (the starting page)

Re: Stateless pagination

2011-08-08 Thread Vytautas
true, it's not 100% stateless :)removing configurable items per page would make it stateless. On 08/08/2011 07:01 PM, jcgarciam wrote: Just for the record, using HttpSession makes your application already stateful as well. On Mon, Aug 8, 2011 at 10:21 AM, Vytautas Racelis-2 [via Apache

Model window issue

2011-08-08 Thread Archana
Hi All, I need some help regarding the model window. My web page contains some components. On click of a icon a model window 1 opens. Model window 1 extends a panel. Model window 1 has a create button, on click of which another model window i.e. the Model window 2 opens. On open of Model window

Re: PopUp not refreshed while everything else is

2011-08-08 Thread Dawid Dudzinski
FYI. I resorted to passing a raw JQuery to the front end and now it works. I append JS to target similar to this: $(#imgtagname).attr(src, /path); Of course imgtagname is dynamically constructed [getMarkupId()] However if anyone has solution to my problem or even suggestion I would welcome any

Wicket filter chain and other servlets

2011-08-08 Thread Julian Sinai
Hi, I really could use some advice on how to solve this problem: In our webapp, we have a wicket filter as well as a couple of other servlets. The url pattern for the wicket filter is the usual /*. The problem is that because of this, all urls, including those of the other servlets, go through

Re: Wicket filter chain and other servlets

2011-08-08 Thread Dan Retzlaff
Hi Julian, I'm not quite understanding your setup. How did your non-Wicket servlet get a Wicket-proxied Spring bean? Dan On Mon, Aug 8, 2011 at 12:14 PM, Julian Sinai jsi...@gmail.com wrote: Hi, I really could use some advice on how to solve this problem: In our webapp, we have a wicket

Re: Model window issue

2011-08-08 Thread rmattler
I do this in my app. I open a modal window and when you hit save I open another modal window to confirm your save and if you confirm I close both modal windows. modalConfirm.close(target); modalSelectDate.close(target); IndicatingAjaxLinkVoid btnConfirmSave = new

Re: Wicket filter chain and other servlets

2011-08-08 Thread Julian Sinai
Hi Dan I don't understand the reason either, but clearly it's happening. My best guess is what I said in my original post: the non-wicket servlets are going through the wicket filter. Julian On Mon, Aug 8, 2011 at 12:23 PM, Dan Retzlaff dretzl...@gmail.com wrote: Hi Julian, I'm not quite

Re: Wicket filter chain and other servlets

2011-08-08 Thread Martin Funk
the web.xml might help Am 08.08.2011 um 21:29 schrieb Julian Sinai: Hi Dan I don't understand the reason either, but clearly it's happening. My best guess is what I said in my original post: the non-wicket servlets are going through the wicket filter. Julian On Mon, Aug 8, 2011 at 12:23

Re: Wicket filter chain and other servlets

2011-08-08 Thread Dan Retzlaff
If Wicket doesn't have a mount for a given URL, the WicketFilter doesn't do anything more than pass the request through as if it weren't even there. So I don't think your problem is filter configuration. Your non-Wicket servlet is probably instantiating a Wicket component or using

Re: Wicket filter chain and other servlets

2011-08-08 Thread Dan Retzlaff
On second thought, both instantiating a Component and requesting injection would blow up immediately without an Application set. So I have to think something in your Wicket application is putting the proxy somewhere the servlet can access it. On Mon, Aug 8, 2011 at 12:46 PM, Dan Retzlaff

Re: Model window issue

2011-08-08 Thread Archana
In my application both the model windows are pretty much of same size. So when one model window opens on the other one, it looks very odd. for that reason I need to some how make the underneath model window inactive or hidden, so that it will not look odd. I can not close the Model window 1 as it

Re: Wicket filter chain and other servlets

2011-08-08 Thread Julian Sinai
Dan, thanks for your reply. You may be right, though I can't imagine what could be putting the proxy somewhere the servlet can access it. I'll take another look. And your suggestion to put a breakpoint in the SpringComponentInjector is a good one. Julian On Mon, Aug 8, 2011 at 12:49 PM, Dan

Re: Wicket filter chain and other servlets

2011-08-08 Thread Dan Retzlaff
You should just be able to see where that TrustedHostMgr variable is coming from. On Mon, Aug 8, 2011 at 1:39 PM, Julian Sinai jsi...@gmail.com wrote: Dan, thanks for your reply. You may be right, though I can't imagine what could be putting the proxy somewhere the servlet can access it. I'll

wicket, hibernate, spring setup

2011-08-08 Thread msj121
I noticed there was a github setup here: https://github.com/pflanzenmoerder/wicket-hibernate-archetype And I added the repository and imported the project into my eclipse helios. I can't seem to get the project to run, not sure how to finish setting up the project. Can anyone help? -- View this

Re: wicket, hibernate, spring setup

2011-08-08 Thread jcgarciam
Try jWeekend LegUp http://www.jweekend.com/dev/LegUp On Mon, Aug 8, 2011 at 7:15 PM, msj121 [via Apache Wicket] ml-node+3728444-1358850638-65...@n4.nabble.com wrote: I noticed there was a github setup here: https://github.com/pflanzenmoerder/wicket-hibernate-archetype And I added the