Re: Frozen error form object

2009-01-28 Thread Anton Veretennikov
It works! Thank you. On Wed, Jan 28, 2009 at 2:38 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: you need to wire your events. listpanel can have an abstract onclicked(); editpanel can have a method called inputchanged() which calls form.clearinput() your listpanel can then look like this:

Re: WicketTester - Problem submitting a form

2009-01-28 Thread Stephan Koch
Hi Per, I tried that before, still the same exception. From what I read using clickLink() on the SubmitLink or doing submit() should do the same. Per Newgro wrote: Hi Stephan Koch, i can't help you on the exception. But all i can see is that you don't call submit. FormTester

Re: Open popup on form submit?

2009-01-28 Thread sghavoc
Hi, I had the same problem, and after some trial and error I managed to make a SubmitPageLink, which, in addition to the PageLink class, submits the form. The way you save your data remains up to you. For example, I call a save function in the getPage method, right before i put a

Re: WicketTester - Problem submitting a form

2009-01-28 Thread Stephan Koch
Hi all, the exception is apparently caused by mounting the LoginPage. In my Application init(), I do this: mountBookmarkablePage(/login, LoginPage.class); When I remove that line, the test runs fine. Could be a bug in WicketTester? I'd like some opinions on that before I file a JIRA issue. I'm

Re: Wicketstuff 1.3.5 versions?

2009-01-28 Thread Peter Neubauer
Mmh, probably this should be posted on the Wicket Developer list ... /peter Do Good. opencauses.org. GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer

Wicketstuff 1.3.5 versions?

2009-01-28 Thread Peter Neubauer
Hi folks, I added Gmap layer support to Wicketstuff-OpenLayers, but I am using the 1.3.5 Wicket, all wicketstuff core is at Wicket 1.4-SNAPSHOT. Is there any chance to open a stable branch to get such stuff in without being forced to upgrade Wicket to SNAPSHOT versions? /peter Do Good.

Re: Example for presenting pdf in modal window

2009-01-28 Thread reiern70
Hi Per, I don't think you could use InlineFrame class to show a PDF in an iframe. I just built a DocumentInlineFrame class, inspired on InlineFrame, that allows to render a Resource (see attached files). To view the example all you have to do is: 1- lt;span wicket:id=pdfpanelgt;lt;/spangt; 2-

HTML markup not found ?

2009-01-28 Thread Antoine Roux
Hi, I am new to Wicket and I am currently exploring it. I made a first simple demo application and now I am evolving it a bit further. I am also trying to integrate it with Spring, using the annotation approach. For now, I have a simple form with two drop down lists. When the user clicks

Change Year in DatePicker

2009-01-28 Thread Luca Provenzani
Hi All, i use org.apache.wicket.extensions.yui.calendar.DateField as DatePicker. with wicket 1.3.0 But when i open datePicker on my webpage i can't change year, i can only change the months. Does someone know how to configure DateField to do this? is it possible? Thank Luca

Re: HTML markup not found ?

2009-01-28 Thread Dipu
could you please check if your IDE is copying the markup file to the target folder. check if HomePage.html is there in the folder where HomePage.class is. regards Dipu On Wed, Jan 28, 2009 at 12:25 PM, Antoine Roux antoine.r...@net-vitesse.com wrote: Hi, I am new to Wicket and I am currently

Re: Wicketstuff 1.3.5 versions?

2009-01-28 Thread Martin Grigorov
There is a branch for 1.3.x https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/branches/wicket-1.3.x/ El mié, 28-01-2009 a las 11:29 +0100, Peter Neubauer escribió: Hi folks, I added Gmap layer support to Wicketstuff-OpenLayers, but I am using the 1.3.5 Wicket, all wicketstuff core

Re: Convert a null Model to a custom string rather than

2009-01-28 Thread Anton Veretennikov
But it throws Internal Error (not in feedback) when conversion error rises on this line: mNestedModel.setObject(object); So it will be nice to correct it somehow.. Example of error on BigDecimal: ERROR - RequestCycle - Cannot parse '2.5' using format

[OT] Wicket Like framework for desktop applications?

2009-01-28 Thread nino martinez wael
Hi Guys I've havent done much desktop development but I wondered if there were something like wicket for desktop applications? I need it to be a desktop application because I need to manipulate the keyboard etc, via robot. (I have been thinking of embedding winstone in a jar with a wicket

Re: [OT] Wicket Like framework for desktop applications?

2009-01-28 Thread Antoine Roux
Swing may be what you are looking for. I never used it, but Wicket is often compared to Swing. Swing is included in JSE. Antoine nino martinez wael a écrit : Hi Guys I've havent done much desktop development but I wondered if there were something like wicket for desktop applications? I

Re: [OT] Wicket Like framework for desktop applications?

2009-01-28 Thread nino martinez wael
True, I thought that too.. I guess it could be that simple... 2009/1/28 Antoine Roux antoine.r...@net-vitesse.com Swing may be what you are looking for. I never used it, but Wicket is often compared to Swing. Swing is included in JSE. Antoine nino martinez wael a écrit : Hi Guys

Re: HTML markup not found ?

2009-01-28 Thread Antoine Roux
Hi Dipu, Thanks for your help. I checked and, yes, HomePage.class and HomePage.html both exist and are in the same directory in the resulting build. I am using Eclipse. I meet this problem both when I deploy from Eclipse but also if I deploy manually to a Tomcat installation. In the war

Re: HTML markup not found ?

2009-01-28 Thread nino martinez wael
Are you using markup inheritance ? Then you must remember to put in wicket:extend into the sub page. And wicket:child in the parent page. 2009/1/28 Antoine Roux antoine.r...@net-vitesse.com Hi Dipu, Thanks for your help. I checked and, yes, HomePage.class and HomePage.html both exist and are

Re: [OT] Wicket Like framework for desktop applications?

2009-01-28 Thread Martijn Dashorst
On Wed, Jan 28, 2009 at 2:39 PM, Piller Sébastien pi...@hmcrecord.ch wrote: far easier than web dev Nope. almost no compatibility issue between jre versions With Wicket you don't even have any compatibility issues *AT ALL*. looks pretty nice (builtin selectable look and feel, etc.) I can

Re: [OT] Wicket Like framework for desktop applications?

2009-01-28 Thread nino martinez wael
Hmm another even more ot question then are, how does spring/juice/hibernate integrate with swing? As you mention there are no management of application lifecycle..? 2009/1/28 Piller Sébastien pi...@hmcrecord.ch Hi, Swing is more an API than a framework (it provides components, models, etc)

Re: [OT] Wicket Like framework for desktop applications?

2009-01-28 Thread jWeekend
Nino, Swing has a familiar programming model, is very flexible, extensible, powerful and robust. You can also make use of all the core and open-source Java libraries you already know. If the target client machines have a JRE why use anything else. Using Swing would also open up various

Re: [OT] Wicket Like framework for desktop applications?

2009-01-28 Thread nino martinez wael
juice=Guice, in the previous mail ..:) 2009/1/28 nino martinez wael nino.martinez.w...@gmail.com Hmm another even more ot question then are, how does spring/juice/hibernate integrate with swing? As you mention there are no management of application lifecycle..? 2009/1/28 Piller Sébastien

Re: [OT] Wicket Like framework for desktop applications?

2009-01-28 Thread Edward Yakop
On Wed, Jan 28, 2009 at 22:04, nino martinez wael nino.martinez.w...@gmail.com wrote: Hmm another even more ot question then are, how does spring/juice/hibernate integrate with swing? As you mention there are no management of application lifecycle..? This is currently what I do to inject

Re: Wicketstuff 1.3.5 versions?

2009-01-28 Thread Peter Neubauer
Ah ok, thanks! /peter Do Good. opencauses.org. GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - New Energy for Data - the Graph Database.

Re: [OT] Wicket Like framework for desktop applications?

2009-01-28 Thread nino martinez wael
So basically, if one uses spring 2.5 or Guice, it's probably just supported by default. 2009/1/28 Edward Yakop edward.ya...@gmail.com On Wed, Jan 28, 2009 at 22:04, nino martinez wael nino.martinez.w...@gmail.com wrote: Hmm another even more ot question then are, how does

Re: [OT] Wicket Like framework for desktop applications?

2009-01-28 Thread nino martinez wael
2009/1/28 jWeekend jweekend_for...@cabouge.com Nino, Swing has a familiar programming model, is very flexible, extensible, powerful and robust. You can also make use of all the core and open-source Java libraries you already know. If the target client machines have a JRE why use anything

Re: Change Year in DatePicker

2009-01-28 Thread Daniel Peters
Luca Provenzani wrote: i use org.apache.wicket.extensions.yui.calendar.DateField as DatePicker. with wicket 1.3.0 But when i open datePicker on my webpage i can't change year, i can only change the months. Does someone know how to configure DateField to do this? is it possible? extend

Re: HTML markup not found ?

2009-01-28 Thread Antoine Roux
Thank you so much, it helped me solve my problem ! In fact, I was doing exactly the opposite : my markup contained wicket:extend markup but I forgot to inherit from my BasePage in HomePage. I messed up while copying my project. Sometimes, you just need an external look on your work. Thanks

DateTimeField

2009-01-28 Thread Wadi Jalil Maluf
Hi all!I'm new to wicket, I would like to know how I can get the date from a yui DateTimeField. I had put this inside a modal window.Should I use an ajax behavior with a model?How? Thanks in advance, Regards, Wadi

Re: Example for presenting pdf in modal window

2009-01-28 Thread Per Newgro
Great Ernesto, this is exactly the solution i was looking for. Thanks alot for sharing this with us. I would suggest that you add it to the wiki. Cheers Per - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For

Re: DateTimeField

2009-01-28 Thread Per Newgro
Hi Wadi, checkout this example (reached by click to examples link on wicket-homepage (wicket.apache.org)) http://www.wicketstuff.org/wicket13/dates/ Short version: - Add a form - Add a DateTextField to form - Set the model of DateTextfield - Get the date from model. HTH Per

Re: Change Year in DatePicker

2009-01-28 Thread Luca Provenzani
Thank you for answer, but i can't do it in wicket 1.3.0. i think that the unique way is try to update the application to wicket 1.3.5 Luca 2009/1/28 Daniel Peters daniel.pet...@idealo.de Luca Provenzani wrote: i use org.apache.wicket.extensions.yui.calendar.DateField as DatePicker. with

Re: Example for presenting pdf in modal window

2009-01-28 Thread Ernesto Reinaldo Barreiro
Your are welcome! I'll add this to Wiki if I find the time... Cheers, Ernesto On Wed, Jan 28, 2009 at 4:35 PM, Per Newgro per.new...@gmx.ch wrote: Great Ernesto, this is exactly the solution i was looking for. Thanks alot for sharing this with us. I would suggest that you add it to the

Need help with Upgrade to wicket 1.4-rc1

2009-01-28 Thread Karen Schaper
Hi, I decided now is a good time for me to upgrade to the latest wicket code - wicket 1.4-rc We are currently at 1.3.4. I'll also need to update the following other wicket jars I am using. Are there version that are compiled against wicket 1.4? wicketstuff-dojo-1.3.0-beta.jar

Re: Need help with Upgrade to wicket 1.4-rc1

2009-01-28 Thread Thomas R. Corbin
On Wednesday 28 January 2009, Karen Schaper said: Hi, I decided now is a good time for me to upgrade to the latest wicket code - wicket 1.4-rc We are currently at 1.3.4. I'll also need to update the following other wicket jars I am using. Are there version that are compiled against

Re: Need help with Upgrade to wicket 1.4-rc1

2009-01-28 Thread Jeremy Thomerson
The wicketstuff- has been taken out of the name of most wicketstuff projects in 1.4. See http://wicketstuff.org/maven/repository/org/wicketstuff/ Example: http://wicketstuff.org/maven/repository/org/wicketstuff/yui/1.4-SNAPSHOT/ Or, if you use Maven, just use org.wicketstuff and yui as the

Re: How to make a popup page for exception handling?

2009-01-28 Thread Mo Wu
Hi my wicket friends, There is fast way to make the popup for exception handling: try { ... } catch (Exception e){ target.appendJavascript(String.format(alert('%s'), e)); } and AjaxSubmitLink is used. -Mo Wu Michael O'Cleirigh wrote:

Re: HTML markup not found ?

2009-01-28 Thread nino martinez wael
Just happy to help:) And I've also needed a parrot a couple of times (it would be rather effective, because the error are just so obvious some times)... 2009/1/28 Antoine Roux antoine.r...@net-vitesse.com Thank you so much, it helped me solve my problem ! In fact, I was doing exactly the

RE: DateTimeField

2009-01-28 Thread Wadi Jalil Maluf
Crap, on a modal windows I get an alert message cause it reloads the page, is there another way?it should be another way! :( -Mensaje original- De: Per Newgro [mailto:per.new...@gmx.ch] Enviado el: miércoles, 28 de enero de 2009 13:47 Para: users@wicket.apache.org Asunto: Re:

@SpringBean attr null after back button

2009-01-28 Thread Thies Edeling
Spring injected beans using the @SpringBean annotation seem to be null when I return to a page using the back button. I now reinject them manually using the InjectorHolder but I was wondering if this is expected behaviour or that something in my setup is wrong. thx Thies

Re: @SpringBean attr null after back button

2009-01-28 Thread Igor Vaynberg
make sure you dont declare those fields as transient. -igor On Wed, Jan 28, 2009 at 10:00 AM, Thies Edeling th...@rrm.net wrote: Spring injected beans using the @SpringBean annotation seem to be null when I return to a page using the back button. I now reinject them manually using the

Where can i find ResourceBundle

2009-01-28 Thread taha siddiqi
Hi everyone, I am using Hibernate's ClassValidator and one of its constructors requires a java.util.ResourceBundle to be given as a parameter, how can i attach the wicket resource stream to it Thanks in advance regards Tawus

Re: @SpringBean attr null after back button

2009-01-28 Thread Thies Edeling
it isn't, that's what surprised me as it's a normal field. Igor Vaynberg wrote: make sure you dont declare those fields as transient. -igor On Wed, Jan 28, 2009 at 10:00 AM, Thies Edeling th...@rrm.net wrote: Spring injected beans using the @SpringBean annotation seem to be null when I

Re: [OT] Wicket Like framework for desktop applications?

2009-01-28 Thread Maarten Bosteels
Hi Nino, I don't have much Swing experience, but I think this can be handy for lifecycle stuff etc: https://appframework.dev.java.net/intro/index.html regards, Maarten On Wed, Jan 28, 2009 at 3:27 PM, nino martinez wael nino.martinez.w...@gmail.com wrote: 2009/1/28 jWeekend

Is there a way to be notified when a tab in a TabbedPanel is selected?

2009-01-28 Thread Zhubin Salehi
Hi all, How can I be notified when one of the tabs in a TabbedPanel is selected? Where is no onSelect() method in ITab interface, is there a way to achieve this? Thanks, Zhubin -- View this message in context:

AW: getRequest().getPage() always null

2009-01-28 Thread Arthur Leigh Allen
Hello people, any explanation or suggestion? Is there a possible way to retrieve the page from the request cycle? There is the getPage() method but the result is always null. Why? I would appreciate any answers. Thx a lot Leigh Von: Dipu

AW: open link in new window = target is null

2009-01-28 Thread Arthur Leigh Allen
Hello people, this is my second problem I cannot resolve. Why is the target object always null if I open an AjaxFallbackLink in a new window or tab? Best regards, Leigh Von: Arthur Leigh Allen arthurleigh.al...@yahoo.de An: users@wicket.apache.org Gesendet:

Re: [OT] Wicket Like framework for desktop applications?

2009-01-28 Thread Nino Martinez
thanks:) Maarten Bosteels wrote: Hi Nino, I don't have much Swing experience, but I think this can be handy for lifecycle stuff etc: https://appframework.dev.java.net/intro/index.html regards, Maarten On Wed, Jan 28, 2009 at 3:27 PM, nino martinez wael nino.martinez.w...@gmail.com wrote:

Re: [OT] Wicket Like framework for desktop applications?

2009-01-28 Thread Nino Martinez
hmm I see that one of the guys behind are Josh Marinacci, which now are on the javaFX team.. Maarten Bosteels wrote: Hi Nino, I don't have much Swing experience, but I think this can be handy for lifecycle stuff etc: https://appframework.dev.java.net/intro/index.html regards, Maarten On

Re: [OT] Wicket Like framework for desktop applications?

2009-01-28 Thread Serkan Camurcuoglu
Though I've never used it, I think Netbeans platform is worth giving a try if you are willing to use the Netbeans IDE.. you can check out http://platform.netbeans.org/ Nino Martinez wrote: hmm I see that one of the guys behind are Josh Marinacci, which now are on the javaFX team..

non-web-server functionality ?

2009-01-28 Thread Troy Cauble
Wicket is my first exposure to web server programming. I don't have the usual background in spring, hibernate, tomcat, jetty, or even maven. The Wicket I've written is for the configuration of a distributed application. Now I need server functionality that, based on this configuration data,

Re: @SpringBean attr null after back button

2009-01-28 Thread Igor Vaynberg
do you call Objects#setObjectStreamFactory to set wicket's objectstreamfractory instead of the default? wicket's doesnt handle proxies which may result in you seeing nulls. -igor On Wed, Jan 28, 2009 at 11:44 AM, Thies Edeling th...@rrm.net wrote: it isn't, that's what surprised me as it's a

Re: open link in new window = target is null

2009-01-28 Thread Igor Vaynberg
read fallback link's javadoc. -igor On Wed, Jan 28, 2009 at 12:20 PM, Arthur Leigh Allen arthurleigh.al...@yahoo.de wrote: Hello people, this is my second problem I cannot resolve. Why is the target object always null if I open an AjaxFallbackLink in a new window or tab? Best regards,

Re: @SpringBean attr null after back button

2009-01-28 Thread Thies Edeling
no I didn't, will try that but I thought that was default on 1.3 ? (running 1.3.5) Igor Vaynberg wrote: do you call Objects#setObjectStreamFactory to set wicket's objectstreamfractory instead of the default? wicket's doesnt handle proxies which may result in you seeing nulls. -igor On Wed,

Issues with wicket-contrib-input-events in Mozilla

2009-01-28 Thread dukejansen
Has anyone had any issues getting the wicket-contrib-input-events package to work properly with Mozilla? It seems to work great in IE, but somehow my events are not being picked up in Firefox. Specifically, let's say I have a link which launches a modal, and inside that modal is a panel with an

Re: Issues with wicket-contrib-input-events in Mozilla

2009-01-28 Thread dukejansen
Additional testing with FireBug reveals that the JavaScript engine is reporting an error when the Escape or Enter key is hit: document.getElementById(cancelLink9d7).click is not a function http://.../resources/wicket.contrib.input.events.InputBehavior/shortcuts.js Line 4 It seems like somehow

Re: @SpringBean attr null after back button

2009-01-28 Thread Igor Vaynberg
no, the default is the standard one. the standard one is used by default so unless you tweaked it there shouldnt be a problem. -igor On Wed, Jan 28, 2009 at 3:59 PM, Thies Edeling tedel...@gmail.com wrote: no I didn't, will try that but I thought that was default on 1.3 ? (running 1.3.5)

Where can i find ResourceBundle

2009-01-28 Thread taha siddiqi
Hi everyone, I am using Hibernate's ClassValidator and one of its constructors requires a java.util.ResourceBundle to be given as a parameter, how can i attach the wicket resource stream to it Thanks in advance regards Tawus I tried to google but couldn't find any thing

Re: Where can i find ResourceBundle

2009-01-28 Thread Igor Vaynberg
you will have to implement one yourself using the localizer which can be obtained via component.getlocalizer() call. -igor On Wed, Jan 28, 2009 at 6:30 PM, taha siddiqi tawushaf...@gmail.com wrote: Hi everyone, I am using Hibernate's ClassValidator and one of its constructors requires a

Re: non-web-server functionality ?

2009-01-28 Thread Antoine Roux
After what I understand, you want to have a server process that communicate with other servers on other machines. And sometimes, someone uses the web interface to configure your server. The main business lies in in the server process. Is it right ? I think it could be more interesting to see