Re: DropDownChoice getting value into the model

2008-03-17 Thread 242
Well, IChoiceRenderer gives you ability to use any field of your custom choice object for rendering. In order to select a choice before rendering I'd implement custom choices IModel with additional method like: Object getSelected( key) to set selection model object properly. Then I use DropDownCoi

Re: [vote] Release 1.4 with only generics and stop support for 1.3

2008-03-17 Thread Jonathan Locke
okay. sounds good. i find it hard to imagine many people missing 1.3 if 1.4 was available with generics on java 5. Eelco Hillenius wrote: > >> +1 >> >> although i say this feeling badly about the possibility that mob rule >> could >> make johan's life harder. in fact, if enough core deve

Re: [vote] Release 1.4 with only generics and stop support for 1.3

2008-03-17 Thread Eelco Hillenius
> +1 > > although i say this feeling badly about the possibility that mob rule could > make johan's life harder. in fact, if enough core developers are opposed to > this plan, i think that probably overrules a user vote. after all the core > developers actually have to do all this work (and

Re: Is wicket an efficient, enterprise level web framework?

2008-03-17 Thread Jonathan Locke
we did stress testing of a pretty complex ui at thoof and found we could handle something like 20,000 sessions under simulation on a webnode pair with full failover. i am aware of sites (who will remain nameless for a while, unfortunately) with millions of users who are switching to wicket. i w

Re: [vote] Release 1.4 with only generics and stop support for 1.3

2008-03-17 Thread Jonathan Locke
+1 although i say this feeling badly about the possibility that mob rule could make johan's life harder. in fact, if enough core developers are opposed to this plan, i think that probably overrules a user vote. after all the core developers actually have to do all this work (and for free, i mi

Re: Wicketstuff source pages - can we make them stateless?

2008-03-17 Thread Ned Collyer
Raised at https://issues.apache.org/jira/browse/WICKET-1431 No patch yet Igor :) if I get a chance, ill attach one. Rgds Ned igor.vaynberg wrote: > > need to file an rfe in jira, patches are also welcome :) > > -igor > -- View this message in context: http://www.nabble.com/Wicketstuff-s

Re: Double submit problem

2008-03-17 Thread Igor Vaynberg
that prevents that "do you want to post the form again?" dialog that happens when you use the back button to go back to a page that had a form you submitted. -igor On Mon, Mar 17, 2008 at 9:00 PM, Matthew Young <[EMAIL PROTECTED]> wrote: > Does this stuff here prevent double submit? > > > http

Re: Double submit problem

2008-03-17 Thread Matthew Young
Does this stuff here prevent double submit? http://wicket.apache.org/docs/wicket-1.3.2/wicket/apidocs/org/apache/wicket/settings/IRequestCycleSettings.html "...so that not only form submits are shielded from the double submit problem..." On Mon, Mar 10, 2008 at 6:56 AM, Joel Hill <[EMAIL PROTECT

Re: My Wicket Flickr Demo a la Ruby On Rails

2008-03-17 Thread Fernando Wermus
Which is the name of the embebed Eclipse browser you are using? On Mon, Mar 17, 2008 at 7:15 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > there are a couple of things i would change > > 1) add(new StyleSheetReference("pageCss", getClass(), "flickr.css")); > > do you really need that? can you no

Re: Wicketstuff source pages - can we make them stateless?

2008-03-17 Thread James Carman
On 3/17/08, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > need to file an rfe in jira, patches are also welcome :) > Perhaps we could have some test cases that assert that the pages are indeed stateless? Does that work? assertTrue(page.isStateless()); Do you need to have WicketTester "start" the p

Re: Back button support

2008-03-17 Thread Igor Vaynberg
that is pretty much correct. however, this problem is present any time you use session scope to store values, not just in wicket. a lot of the times when using stateless frameworks and managing a complex ui or a complex user interaction you start putting things into session because managing state p

Re: Wicketstuff source pages - can we make them stateless?

2008-03-17 Thread Igor Vaynberg
need to file an rfe in jira, patches are also welcome :) -igor On Mon, Mar 17, 2008 at 7:43 PM, James Carman <[EMAIL PROTECTED]> wrote: > +1, very frustrating indeed. If we could make them stateless, that'd be > great! > > > > On 3/17/08, Ned Collyer <[EMAIL PROTECTED]> wrote: > > > > Hi,

Re: Wicketstuff source pages - can we make them stateless?

2008-03-17 Thread James Carman
+1, very frustrating indeed. If we could make them stateless, that'd be great! On 3/17/08, Ned Collyer <[EMAIL PROTECTED]> wrote: > > Hi, > > I enjoy clicking around the source at http://www.wicketstuff.org/wicket13/. > It's interesting stuff :) > > Page expiry is very frustrating, especially

Re: cannot override chechRequired ()

2008-03-17 Thread Igor Vaynberg
you still have broken validator support for that fcp. also inside formvalidator.validate() you cannot yet access the model, but only getconvertedinput() - which will always be null for your fcp so how do you validate its value inside the form validator? you probably only use it to trigger formvalid

Re: [vote] Release 1.4 with only generics and stop support for 1.3

2008-03-17 Thread brian.diekelman
+1 (Sorry, didn't see this thread before posting in the other) -- View this message in context: http://www.nabble.com/-vote--Release-1.4-with-only-generics-and-stop-support-for-1.3-tp16090054p16112208.html Sent from the Wicket - User mailing list archive at Nabble.com. --

Re: cannot override chechRequired ()

2008-03-17 Thread Vitaly Tsaplin
Thanks Igor, With the Date object we have a very nice and consistent example. I implemented my DatePicker exactly this way. But sometimes if the data is spread over different properties of a bean or even between different beans but still needs to be processed in a consistent manner the solut

StreamCorruptedException when using autocomplete

2008-03-17 Thread David Leangen
It seems to me that if there was a problem with Serialization, then normal pages would not work, right? So, does anybody have an idea why my pages generally work, but I get a StreamCorruptedException only when using the autocomplete component? The stack trace and also stepping through the code i

Re: Back button support

2008-03-17 Thread mfs
The BB issue wicket solves is in the context of stateful frameworks only in my opinion...I dont think the same would be an issue in stateless frameworks like struts or even with conventional jsp/servlet programming, given their stateless nature.. Excerpt from a wicket wiki page.. "Suppose you ha

Re: cannot override chechRequired ()

2008-03-17 Thread Igor Vaynberg
well, you dont want to implement input processing, yet you are using setrequired - which is used in that processing...you see the delema? what you should do is: class mypanel extends fcp { public mypanel { super(id, new Model()); } convertinput() { setconvertedinput(Boolean.TRUE); } }

Re: Planning Wicket Next Generation

2008-03-17 Thread brian.diekelman
+1 for 'Option B': 1.4=generics, drop java 1.4 support This is coming from a large DoD application (notoriously behind the technology power curve), the only thing not generified is our UI (Wicket) stuff. I think maintaining 'one behind' JVM compatibility is sufficient. I mean, come on... Java

Wicketstuff source pages - can we make them stateless?

2008-03-17 Thread Ned Collyer
Hi, I enjoy clicking around the source at http://www.wicketstuff.org/wicket13/. It's interesting stuff :) Page expiry is very frustrating, especially when you tab back to the code to see how something is achieved. Can we make the code pages either static or stateless, so I can bookmark them, s

Re: cannot override chechRequired ()

2008-03-17 Thread Vitaly Tsaplin
My component accepts 3 models as parameters, and uses this models internally. The component's model is not involved at all. You mean the method convertinput () must return at least something other then null? On Tue, Mar 18, 2008 at 1:10 AM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > i assumed y

Back button support

2008-03-17 Thread Java Developer
Been reading about wicket and would want to know the context in which the back button problem is being talked about..the only problem i have faced with respect to back button is the double form submission, cant frame myself in the right context...Can someone give a real life example of what problem

Re: cannot override chechRequired ()

2008-03-17 Thread Igor Vaynberg
i assumed you properly implemented convertinput(). you cannot call setrequired(true) on the formcomponentpanel and then expect to completely avoid the required check. the required check is two-pronged. first half is done in the checkRequired() and works on the raw input. second part makes sure tha

Re: Pretty DataView urls

2008-03-17 Thread Gerolf Seitz
yes, unfortunately, one would have to live with that. should've mentioned that ;) On Mon, Mar 17, 2008 at 7:30 PM, Matej Knopp <[EMAIL PROTECTED]> wrote: > Creating new page version every time... > > -Matej > > On Mon, Mar 17, 2008 at 7:17 PM, Gerolf Seitz <[EMAIL PROTECTED]> > wrote: > > the fol

Re: [vote] Release 1.4 with only generics and stop support for 1.3

2008-03-17 Thread Daniel Stoch
+1 Daniel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [vote] Release 1.4 with only generics and stop support for 1.3

2008-03-17 Thread Eelco Hillenius
[ x ] +1, Wicket 1.4 is 1.3 + generics, drop support for 1.3 [ ] -1, I need a supported version running on Java 1.4 Eelco - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [discuss] Release 1.4 with only generics and stop support for 1.3

2008-03-17 Thread Eelco Hillenius
On Mon, Mar 17, 2008 at 3:31 PM, Alex Jacoby <[EMAIL PROTECTED]> wrote: > Just curious what experiences people had with serialization and > generics, never having played there myself... No particular issues; just works like it would work with non-generified code. Eelco -

Re: [vote] Release 1.4 with only generics and stop support for 1.3

2008-03-17 Thread Alex Jacoby
+1 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: cannot override chechRequired ()

2008-03-17 Thread Vitaly Tsaplin
It seem it happens because the method getConvertedInput () of the FormComponentPanel returns null since methods setConvertedInput (), setModeValue and convertInput() were never called. public final void validate() { validateRequired(); if (isValid

Re: [discuss] Release 1.4 with only generics and stop support for 1.3

2008-03-17 Thread Johan Compagner
what do those 2 have to do with each other? On Mon, Mar 17, 2008 at 11:31 PM, Alex Jacoby <[EMAIL PROTECTED]> wrote: > Just curious what experiences people had with serialization and > generics, never having played there myself... > > On Mar 17, 2008, at 4:13 AM, Martijn Dashorst wrote: > > > Thi

Re: [discuss] Release 1.4 with only generics and stop support for 1.3

2008-03-17 Thread Alex Jacoby
Just curious what experiences people had with serialization and generics, never having played there myself... On Mar 17, 2008, at 4:13 AM, Martijn Dashorst wrote: This thread is the accompanying discussion thread for the ongoing vote on the same subject. Please use this discussion thread for

Re: Planning Wicket Next Generation

2008-03-17 Thread Alex Jacoby
+1 for generics On Mar 17, 2008, at 8:33 AM, Ryan McKinley wrote: yes, generics! It would make the model business so much more clear. ryan Enrique Rodriguez wrote: On Sun, Mar 16, 2008 at 9:32 PM, Ned Collyer <[EMAIL PROTECTED]> wrote: FWIW +1 to java5 and 1.3. Generics == joy, especial

Re: [vote] Release 1.4 with only generics and stop support for 1.3

2008-03-17 Thread Ned Collyer
+1 (poor Juan - will he demand a recount?) -- View this message in context: http://www.nabble.com/-vote--Release-1.4-with-only-generics-and-stop-support-for-1.3-tp16090054p16105701.html Sent from the Wicket - User mailing list archive at Nabble.com. ---

Re: cannot override chechRequired ()

2008-03-17 Thread Vitaly Tsaplin
True. But I do... unfortunately. On Mon, Mar 17, 2008 at 11:15 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > you should not, since checkrequired() will pass. > > -igor > > > On Mon, Mar 17, 2008 at 2:47 PM, Vitaly Tsaplin > > > <[EMAIL PROTECTED]> wrote: > >Ok :) > > > >I have the

Re: cannot override chechRequired ()

2008-03-17 Thread Igor Vaynberg
you should not, since checkrequired() will pass. -igor On Mon, Mar 17, 2008 at 2:47 PM, Vitaly Tsaplin <[EMAIL PROTECTED]> wrote: >Ok :) > >I have the following > >checkRequired () { > return true; >} > >isRequired () { > return true; >} > >In the case abov

Re: My Wicket Flickr Demo a la Ruby On Rails

2008-03-17 Thread Igor Vaynberg
there are a couple of things i would change 1) add(new StyleSheetReference("pageCss", getClass(), "flickr.css")); do you really need that? can you not simply put link tag inside wicket:link tags? 2) // Initially there is no photo to display so add a temporary place holder component to make Wicke

Re: [vote] Release 1.4 with only generics and stop support for 1.3

2008-03-17 Thread Daniel Walmsley
+1, Wicket 1.4 is 1.3 + generics, drop support for 1.3On 18/03/2008, at 3:35 AM, Jeremy Thomerson wrote:+1, Wicket 1.4 is 1.3 + generics, drop support for 1.3On Mon, Mar 17, 2008 at 3:13 AM, Martijn Dashorst <[EMAIL PROTECTED]> wrote:This thread is for voting only. Use the [discuss] thread for voic

Re: cannot override chechRequired ()

2008-03-17 Thread Vitaly Tsaplin
Ok :) I have the following checkRequired () { return true; } isRequired () { return true; } In the case above Do I have an error message saying that the field is required? On Mon, Mar 17, 2008 at 10:42 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > no, that mean

Re: My Wicket Flickr Demo a la Ruby On Rails

2008-03-17 Thread Matej Knopp
Hi, that's certainly a very nice tutorial! You could consider IAjaxCallDecorator instead of directly modyfing the onclick attribute. See AjaxButton#getAjaxCallDecorator(); -Matej On Mon, Mar 17, 2008 at 9:04 PM, Matthew Young <[EMAIL PROTECTED]> wrote: > Hi, I am new to Wicket and to help me lea

Re: cannot override chechRequired ()

2008-03-17 Thread Igor Vaynberg
no, that means that effectively required check is disabled - eg it always passes -igor On Mon, Mar 17, 2008 at 2:15 PM, Vitaly Tsaplin <[EMAIL PROTECTED]> wrote: > If the method checkRequired () returns TRUE that means, I guess, the > requirement condition check must always pass, but it doesn'

Re: Is it possible to auto discover images in ?

2008-03-17 Thread smallufo
Oops , sorry for my trivial question. 2008/3/18, Martin Grigorov <[EMAIL PROTECTED]>: > > Wrap them all in . > > > On Tue, 2008-03-18 at 04:22 +0800, smallufo wrote: > > I have a lot of images bound to some component under the same directory. > > Images and htmls are located at the same directory

Re: cannot override chechRequired ()

2008-03-17 Thread Vitaly Tsaplin
If the method checkRequired () returns TRUE that means, I guess, the requirement condition check must always pass, but it doesn't happens. On Mon, Mar 17, 2008 at 10:09 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > the reason formcomponentpanel.checkrequired() always returns true is > that for

Re: ListView Problem (contains varying number of components inside)

2008-03-17 Thread Martijn Dashorst
You really, really should read: http://cwiki.apache.org/WICKET/working-with-wicket-models.html On 3/17/08, Fatih Mehmet UÇAR <[EMAIL PROTECTED]> wrote: > > > I am newbie on wicket and it is starting to impress me. > It is a perfect web framework. > Thx everyone. > Fatih > > > final ListView p

Re: cannot override chechRequired ()

2008-03-17 Thread Igor Vaynberg
the reason formcomponentpanel.checkrequired() always returns true is that for a formcomponentpanel it is often a noop. so that is the best default implementation we can provide. you can always override it to implement some logic if you need... -igor On Mon, Mar 17, 2008 at 1:13 PM, Vitaly Tsapli

Re: Notify of wicket session destroy

2008-03-17 Thread Martijn Lindhout
thanx, that's a simple one! 2008/3/17, Johan Compagner <[EMAIL PROTECTED]>: > > keep track of all the sessionids that have logged in in an List that you > keep on your Application object. > > > > > > On Mon, Mar 17, 2008 at 9:10 PM, Martijn Lindhout < > [EMAIL PROTECTED]> > wrote: > > > > Hi all,

Re: Is it possible to auto discover images in ?

2008-03-17 Thread Martin Grigorov
Wrap them all in . On Tue, 2008-03-18 at 04:22 +0800, smallufo wrote: > I have a lot of images bound to some component under the same directory. > Images and htmls are located at the same directory in classes/ , > It's necessary to assign wicket:id for each tag. > It is tedious and error-prone ,

Re: Notify of wicket session destroy

2008-03-17 Thread Johan Compagner
keep track of all the sessionids that have logged in in an List that you keep on your Application object. On Mon, Mar 17, 2008 at 9:10 PM, Martijn Lindhout <[EMAIL PROTECTED]> wrote: > Hi all, > > In my application I track the number of users logged in. When they logout, > I > decrement the co

Linking radio buttons to textfield model update

2008-03-17 Thread Michael Mehrle
I've got a group of seven radio buttons, some of which are supposed to be correlated with a textfield. Meaning, when I select a particular radio button the textfield on its right side is supposed to get a cursor focus. Similarly, whenever I change my radio button selection, I need any previously en

Re: Wicket ModalWindow vs Other

2008-03-17 Thread jeredm
I am using the ModalWindow. mnwicket wrote: > > Just out of curiosity, are most people using the ModalWindow provided by > the extensions project or are they wrapping a custom component around an > existing javascript lib? If the second option, what libs are people using > and can anyone provid

Re: Digg / Technorati / del.icio.us Component?

2008-03-17 Thread Jeremy Thomerson
Thank you!! I added the AddThis button. Someone had sent me a screenshot of how they wanted the button to look, and I couldn't tell that it was a screenshot of the AddThis button. Thanks again, Jeremy Thomerson On Sat, Mar 15, 2008 at 4:18 AM, Martin Makundi < [EMAIL PROTECTED]> wrote: > What

Re: Wicket ModalWindow vs Other

2008-03-17 Thread Stefan Lindner
We make heave use of the ModalWindow provided by the extensions project. It works very well. -Ursprüngliche Nachricht- Von: mnwicket [mailto:[EMAIL PROTECTED] Gesendet: Montag, 17. März 2008 20:36 An: users@wicket.apache.org Betreff: Wicket ModalWindow vs Other Just out of curiosity, a

Is there something like HybridUrlCodingStrategy for normal GET parameters?

2008-03-17 Thread Chris Lintz
Hey all, So the HybridUrlCodingStrategy is great for AJAX pages. I have a bit of an issue where I need something like the HybridUrlCodingStrategy except it can take GET parameters and not lose its mount point. Anyone know of something like this out there? From the Wicket Java docs, it doesn't a

Re: Notify of wicket session destroy

2008-03-17 Thread Maurice Marrink
Take a look at the IRequestLogger interface it provides all sorts of statistics although not the number of authenticated users, but maybe you can customize the SessionData class a bit to include that information. Maurice On Mon, Mar 17, 2008 at 9:10 PM, Martijn Lindhout <[EMAIL PROTECTED]> wrote:

Is it possible to auto discover images in ?

2008-03-17 Thread smallufo
I have a lot of images bound to some component under the same directory. Images and htmls are located at the same directory in classes/ , It's necessary to assign wicket:id for each tag. It is tedious and error-prone , and refactory-unfriendly ( ResourceReference(Clazz.class , "filename.jpg") ); "

Re: Wicket ModalWindow vs Other

2008-03-17 Thread Maurice Marrink
We had a custom dialog but we replaced it with modalwindow. Now we are using it all over the place. Maurice On Mon, Mar 17, 2008 at 8:35 PM, mnwicket <[EMAIL PROTECTED]> wrote: > > Just out of curiosity, are most people using the ModalWindow provided by the > extensions project or are they wrap

Re: cannot override chechRequired ()

2008-03-17 Thread Vitaly Tsaplin
I run into this problem implementing my own component as a subclass of the FormComponentPanel class. In my case the method checkRequired just always returns TRUE but if I set required property to TRUE the component always generate a validation error (field bla-bla-bla is required). On Mon, Mar

Notify of wicket session destroy

2008-03-17 Thread Martijn Lindhout
Hi all, In my application I track the number of users logged in. When they logout, I decrement the count. However, not every user will do an explicit logout, so I have to depend on the container to destroy the session. Because not all sessions are 'logged in' sessions, I need to check wheter the u

Re: cannot override chechRequired ()

2008-03-17 Thread Vitaly Tsaplin
I am not sure but I suspect that if the method checkRequired returns true a requirement condition must always met in any case or the behavior is different? On Mon, Mar 17, 2008 at 8:57 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > why should we call checkrequired() twice? > > -igor > > > On

Re: How to validate without submitting a form

2008-03-17 Thread John Krasnay
On Mon, Mar 17, 2008 at 11:44:19AM -0700, BertrandDatas wrote: > > Yes, surely I could but it is not the case I want to make the validation > during the onSubmit of a dynamically generated button which is embed in a > panel and this panel is in the form that I want to validate , so I cannot do > t

My Wicket Flickr Demo a la Ruby On Rails

2008-03-17 Thread Matthew Young
Hi, I am new to Wicket and to help me learn, I created a Wicket version of the Flickr demo like the one on the Ruby on Rails site seen here http://www.rubyonrails.org/screencasts. I put my version in my blog here: http://limboville.blogspot.com/2008_03_01_archive.html. Please take a look and give

Re: cannot override chechRequired ()

2008-03-17 Thread Igor Vaynberg
why should we call checkrequired() twice? -igor On Mon, Mar 17, 2008 at 12:06 PM, Vitaly Tsaplin <[EMAIL PROTECTED]> wrote: >It should be probably like this > > if (isValid() && (isRequired() ? !checkRequired > () : true) && getConvertedInput() == null && isInputNullab

RE: ListView Problem (contains varying number of components inside)

2008-03-17 Thread Fatih Mehmet UÇAR
I am newbie on wicket and it is starting to impress me. It is a perfect web framework. Thx everyone. Fatih final ListView productPropertyList = . Found it :) ListItem item = (ListItem) productPropertyList.iterator().next(); DropDownChoice d= (DropDownChoice) item.get("dropDown"); Sys

Re: [vote] Release 1.4 with only generics and stop support for 1.3

2008-03-17 Thread Doug Leeper
[ X ] +1, Wicket 1.4 is 1.3 + generics, drop support for 1.3 [ ] -1, I need a supported version running on Java 1.4 -- View this message in context: http://www.nabble.com/-vote--Release-1.4-with-only-generics-and-stop-support-for-1.3-tp16090054p16100542.html Sent from the Wicket - User mailing

Wicket ModalWindow vs Other

2008-03-17 Thread mnwicket
Just out of curiosity, are most people using the ModalWindow provided by the extensions project or are they wrapping a custom component around an existing javascript lib? If the second option, what libs are people using and can anyone provide their experiences and possibly code. -- View this mes

RE: ListView Problem (contains varying number of components inside)

2008-03-17 Thread Fatih Mehmet UÇAR
Hi Michael, Thanks for your reply. I have looked closer just after sending the email found the problem and fixed it same as you have told. The new problem I am facing is, how to get the selected values of the select boxes. Would you please give me an idea on how to do this. Thx. Fatih -Orig

Re: Links on a sortable column

2008-03-17 Thread Phil Grimm
Johnnie, All you need to do is override PropertyColumn#populateItem() as I've done below. The column is still sortable. In my case, I add an ExternalLink to the cell that does a popup, but this code gives you the general idea. Phil columns.add(new PropertyColumn(new Model("Title"), "tit

Re: cannot override chechRequired ()

2008-03-17 Thread Vitaly Tsaplin
It should be probably like this if (isValid() && (isRequired() ? !checkRequired () : true) && getConvertedInput() == null && isInputNullable()) the second check. Doesn't call the chechRequired () { reportRequired

Re: [vote] Release 1.4 with only generics and stop support for 1.3

2008-03-17 Thread Wouter de Vaal
+1 Wouter On Mon, Mar 17, 2008 at 9:13 AM, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > This thread is for voting only. Use the [discuss] thread for voicing > your opinion or asking questions. This makes counting the votes much > easier. > > The discussion on our development list makes it cle

Re: cannot override chechRequired ()

2008-03-17 Thread Vitaly Tsaplin
But if checkRequired () returns true isRequired () called again generating a validation error... if (isValid() && isRequired() && getConvertedInput() == null && isInputNullable()) the second check. Doesn't call the chechRequired () {

RE: wicket-suckerfish

2008-03-17 Thread Hoover, William
Ahhh... does anyone know if a release is planned in the near future? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of James Carman Sent: Monday, March 17, 2008 2:38 PM To: users@wicket.apache.org Subject: Re: wicket-suckerfish It doesn't look like it's had a

Re: LinkTree Node Refresh

2008-03-17 Thread Matej Knopp
That's really weird. updateTree() should work in all supported browsers. -Matej On Mon, Mar 17, 2008 at 6:34 PM, jeredm <[EMAIL PROTECTED]> wrote: > > One more note. The updateTree() call did work in Firefox, but not in IE6 or > IE7. > > > > > Matej Knopp-2 wrote: > > > > Hi, > > > > you

Re: ListView Problem (contains varying number of components inside)

2008-03-17 Thread Michael O'Cleirigh
Hi Fatih, The problem is that you have not set a model on your drop down choice so there is a null model which causes the exception you see to be generated. Caused by: java.lang.IllegalStateException: Attempt to set model object on null model of component: productProposalForm:productsPropertyL

Re: Links on a sortable column

2008-03-17 Thread Johnnie
Martijn, What I need is something like the "Actions" column on the "DataTable Example" found at http://wicketstuff.org/wicket13/repeater/ but the column should be sortable just like the "First Name" and "Last Name" columns of that same example. Regards, Johnnie Martijn Dashorst wrote: > > cr

Re: cannot override chechRequired ()

2008-03-17 Thread Igor Vaynberg
sure it does, see the first line of validate() -igor On Mon, Mar 17, 2008 at 11:06 AM, Vitaly Tsaplin <[EMAIL PROTECTED]> wrote: >Hi guys, > >It seams that there is a bug in the FormComponent code. I try to > override chechRequired method but it seams to not work at all. >Here is a

Re: How to validate without submitting a form

2008-03-17 Thread BertrandDatas
Yes, surely I could but it is not the case I want to make the validation during the onSubmit of a dynamically generated button which is embed in a panel and this panel is in the form that I want to validate , so I cannot do this. Thanks for your purpose, may be you have an other idea about my p

Re: wicket-suckerfish

2008-03-17 Thread James Carman
It doesn't look like it's had a release yet. It's at 1.0-SNAPSHOT still. On 3/17/08, Hoover, William <[EMAIL PROTECTED]> wrote: > Shouldn't it be available through a public repository? > > > -Original Message- > From: Kai Mütz [mailto:[EMAIL PROTECTED] > > Sent: Monday, March 17, 2008 1

RE: wicket-suckerfish

2008-03-17 Thread Hoover, William
Shouldn't it be available through a public repository? -Original Message- From: Kai Mütz [mailto:[EMAIL PROTECTED] Sent: Monday, March 17, 2008 12:59 PM To: users@wicket.apache.org Subject: Re: wicket-suckerfish Hoover, William schrieb: > Thanks, but I was looking for a way I could inclu

Re: Pretty DataView urls

2008-03-17 Thread Matej Knopp
Creating new page version every time... -Matej On Mon, Mar 17, 2008 at 7:17 PM, Gerolf Seitz <[EMAIL PROTECTED]> wrote: > the following works for me: > > // in your callback method > PageParameters params = new PageParameters(); > params.put("page", getPageNumber()); > setResponsePage(MyPage.

Re: [vote] Release 1.4 with only generics and stop support for 1.3

2008-03-17 Thread Stefan Jozsa
+1 Stefan Jozsa - Never miss a thing. Make Yahoo your homepage.

Re: Pretty DataView urls

2008-03-17 Thread Gerolf Seitz
the following works for me: // in your callback method PageParameters params = new PageParameters(); params.put("page", getPageNumber()); setResponsePage(MyPage.class, params); setRedirect(true); where MyPage.class would typically be the same page the component is on. to make it more "generic", y

Re: Pretty DataView urls

2008-03-17 Thread James Carman
Can you use the Ajax version? On 3/17/08, Dan Kaplan <[EMAIL PROTECTED]> wrote: > Hello, > > > > Is it possible to have pretty dataview urls when someone clicks on different > pages of the navigator? Right now it says stuff like ::interface.7.1 or > something. I'd prefer it to say something l

Re: Pretty DataView urls

2008-03-17 Thread Matej Knopp
You can mount your page using HybridUrlCodingStrateg. The resulting url won't carry the currently selected page information, but it will be much nicer than a interface listener url you are having now. -Matej On Mon, Mar 17, 2008 at 7:07 PM, Dan Kaplan <[EMAIL PROTECTED]> wrote: > Hello, > > > >

Pretty DataView urls

2008-03-17 Thread Dan Kaplan
Hello, Is it possible to have pretty dataview urls when someone clicks on different pages of the navigator? Right now it says stuff like ::interface.7.1 or something. I'd prefer it to say something like /home?page=7

cannot override chechRequired ()

2008-03-17 Thread Vitaly Tsaplin
Hi guys, It seams that there is a bug in the FormComponent code. I try to override chechRequired method but it seams to not work at all. Here is a snippet from the sources. As you can see there is a second requirement check. /** * Checks if the raw input value is not nul

Re: [vote] Release 1.4 with only generics and stop support for 1.3

2008-03-17 Thread Kai Mütz
Martijn Dashorst schrieb: Everybody is invited to vote! Please use [ ] +1, Wicket 1.4 is 1.3 + generics, drop support for 1.3 [ ] -1, I need a supported version running on Java 1.4 Let your voices be heard! +1 - To unsubscr

ListView Problem (contains varying number of components inside)

2008-03-17 Thread Fatih Mehmet UÇAR
Hi, I am using a ListView to render the dynamic number of select boxes and their options. I have added all select boxes into a ListView object and listView into a form and trying to calculate a final price using all selected values from select boxes. However, when I submit the f

Re: Support for

2008-03-17 Thread Kaspar Fischer
Jonas, Gerolf, thanks a lot for your answers! I've just set up my build environment to use the latest wicket-extensions -- great! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [vote] Release 1.4 with only generics and stop support for 1.3

2008-03-17 Thread Martin Grigorov
[X] +1, Wicket 1.4 is 1.3 + generics, drop support for 1.3 Martin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [vote] Release 1.4 with only generics and stop support for 1.3

2008-03-17 Thread Matthew Young
+1 On Mon, Mar 17, 2008 at 1:13 AM, Martijn Dashorst < [EMAIL PROTECTED]> wrote: > This thread is for voting only. Use the [discuss] thread for voicing > your opinion or asking questions. This makes counting the votes much > easier. > > The discussion on our development list makes it clear that a

RE: Digg / Technorati / del.icio.us Component?

2008-03-17 Thread Dan Kaplan
You might want to look at sharethis.com I'm not affiliated with them and it's not wicket related but it may be just what you're looking for. -Original Message- From: Igor Vaynberg [mailto:[EMAIL PROTECTED] Sent: Saturday, March 15, 2008 12:05 AM To: users@wicket.apache.org; [EMAIL PROTEC

Re: [vote] Release 1.4 with only generics and stop support for 1.3

2008-03-17 Thread Uwe Schäfer
+1 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: LinkTree Node Refresh

2008-03-17 Thread jeredm
One more note. The updateTree() call did work in Firefox, but not in IE6 or IE7. Matej Knopp-2 wrote: > > Hi, > > you shouldn't do target.addComponent(tree). You shouldo only call > tree.upateTree() (or tree.updateTree(target), should do the same > thing). Also you could consider using Defaul

Re: [vote] Release 1.4 with only generics and stop support for 1.3

2008-03-17 Thread Enrique Rodriguez
On Mon, Mar 17, 2008 at 1:13 AM, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > ... > Everybody is invited to vote! Please use [ X ] +1, Wicket 1.4 is 1.3 + generics, drop support for 1.3 [ ] -1, I need a supported version running on Java 1.4 Enrique

Re: Is wicket an efficient, enterprise level web framework?

2008-03-17 Thread Igor Vaynberg
naah, man. jsf is not an enterprise ready framework. just look for struts jobs, there are like 30x more then jsf jobs. struts is the real enterprise-ready web framework. -igor On Mon, Mar 17, 2008 at 3:58 AM, Vitaly Tsaplin <[EMAIL PROTECTED]> wrote: >I am just looking at the number of job o

Re: Links on a sortable column

2008-03-17 Thread Phil Grimm
I used the "Data Table Example" on this page for sorting/pagination: http://www.wicket-library.com/wicket-examples/repeater/ Here's code I did to make the cells in one of the columns into links: columns.add(new PropertyColumn(new Model("Title"), "title", "title") { //

Re: [vote] Release 1.4 with only generics and stop support for 1.3

2008-03-17 Thread Jeremy Levy
+1 On Mon, Mar 17, 2008 at 1:15 PM, djo.mos <[EMAIL PROTECTED]> wrote: > > [ ] +1, Wicket 1.4 is 1.3 + generics, drop support for 1.3 > -- > View this message in context: > http://www.nabble.com/-vote--Release-1.4-with-only-generics-and-stop-support-for-1.3-tp16090054p16097038.html > Sent from th

Re: [vote] Release 1.4 with only generics and stop support for 1.3

2008-03-17 Thread djo.mos
[ ] +1, Wicket 1.4 is 1.3 + generics, drop support for 1.3 -- View this message in context: http://www.nabble.com/-vote--Release-1.4-with-only-generics-and-stop-support-for-1.3-tp16090054p16097038.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: [vote] Release 1.4 with only generics and stop support for 1.3

2008-03-17 Thread Fabrizio Giudici
+1 -- Fabrizio Giudici, Ph.D. - Java Architect, Project Manager Tidalwave s.a.s. - "We make Java work. Everywhere." weblogs.java.net/blog/fabriziogiudici - www.tidalwave.it/blog [EMAIL PROTECTED] - mobile: +39 348.150.6941 -

Re: Links on a sortable column

2008-03-17 Thread jeredm
You might check out this control. http://www.inmethod.com/ I have not used it outside of the demo on the website, but somebody suggested it to me when I was asking about sorting. I was looking for a drag and drop sort, so I didn't use the control. This control does have sortable and resizable

  1   2   >