Re: [Wicket-user] Wicket User at sourceforge is moving!

2007-07-27 Thread landtuna
landtuna wrote: > Martijn Dashorst wrote: >> Subscribe now: send a message to [EMAIL PROTECTED] >> >> This list will self destruct in 10 minutes. > While the "subscribe" link at http://wicket.apache.org/community.html > has been changed to the apache list

Re: [Wicket-user] Wicket User at sourceforge is moving!

2007-07-27 Thread landtuna
Martijn Dashorst wrote: > Subscribe now: send a message to [EMAIL PROTECTED] > > This list will self destruct in 10 minutes. While the "subscribe" link at http://wicket.apache.org/community.html has been changed to the apache list, the "Archives" link still points to Nabble. Will Nabble still

Re: [Wicket-user] Setting up project - images and stylesheets

2007-07-18 Thread landtuna
I added Igor's response to this question to the FAQ in the wiki since it seemed so useful and I hadn't seen it explained elsewhere. -- View this message in context: http://www.nabble.com/Setting-up-project---images-and-stylesheets-tf4094209.html#a11680815 Sent from the Wicket - User mailing list

Re: [Wicket-user] Setting up project - images and stylesheets

2007-07-18 Thread landtuna
> Thanks. Is that common practice? It seems like it tightly > couples the java code with the design of the web page. > I thought the Image class was for creating dynamic images - > as that's all I've needed to use it for. To be honest, I don't know. If you don't want to put wicket:id at

Re: [Wicket-user] Setting up project - images and stylesheets

2007-07-17 Thread landtuna
jonaqua said: > ...and I run the application, the image will reference > web/images/logo.png. > However, if I just quickly view that HTML file, it will reference > src/java/package/images/logo.png and the image link will be broken. I'd just use a wicket.markup.html.image.Image for each of the i

Re: [Wicket-user] [GMAP contrib 1.2.6] Howto interpolate markup id into javascript ?

2007-07-13 Thread landtuna
Nino Saturnino Martinez Vazquez Wael wrote: > Hi Currently the gmap contrib just have hardcoded ids, I need to > interpolate the generated id's og some of the ajax buttons into the > javascript on the html side. How do I do this? I'm not sure if I'm understanding you correctly, but I use some

[Wicket-user] validator.w3.org validation

2007-07-06 Thread landtuna
I've seen some unanswered posts on this before, but I figured I'd try again. :) I haven't had much luck in getting my Wicket pages to pass the test on validator.w3.org. (The "live action" examples on wicketstuff.org don't work, either, but that's because they don't specify a DOCTYPE.) I'm usin

[Wicket-user] Removing IFormValidators

2007-06-28 Thread landtuna
It seems that there is no way to remove an IFormValidator from a Form. Because the fields in my Form are inside Panels (only one of which is present at any given time), the Form fields are not necessarily children of the Form. When one of the Form's IFormValidators receives a getDependentFormCom

Re: [Wicket-user] DropDownChoice's onSelectionChanged called too late

2006-08-30 Thread landtuna
Eelco Hillenius wrote: > Could you please add a feature request, so that we can > change it when we agree for 2.0 and 1.3? Added as Request ID 1549588. -- Jim Hunziker -- View this message in context: http://www.nabble.com/DropDownChoice%27s-onSelectionChanged-called-too-late-tf2186138.html#

Re: [Wicket-user] DropDownChoice's onSelectionChanged called too late

2006-08-30 Thread landtuna
Thanks for looking into this. Here's my ugly hack to get around the problem: DropDownChoice elevationSelect = new DropDownChoice("elevationSelect") { private float oldElevation = 0.0f; public List getChoices() { return ((HwddcState) parent.getModelObject()).getEleva

Re: [Wicket-user] HeaderContributor on page works for one request only? (1.2.2)

2006-08-29 Thread landtuna
I said: > Nathan Hamblen-2 said: >> Can anyone confirm if header contributors to pages are working properly? > > This works for me. I'm using a StringHeaderContributor that is added in > each constructor of the page. I take that back. It worked in 1.2.1, but it's broken in 1.2.2. -- Jim Hunzik

Re: [Wicket-user] HeaderContributor on page works for one request only? (1.2.2)

2006-08-29 Thread landtuna
Nathan Hamblen-2 said: > Can anyone confirm if header contributors to pages are working properly? This works for me. I'm using a StringHeaderContributor that is added in each constructor of the page. -- Jim Hunziker -- View this message in context: http://www.nabble.com/HeaderContributor-on-

[Wicket-user] DropDownChoice's onSelectionChanged called too late

2006-08-29 Thread landtuna
Because the onSelectionChanged() method of DropDownChoice isn't called until after updateModel(), I don't believe it is possible to reach the old value of the selection in an overridden onSelectionChanged() handler. Is this right? Any ideas for getting around this besides rewriting DropDownChoic

Re: [Wicket-user] Versioning a PropertyModel backed by another Model

2006-08-28 Thread landtuna
Eelco Hillenius wrote: > > Would you mind creating an issue for this, so we can track it/ won't > forget to address it? Thanks, > Entered as issue 1548207. -- View this message in context: http://www.nabble.com/Versioning-a-PropertyModel-backed-by-another-Model-tf2166294.html#a6029382 Sent f

Re: [Wicket-user] Versioning a PropertyModel backed by another Model

2006-08-28 Thread landtuna
Removing the if block below the comment "If the component is using the same model as the page" in ModelChange.java fixes the problem. I suspect this change breaks something else, though, so someone else should look into what the correct fix is. -- View this message in context: http://www.nabble

Re: [Wicket-user] Versioning a PropertyModel backed by another Model

2006-08-28 Thread landtuna
igor.vaynberg wrote: > > i believe property model should be doing that for you. johan are you > reading > with us? > I think I can see why PropertyModel isn't doing it - There's a block inside ModelChange that skips cloning the model if the model of the component that's changing is the same a

Re: [Wicket-user] Versioning a PropertyModel backed by another Model

2006-08-28 Thread landtuna
I got past my original problem by changing my onClick methods to look like this. Is this the right approach? public void onClick() { final int oldA = ((StatePojo) getPage().getModelObject()).getA(); TestPage.this.addStateChange(new Change()

Re: [Wicket-user] Versioning a PropertyModel backed by another Model

2006-08-28 Thread landtuna
Eelco Hillenius wrote: > > Could you please provide us with a little bit of code to look at your > case? > Here is the most trivial case I could come up with. Click the number 1. Click your browser's back button. Click the number 2. I would expect the page to say "1 200", but it says, "100

[Wicket-user] Versioning a PropertyModel backed by another Model

2006-08-25 Thread landtuna
I have a POJO that is the object for my WebPage's Model (let's call it SystemState). Some components need to interact with this object in a non-trivial way in their onClick handlers. Other components use PropertyModel models to get at a specific part of the SystemState. My whole application was