Re: AjaxFormComponentUpdatingBehavior problem

2008-10-18 Thread overseastars
Ah..thanks a lotAlthoug I google it, I didnt find that. But I think my code contains just this and others are not relevant. igor.vaynberg wrote: > > first, you did not show all your code. second, there is too much code to > read through in an email and figure out whats wrong, create

Re: GMAP2 non ajax?

2008-10-18 Thread Nino Saturnino Martinez Vazquez Wael
Looking at it, in this case it might even make sense to do a static googlemap: http://code.google.com/apis/maps/documentation/staticmaps/ Nino Saturnino Martinez Vazquez Wael wrote: Well I just think that if you are using a gmap which is supposed to be static, and never can be anything else..

Re: GMAP2 non ajax?

2008-10-18 Thread Nino Saturnino Martinez Vazquez Wael
Well I just think that if you are using a gmap which is supposed to be static, and never can be anything else.. Then it does not make much sense to add the listener stuff. But as someone wrote I could just roll a label with an attribute modifier... Martin Funk wrote: Nino Saturnino Martinez V

Re: GMAP2 non ajax?

2008-10-18 Thread Martin Funk
Nino Saturnino Martinez Vazquez Wael wrote: Yeah I know I did something similar for the openlayers contrib.. But I wonder if you could provide a constructor which turns it all off? What? More constructors? I was just about on the path to less constructors! I just deprecated the constructors that

Re: Component hierarchy in a subclass situation

2008-10-18 Thread Igor Vaynberg
WebMarkupContainer body = new WebMarkupContainer("pageStyle").setTransparentResolver(true); -igor On Sat, Oct 18, 2008 at 1:51 PM, Tauren Mills <[EMAIL PROTECTED]> wrote: > I'm looking for advice on how to deal with the component hierarchy below. > I'm getting a MarkupException and think tha

Component hierarchy in a subclass situation

2008-10-18 Thread Tauren Mills
I'm looking for advice on how to deal with the component hierarchy below. I'm getting a MarkupException and think that the problem is that the "body" defined in base page is a sibling of content, header, and footer instead of their parent. Content, header, and footer should be children of body. A

Re: Adding Ajax behavior changes component id

2008-10-18 Thread Sven Meier
Well, if your component was nested in a ListView ... what then? Sven Neil McT schrieb: Yeah, I understand why this would be the case in say a ListView (when repeated markup would not have a unique id) but when adding a behavior to a component 'myId3' is no more unique than 'myId'. Under what ci

Re: Adding Ajax behavior changes component id

2008-10-18 Thread Neil McT
Yeah, I understand why this would be the case in say a ListView (when repeated markup would not have a unique id) but when adding a behavior to a component 'myId3' is no more unique than 'myId'. Under what circumstances would the original id no longer be unique? I think that is what I am asking.

Re: Adding Ajax behavior changes component id

2008-10-18 Thread Nino Saturnino Martinez Vazquez Wael
Hi Neil It's id because it's the only thing unique.. Neil McT wrote: Hi, I noticed that when I add an Ajax behavior to a component, that components id is changed - from 'myId' to say 'myId3'. I know there are ways around this e.g. use the css class to identify the component rather than the id

Re: Adding Ajax behavior changes component id

2008-10-18 Thread Igor Vaynberg
there are a lot of threads on this list that explain why wicket needs to take over markup id and cannot reuse what you placed in markup. -igor On Sat, Oct 18, 2008 at 5:14 AM, Neil McT <[EMAIL PROTECTED]>wrote: > > Hi, > > I noticed that when I add an Ajax behavior to a component, that component

Re: GMAP2 non ajax?

2008-10-18 Thread Nino Saturnino Martinez Vazquez Wael
Yeah I know I did something similar for the openlayers contrib.. But I wonder if you could provide a constructor which turns it all off? Martin Funk wrote: Nino Saturnino Martinez Vazquez Wael wrote: Hi Martin I get the wicket ajax debug window.. And (slice from the simple page below)

Re: AjaxFormComponentUpdatingBehavior problem

2008-10-18 Thread Igor Vaynberg
first, you did not show all your code. second, there is too much code to read through in an email and figure out whats wrong, create a quickstart project. third, there is already an example that shows how to do this properly: http://www.wicketstuff.org/wicket13/ajax/choice -igor On Sat, Oct 18, 2

Re: GMAP2 non ajax?

2008-10-18 Thread Martin Funk
Nino Saturnino Martinez Vazquez Wael wrote: Hi Martin I get the wicket ajax debug window.. And (slice from the simple page below)