Re: InlineFrame: IPageLink object looses reference to page after deserialiations

2009-01-26 Thread Ittay Dror
After some debugging, the reason is that Page#writeReplace replaces the page with a PageHolder regardless of whether the page is marked as non-stateless (I call setStatelessHint(false) in the ctor). Isn't this a bug? Ittay Ittay Dror wrote: Hi, I'm trying to use the InlineFrame

Off Topic - Serialization, Guice and FindBugs

2009-01-26 Thread Steve Flasby
Chaps, I have installed FindBugs and it complains about code fragments like: @Inject private PortfolioService mPortfolioService; in my Page classes, telling me: [M B Se] Non-transient non-serializable instance field in serializable class [SE_BAD_FIELD] The value is injected

Re: Re: Access last page

2009-01-26 Thread sven
I thought AbstractPageStore handle this automagically? Sven - Ursprüngliche Nachricht - Von: Johan Compagner Gesendet: 25.01.09 21:51 Uhr An: users@wicket.apache.org Betreff: Re: Access last page You should hold that info yourself Not the page itself but just the id and the

Re: London Wicket Event - 4th February @ Google

2009-01-26 Thread jWeekend
We already have some 35 registered guests (29 confirmed) for our next London Wicket Event on the evening of February 4th, at Google (close to Victoria station). We have space for 15 more so if you are interested in coming http://jweekend.com/dev/LWUGReg/ register soon and remember to confirm

Wicket placeholder for tr component causing invalid markup

2009-01-26 Thread the_adam
If we have a component with a corresponding markup tag tr and want to hide it and display placeholder tag via Component#setOutputMarkupPlaceholderTag the resulting markup will be: tr style=display: none; id=componentId/ However this is not a valid markup. The proper markup would be: tr

Re: Getting an error when trying to install via Maven

2009-01-26 Thread Michael Sparer
Looks like you're mixing up different wicket versions. wicket.Initializer was before the move to apache. Check your pom if you're using different wicket versions - or perform a clean if you did an update recently hth, Michael HHB wrote: Hey, I created a Wicket skeleton project via Maven.

Re: Wicket placeholder for tr component causing invalid markup

2009-01-26 Thread Sébastien Piller
Hi, I'm pretty sure what you need is wicket:enclosure [1] instead [1] http://cwiki.apache.org/WICKET/wickets-xhtml-tags.html the_adam wrote: If we have a component with a corresponding markup tag tr and want to hide it and display placeholder tag via Component#setOutputMarkupPlaceholderTag

Re: Getting an error when trying to install via Maven

2009-01-26 Thread HHB
I'm trying to create a Wicket 1.3.5 project. I add the following dependencies: dependency groupIdwicket/groupId artifactIdwicket-spring-annot/artifactId version1.2.7/version /dependency dependency groupIdwicket/groupId artifactIdwicket-spring/artifactId

Re: Getting an error when trying to install via Maven

2009-01-26 Thread HHB
I'm trying to create a Wicket 1.3.5 project. I add the following dependencies: dependency groupIdwicket/groupId artifactIdwicket-spring-annot/artifactId version1.2.7/version /dependency dependency groupIdwicket/groupId artifactIdwicket-spring/artifactId

Re: Wicket placeholder for tr component causing invalid markup

2009-01-26 Thread the_adam
Pills wrote: I'm pretty sure what you need is wicket:enclosure [1] instead That would be the case if I've wanted to hide certain rows forever, unless I'm largely mistaken. I want to be able to switch the visibility of certain table rows and since Wicket's AJAX works by replacing given DOM

Re: Wicket placeholder for tr component causing invalid markup

2009-01-26 Thread Thies Edeling
the_adam wrote: Pills wrote: I'm pretty sure what you need is wicket:enclosure [1] instead That would be the case if I've wanted to hide certain rows forever, unless I'm largely mistaken. I want to be able to switch the visibility of certain table rows and since Wicket's AJAX works by

Re: Wicket placeholder for tr component causing invalid markup

2009-01-26 Thread the_adam
Thies Edeling-2 wrote: That's exactly what wicket:enclosure does; otherwise you'd have to wrap the row in a WebMarkupContainer to keep a reference in the DOM. I know the benefits of wicket:enclosure. What I need, however is a placeholder, which is what wicket:enclosure doesn't provide

Re: Off Topic - Serialization, Guice and FindBugs

2009-01-26 Thread Martin Grigorov
El lun, 26-01-2009 a las 09:56 +0100, Steve Flasby escribió: Chaps, I have installed FindBugs and it complains about code fragments like: @Inject private PortfolioService mPortfolioService; in my Page classes, telling me: [M B Se] Non-transient non-serializable instance field

Re: Wicket placeholder for tr component causing invalid markup

2009-01-26 Thread Jeremy Thomerson
The problem you're facing is clear - and you're right - wicket:enclosure won't work for you. Unfortunately, that closed-tag code for the placeholder is hard-coded in Component. Hmmm Could you instead have a wrapping component inside of your TR and use that for the visibility swap? That's

Example for presenting pdf in modal window

2009-01-26 Thread Newgro
Hi *, i've read alot on this topic. But i couldn't find a complete example so far. Here is what i do so far: In a page i have a modal window defined: final ModalWindow mwCapacitySchemeMonitor = new ModalWindow(CMP_CAPACITY_SCHEME_MONITOR);

tinymce settings

2009-01-26 Thread Swanthe Lindgren
Hello to you all Im trying to use the tinymce behavior to get a nice editor. On one page I want a read-only tinymce, but how do I configure its settings? Is this anywhere near? TinyMCESettings mceSettings = new TinyMCESettings(Theme.simple); mceSettings.addCustomSetting(readonly:true);

Re: Wicket placeholder for tr component causing invalid markup

2009-01-26 Thread the_adam
Jeremy Thomerson-5 wrote: The problem you're facing is clear - and you're right - wicket:enclosure won't work for you. Unfortunately, that closed-tag code for the placeholder is hard-coded in Component. Thanks for understanding :) Also, I've looked already in the Component source and I

Re: Wicket placeholder for tr component causing invalid markup

2009-01-26 Thread Jeremy Thomerson
I agree 100% - that's the only clean solution I see. On Mon, Jan 26, 2009 at 9:25 AM, the_adam adam.parchimow...@gmail.comwrote: Jeremy Thomerson-5 wrote: The problem you're facing is clear - and you're right - wicket:enclosure won't work for you. Unfortunately, that closed-tag code

page services

2009-01-26 Thread Ittay Dror
Hi, What is the proper way to model a registry of services per page instance? What I mean is for a component to be able to locate a service that is registered with the current page and that affects the GUI. An example of such a service exists today: the feedback panel.

Re: Plain IMG src urls

2009-01-26 Thread Prag
Another solution is to add an IBehavior to the component, and let the behavior modify the src attribute. This can be can with the SimpleAttributeModifier: Image image = new Image(someWicketId); image.add(new SimpleAttributeModifier(src, http://.jpg;)); add(image); -- View this message in

Re: page services

2009-01-26 Thread Igor Vaynberg
there are both session and component-level metadata that will allow you to store any kind of data you want. -igor On Mon, Jan 26, 2009 at 7:29 AM, Ittay Dror ittay.d...@gmail.com wrote: Hi, What is the proper way to model a registry of services per page instance? What I mean is for a

QuickStart not finding Wicket classes

2009-01-26 Thread Dane Laverty
I've stepped through the Wicket QuickStart process as outlined at http://wicket.apache.org/quickstart.html . However, when I try to run the Start class, I get java.lang.ClassNotFoundException: org.apache.wicket.protocol.http.WicketFilter. I'm not familiar with Maven, but I can see that the POM has

Re: QuickStart not finding Wicket classes

2009-01-26 Thread Igor Vaynberg
you need to invoke maven on the project so that it downloads the dependencies. any of mvn clean compile, mvn eclipse:eclipse, mvn jetty:run will do it. -igor On Mon, Jan 26, 2009 at 9:05 AM, Dane Laverty danelave...@chemeketa.edu wrote: I've stepped through the Wicket QuickStart process as

Re: QuickStart not finding Wicket classes

2009-01-26 Thread Martijn Dashorst
Not sure what you did to come to this, but watching the video here should enlighten you: http://herebebeasties.com/2007-10-07/wicket-quickstart/ Martijn On Mon, Jan 26, 2009 at 6:05 PM, Dane Laverty danelave...@chemeketa.edu wrote: I've stepped through the Wicket QuickStart process as outlined

Re: QuickStart not finding Wicket classes

2009-01-26 Thread jWeekend
Running the artefact creates your project folder structure (including some useful and illustrative classes/templates/tests) and the POM. You need to run some Maven goal (eg eclipse:eclipse, or compile etc) to retrieve all the required jars into your local repository. See the Use section (Change

RE: QuickStart not finding Wicket classes

2009-01-26 Thread Dane Laverty
First, Martijn, thank you for your video. I had used your video to get as far as I did. Second, Igor and Cemal, thank you for your quick responses. However, I tried running the Maven goals you suggested (eclipse:eclipse, etc.), but I just end up getting additional errors. To clarify, I was using

Re: QuickStart not finding Wicket classes

2009-01-26 Thread Igor Vaynberg
usually helps if you paste the errors you get... -igor On Mon, Jan 26, 2009 at 9:48 AM, Dane Laverty danelave...@chemeketa.edu wrote: First, Martijn, thank you for your video. I had used your video to get as far as I did. Second, Igor and Cemal, thank you for your quick responses. However, I

Re: Two vertical scrollbars in ModalWindow with Panel content show

2009-01-26 Thread Matej Knopp
Again, this is a styling issue. It has very little to do with Wicket. I noticed things like table width=100%, etc. in your code. Such naive styling can lead to many unexpected results, especially in internet explorer. -Matej On Mon, Jan 26, 2009 at 7:02 PM, mailingl...@jorgenpersson.se

AJAX cluster failover help

2009-01-26 Thread John Krasnay
I'm doing cluster failover testing with my app and I'm running into a weird failure. The test involves failing the node where my session is active while performing UI operations. On one page in the app, I have an AjaxTabbedPanel. Clicking amongst the tabs while the failover occurs works

Re: AJAX cluster failover help

2009-01-26 Thread Igor Vaynberg
what wicket version are you using? that registration was missing until 5/9/08, so if your wicket version is earlier then that it might not work properly. -igor On Mon, Jan 26, 2009 at 10:36 AM, John Krasnay j...@krasnay.ca wrote: I'm doing cluster failover testing with my app and I'm running

Re: AJAX cluster failover help

2009-01-26 Thread John Krasnay
We're on 1.3.3. I'll try again with 1.3.5. Thanks. jk On Mon, Jan 26, 2009 at 10:41:45AM -0800, Igor Vaynberg wrote: what wicket version are you using? that registration was missing until 5/9/08, so if your wicket version is earlier then that it might not work properly. -igor On Mon,

Re: Embedding html from an external application

2009-01-26 Thread mfs
Actually I haven't used the c:import tag, so i am not sure what problems are you referring to ? Is it what I mentioned earlier that since it would be a separate request, the request-parameters would not be part of it ? but even that can be resolved right ? i mean we can manually stream these

Re: Embedding html from an external application

2009-01-26 Thread Ittay Dror
mfs wrote: Eric, Thanks for the follow-up. Actually i just came across the http://wicket.sourceforge.net/apidocs/wicket/markup/html/include/Include.html Include component in Wicket which i believe does the same as you suggested to implement...i.e. opens up a new http-connection

Re: Access last page

2009-01-26 Thread Per Newgro
Thanks 4 reply, Johan. I guess i have to store the ids in my session ?!? I'll try it out. Thanks Per - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: Example for presenting pdf in modal window

2009-01-26 Thread Per Newgro
Is there no way to achieve my goal? Per - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: AJAX cluster failover help

2009-01-26 Thread John Krasnay
Indeed, 1.3.5 fixed the problem. Thanks again, Igor. jk On Mon, Jan 26, 2009 at 01:57:22PM -0500, John Krasnay wrote: We're on 1.3.3. I'll try again with 1.3.5. Thanks. jk On Mon, Jan 26, 2009 at 10:41:45AM -0800, Igor Vaynberg wrote: what wicket version are you using? that

Re: AJAX cluster failover help

2009-01-26 Thread Igor Vaynberg
you are welcome -igor On Mon, Jan 26, 2009 at 12:08 PM, John Krasnay j...@krasnay.ca wrote: Indeed, 1.3.5 fixed the problem. Thanks again, Igor. jk On Mon, Jan 26, 2009 at 01:57:22PM -0500, John Krasnay wrote: We're on 1.3.3. I'll try again with 1.3.5. Thanks. jk On Mon, Jan 26, 2009

Does salve solve Wicket property model problems?

2009-01-26 Thread Martijn Dashorst
Igor Vaynberg has written a short article on using Salve (http://code.google.com/p/salve/) to provide an alternative solution to checking the property expression in property models. Read it and discuss it if you find it interesting.

Frozen error form object

2009-01-26 Thread Anton Veretennikov
Hello, all wicket users and developers! Wicket is 1-4-SNAPSHOT (not revision 737998, it is not compiling for test failures). I have a simple form for GoodPrice object edit. List of objects have a link that sets PanelModel.goodPrice to currently editing object. This is how I create my form with

Re: Example for presenting pdf in modal window

2009-01-26 Thread Anton Veretennikov
May be some kind of open source exists for embedding pdf in Flash like this: http://www.stickmanlabs.com/lightwindow/ Flash Paper link On Tue, Jan 27, 2009 at 2:50 AM, Per Newgro per.new...@gmx.ch wrote: Is there no way to achieve my goal? Per

Re: QuickStart not finding Wicket classes

2009-01-26 Thread Igor Vaynberg
works fine for me: C:\dev\src\wicket\wicket-quickstartsvn up At revision 738009. C:\dev\src\wicket\wicket-quickstartmvn clean package [INFO] Scanning for projects... [INFO] [INFO] Building Wicket Quickstart [INFO]

Re: QuickStart not finding Wicket classes

2009-01-26 Thread Anton Veretennikov
There is no 1.4-SNAPSHOT in central repository so it must be downloaded first and installed in local repository. Am I right? On Tue, Jan 27, 2009 at 1:18 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: works fine for me: C:\dev\src\wicket\wicket-quickstartsvn up At revision 738009.