Re: Help with ClientSideImageMap needed

2011-01-17 Thread Christoph Glass
Thank you, this hint was very helpful, I was able to solve the problem. Best regards Christoph On Sat, Jan 15, 2011 at 2:59 PM, Martin Grigorov mgrigo...@apache.orgwrote: Check in wicket-examples.jar : org.apache.wicket.examples.linkomatic.Home.Home() On Sat, Jan 15, 2011 at 2:03 PM,

Re: Automatic Ajax after page load and redirect to PageExpiredErrorPage

2011-01-17 Thread sadko
Hi guys, thanks for answers. The solution to disable links until the ajax is finished don't seems right to me. The links can be spread through different components so I don't want to create unnecessary dependencies between these unless there is one general method that disables all links

howto integrate third-party ajax with channels?

2011-01-17 Thread Frank van Lankvelt
I'm regularly running into problems when integrating client-side ajax code. The issue is that the client-side code is doing throttled asynchronous calls to wicket ajax behaviors. Now, this generally works fine until I want to integrate this with native wicket calls (links, buttons). Then, such

wicket:message inside html title

2011-01-17 Thread Patrick Petermair
Hi! We are using wicket:message for i18n of our html pages. It all works fine except for the html title. I have the following html: head title wicket:message key=page.titlemyTitle/wicket:message /title /head In the properties files I have page.title set to German Title and English

Re: wicket:message inside html title

2011-01-17 Thread Matthias Gasser
Hello Patrick, I guess the following will do the Job: https://cwiki.apache.org/WICKET/how-to-remove-wicket-markup-from-output.html BRGDS Matthias Am 17.01.2011 um 12:06 schrieb Patrick Petermair: Hi! We are using wicket:message for i18n of our html pages. It all works fine except for

Re: Automatic Ajax after page load and redirect to PageExpiredErrorPage

2011-01-17 Thread sadko
I don't know but for me it seems some kind of other problem. If I understand right the veil it should be used to avoid the double clicks and the problems like that. However what I'm dealing with is that somehow the unfinished ajax call or the new page call that occurs before its end mess up the

How to add tooltips to components?

2011-01-17 Thread Erich W Schreiner
Dear list, what is the recommended way of adding tooltips to wicket components? I have searched Google, but found mostly outdated (wicketstuff jwicket is version 1.4.1) or obsolete (wicketstuff dojo integration) hints. Thank you very much have a nice day, Erich

Re: wicket:message inside html title

2011-01-17 Thread Patrick Petermair
Thank you! Works like a charm!! Am 2011-01-17 12:10, schrieb Matthias Gasser: Hello Patrick, I guess the following will do the Job: https://cwiki.apache.org/WICKET/how-to-remove-wicket-markup-from-output.html - To

Re: How to add tooltips to components?

2011-01-17 Thread James Carman
Do you need Ajax tooltips? Or, do you just need static ones that are known at page render time? For static ones, I've used overLIB ( http://www.bosrup.com/web/overlib/) and it worked fairly well. If you want to see some Wicket-based code for supporting overLIB, let me know. On Mon, Jan 17,

Re: How to add tooltips to components?

2011-01-17 Thread Ernesto Reinaldo Barreiro
If you don't mind using jquery here is an option: [1]. Click on the little ? sign at the right to see the source code. Ernesto 1-http://wiquery-plugins-demo.appspot.com/demo/?wicket:bookmarkablePage=:com.wiquery.plugins.demo.ToolTipPage On Mon, Jan 17, 2011 at 1:23 PM, Erich W Schreiner

Re: How to add tooltips to components?

2011-01-17 Thread Martijn Dashorst
use the title attribute Martijn On Mon, Jan 17, 2011 at 1:23 PM, Erich W Schreiner eschrei...@yahoo.com wrote: Dear list, what is the recommended way of adding tooltips to wicket components? I have searched Google, but found mostly outdated (wicketstuff jwicket is version 1.4.1) or

Re: How to add tooltips to components?

2011-01-17 Thread Josh Kamau
I use the visural wicket project . it has very nice tooltips. And there is a nice demo for you to view them before you decide to use them http://wicket.visural.net/examples/app/ regards. Josh On Mon, Jan 17, 2011 at 3:43 PM, Martijn Dashorst martijn.dasho...@gmail.com wrote: use the title

Re: Should Logger classes be transient?

2011-01-17 Thread Fernando Wermus
Just to know Why a static variable is not serializable? On Sat, Jan 15, 2011 at 7:44 PM, Emmanouil Batsis ma...@abiss.gr wrote: Quoting Alexandros Karypidis akary...@yahoo.gr: I'm using SLF4J and was wondering whether pages should declare: private transient final Logger log =

RE: Should Logger classes be transient?

2011-01-17 Thread Wilhelmsen Tor Iver
Just to know Why a static variable is not serializable? Because objects (instances) are serialized and static data belongs to the class and not instances. - Tor Iver - To unsubscribe, e-mail:

session size

2011-01-17 Thread Mihai Toma
Hi! I have an application build with wicket and I have a session problem. If one user browse the application the session (the object WebSession) becomes bigger and bigger, so if I browse 20 pages the session size has around 16 Mb. When I start browsing the session has something less than

Re: session size

2011-01-17 Thread Martin Grigorov
Try to find what is stored actually. Use memory analyzer tool like Eclipse one - http://www.eclipse.org/mat/ http://www.eclipse.org/mat/I expect that you store some bigger collections with your data with some of your components. On Mon, Jan 17, 2011 at 3:16 PM, Mihai Toma mihai.t...@asf.ro

Re: session size

2011-01-17 Thread Pedro Santos
Pages don't go to session by default, I executed the PageMapTest#testPagemapIsNotReferencedBySession on Wicket 1.4.8 and it is ok. I suspect you are referencing some expensive objects in an custom session. On Mon, Jan 17, 2011 at 12:16 PM, Mihai Toma mihai.t...@asf.ro wrote: Hi! I have an

Re: session size

2011-01-17 Thread Jeremy Thomerson
Are you using HttpSessionStore (this is not the default - which means you would have to explicitly set this up in your application class)? On Mon, Jan 17, 2011 at 8:41 AM, Martin Grigorov mgrigo...@apache.orgwrote: Try to find what is stored actually. Use memory analyzer tool like Eclipse one

RE: session size

2011-01-17 Thread Mihai Toma
Yes, I use HttpSessionStore. -Original Message- From: Jeremy Thomerson [mailto:jer...@wickettraining.com] Sent: Monday, January 17, 2011 5:20 PM To: users@wicket.apache.org Subject: Re: session size Are you using HttpSessionStore (this is not the default - which means you would have to

Re: session size

2011-01-17 Thread Jeremy Thomerson
Okay, so you are storing *every* page in your page map in session. So, here's your next path (already partially explained by others): 1 - Consider: must you use http session store? why? A lot of folks *think* that they must, and they switch to it, but they don't really need to. Some honestly

Re: Browser loading absolute image paths

2011-01-17 Thread Martijn Dashorst
This will never, ever, ever work. Image's src attribute tells the browser where to look. Since your customers won't have F:\workspace\project\pictures\2\profile.jpg (or possibly they might, but that is a 0.001% chance), the browser will shows a 404 image not found error in the best possible

RE: session size

2011-01-17 Thread Mihai Toma
Thanks for your recommendations. -Original Message- From: Jeremy Thomerson [mailto:jer...@wickettraining.com] Sent: Monday, January 17, 2011 5:33 PM To: users@wicket.apache.org Subject: Re: session size Okay, so you are storing *every* page in your page map in session. So, here's your

Check for User-Modified (Dirty) Fields before Form Submission

2011-01-17 Thread eugenebalt
Is there a way in wicket to check if a field has been modified by the user before submitting the form? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Check-for-User-Modified-Dirty-Fields-before-Form-Submission-tp3221228p3221228.html Sent from the Users forum

Re: Check for User-Modified (Dirty) Fields before Form Submission

2011-01-17 Thread Pedro Santos
or you can test if the formComponent.getConvertedInput() is different from formComponent.getModelObject() at validation time (inside an IValidator implementation) On Mon, Jan 17, 2011 at 2:19 PM, Pedro Santos pedros...@gmail.com wrote: I guess you want to test if the raw input is different from

Re: Check for User-Modified (Dirty) Fields before Form Submission

2011-01-17 Thread Pedro Santos
I guess you want to test if the raw input is different from the model value. On Mon, Jan 17, 2011 at 2:12 PM, eugenebalt eugeneb...@yahoo.com wrote: Is there a way in wicket to check if a field has been modified by the user before submitting the form? -- View this message in context:

Re: Check for User-Modified (Dirty) Fields before Form Submission

2011-01-17 Thread James Carman
Couldn't you do this with JavaScript? Just modify a hidden form field if a field is modified by the user? On Mon, Jan 17, 2011 at 11:23 AM, Pedro Santos pedros...@gmail.com wrote: or you can test if the formComponent.getConvertedInput() is different from formComponent.getModelObject() at

Re: Nested Forms and Multipart Fileupload Issue

2011-01-17 Thread Alexander Morozov
Hi, I have faced with another problem, related to nested forms and FileUploadField (wicket-1.4.15). The nested form have FileUploadField instance and defined setMaxSize(100K). In case of submitting thru Ajax file more than 100K, hasError() on the nested form return false. But I expect here

Modal Window defined in actionpanel

2011-01-17 Thread gnugrf
I'm trying to get a modal window to popup to make edits on line items from a Listview. I have an actionpanel with an edit button and I am having troubles figuring out where to put the markup -- div wicket:id=modal/div. The actionpanel is an inner class taken from the repeater examples. I've

Re: Modal Window defined in actionpanel

2011-01-17 Thread James Carman
Just use one modal window. The edit link would be an ajax link and it would set the model for the window and show it. On Mon, Jan 17, 2011 at 12:30 PM, gnugrf gnu...@sdf.lonestar.org wrote: I'm trying to get a modal window to popup to make edits on line items from a Listview. I have an

Re: [Ljava.lang.String; cannot be cast to java.lang.String - BookmarkablePageRequestTargetUrlCodingStrategy

2011-01-17 Thread Douglas Ferguson
Thoughts? On Jan 14, 2011, at 5:44 PM, Douglas Ferguson wrote: This looks like it must have been one of them. - - [13/Jan/2011:14:26:34 -0600] GET /?wicket:interface=:26::INewBrowserWindowListener:: HTTP/1.1 302 -

JasperReport viewing options for wicket 1.5

2011-01-17 Thread Jim Pinkham
I found this tantalizingly close msg: http://www.mail-archive.com/users@wicket.apache.org/msg55375.html Sounds like about what I'd need; except I've moved on to wicket 1.5. I don't need any pagination or other bells whistles - just a simple way to deliver dynamically generated pdf reports.

Re: Check for User-Modified (Dirty) Fields before Form Submission

2011-01-17 Thread Paul Wong
We've done it in our project using a jquery plugin: http://www.thoughtdelimited.org/dirtyFields/index.cfm On Tue, Jan 18, 2011 at 3:33 AM, James Carman ja...@carmanconsulting.comwrote: Couldn't you do this with JavaScript? Just modify a hidden form field if a field is modified by the user?

Re: Modal Window defined in actionpanel

2011-01-17 Thread gnugrf
I figured it out - I was creating the modal window inside the onClick() method, but it needed to take place outside the method. I was able to put the markup inside the corresponding action panel html. When the onclick is called it's just recreating the modal window (because we need to construct

Re: howto integrate third-party ajax with channels?

2011-01-17 Thread Igor Vaynberg
can you do the flushing yourself by registering a wicket.ajax.pre-call-handler? -igor On Mon, Jan 17, 2011 at 2:57 AM, Frank van Lankvelt f.vanlankv...@onehippo.com wrote: I'm regularly running into problems when integrating client-side ajax code.  The issue is that the client-side code is

Re: [Ljava.lang.String; cannot be cast to java.lang.String - BookmarkablePageRequestTargetUrlCodingStrategy

2011-01-17 Thread Igor Vaynberg
not really sure what is happenning. that url is pretty badly mangled. can you set a breakpoint in part of the code that generates it and see if its wicket or someone is playing with the url. -igor On Mon, Jan 17, 2011 at 11:56 AM, Douglas Ferguson doug...@douglasferguson.us wrote: Thoughts?

Re: Check for User-Modified (Dirty) Fields before Form Submission

2011-01-17 Thread jcgarciam
JavaScript Trick: After Page Load, serialized your form elements into a global variable. Before Submit, serialize your form elements again and compare it against your previously serialized version. Rinse and Repeat On Mon, Jan 17, 2011 at 1:12 PM, eugenebalt [via Apache Wicket]

Re: Check for User-Modified (Dirty) Fields before Form Submission

2011-01-17 Thread jcgarciam
JavaScript Trick: After Page Load, serialized your form elements into a global variable. Before Submit, serialize your form elements again and compare it against your previously serialized version. Rinse and Repeat -- View this message in context:

Anyone seen this, ajaxsubmit link

2011-01-17 Thread Brown, Berlin [GCG-PFS]
ERROR: Wicket.Ajax.Call.processEvaluation: Exception evaluating javascript: ReferenceError: custom_inputHints is not defined ERROR: Wicket.Ajax.Call.processEvaluation: Exception evaluating javascript: ReferenceError: custom_inputHints is not defined ERROR: Wicket.Ajax.Call.processEvaluation:

Re: howto integrate third-party ajax with channels?

2011-01-17 Thread Frank van Lankvelt
I can, and generally I'm able to resolve the race between multiple xhr requests. But only by using synchronous requests. I was hoping to be able to do it using async only (synchronous xhr is evil, as I've seen Mathej remark in an old thread). So being able to schedule a request on a channel,

Re: howto integrate third-party ajax with channels?

2011-01-17 Thread Igor Vaynberg
from the outside it seems like a rather complex and rare usecase. you are welcome to create a jira issue with the hooks you need to implement this in the channel manager js class. preferrably with a patch. -igor On Mon, Jan 17, 2011 at 10:49 PM, Frank van Lankvelt f.vanlankv...@1hippo.com wrote:

JavaScript bug in IE (wicket-event.js)

2011-01-17 Thread Alec Swan
Hello, I have a website using Wicket 1.4.14. There is a link which pops up a window/page generated by Wicket. The popup works great in Firefox and Chrome, but in IE I get the following error: Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64;