Re: [Wicket-user] Strategy to avoid new instances of pages and panels

2007-01-25 Thread Johan Compagner
yes thats already fixed for a few days now! whiner! johan On 1/24/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: ajax requests shouldnt create versions anyways! did you fix that in 2.0yet? -igor On 1/24/07, Johan Compagner < [EMAIL PROTECTED]> wrote: > Ahh so you are using pages with state.

Re: [Wicket-user] Palette add selected option

2007-01-25 Thread Giltal
Hi Can you please post your Palette and Recorder classes ... Thanks Nino Wael wrote: > > I think I have something somewhere... > > As I remember you need to update the recorder component... > > Below is only meant as a sniplet(notice the recreate model, which now are > called from the pale

Re: [Wicket-user] Palette add selected option

2007-01-25 Thread Nino Wael
Heres the pastebin: Palette: http://pastebin.ca/327900 Recorder: http://pastebin.ca/327901 -regards Nino -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Giltal Sent: 25. januar 2007 11:18 To: wicket-user@lists.sourceforge.net Subject: Re: [Wicket-user] P

[Wicket-user] Redirecting a page after a given time interval

2007-01-25 Thread tbt
Hi! I'd like to know how to redirect a page automatically using wicket after a given time interval. Currently i'm using the following java class to do this Timer timer = new Timer(); timer.schedule(new TimerTask() { public void run()

Re: [Wicket-user] Redirecting a page after a given time interval

2007-01-25 Thread Dipu
try this throw new RestartResponseAtInterceptPageException(YourPage.class); Regards Dipu - Original Message - From: "tbt" <[EMAIL PROTECTED]> To: Sent: Thursday, January 25, 2007 11:11 AM Subject: [Wicket-user] Redirecting a page after a given time interval > > Hi! > > I'd like to k

Re: [Wicket-user] Redirecting a page after a given time interval

2007-01-25 Thread Matej Knopp
This won't work. Because you can call setResponsePage only during processing a request. When your code calls setResponsePage() there is no request, so it doesn't make sense to set response page. I think what you want is AbstractAjaxTimerBehavior. -Matej tbt wrote: > Hi! > > I'd like to know h

Re: [Wicket-user] Dreamweaver

2007-01-25 Thread nilo.de.roock
Hi Otan, "... The good thing about wicket is that it's so easy to insert wicket components into the markup by putting only the "wicket:id" and some few wicket tags into the wicket markups that make it so Dreamweaver-friendly and page authors-friendly. ..." Exactly, it's -that- simple! And I hav

Re: [Wicket-user] [OT] wicket expertise offered / Denmark

2007-01-25 Thread Nino Wael
Ok, hmm we actually have a cms that links to our wicket application, to get a full understanding of the application you must view it via the cms, but then it might be unclear when something is wicket and when its not. Wicket application are presented inside the beautiful red circle: http://img1

Re: [Wicket-user] Palette add selected option

2007-01-25 Thread Giltal
Hi Did you change anything in the HTML files also ? If so, please send them too Thanks Nino Wael wrote: > > Heres the pastebin: > > Palette: > http://pastebin.ca/327900 > > Recorder: > http://pastebin.ca/327901 > > -regards Nino > -Original Message- > From: [EMAIL PROTECTED] > [m

[Wicket-user] SubmitLink to open a pop-up

2007-01-25 Thread Marc-Andre Houle
I though I had found the correct solution when I have seen a pop-up button in the linkomatic example ( http://www.wicket-library.com/wicket-examples/linkomatic). But, it was nearly only a button with a BookmarkablePageLink. Right now, I want a SubmitLink to open up a pop-up after some processing

Re: [Wicket-user] Dreamweaver

2007-01-25 Thread Frank Silbermann
"Anybody working on generating most of the wicket code from the html as far as you know?" The wicket-oriented Java code contains the presentation logic. A big advantage of Wicket is keeping presentation logic _out_ of the HTML. (HTML is not object oriented, so presentation logic embedded in the H

Re: [Wicket-user] Problem with cached HeaderContributor after upgrade from 1.2.3 to 1.2.4

2007-01-25 Thread Sean Sullivan
See: http://www.mail-archive.com/wicket-dev@incubator.apache.org/msg01808.html http://issues.apache.org/jira/browse/WICKET-188?page=all On 1/25/07, Ryan <[EMAIL PROTECTED]> wrote: I have been using a custom HeadearContributor to add css dynamically to each page. This setup was working great

Re: [Wicket-user] [OT] wicket expertise offered / Denmark

2007-01-25 Thread Eelco Hillenius
Putting it with the other user stories would work best. Thanks, Eelco On 1/25/07, Nino Wael <[EMAIL PROTECTED]> wrote: > Ok, hmm we actually have a cms that links to our wicket application, to get a > full understanding of the application you must view it via the cms, but then > it might be un

[Wicket-user] Problem with cached HeaderContributor after upgrade from 1.2.3 to 1.2.4

2007-01-25 Thread Ryan
I have been using a custom HeadearContributor to add css dynamically to each page. This setup was working great in 1.2.3 but after I upgraded to 1.2.4 I am seeing problems where sometimes the css is not added to the page. After some debuging I have verified the HeaderContributor is being added as a

Re: [Wicket-user] Redirecting a page after a given time interval

2007-01-25 Thread Eelco Hillenius
How about RedirectPage, using the waitBeforeRedirectInSeconds argument? Eelco On 1/25/07, Matej Knopp <[EMAIL PROTECTED]> wrote: > This won't work. Because you can call setResponsePage only during > processing a request. When your code calls setResponsePage() there is no > request, so it doesn't

Re: [Wicket-user] [wicket-user] change content of modalwindow

2007-01-25 Thread Matej Knopp
From the source code it looks to me that you are calling window.show() from a handler invoked (indirectly) from a modal window. You probably just want to replace the panel inside modal window, so setOutputMarkupId(true) on the panel and add only the panel to the ajax response. -Matej Paul Ma

Re: [Wicket-user] DatePicker and ModalWindow

2007-01-25 Thread Scott Swank
Does anyone know (without digging, I can dig myself if necessary) which of the css files in /wicket/extensions/markup/html/datapicker/style I need work make the z-index changes in? I'm working back & forth between the js & the css trying to figure out how this all fits together. Thank you, Sc

Re: [Wicket-user] SubmitLink to open a pop-up

2007-01-25 Thread Igor Vaynberg
create the url to the popup using requestcycle.urlfor and then output javascript that will open the popup using window.open -igor On 1/25/07, Marc-Andre Houle <[EMAIL PROTECTED]> wrote: I though I had found the correct solution when I have seen a pop-up button in the linkomatic example (http

Re: [Wicket-user] DatePicker and ModalWindow

2007-01-25 Thread Matej Knopp
Just put this into your markup div.calendar { z-index: 3 !important; } -Matej Scott Swank wrote: > Does anyone know (without digging, I can dig myself if necessary) which > of the css files in > > /wicket/extensions/markup/html/datapicke

Re: [Wicket-user] SubmitLink to open a pop-up

2007-01-25 Thread Marc-Andre Houle
It make sense, but I need the textField value before calling the javascript since there will be a page paramters to add. I'm not sure I understand how I'm going to make that so it can be done correctly... Marc On 1/25/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: create the url to the popup us

Re: [Wicket-user] SubmitLink to open a pop-up

2007-01-25 Thread Igor Vaynberg
class popperupper extends abstractbehavior implements iheadercontributor { // some logic to only output the script once } button { onsubmit() { TextField tf=; String value=tf.getModelObject(); add(new popperupper()); }} -igor On 1/25/07, Marc-Andre Houle <[EMAIL PROTECTED]> wrote: It m

Re: [Wicket-user] DatePicker and ModalWindow

2007-01-25 Thread Scott Swank
Thanks. I just finished wiring it into theme.css -- this is much nicer. On 1/25/07, Matej Knopp <[EMAIL PROTECTED]> wrote: Just put this into your markup div.calendar { z-index: 3 !important; } -Matej Scott Swank wrote: > Does anyone kn

Re: [Wicket-user] SubmitLink to open a pop-up

2007-01-25 Thread Marc-Andre Houle
This seem's good but not exactly what I wanted. Too complicated and it make a refresh of the page (I used some ajax and then, it does not reload "exactly" the same.) I continued searching and find that I could do this and since it work fine, why not : popupSettings.setTarget ("href" + " + '&sear

Re: [Wicket-user] Redirecting a page after a given time interval

2007-01-25 Thread Matej Knopp
Sure, you can do that but that way you can't affect the redirect on server side. -Matej Eelco Hillenius wrote: > How about RedirectPage, using the waitBeforeRedirectInSeconds argument? > > Eelco > > > On 1/25/07, Matej Knopp <[EMAIL PROTECTED]> wrote: >> This won't work. Because you can call

Re: [Wicket-user] DatePicker and ModalWindow

2007-01-25 Thread Igor Vaynberg
dont need to do it in that file, just drop the provided css into your page -igor On 1/25/07, Scott Swank <[EMAIL PROTECTED]> wrote: Does anyone know (without digging, I can dig myself if necessary) which of the css files in /wicket/extensions/markup/html/datapicker/style I need work make

Re: [Wicket-user] SubmitLink to open a pop-up

2007-01-25 Thread Igor Vaynberg
i was under the impression that you wanted to open the new page _after_ the form has been submitted. whatever, if it works for you then good! -igor On 1/25/07, Marc-Andre Houle <[EMAIL PROTECTED]> wrote: This seem's good but not exactly what I wanted. Too complicated and it make a refresh of

Re: [Wicket-user] Problem with cached HeaderContributor after upgrade from 1.2.3 to 1.2.4

2007-01-25 Thread Ryan
Thanks that is exactly what I was looking for. I built my own jar out of the branch and the problem is resolved. I look forward to 1.2.5. Ryan On 1/25/07, Sean Sullivan <[EMAIL PROTECTED]> wrote: > > See: > > > http://www.mail-archive.com/wicket-dev@incubator.apache.org/msg01808.html > > http://i

Re: [Wicket-user] DatePicker and ModalWindow

2007-01-25 Thread Scott Swank
This seems to be a bit nastier than that -- unless I'm missing something simple. This goes at the top of the page: div.calendar { z-index: 3 !important; } However the js in the DatePicker generates its own css that overrides the css the above. Howeve

[Wicket-user] wicket-bench and the html editor

2007-01-25 Thread Loren Rosen
I've got a wicket-bench question which I'll ask here since the wicket-bench mailing list seems moribund. If you don't set a default html editor, what should happen in the html tab of a wicket-bench editor window? What I get is what appears to be a bastardized java editor which behaves inappropria

Re: [Wicket-user] wicket-bench and the html editor

2007-01-25 Thread Igor Vaynberg
On 1/25/07, Loren Rosen <[EMAIL PROTECTED]> wrote: Now the installation instructions say to set an explicit default html editor in the eclipse preferences. However I found at least one place in the wicket-bench code that directly assumes that the java editor is used for editing html files. I as

Re: [Wicket-user] wicket-bench and the html editor

2007-01-25 Thread Loren Rosen
Yes, I can create a patch. It's a one-line change (well, two lines if you count changing the class imports). (The code in question assumes the editor is a CompilationUnitEditor when in fact it suffices to assume an AbstractTextEditor. My guess is it was copied from some Eclipse documentation exam

Re: [Wicket-user] wicket-bench and the html editor

2007-01-25 Thread Igor Vaynberg
cool, shoot an email to "Joni Freeman" , and he will hook you up with svn access -igor On 1/25/07, Loren Rosen <[EMAIL PROTECTED]> wrote: Yes, I can create a patch. It's a one-line change (well, two lines if you count changing the class imports). (The code in question assumes the editor is