Re: [Wicket-user] Tri-state checkbox
Alex Objelean wrote: >The logic is simple: if you check a node - the checked Role is added to > the list of selected Roles, otherwise it is removed from the list. At the > same time, if you check a child - all the ancestors changes theirs state to > intermediate (if their current state is unchecked, otherwise it doesn't > change it's state). The intermediate state has the same meaning as unchecked > state (its only purpose is to visually inform user about the implicit Roles > are assigned to the list of selected Roles). It sounds to me like the model (data) is that of a standard checkbox, True or False. The intermediate state is only a visual cue for the user to represent a 'True' value higher up the hierarchic. If this is the case, why don't you use standard HTML Checkbox components and use javascript to 'color', 'shade' or otherwise 'mark' the ancestors of a checked parent? - Jason B. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Tri-state checkbox
> I would like such a more general component (core or extentions) I'm looking forward to whatever you come up with :) Eelco - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Tri-state checkbox
i dont think it is typically a tree functionality i would use such a componentfar most often in another area. Especially required checkboxes..I would like such a more general component (core or extentions) johanOn 8/31/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote: On 8/31/06, Johan Compagner <[EMAIL PROTECTED]> wrote:> you don't have to use ajax or something> the click can just be a img src tag replaceTechnically, you don't have to, but as this typically is tree functionality, it is wise - imho - to do so. Furthermore, on a clickyou should update, as this not only effects that one node in the tree,but also it's children.Eelco- Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___ Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Tri-state checkbox
On 8/31/06, Johan Compagner <[EMAIL PROTECTED]> wrote: > you don't have to use ajax or something > the click can just be a img src tag replace Technically, you don't have to, but as this typically is tree functionality, it is wise - imho - to do so. Furthermore, on a click you should update, as this not only effects that one node in the tree, but also it's children. Eelco - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Tri-state checkbox
you don't have to use ajax or somethingthe click can just be a img src tag replace You do need a hidden field and update what value is set on the backend the component should have a "renderer" something like the IChoiceRenderer where you map the 3 states to your real object that you want in a modelwhat ever that is.johanOn 8/31/06, Eelco Hillenius < [EMAIL PROTECTED]> wrote:If I were to create that component, I probably would not extend from CheckBox as both the model is semantically different and the renderingis done a different way. Instead, I would extend FormComponentdirectly. I also would not choose for a model that hastrue/false/null, which would imo be no less than a hack. I think I would go for having a model with values none/all/some (enum)to represent what you're actually modelling, and I'd use an elementwith three images that when clicked uses _javascript_ to do an ajax call (if you can use ajax) and replaces the image with another.EelcoOn 8/31/06, Alex Objelean <[EMAIL PROTECTED]> wrote:>> I am glad that so many people start to debate in this topic. First of all I > need to explain my usecase:>> it is indeed about a tree... I have a tree containing Roles (hierarchical> structure). There is a screen in which the user must select the Roles which> he want to assign to a user. >The logic is simple: if you check a node - the checked Role is added to> the list of selected Roles, otherwise it is removed from the list. At the> same time, if you check a child - all the ancestors changes theirs state to > intermediate (if their current state is unchecked, otherwise it doesn't> change it's state). The intermediate state has the same meaning as unchecked> state (its only purpose is to visually inform user about the implicit Roles > are assigned to the list of selected Roles).>This kind of usecase is not singular. I am sure it would be very usefull> in many more situations, depending on applications needs.>Why I thought it would be a good ideea to extend the Checkbox > FormComponent, is because it has almost the same functionality excepting the> existence of the intermediate state. The model object in this case should be> a Boolean object, holding the following values : [null, true, false] (the > same ideea was posted by someone earlier)...>Another problem which must be taken in consideration is if the change of> state of this component should cause the form submition or not (see the Igor > and Korbinian Bachl posts)... The way I thought to use it in my use case was> pro submiting the form & updating the whole tree, but Igor is right - this> involves a lot of data being sent to the server, which for a large tree > structure can become unacceptable... I think, there can be different> approaches (each having its pros and cons)... Anyway, if you have any> thougths regarding the way this component can be implemented - they are > welcome and thank you all for your posts!>>> Eelco Hillenius wrote:> >> > That's an interesting Widget! How would it work on the server side > > though... what kind of model would it need.> >> > I'd be interested to hear about how you plan to use it. It seems this> > is a component you'd always use with a tree, correct? If so it would > > just be a matter of letting the tree render the proper node images.> >> > Eelco> >> >> >> Maybe I was not clear enough in my specification. If I would not say that > >> I> >> need a tri-state checkbox, but a formComponent which looks like checkbox> >> (see here:> >> http://www.indigorose.com/webhelp/vp20/Program_Reference/Misc/Tri-state_Checkbox.htm)> >> would it make sense? At the end, it is a component like any other> >> component> >> and it has nothing to do with the w3c.org specification...> >> > -> > Using Tomcat but need to do more? Need to support web services, security? > > Get stuff done quickly with pre-integrated technology to make your job> > easier> > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642> > ___> > Wicket-user mailing list> > Wicket-user@lists.sourceforge.net> > https://lists.sourceforge.net/lists/listinfo/wicket-user> >> >>> -- > View this message in context: http://www.nabble.com/Tri-state-checkbox-tf2188974.html#a6074389> Sent from the Wicket - User forum at Nabble.com.>>> -> Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642> ___> Wicket-user mailing list> Wicket-user@lists.sourceforge.net> https://lists.sourceforge.net/l
Re: [Wicket-user] Tri-state checkbox
If I were to create that component, I probably would not extend from CheckBox as both the model is semantically different and the rendering is done a different way. Instead, I would extend FormComponent directly. I also would not choose for a model that has true/false/null, which would imo be no less than a hack. I think I would go for having a model with values none/all/some (enum) to represent what you're actually modelling, and I'd use an element with three images that when clicked uses Javascript to do an ajax call (if you can use ajax) and replaces the image with another. Eelco On 8/31/06, Alex Objelean <[EMAIL PROTECTED]> wrote: > > I am glad that so many people start to debate in this topic. First of all I > need to explain my usecase: > > it is indeed about a tree... I have a tree containing Roles (hierarchical > structure). There is a screen in which the user must select the Roles which > he want to assign to a user. >The logic is simple: if you check a node - the checked Role is added to > the list of selected Roles, otherwise it is removed from the list. At the > same time, if you check a child - all the ancestors changes theirs state to > intermediate (if their current state is unchecked, otherwise it doesn't > change it's state). The intermediate state has the same meaning as unchecked > state (its only purpose is to visually inform user about the implicit Roles > are assigned to the list of selected Roles). >This kind of usecase is not singular. I am sure it would be very usefull > in many more situations, depending on applications needs. >Why I thought it would be a good ideea to extend the Checkbox > FormComponent, is because it has almost the same functionality excepting the > existence of the intermediate state. The model object in this case should be > a Boolean object, holding the following values : [null, true, false] (the > same ideea was posted by someone earlier)... >Another problem which must be taken in consideration is if the change of > state of this component should cause the form submition or not (see the Igor > and Korbinian Bachl posts)... The way I thought to use it in my use case was > pro submiting the form & updating the whole tree, but Igor is right - this > involves a lot of data being sent to the server, which for a large tree > structure can become unacceptable... I think, there can be different > approaches (each having its pros and cons)... Anyway, if you have any > thougths regarding the way this component can be implemented - they are > welcome and thank you all for your posts! > > > > > > > Eelco Hillenius wrote: > > > > That's an interesting Widget! How would it work on the server side > > though... what kind of model would it need. > > > > I'd be interested to hear about how you plan to use it. It seems this > > is a component you'd always use with a tree, correct? If so it would > > just be a matter of letting the tree render the proper node images. > > > > Eelco > > > > > >> Maybe I was not clear enough in my specification. If I would not say that > >> I > >> need a tri-state checkbox, but a formComponent which looks like checkbox > >> (see here: > >> http://www.indigorose.com/webhelp/vp20/Program_Reference/Misc/Tri-state_Checkbox.htm) > >> would it make sense? At the end, it is a component like any other > >> component > >> and it has nothing to do with the w3c.org specification... > > > > - > > Using Tomcat but need to do more? Need to support web services, security? > > Get stuff done quickly with pre-integrated technology to make your job > > easier > > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > ___ > > Wicket-user mailing list > > Wicket-user@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > > -- > View this message in context: > http://www.nabble.com/Tri-state-checkbox-tf2188974.html#a6074389 > Sent from the Wicket - User forum at Nabble.com. > > > - > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > ___ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1
Re: [Wicket-user] Tri-state checkbox
I am glad that so many people start to debate in this topic. First of all I need to explain my usecase: it is indeed about a tree... I have a tree containing Roles (hierarchical structure). There is a screen in which the user must select the Roles which he want to assign to a user. The logic is simple: if you check a node - the checked Role is added to the list of selected Roles, otherwise it is removed from the list. At the same time, if you check a child - all the ancestors changes theirs state to intermediate (if their current state is unchecked, otherwise it doesn't change it's state). The intermediate state has the same meaning as unchecked state (its only purpose is to visually inform user about the implicit Roles are assigned to the list of selected Roles). This kind of usecase is not singular. I am sure it would be very usefull in many more situations, depending on applications needs. Why I thought it would be a good ideea to extend the Checkbox FormComponent, is because it has almost the same functionality excepting the existence of the intermediate state. The model object in this case should be a Boolean object, holding the following values : [null, true, false] (the same ideea was posted by someone earlier)... Another problem which must be taken in consideration is if the change of state of this component should cause the form submition or not (see the Igor and Korbinian Bachl posts)... The way I thought to use it in my use case was pro submiting the form & updating the whole tree, but Igor is right - this involves a lot of data being sent to the server, which for a large tree structure can become unacceptable... I think, there can be different approaches (each having its pros and cons)... Anyway, if you have any thougths regarding the way this component can be implemented - they are welcome and thank you all for your posts! Eelco Hillenius wrote: > > That's an interesting Widget! How would it work on the server side > though... what kind of model would it need. > > I'd be interested to hear about how you plan to use it. It seems this > is a component you'd always use with a tree, correct? If so it would > just be a matter of letting the tree render the proper node images. > > Eelco > > >> Maybe I was not clear enough in my specification. If I would not say that >> I >> need a tri-state checkbox, but a formComponent which looks like checkbox >> (see here: >> http://www.indigorose.com/webhelp/vp20/Program_Reference/Misc/Tri-state_Checkbox.htm) >> would it make sense? At the end, it is a component like any other >> component >> and it has nothing to do with the w3c.org specification... > > - > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > ___ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > > -- View this message in context: http://www.nabble.com/Tri-state-checkbox-tf2188974.html#a6074389 Sent from the Wicket - User forum at Nabble.com. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Tri-state checkbox
On 8/30/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > Yeah, you thought that up yourself :) I guess that *could* be a valid > use case, though it is entirely different than this > http://www.indigorose.com/webhelp/vp20/Program_Reference/Misc/Tri-state_Checkbox.htm > component. Where the choice is not so much null/yes/no but rather some/all/none Eelco - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Tri-state checkbox
Yeah, you thought that up yourself :) I guess that *could* be a valid use case, though it is entirely different than this http://www.indigorose.com/webhelp/vp20/Program_Reference/Misc/Tri-state_Checkbox.htm component. Eelco On 8/30/06, Johan Compagner <[EMAIL PROTECTED]> wrote: > not really. > for example if you fill in a form (enquete) that has questions > then you can have this: > > Do you think this is bad? Yes/No > > But the default is nothing (because there is no data) so there is no > selection yet.. > So the null thing is a not filled in question by the user. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Tri-state checkbox
not really.for example if you fill in a form (enquete) that has questionsthen you can have this:Do you think this is bad? Yes/No But the default is nothing (because there is no data) so there is no selection yet.. So the null thing is a not filled in question by the user.johanOn 8/30/06, Eelco Hillenius < [EMAIL PROTECTED]> wrote:But it wouldn't be a direct model, as the indeterminate value would be calculated from children, right?I just wonder whether a seperate component like that would make senseif - as I think - it is something you would only use in a tree.EelcoOn 8/30/06, Johan Compagner < [EMAIL PROTECTED]> wrote:> the model could be simple:>> Boolean (null, true false)>> johan On 8/30/06, Eelco Hillenius < [EMAIL PROTECTED]> wrote:> >> That's an interesting Widget! How would it work on the server side> though... what kind of model would it need. >> I'd be interested to hear about how you plan to use it. It seems this> is a component you'd always use with a tree, correct? If so it would> just be a matter of letting the tree render the proper node images. >> Eelco>>> > Maybe I was not clear enough in my specification. If I would not say that> I> > need a tri-state checkbox, but a formComponent which looks like checkbox > > (see here:> >> http://www.indigorose.com/webhelp/vp20/Program_Reference/Misc/Tri-state_Checkbox.htm )> > would it make sense? At the end, it is a component like any other> component> > and it has nothing to do with the w3c.org specification...>> - >> Using Tomcat but need to do more? Need to support web services, security?> Get stuff done quickly with pre-integrated technology to make your job> easier> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > ___> Wicket-user mailing list> Wicket-user@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/wicket-user>>> -> Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job> easier> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642>> ___> Wicket-user mailing list> Wicket-user@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/wicket-user>>>- Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___ Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Tri-state checkbox
But it wouldn't be a direct model, as the indeterminate value would be calculated from children, right? I just wonder whether a seperate component like that would make sense if - as I think - it is something you would only use in a tree. Eelco On 8/30/06, Johan Compagner <[EMAIL PROTECTED]> wrote: > the model could be simple: > > Boolean (null, true false) > > johan > > > > On 8/30/06, Eelco Hillenius < [EMAIL PROTECTED]> wrote: > > > That's an interesting Widget! How would it work on the server side > though... what kind of model would it need. > > I'd be interested to hear about how you plan to use it. It seems this > is a component you'd always use with a tree, correct? If so it would > just be a matter of letting the tree render the proper node images. > > Eelco > > > > Maybe I was not clear enough in my specification. If I would not say that > I > > need a tri-state checkbox, but a formComponent which looks like checkbox > > (see here: > > > http://www.indigorose.com/webhelp/vp20/Program_Reference/Misc/Tri-state_Checkbox.htm) > > would it make sense? At the end, it is a component like any other > component > > and it has nothing to do with the w3c.org specification... > > - > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > ___ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > - > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > ___ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Tri-state checkbox
the model could be simple:Boolean (null, true false)johanOn 8/30/06, Eelco Hillenius < [EMAIL PROTECTED]> wrote:That's an interesting Widget! How would it work on the server side though... what kind of model would it need.I'd be interested to hear about how you plan to use it. It seems thisis a component you'd always use with a tree, correct? If so it wouldjust be a matter of letting the tree render the proper node images. Eelco> Maybe I was not clear enough in my specification. If I would not say that I> need a tri-state checkbox, but a formComponent which looks like checkbox> (see here:> http://www.indigorose.com/webhelp/vp20/Program_Reference/Misc/Tri-state_Checkbox.htm)> would it make sense? At the end, it is a component like any other component> and it has nothing to do with the w3c.org specification...-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Tri-state checkbox
very true. Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Igor VaynbergGesendet: Mittwoch, 30. August 2006 21:20An: wicket-user@lists.sourceforge.netBetreff: Re: [Wicket-user] Tri-state checkbox all this really depends on the site you are building. if you are building a paypal.com then sure these things apply, if you are building an intranet where you get to dictate what browsers can and cannot be used then none of these apply. -Igor - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Tri-state checkbox
all this really depends on the site you are building. if you are building a paypal.com then sure these things apply, if you are building an intranet where you get to dictate what browsers can and cannot be used then none of these apply. -IgorOn 8/30/06, Korbinian Bachl <[EMAIL PROTECTED]> wrote: Dont know if you understand German, but here its more concrete: http://www.darw.de/statistik/ (the numbers come from php.net, google.de, mysql.com, w3c.org ) Basically, you see the result of last 150 to 200k User Agents that accessed these sites, from wich about 15 to 25 % have JS completely disabled, 35 to 55% sometimes disabled and to the old browsers: yes, we have to support them, at least at a low level (e.g.: Fallback solutions is a have to) , as long as you want to do more than play with the web (e.g.: earn money) and JS has another problem: its a pain for handicapped people (e.g.: blind) the web was made for anyone, not just some tecchies... Regards, Korbinian Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Im Auftrag von Igor VaynbergGesendet: Mittwoch, 30. August 2006 20:55 An: wicket-user@lists.sourceforge.netBetreff: Re: [Wicket-user] Tri-state checkbox if you havent noticed its 2006 and _javascript_ is as pervasive as html WRONG !!! - i know companies, that for example have JS disabled at ALL of their systems - we have 2006 and thinking JS is everywhere is same as thinking that no illness exists because you see no ill people on the streets this argument holds no water. i know of plenty of companies whose public facing and intranet sites depend on _javascript_ - so? just check netcraft - and wonder why we still (!) have netscape 4 around or IE3 and IE4 - with their buggy JS implementation doesnt mean we have to support those users does it? by the same argument we then cannot use css because those browsers dont support it, and can only use html 3. those browsers prob run on computers that have max resolution of 640x480 - is that how you design your websites? have you also noticed for example that the German Government advises all users to deactivate _javascript_ because of Virus, Phising etc. ? - Same as many other governemnts do what does _javascript_ have to do with phishing? there was an article a long time ago on using xul to fake the firefox look and feel and replace the address bar with a look alike - does that mean we now have to stop using firefox? btw: i myself prefer browsing with JS deactivated as i hate popups like many others i know thats your personal choice, personally i really like ajaxified gmail. further the usecases for checkboxes like this usually entail a lot of data on the form like a tree - so yeah it might suck to have it submit every time unsure if this is really realistic... we havent heard the usecase - so how can you be unsure or sure? notice i said _usually_ in my sentence which made it a hypothetical. not to mention form submits reset the page's scroll position most of the time, so if the user has to scroll to get to the checkbox it will get really annoying use a anchor anchors do not preserve the vertical scroll offset, browsers always put the anchors as close to the top as possible.-Igor -Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___Wicket-user mailing list Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Tri-state checkbox
Dont know if you understand German, but here its more concrete: http://www.darw.de/statistik/ (the numbers come from php.net, google.de, mysql.com, w3c.org ) Basically, you see the result of last 150 to 200k User Agents that accessed these sites, from wich about 15 to 25 % have JS completely disabled, 35 to 55% sometimes disabled and to the old browsers: yes, we have to support them, at least at a low level (e.g.: Fallback solutions is a have to) , as long as you want to do more than play with the web (e.g.: earn money) and JS has another problem: its a pain for handicapped people (e.g.: blind) the web was made for anyone, not just some tecchies... Regards, Korbinian Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Igor VaynbergGesendet: Mittwoch, 30. August 2006 20:55An: wicket-user@lists.sourceforge.netBetreff: Re: [Wicket-user] Tri-state checkbox if you havent noticed its 2006 and _javascript_ is as pervasive as html WRONG !!! - i know companies, that for example have JS disabled at ALL of their systems - we have 2006 and thinking JS is everywhere is same as thinking that no illness exists because you see no ill people on the streets this argument holds no water. i know of plenty of companies whose public facing and intranet sites depend on _javascript_ - so? just check netcraft - and wonder why we still (!) have netscape 4 around or IE3 and IE4 - with their buggy JS implementation doesnt mean we have to support those users does it? by the same argument we then cannot use css because those browsers dont support it, and can only use html 3. those browsers prob run on computers that have max resolution of 640x480 - is that how you design your websites? have you also noticed for example that the German Government advises all users to deactivate _javascript_ because of Virus, Phising etc. ? - Same as many other governemnts do what does _javascript_ have to do with phishing? there was an article a long time ago on using xul to fake the firefox look and feel and replace the address bar with a look alike - does that mean we now have to stop using firefox? btw: i myself prefer browsing with JS deactivated as i hate popups like many others i know thats your personal choice, personally i really like ajaxified gmail. further the usecases for checkboxes like this usually entail a lot of data on the form like a tree - so yeah it might suck to have it submit every time unsure if this is really realistic... we havent heard the usecase - so how can you be unsure or sure? notice i said _usually_ in my sentence which made it a hypothetical. not to mention form submits reset the page's scroll position most of the time, so if the user has to scroll to get to the checkbox it will get really annoying use a anchor anchors do not preserve the vertical scroll offset, browsers always put the anchors as close to the top as possible.-Igor - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Tri-state checkbox
if you havent noticed its 2006 and _javascript_ is as pervasive as html WRONG !!! - i know companies, that for example have JS disabled at ALL of their systems - we have 2006 and thinking JS is everywhere is same as thinking that no illness exists because you see no ill people on the streets this argument holds no water. i know of plenty of companies whose public facing and intranet sites depend on _javascript_ - so? just check netcraft - and wonder why we still (!) have netscape 4 around or IE3 and IE4 - with their buggy JS implementationdoesnt mean we have to support those users does it? by the same argument we then cannot use css because those browsers dont support it, and can only use html 3. those browsers prob run on computers that have max resolution of 640x480 - is that how you design your websites? have you also noticed for example that the German Government advises all users to deactivate _javascript_ because of Virus, Phising etc. ? - Same as many other governemnts do what does _javascript_ have to do with phishing? there was an article a long time ago on using xul to fake the firefox look and feel and replace the address bar with a look alike - does that mean we now have to stop using firefox? btw: i myself prefer browsing with JS deactivated as i hate popups like many others i know thats your personal choice, personally i really like ajaxified gmail. further the usecases for checkboxes like this usually entail a lot of data on the form like a tree - so yeah it might suck to have it submit every time unsure if this is really realistic...we havent heard the usecase - so how can you be unsure or sure? notice i said _usually_ in my sentence which made it a hypothetical. not to mention form submits reset the page's scroll position most of the time, so if the user has to scroll to get to the checkbox it will get really annoying use a anchoranchors do not preserve the vertical scroll offset, browsers always put the anchors as close to the top as possible.-Igor - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Tri-state checkbox
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Igor VaynbergGesendet: Mittwoch, 30. August 2006 20:24An: wicket-user@lists.sourceforge.netBetreff: Re: [Wicket-user] Tri-state checkbox if you havent noticed its 2006 and _javascript_ is as pervasive as html WRONG !!! - i know companies, that for example have JS disabled at ALL of their systems - we have 2006 and thinking JS is everywhere is same as thinking that no illness exists because you see no ill people on the streets just check netcraft - and wonder why we still (!) have netscape 4 around or IE3 and IE4 - with their buggy JS implementation have you also noticed for example that the German Government advises all users to deactivate _javascript_ because of Virus, Phising etc. ? - Same as many other governemnts do btw: i myself prefer browsing with JS deactivated as i hate popups like many others i know further the usecases for checkboxes like this usually entail a lot of data on the form like a tree - so yeah it might suck to have it submit every time unsure if this is really realistic... not to mention form submits reset the page's scroll position most of the time, so if the user has to scroll to get to the checkbox it will get really annoying use a anchor but at the end its really up to alex and his usecase -Igor Regards, Korbinian - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Tri-state checkbox
I thought about something like this to represent null/yes/no, but figured it might confuse casual users. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Tri-state checkbox
if you havent noticed its 2006 and _javascript_ is as pervasive as htmlfurther the usecases for checkboxes like this usually entail a lot of data on the form like a tree - so yeah it might suck to have it submit every time not to mention form submits reset the page's scroll position most of the time, so if the user has to scroll to get to the checkbox it will get really annoyingbut at the end its really up to alex and his usecase -IgorOn 8/30/06, Korbinian Bachl <[EMAIL PROTECTED]> wrote: too bad that you rely on JS then.. no more clean, nice html and no more save real world use - submitting the whole form IMHO is not a big problem Regards Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Im Auftrag von Igor VaynbergGesendet: Mittwoch, 30. August 2006 18:18An: wicket-user@lists.sourceforge.netBetreff: Re: [Wicket-user] Tri-state checkbox too bad the point is not to submit the form on every click so input type="submit" wont work.you need something to carry the value on form submissions so you will need a hidden field. i would use a form that composites a HiddenField and an img with onclick that toggles its src and the hidden field's value. -Igor On 8/30/06, Korbinian Bachl <[EMAIL PROTECTED]> wrote: just checked W3C,its ok to have multi within a form - sothis would be secure.. you then can have a img over it with CSS similarto this 2 states example here http://www.ukthoughts.co.uk/journal/css-submit-buttonsif you would do this, then it would be 100% w3c compliant and safe for allbrowsers... > -Ursprüngliche Nachricht-> Von: [EMAIL PROTECTED]> [mailto: [EMAIL PROTECTED]] Im Auftrag> von Alex Objelean> Gesendet: Mittwoch, 30. August 2006 13:38> An: wicket-user@lists.sourceforge.net > Betreff: Re: [Wicket-user] Tri-state checkbox>>> Unfortunately, the dropDownChoice component does not suite my needs.>> The ideea with button seems to be a good ideea, why not use > just or instead of > type="submit">... The problem> is: should I reuse the Checkbox code by extending it or just> extend Form component and render a button with a > corresponding image depending on its state & rewrite the> whole model logic?>> I think that there can be more than one different approach to> this problem, but I don't know which would be better or what > would you recommend?>> PS: I think that such a control (tristate checkbox) would be> very useful in wicket-extension.> --> View this message in context:> http://www.nabble.com/Tri-state-checkbox-tf2188974.html#a6057160 > Sent from the Wicket - User forum at Nabble.com.>>> -- > ---> Using Tomcat but need to do more? Need to support web> services, security?> Get stuff done quickly with pre-integrated technology to make> your job easier> Download IBM WebSphere Application Server v.1.0.1 based on> Apache Geronimo> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057& dat=121642 > ___> Wicket-user mailing list> Wicket-user@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/wicket-user> -Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___Wicket-user mailing list Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Tri-state checkbox
too bad that you rely on JS then.. no more clean, nice html and no more save real world use - submitting the whole form IMHO is not a big problem Regards Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Igor VaynbergGesendet: Mittwoch, 30. August 2006 18:18An: wicket-user@lists.sourceforge.netBetreff: Re: [Wicket-user] Tri-state checkbox too bad the point is not to submit the form on every click so input type="submit" wont work.you need something to carry the value on form submissions so you will need a hidden field. i would use a form that composites a HiddenField and an img with onclick that toggles its src and the hidden field's value. -Igor On 8/30/06, Korbinian Bachl <[EMAIL PROTECTED]> wrote: just checked W3C,its ok to have multi within a form - sothis would be secure.. you then can have a img over it with CSS similarto this 2 states example here http://www.ukthoughts.co.uk/journal/css-submit-buttonsif you would do this, then it would be 100% w3c compliant and safe for allbrowsers... > -Ursprüngliche Nachricht-> Von: [EMAIL PROTECTED]> [mailto: [EMAIL PROTECTED]] Im Auftrag> von Alex Objelean> Gesendet: Mittwoch, 30. August 2006 13:38> An: wicket-user@lists.sourceforge.net > Betreff: Re: [Wicket-user] Tri-state checkbox>>> Unfortunately, the dropDownChoice component does not suite my needs.>> The ideea with button seems to be a good ideea, why not use > just or instead of > type="submit">... The problem> is: should I reuse the Checkbox code by extending it or just> extend Form component and render a button with a > corresponding image depending on its state & rewrite the> whole model logic?>> I think that there can be more than one different approach to> this problem, but I don't know which would be better or what > would you recommend?>> PS: I think that such a control (tristate checkbox) would be> very useful in wicket-extension.> --> View this message in context:> http://www.nabble.com/Tri-state-checkbox-tf2188974.html#a6057160> Sent from the Wicket - User forum at Nabble.com.>>> -- > ---> Using Tomcat but need to do more? Need to support web> services, security?> Get stuff done quickly with pre-integrated technology to make> your job easier> Download IBM WebSphere Application Server v.1.0.1 based on> Apache Geronimo> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > ___> Wicket-user mailing list> Wicket-user@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/wicket-user>-Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Tri-state checkbox
That's an interesting Widget! How would it work on the server side though... what kind of model would it need. I'd be interested to hear about how you plan to use it. It seems this is a component you'd always use with a tree, correct? If so it would just be a matter of letting the tree render the proper node images. Eelco > Maybe I was not clear enough in my specification. If I would not say that I > need a tri-state checkbox, but a formComponent which looks like checkbox > (see here: > http://www.indigorose.com/webhelp/vp20/Program_Reference/Misc/Tri-state_Checkbox.htm) > would it make sense? At the end, it is a component like any other component > and it has nothing to do with the w3c.org specification... - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Tri-state checkbox
too bad the point is not to submit the form on every click so input type="submit" wont work.you need something to carry the value on form submissions so you will need a hidden field. i would use a form that composites a HiddenField and an img with onclick that toggles its src and the hidden field's value. -IgorOn 8/30/06, Korbinian Bachl <[EMAIL PROTECTED]> wrote: just checked W3C,its ok to have multi within a form - sothis would be secure.. you then can have a img over it with CSS similarto this 2 states example here http://www.ukthoughts.co.uk/journal/css-submit-buttonsif you would do this, then it would be 100% w3c compliant and safe for allbrowsers... > -Ursprüngliche Nachricht-> Von: [EMAIL PROTECTED]> [mailto: [EMAIL PROTECTED]] Im Auftrag> von Alex Objelean> Gesendet: Mittwoch, 30. August 2006 13:38> An: wicket-user@lists.sourceforge.net > Betreff: Re: [Wicket-user] Tri-state checkbox>>> Unfortunately, the dropDownChoice component does not suite my needs.>> The ideea with button seems to be a good ideea, why not use > just or instead of > type="submit">... The problem> is: should I reuse the Checkbox code by extending it or just> extend Form component and render a button with a > corresponding image depending on its state & rewrite the> whole model logic?>> I think that there can be more than one different approach to> this problem, but I don't know which would be better or what > would you recommend?>> PS: I think that such a control (tristate checkbox) would be> very useful in wicket-extension.> --> View this message in context:> http://www.nabble.com/Tri-state-checkbox-tf2188974.html#a6057160> Sent from the Wicket - User forum at Nabble.com.>>> -- > ---> Using Tomcat but need to do more? Need to support web> services, security?> Get stuff done quickly with pre-integrated technology to make> your job easier> Download IBM WebSphere Application Server v.1.0.1 based on> Apache Geronimo> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > ___> Wicket-user mailing list> Wicket-user@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/wicket-user>-Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___Wicket-user mailing list Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Tri-state checkbox
just checked W3C, its ok to have multi within a form - so this would be secure.. you then can have a img over it with CSS similar to this 2 states example here http://www.ukthoughts.co.uk/journal/css-submit-buttons if you would do this, then it would be 100% w3c compliant and safe for all browsers... > -Ursprüngliche Nachricht- > Von: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Im Auftrag > von Alex Objelean > Gesendet: Mittwoch, 30. August 2006 13:38 > An: wicket-user@lists.sourceforge.net > Betreff: Re: [Wicket-user] Tri-state checkbox > > > Unfortunately, the dropDownChoice component does not suite my needs. > > The ideea with button seems to be a good ideea, why not use > just or instead of type="submit">... The problem > is: should I reuse the Checkbox code by extending it or just > extend Form component and render a button with a > corresponding image depending on its state & rewrite the > whole model logic? > > I think that there can be more than one different approach to > this problem, but I don't know which would be better or what > would you recommend? > > PS: I think that such a control (tristate checkbox) would be > very useful in wicket-extension. > -- > View this message in context: > http://www.nabble.com/Tri-state-checkbox-tf2188974.html#a6057160 > Sent from the Wicket - User forum at Nabble.com. > > > -- > --- > Using Tomcat but need to do more? Need to support web > services, security? > Get stuff done quickly with pre-integrated technology to make > your job easier > Download IBM WebSphere Application Server v.1.0.1 based on > Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&; dat=121642 > ___ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Tri-state checkbox
Unfortunately, the dropDownChoice component does not suite my needs. The ideea with button seems to be a good ideea, why not use just or instead of ... The problem is: should I reuse the Checkbox code by extending it or just extend Form component and render a button with a corresponding image depending on its state & rewrite the whole model logic? I think that there can be more than one different approach to this problem, but I don't know which would be better or what would you recommend? PS: I think that such a control (tristate checkbox) would be very useful in wicket-extension. -- View this message in context: http://www.nabble.com/Tri-state-checkbox-tf2188974.html#a6057160 Sent from the Wicket - User forum at Nabble.com. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Tri-state checkbox
> Well, thank you for your support :)... That's exactly what I needed! yeah, getting beaten is always good ;) > Maybe I was not clear enough in my specification. If I would > not say that I need a tri-state checkbox, but a formComponent > which looks like checkbox (see here: > http://www.indigorose.com/webhelp/vp20/Program_Reference/Misc/ > Tri-state_Checkbox.htm) > would it make sense? At the end, it is a component like any > other component and it has nothing to do with the w3c.org > specification... having it this way, would mean to have a img that belongs to a form and is changed on every tip on it... you could go for a link component that calls the form everytime its used.. but no matter how you do it, it would be very unstable in real world, as it depends on javascript, as in pure HTML only a submit button can call a form .. maybe if you use a submit button with 3 different images based on a objectstate might work... but im not sure if having multiple sumbit buttons for 1 form is W3C compliant and will work... have you thought about usning a DropDownList with 3 fields ?? - might be easier and more intuitive for the user.. Regards, Korbinian > > Korbinian Bachl wrote: > > > > you know what the limits of HTML are > > > > suggest you look at w3c.org the HTML specs, and think about a > > realistic way to solve your business needs. > > > > Regards > > > > > >> -Ursprüngliche Nachricht- > >> Von: [EMAIL PROTECTED] > >> [mailto:[EMAIL PROTECTED] Im Auftrag von > >> Alex Objelean > >> Gesendet: Mittwoch, 30. August 2006 12:21 > >> An: wicket-user@lists.sourceforge.net > >> Betreff: [Wicket-user] Tri-state checkbox > >> > >> > >> I need to implement a tri-state checkbox component. It must behave > >> the same way as the normal checkbox do, but additionally it has an > >> intermidiate state which looks differently.. also, I want > to change > >> the look&feel of the checkbox control with another images (for > >> instance MAC OS style). What is the best way to do that? Should I > >> extend the Checkbox and use tag, or extend a Panel and > >> implement the whole logic from scratch? Thank you! > >> -- > >> View this message in context: > >> http://www.nabble.com/Tri-state-checkbox-tf2188974.html#a6056120 > >> Sent from the Wicket - User forum at Nabble.com. > >> > >> > >> -- > >> --- > >> Using Tomcat but need to do more? Need to support web services, > >> security? > >> Get stuff done quickly with pre-integrated technology to make your > >> job easier Download IBM WebSphere Application Server > v.1.0.1 based on > >> Apache Geronimo > >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&; > > dat=121642 > >> ___ > >> Wicket-user mailing list > >> Wicket-user@lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/wicket-user > >> > > > > > > > -- > > --- Using Tomcat but need to do more? Need to support web services, > > security? > > Get stuff done quickly with pre-integrated technology to > make your job > > easier Download IBM WebSphere Application Server v.1.0.1 based on > > Apache Geronimo > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=1216 > > 42 ___ > > Wicket-user mailing list > > Wicket-user@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > > -- > View this message in context: > http://www.nabble.com/Tri-state-checkbox-tf2188974.html#a6056573 > Sent from the Wicket - User forum at Nabble.com. > > > -- > --- > Using Tomcat but need to do more? Need to support web > services, security? > Get stuff done quickly with pre-integrated technology to make > your job easier > Download IBM WebSphere Application Server v.1.0.1 based on > Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&; dat=121642 > ___ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Tri-state checkbox
you can do this with images and an onclick handler on it i think.i don't think you can use the type=check for thatjohanOn 8/30/06, Alex Objelean <[EMAIL PROTECTED]> wrote: Well, thank you for your support :)... That's exactly what I needed!Maybe I was not clear enough in my specification. If I would not say that Ineed a tri-state checkbox, but a formComponent which looks like checkbox (see here:http://www.indigorose.com/webhelp/vp20/Program_Reference/Misc/Tri-state_Checkbox.htm)would it make sense? At the end, it is a component like any other component and it has nothing to do with the w3c.org specification...Korbinian Bachl wrote:>> you know what the limits of HTML are >> suggest you look at w3c.org the HTML specs, and think about a realistic> way> to solve your business needs.>> Regards>>>> -Ursprüngliche Nachricht->> Von: [EMAIL PROTECTED]>> [mailto:[EMAIL PROTECTED]] Im Auftrag>> von Alex Objelean>> Gesendet: Mittwoch, 30. August 2006 12:21 >> An: wicket-user@lists.sourceforge.net>> Betreff: [Wicket-user] Tri-state checkbox>>>>>> I need to implement a tri-state checkbox component. It must >> behave the same way as the normal checkbox do, but>> additionally it has an intermidiate state which looks>> differently.. also, I want to change the look&feel of the>> checkbox control with another images (for instance MAC OS >> style). What is the best way to do that? Should I extend the>> Checkbox and use tag, or extend a Panel and implement>> the whole logic from scratch? Thank you!>> -- >> View this message in context:>> http://www.nabble.com/Tri-state-checkbox-tf2188974.html#a6056120>> Sent from the Wicket - User forum at Nabble.com.>>>>>> -->> --->> Using Tomcat but need to do more? Need to support web >> services, security?>> Get stuff done quickly with pre-integrated technology to make>> your job easier>> Download IBM WebSphere Application Server v.1.0.1 based on>> Apache Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&> dat=121642>> ___ >> Wicket-user mailing list>> Wicket-user@lists.sourceforge.net>> https://lists.sourceforge.net/lists/listinfo/wicket-user >>>>> -> Using Tomcat but need to do more? Need to support web services, security?> Get stuff done quickly with pre-integrated technology to make your job > easier> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > ___> Wicket-user mailing list> Wicket-user@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/wicket-user>>--View this message in context: http://www.nabble.com/Tri-state-checkbox-tf2188974.html#a6056573 Sent from the Wicket - User forum at Nabble.com.-Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___Wicket-user mailing list Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Tri-state checkbox
Well, thank you for your support :)... That's exactly what I needed! Maybe I was not clear enough in my specification. If I would not say that I need a tri-state checkbox, but a formComponent which looks like checkbox (see here: http://www.indigorose.com/webhelp/vp20/Program_Reference/Misc/Tri-state_Checkbox.htm) would it make sense? At the end, it is a component like any other component and it has nothing to do with the w3c.org specification... Korbinian Bachl wrote: > > you know what the limits of HTML are > > suggest you look at w3c.org the HTML specs, and think about a realistic > way > to solve your business needs. > > Regards > > >> -Ursprüngliche Nachricht- >> Von: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] Im Auftrag >> von Alex Objelean >> Gesendet: Mittwoch, 30. August 2006 12:21 >> An: wicket-user@lists.sourceforge.net >> Betreff: [Wicket-user] Tri-state checkbox >> >> >> I need to implement a tri-state checkbox component. It must >> behave the same way as the normal checkbox do, but >> additionally it has an intermidiate state which looks >> differently.. also, I want to change the look&feel of the >> checkbox control with another images (for instance MAC OS >> style). What is the best way to do that? Should I extend the >> Checkbox and use tag, or extend a Panel and implement >> the whole logic from scratch? Thank you! >> -- >> View this message in context: >> http://www.nabble.com/Tri-state-checkbox-tf2188974.html#a6056120 >> Sent from the Wicket - User forum at Nabble.com. >> >> >> -- >> --- >> Using Tomcat but need to do more? Need to support web >> services, security? >> Get stuff done quickly with pre-integrated technology to make >> your job easier >> Download IBM WebSphere Application Server v.1.0.1 based on >> Apache Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&; > dat=121642 >> ___ >> Wicket-user mailing list >> Wicket-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wicket-user >> > > > - > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > ___ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > > -- View this message in context: http://www.nabble.com/Tri-state-checkbox-tf2188974.html#a6056573 Sent from the Wicket - User forum at Nabble.com. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Tri-state checkbox
you know what the limits of HTML are suggest you look at w3c.org the HTML specs, and think about a realistic way to solve your business needs. Regards > -Ursprüngliche Nachricht- > Von: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Im Auftrag > von Alex Objelean > Gesendet: Mittwoch, 30. August 2006 12:21 > An: wicket-user@lists.sourceforge.net > Betreff: [Wicket-user] Tri-state checkbox > > > I need to implement a tri-state checkbox component. It must > behave the same way as the normal checkbox do, but > additionally it has an intermidiate state which looks > differently.. also, I want to change the look&feel of the > checkbox control with another images (for instance MAC OS > style). What is the best way to do that? Should I extend the > Checkbox and use tag, or extend a Panel and implement > the whole logic from scratch? Thank you! > -- > View this message in context: > http://www.nabble.com/Tri-state-checkbox-tf2188974.html#a6056120 > Sent from the Wicket - User forum at Nabble.com. > > > -- > --- > Using Tomcat but need to do more? Need to support web > services, security? > Get stuff done quickly with pre-integrated technology to make > your job easier > Download IBM WebSphere Application Server v.1.0.1 based on > Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&; dat=121642 > ___ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Tri-state checkbox
I need to implement a tri-state checkbox component. It must behave the same way as the normal checkbox do, but additionally it has an intermidiate state which looks differently.. also, I want to change the look&feel of the checkbox control with another images (for instance MAC OS style). What is the best way to do that? Should I extend the Checkbox and use tag, or extend a Panel and implement the whole logic from scratch? Thank you! -- View this message in context: http://www.nabble.com/Tri-state-checkbox-tf2188974.html#a6056120 Sent from the Wicket - User forum at Nabble.com. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user