[Wicket-user] How to set a markup ID of a HTML element to javascript

2007-01-26 Thread Carfield Yim
I found a datetime picket with is more suitable for my application and I would like to integrate that javascript to my application. I can get the markup id using getMarkId() method of Component. However I don't know how to press it to that javascript. I have talk of look of

[Wicket-user] Question about using RedirectPage in a modalwindow

2007-01-26 Thread Carfield Yim
The target of the RedirectPage is another wicket form running at difference host. In firefox it work ok but in IE it always show page expire after I submit the form. Does anybody experience this also? - Take Surveys. Earn

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

2007-01-26 Thread tbt
I coded a class that extends AbstractAjaxTimerBehavior and implemented the protected void onTimer(AjaxRequestTarget target) method. Is this method supposed to be called after the given time duration? And how should I redirect the page inside this method. Can someone provide me with a sample

Re: [Wicket-user] How to set a markup ID of a HTML element to javascript

2007-01-26 Thread Timo Rantalaiho
On Fri, 26 Jan 2007, Carfield Yim wrote: I found a datetime picket with is more suitable for my application and I would like to integrate that javascript to my application. I can get the markup id using getMarkId() method of Component. However I don't know how to press it to that javascript.

Re: [Wicket-user] How to set a markup ID of a HTML element to javascript

2007-01-26 Thread Carfield Yim
1) Why don't just just set the markup id in your markup? input id=timeField wicket:id=startTime ... Then you can access it normally with JavaScript. Wicket will honour HTML ids set in the HTML template. Because that component will use mulitple time in same page, if I do so that the ID

Re: [Wicket-user] DatePicker and ModalWindow

2007-01-26 Thread Matej Knopp
It definitely shouldn't override it. Therefore the !important thing in css. I've tried it and it worked well for me. -Matej Scott Swank wrote: This seems to be a bit nastier than that -- unless I'm missing something simple. This goes at the top of the page: wicket:head style

Re: [Wicket-user] Question about using RedirectPage in a modalwindow

2007-01-26 Thread Matej Knopp
Is that a wicket form? Is it a completely different application? How it is related to modal window? -Matej Carfield Yim wrote: The target of the RedirectPage is another wicket form running at difference host. In firefox it work ok but in IE it always show page expire after I submit the form.

Re: [Wicket-user] How to set a markup ID of a HTML element to javascript

2007-01-26 Thread Timo Rantalaiho
On Fri, 26 Jan 2007, Carfield Yim wrote: Because that component will use mulitple time in same page, if I do so that the ID will be confilct each other How do you use the JavaScript component in your own code? Is this an example? input type=text wicket:id=date_textfield

Re: [Wicket-user] Question about using RedirectPage in a modalwindow

2007-01-26 Thread Carfield Yim
On 1/26/07, Matej Knopp [EMAIL PROTECTED] wrote: Is that a wicket form? Is it a completely different application? How it is related to modal window? Yes, it is wicket form at completely difference application (difference host). One application call that page through ModalWindow and

Re: [Wicket-user] DatePicker and ModalWindow

2007-01-26 Thread Paolo Di Tommaso
Anyway I've found another problem with a DatePicker on a ModalWindow: If you open a DatePicker and then close the ModalWindow, the DatePicker does not disappear and remains open. I know that a stupid case but at the same time is a really user annoying behaviour. Anyone experienced that? Paolo

[Wicket-user] Groovy integration? Scripting languages

2007-01-26 Thread nilo.de.roock
I was hoping to be able to use Groovy ( or any other scripting language ) with Wicket but I just read... ... End of line. until someone actually uses it, this project will not be supported any further. It is here to proove that it can be done. If you want to use and support it, send an email

Re: [Wicket-user] Groovy integration? Scripting languages

2007-01-26 Thread Martijn Dashorst
Nobody is maintaining it. So you can step up and integrate Groovy 1.0 into wicket 1.2, 1.x or 2.x (or any combination of that). Grooyv interest is pretty low here, but might catch up if someone goes the extra mile to revitalize the integration. Martijn On 1/26/07, nilo.de.roock [EMAIL

Re: [Wicket-user] Groovy integration? Scripting languages

2007-01-26 Thread Erik van Oosten
Hi Nilo, I tried Wicket with JRuby a week ago. Unfortunately JRuby's (0.9.2) Java integration is not yet powerful enough to make this viable (actually, it simply broken). Perhaps in a couple of months I'll try again. Regards, Erik. nilo.de.roock wrote: I was hoping to be able to use

Re: [Wicket-user] Question about using RedirectPage in a modalwindow

2007-01-26 Thread Carfield Yim
By the way, I just deploy the application of another host to my localhost and test, it work ok. Does anyone know the reason of this happening? On 1/26/07, Carfield Yim [EMAIL PROTECTED] wrote: On 1/26/07, Matej Knopp [EMAIL PROTECTED] wrote: Is that a wicket form? Is it a completely different

Re: [Wicket-user] How to set a markup ID of a HTML element to javascript

2007-01-26 Thread Konstantinos Lazouras
- Original Message From: Carfield Yim [EMAIL PROTECTED] To: wicket-user@lists.sourceforge.net Sent: Friday, January 26, 2007 12:01:05 PM Subject: Re: [Wicket-user] How to set a markup ID of a HTML element to javascript 1) Why don't just just set the markup id in your markup?

[Wicket-user] Unable to render resource stream Exception

2007-01-26 Thread Konstantinos Lazouras
Hi all, does anyone know why this exception appears at the logs? (using wicket 1.2.3) 10:18:52,547 ERROR RequestCycle:1043 - Unable to render resource stream

Re: [Wicket-user] Groovy integration? Scripting languages

2007-01-26 Thread nilo.de.roock
I won't mind investing time to acquire in-depth Wicket source knowledge, but I am not sure yet if I feel the same way about Groovy. I 'll have a look at the Wicket-Groovy integration source over the weekend first. I'll get back on this. - nilo de roock Martijn Dashorst wrote: Nobody is

Re: [Wicket-user] Unable to render resource stream Exception

2007-01-26 Thread Martijn Dashorst
Broken pipe means that users (or their browsers) have killed the request. This log report has been disabled in newer versions. Not sure if that is the case for 1.2.4, but most certainly for 1.3 and 2.0. Martijn On 1/26/07, Konstantinos Lazouras [EMAIL PROTECTED] wrote: Hi all, does anyone

Re: [Wicket-user] Palette add selected option

2007-01-26 Thread Nino Wael
Hi Sure did, they are now localised but I guess you could revert them... I guess you also will need to setup some styling, I could provide our if you wanted to have it? Palette html: http://pastebin.ca/329121 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On

[Wicket-user] Page Expired

2007-01-26 Thread sunraider
Hi, I am using Frames in my application, I have three framesets one with header second with tree (Wicket Tree) and three with content. I get page expired quite often when the user does series of actions on the content frame and then click on the link in the tree. I have read through many posts

Re: [Wicket-user] Page Expired

2007-01-26 Thread Erik van Oosten
Hi Sajeev, You should probably use another pagemap for each frame. This can be as simple as adding the pageMapName attribute to the initial frame URL. Regards, Erik. sunraider wrote: Hi, I am using Frames in my application, I have three framesets one with header second with tree

Re: [Wicket-user] Unable to render resource stream Exception

2007-01-26 Thread Konstantinos Lazouras
Thanks Martjin, your answer makes sense but doesn't actually solve my problem, which in fact is that users complain that the wicket web-app is slow. A check with the server side shows that the thread for 'tmsMserver' is taking up 100% of CPU resource. After a restart of the server and a walk

Re: [Wicket-user] Page Expired

2007-01-26 Thread Marc-Andre Houle
Like Erik say, probably that using a different page map will help you (Got something like that when I didn't use the proper page map name someday.) Give a look to the wiki under this page : http://cwiki.apache.org/WICKET/using-frames.html Marc On 1/26/07, Erik van Oosten [EMAIL PROTECTED]

Re: [Wicket-user] DatePicker and ModalWindow

2007-01-26 Thread Eelco Hillenius
Can the datepicker be configured such that it disappears when it looses focus? Eelco On 1/26/07, Paolo Di Tommaso [EMAIL PROTECTED] wrote: Anyway I've found another problem with a DatePicker on a ModalWindow: If you open a DatePicker and then close the ModalWindow, the DatePicker does not

Re: [Wicket-user] Unable to render resource stream Exception

2007-01-26 Thread Eelco Hillenius
Wicket is pretty efficient, so likely there is something very resource heavy in your application, or there is a fat memory leak (resulting in the VM having to do a lot of GC). Can you track down what happens? If you use a profiler like the excellent YourKit (http://www.yourkit.com/), you should be

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

2007-01-26 Thread Igor Vaynberg
On 1/26/07, tbt [EMAIL PROTECTED] wrote: I coded a class that extends AbstractAjaxTimerBehavior and implemented the protected void onTimer(AjaxRequestTarget target) method. Is this method supposed to be called after the given time duration? read the javadoc /** * Listener method for

Re: [Wicket-user] How to set a markup ID of a HTML element to javascript

2007-01-26 Thread Igor Vaynberg
Component c=... String javascript=calendar blah=new calendar(`+c.getmarkupid()+'`);...) new label(script, javascript).setescapemodelstrings(false); script wicket:id=script/script is the easiest way for very simple javascript stings there is also PackagedTextTemplate for more complex stings

Re: [Wicket-user] Page Expired

2007-01-26 Thread Igor Vaynberg
there is also a frames example in wicket-examples -igor On 1/26/07, Marc-Andre Houle [EMAIL PROTECTED] wrote: Like Erik say, probably that using a different page map will help you (Got something like that when I didn't use the proper page map name someday.) Give a look to the wiki under

Re: [Wicket-user] Unable to render resource stream Exception

2007-01-26 Thread Igor Vaynberg
is tmsMserver one of our threads? -igor On 1/26/07, Eelco Hillenius [EMAIL PROTECTED] wrote: Wicket is pretty efficient, so likely there is something very resource heavy in your application, or there is a fat memory leak (resulting in the VM having to do a lot of GC). Can you track down what

Re: [Wicket-user] Unable to render resource stream Exception

2007-01-26 Thread Martijn Dashorst
I never have heard of it... And if you don't like shelling out $$$ for YourKit immediately, they have a 30 day trial. Should be enough to at least find this problem. After that you'll instantly know that the 500 bucks they charge are worth every penny. (I'm not affiliated with them). Martijn

Re: [Wicket-user] Unable to render resource stream Exception

2007-01-26 Thread Igor Vaynberg
well i guess we need to know if this is wicket related or something inside weblogic going bad, or the combination of the two -igor On 1/26/07, Martijn Dashorst [EMAIL PROTECTED] wrote: I never have heard of it... And if you don't like shelling out $$$ for YourKit immediately, they have a 30

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

2007-01-26 Thread Johan Compagner
you just want to refresh the page that is now in the browser a next page after 1 minute? use meta refresh tag. And generate the src so that it has a (bookmarkable)ulr to that page.. johan On 1/25/07, tbt [EMAIL PROTECTED] wrote: Hi! I'd like to know how to redirect a page automatically

Re: [Wicket-user] Page Expired

2007-01-26 Thread sunraider
Thank you guys, you are a great help! Sajeev igor.vaynberg wrote: there is also a frames example in wicket-examples -igor On 1/26/07, Marc-Andre Houle [EMAIL PROTECTED] wrote: Like Erik say, probably that using a different page map will help you (Got something like that when I

[Wicket-user] Form submit to modal window issues

2007-01-26 Thread Shawn Tumey
Hello, I have a form that after validation needs to open a modal window. This modal window basically acts as a very complex confirmation box. If the user cancels out of the modal window, then they should be returned to the form. However, if they submit / continue from the modal window, then the

Re: [Wicket-user] Groovy integration? Scripting languages

2007-01-26 Thread nilo.de.roock
Is it correct that the groovy integration contribution consists of - GroovyClassResolver.java - GroovyWarClassLoader.java ? You think it still works... no testset, I suppose. What else is there besides some code? Thanks - nilo Eelco Hillenius wrote: I think it should still work. You can

Re: [Wicket-user] Form submit to modal window issues

2007-01-26 Thread Matej Knopp
Hi I'm not sure what exactly are you trying to accomplish. But in any case, remember that the modal window is an ajax component, thus to display it you need an ajax request. So if you want to submit the form and open the ModalWindow afterwards, you need to use AjaxSubmitButton or

Re: [Wicket-user] Groovy integration? Scripting languages

2007-01-26 Thread Juergen Donnerstag
More wasnt need to integrate Groovy. Why does everything need tons of classes? I know for sure that an example existed in one of the example projects. Juergen On 1/26/07, nilo.de.roock [EMAIL PROTECTED] wrote: Is it correct that the groovy integration contribution consists of -

Re: [Wicket-user] Groovy integration? Scripting languages

2007-01-26 Thread Igor Vaynberg
On 1/26/07, Juergen Donnerstag [EMAIL PROTECTED] wrote: Why does everything need tons of classes? :) -igor - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the

Re: [Wicket-user] Groovy integration? Scripting languages

2007-01-26 Thread Eelco Hillenius
Yeah, it has a separate examples project. Eelco On 1/26/07, Juergen Donnerstag [EMAIL PROTECTED] wrote: More wasnt need to integrate Groovy. Why does everything need tons of classes? I know for sure that an example existed in one of the example projects. Juergen On 1/26/07, nilo.de.roock

Re: [Wicket-user] DatePicker and ModalWindow

2007-01-26 Thread Matej Knopp
I don't really know how to reproduce this. For me the datepicker hides as soon as it loses focus, so I'm not able to close the window with datepicker not hiding. -Matej Paolo Di Tommaso wrote: Anyway I've found another problem with a DatePicker on a ModalWindow: If you open a DatePicker

Re: [Wicket-user] Form submit to modal window issues

2007-01-26 Thread Shawn Tumey
Thank you Matej, I was aware of this, but I still don't see what I am doing wrong. I believe I have included the relevant code. With the below code the form does not display the feedback panel for components that failed validation like it should. If all the fields validate, the modalWindow is

Re: [Wicket-user] Form submit to modal window issues

2007-01-26 Thread Matej Knopp
Nothing apparent. Can you post the markup too? Shawn Tumey wrote: Thank you Matej, I was aware of this, but I still don't see what I am doing wrong. I believe I have included the relevant code. With the below code the form does not display the feedback panel for components that failed

Re: [Wicket-user] Form submit to modal window issues

2007-01-26 Thread Matej Knopp
One more thing. Can you please post also the content of javascript console? And can is the onSubmit handler of AjaxSubmitButton really called? -Matej Matej Knopp wrote: Nothing apparent. Can you post the markup too? Shawn Tumey wrote: Thank you Matej, I was aware of this, but I still don't

Re: [Wicket-user] Form submit to modal window issues

2007-01-26 Thread Shawn Tumey
When validation should fail and the feedback panel should show up. *INFO: * Initiating Ajax POST request on /inl/secure/app/page?wicket:interface=:0:panel:reqForm:submit:-1:IUnversionedBehaviorListenerwicket:behaviorId=0wicket:ignoreIfNotActive=truerandom= 0.393144868947922 *INFO: *Invoking