Re: showstoppers -- NoSuchMethodError (again and again)

2009-05-24 Thread Brill Pappin
I'm fairly sure that when I updated sicketstuff-core a few days ago (hmm... maybe 4 days) i got a lot of updates. I could be wrong, so i guess its date checking on the commits. - Brill On 23-May-09, at 10:55 PM, Jeremy Thomerson wrote: Have there been that many changes since 1.4-rc4? I jus

Any forum (bb) components / applications written using Wicket?

2009-05-24 Thread Cristi Manole
Hello, I'm in the need of a forum (bulletin board) component / application written in Wicket to integrate in a larger Wicket application. Does anybody have one / know of one? Please promote it. :) I don't mind if it's still in alpha or something as I prefer building on top of that rather than st

Error while trying to run tests

2009-05-24 Thread HHB
Hey, Our application is built on Wicket 1.3.5 , Spring 2.5 and Hibernate 3.2 I'm trying to write tests (with TestNG) for Wicket pages and panels: ++ WicketFilter org.apache.wicket.protocol.http. WicketFilter applicationFactoryClassNa

Re: Storing css and image files

2009-05-24 Thread Per Lundholm
Check out the tag /Per 2009/5/24 Lucas Bonansea : > Hello. >           I'm new to web development and to Wicket. I created an Wicket > project in Eclipse following the instructions in the website, from there and > following the examples I have been able to create a couple of simple web > pages.

Re: Whats wrong with my component?

2009-05-24 Thread HHB
Would you please tell me in code (my code I posted earlier) what do you mean? I really appreciate your time and help. igor.vaynberg wrote: > > you do not bind the model of the textarea to the model of the > messagetextarea, so why are you surprised the value never makes it > into your model? >

Re: Whats wrong with my component?

2009-05-24 Thread James Carman
Just think to yourself what models are being used here. The TextArea inside the MessageTextArea is bound to what? And, the MessageTextArea's model is bound to what? On Sun, May 24, 2009 at 7:32 AM, HHB wrote: > > Would you please tell me in code (my code I posted earlier) what do you mean? > I

Re: Whats wrong with my component?

2009-05-24 Thread HHB
Ok, the TextArea has its own model so I passed the model parameter of the component constructor to the TextArea: final TextArea textArea = new TextArea("text", model); And in the panel: CompoundPropertyModel formModel = new CompoundPropertyModel(new MessageVO()); MessageTextArea textA

Re: Whats wrong with my component?

2009-05-24 Thread Per Lundholm
So the TextArea gets a CompoundPropertyModel that has a MessageVO object. The MessageVO has a method "getLanguage" ? How should the TextArea display the contents of MessageVO? HTH /Per 2009/5/24 HHB : > > Ok, the TextArea has its own model so I passed the model parameter of the >  component co

Re: Storing css and image files

2009-05-24 Thread Jeremy Thomerson
The most common "wicket way" is that they are stored in your java packages, next to your class and html files. This way they can be packaged and reused in other applications, etc. Then you reference them with a resourcereference(ClassNextToThem.class, "relative-path-from-class"). Or you can put

Re: Storing css and image files

2009-05-24 Thread Lucas Bonansea
Thanks for the responses, I'll try them out On Sun, May 24, 2009 at 9:51 AM, Jeremy Thomerson wrote: > The most common "wicket way" is that they are stored in your java > packages, next to your class and html files. This way they can be > packaged and reused in other applications, etc. Then yo

Re: AjaxEditableChoiceLabel: display value for Label?

2009-05-24 Thread drakanor
After reading and searching some time I found a solution in using a converter. Is that the right way to do it (seems a bit cumbersome to me)? AjaxEditableChoiceLabel ajaxEditableLabelUsertype = new AjaxEditableChoiceLabel( "usertype", new PropertyModel(user, "usertype"), Manager

closing a ModalWindow from a forms onSubmit?

2009-05-24 Thread Brill Pappin
I have a form in a model window How do I close the ModalWindow in the form's onSubmit() method without the AjaxRequestTarget? - Brill smime.p7s Description: S/MIME cryptographic signature

Framework sales pitch

2009-05-24 Thread Ricky
Hi, I am interested in knowing as to how does a framework reach its potential developers in open source, for example Wicket, it started out and so how do people know about it? 1.) Is it that person A tells person B tells person C sort of chain? 2.) Or is it well planned out? if so how? Just curio

Re: Any forum (bb) components / applications written using Wicket?

2009-05-24 Thread Scott Swank
Over here http://wicketstuff.org/confluence/display/STUFFWIKI/Wiki there is bbcode & tinymce integration. I haven't used either, but at least that's a starting point. Good luck. Scott On Sun, May 24, 2009 at 1:04 AM, Cristi Manole wrote: > Hello, > > I'm in the need of a forum (bulletin boa

Re: Framework sales pitch

2009-05-24 Thread Scott Swank
I suspect that articles on broadly read sites, such as theserverside & dzone are significant vectors. Scott On Sun, May 24, 2009 at 11:37 AM, Ricky wrote: > Hi, > > I am interested in knowing as to how does a framework reach its potential > developers in open source, for example Wicket, it start

Re: Generic BookmarkablePage

2009-05-24 Thread Luther Baker
On Sat, May 23, 2009 at 4:34 PM, Igor Vaynberg wrote: > final Link link= > > -igor > @James The seems to work just fine: final Link link = new BookmarkablePageLink("a-contact", ...); @Igor Just wanted to clarify ... it is hard to tell exactly what you're suggesting: final Link link = new

Pages and Namespaces

2009-05-24 Thread Luther Baker
Assuming a parent page (Layout.html) that contains a link with corresponding code in Layout.java ... Now, I'd like to extend that with a child page ... that happens to contain text that also embeds a link to the same place. In my child page, I just so happen to the use the same id ... and I find

Re: Pages and Namespaces

2009-05-24 Thread Alex Objelean
You could avoid this kind of problems if you would create a panel as a holder of your child page components (introducing this way a kind of namespacing inside the panel). Alex luther.baker wrote: > > Assuming a parent page (Layout.html) that contains a linkwith > corresponding code in La

Re: closing a ModalWindow from a forms onSubmit?

2009-05-24 Thread James Carman
Can you submit the form via ajax? On May 24, 2009 2:08 PM, "Brill Pappin" wrote: I have a form in a model window How do I close the ModalWindow in the form's onSubmit() method without the AjaxRequestTarget? - Brill

Re: closing a ModalWindow from a forms onSubmit?

2009-05-24 Thread Brill Pappin
I likely could but am trying to avoid that, because then I have to call it for every button in the form (there are 4 now, all set a state and allow the event to propagate to the forms onSubmit(). Is there no way to know the current context from the component itself? - Brill On 24-May-09, at

Re: Generic BookmarkablePage

2009-05-24 Thread Igor Vaynberg
final Link link = new BookmarkablePageLink("a-contact", if you are not intending on using the model use which will help enforce that -igor On Sun, May 24, 2009 at 1:07 PM, Luther Baker wrote: > On Sat, May 23, 2009 at 4:34 PM, Igor Vaynberg wrote: > >> final Link link= >> >> -igor >> > > @

Any easy way to do client-side javascript-based validation with Wicket?

2009-05-24 Thread David Chang
I am now reading the book "Wicket in Action" to learn about Wicket. The more I read and the more I like it! I did a few projects with Spring MVC in the past. In these projects, I defined form field validation rules in an XML file and Spring adds both client side and server-side, which I think