Re: Wicket 1.5.1 image resource not available if parent component is disabled

2011-10-04 Thread Martin Grigorov
On Tue, Oct 4, 2011 at 5:08 AM, cellis christopher.el...@uwa.edu.au wrote: ok, so its the parent.isEnabledInHierarchy that's forcing the RequestListenerInterface   - component not enabled or visible; ignoring call. Any chance I could override that somehow, or should I/we refactor our design

Re: Show feedback message from modal window in parent page

2011-10-04 Thread heapifyman
Hi, I am using wicket 1.5 and I had already tried adding the page-level FeedbackPanel in the onSubmit() response - to no avail. But Session#info() seens to be doing the trick. Thanks for the help! Philip 2011/10/3 Dan Retzlaff dretzl...@gmail.com I'm looking at 1.4's

Re: Wicket 1.5.1 image resource not available if parent component is disabled

2011-10-04 Thread Carl-Eric Menzel
On Tue, 4 Oct 2011 10:41:27 +0200 Martin Grigorov mgrigo...@apache.org wrote: RequestListenerInterface stops the execution of callbacks for disabled and/or invisible components/behaviors but its seems it also forbids requesting a resource ... I think this is a not-so-easy problem, actually.

Re: Wicket 1.5.1 image resource not available if parent component is disabled

2011-10-04 Thread Martin Grigorov
On Tue, Oct 4, 2011 at 10:55 AM, Carl-Eric Menzel cmen...@wicketbuch.de wrote: On Tue, 4 Oct 2011 10:41:27 +0200 Martin Grigorov mgrigo...@apache.org wrote: RequestListenerInterface stops the execution of callbacks for disabled and/or invisible components/behaviors but its seems it also

Using Wicket.Event.add in javascript

2011-10-04 Thread jchappelle
Is the Wicket.Event.add method considered part of the public api for wicket? I have been writing more and more javascript lately and have found it useful but I can roll my own if needed. I just didn't know if these methods are subject to change without notice. Thanks, Josh -- View this message

Re: Using Wicket.Event.add in javascript

2011-10-04 Thread Martin Grigorov
Currently it is indeed not documented and only users who read the source code may know about it and use it. For Wicket.next we plan to use more and more JQuery for Wicket's JavaScript needs and the API may change but the change will be documented in the migration guide so it should be easy for you

Re: Using Wicket.Event.add in javascript

2011-10-04 Thread jchappelle
Thanks a lot! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Using-Wicket-Event-add-in-javascript-tp3870815p3870841.html Sent from the Users forum mailing list archive at Nabble.com. - To

Re: Wicket 1.5.1 image resource not available if parent component is disabled

2011-10-04 Thread Carl-Eric Menzel
On Tue, 4 Oct 2011 10:59:53 +0200 Martin Grigorov mgrigo...@apache.org wrote: I think this is a not-so-easy problem, actually. In this use case (render an image) it seems obvious that even though the whole panel is disabled, it is being rendered, so the image resource should work. Define

Re: Wicket 1.5.1 image resource not available if parent component is disabled

2011-10-04 Thread Martin Grigorov
On Tue, Oct 4, 2011 at 4:08 PM, Carl-Eric Menzel cmen...@wicketbuch.de wrote: On Tue, 4 Oct 2011 10:59:53 +0200 Martin Grigorov mgrigo...@apache.org wrote: I think this is a not-so-easy problem, actually. In this use case (render an image) it seems obvious that even though the whole panel

CouldNotLockPageException using localized RequestMapper URLs

2011-10-04 Thread Jim Pinkham
Maybe I'm doing something out of the ordinary - I have several independant 'clients' using their own versions of my site, and it's been working OK till recent increase in my site's use by several clients at once using the 'same' pages. I have a ClientFirstRootRequestMapper extends

Upgrade 1.5 - PageParameters#toRequestParameters

2011-10-04 Thread splitshade
Hi, in 1.5 the Method toRequestParameters in class PageParameters, which returns all Parameters as Maplt;String,String[]gt; is gone, what to use instead? Thanks Marti -- View this message in context:

Doubt about Pallete

2011-10-04 Thread Vitor Granzinoli Vellozo
Wicketers, Someone knows how get an exact element clicked just one time (single click) in a Pallete component? I read some examples about this, but no one solved this problem. Any kind of help will be very appreciated. Thanks, Vitor

Re: Doubt about Pallete

2011-10-04 Thread Andrea Del Bene
Hi, can you give us some more details about what you need? Can you give an example of 'element clicked just one time'? Wicketers, Someone knows how get an exact element clicked just one time (single click) in a Pallete component? I read some examples about this, but no one solved this

Re: On component added to ajax request target

2011-10-04 Thread Nelson Segura
I did something in the order of what you suggested: Created a new AjaxRequestTarget sub class public class MyAjaxRequestTarget extends AjaxRequestTarget { public void addComponent(Component component) { super.addComponent(component); // see if this component has related

Re: Wicket 1.5.1 image resource not available if parent component is disabled

2011-10-04 Thread cellis
Thanks for the feedback/answers guys. I can see both the pros and cons as you've mentioned and agree with both (dammit!). I've resorted to not show the image at all now (not entirely needed anyway) as it was in fact a small image (100kb) that was stored in the database, and returned via a