[Wicket-user] one Tapestry feature I am really missing in Wicket
is the easy use of localized labels. Compare span key=welcome/ in Tapestry template with span wicket:id=welcome/ (template) plus add(new Label(welcome, new StringResourceModel(welcome, this, null))); (Java code) in Wicket! Strangely enough, all wicket localization examples (pub, forminput) make use of localizing the WHOLE template (Home.html, Home_de.html , ...) which is the least acceptable solution in real-world applications. Hope, my feedback is useful. Keep up with the good job, guys! Oleg winmail.dat- 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=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] one Tapestry feature I am really missing in Wicket
Indeed, it does! thanks for the good news, Janos! Oleg -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] im Auftrag von Janos Cserep Gesendet: Di 24.10.2006 11:33 An: wicket-user@lists.sourceforge.net Cc: Betreff: Re: [Wicket-user] one Tapestry feature I am really missing in Wicket Oleg, You can use the wicket:message tag which works just like your tapestry template... span key=welcome/ j winmail.dat- 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=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] display border conditionally
Exactly what I need! And the usecase is also mine! I would really appreciate such a border component. Is there a workaround in the current version (1.2) to emulate such behavior? Oleg -Original Message- From: [EMAIL PROTECTED] on behalf of Johan Compagner Sent: Sat 10/14/2006 11:19 AM To: wicket-user@lists.sourceforge.net Cc: Subject:Re: [Wicket-user] display border conditionally Usecase could be that you want to light up the importand fields to fill in if they are not filled in. Thinking about that we should have a border that works like swing borders if possible so not wrap a component in a border but just giving the component a border: component.setBorder(borderComponent) and a borderComponent can generate markup that must be before and after the components tags.. Then it is really like a border that also can be set to none visible. johan On 10/13/06, Juergen Donnerstag [EMAIL PROTECTED] wrote: What is the use case? Why do you want to do it? No way might not be correct, may be not a simple one. Which version are you using? Juergen On 10/13/06, Bondarenko, Oleg mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] wrote: ok, Juergen, my guess was wrong then. But does it mean there is no way to dynamically disable the border markup and render only the border body? Schade. ;) thanks anyway Oleg -Original Message- From: [EMAIL PROTECTED] on behalf of Juergen Donnerstag Sent: Fri 10/13/2006 10:01 PM To: wicket-user@lists.sourceforge.net Cc: Subject:Re: [Wicket-user] display border conditionally setRenderBodyOnly() can be used to change the behavior. But it only prevent the component from writing the open and close tag. The box html markup associated with BoxBorder will not be disabled this way. Juergen On 10/13/06, Bondarenko, Oleg [EMAIL PROTECTED] wrote: Is it possible to change Border rendering dynamically? E.g. take the wicket.markup.html.border.BoxBorder , I want the body of the border to display always, but the border itself only on some condition. I think if I could overwrite Component.getRenderBodyOnly() that would be it, but unfortunately this method is final ;-( - 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 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 kid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user 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=lnkkid=120709bid=263057dat=121642 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list mailto:Wicket-user@lists.sourceforge.net 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 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 kid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user 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=lnkkid=120709bid=263057dat=121642 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list mailto:Wicket-user@lists.sourceforge.net Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user winmail.dat
Re: [Wicket-user] display border conditionally
ok, Juergen, my guess was wrong then. But does it mean there is no way to dynamically disable the border markup and render only the border body? Schade. ;) thanks anyway Oleg -Original Message- From: [EMAIL PROTECTED] on behalf of Juergen Donnerstag Sent: Fri 10/13/2006 10:01 PM To: wicket-user@lists.sourceforge.net Cc: Subject:Re: [Wicket-user] display border conditionally setRenderBodyOnly() can be used to change the behavior. But it only prevent the component from writing the open and close tag. The box html markup associated with BoxBorder will not be disabled this way. Juergen On 10/13/06, Bondarenko, Oleg [EMAIL PROTECTED] wrote: Is it possible to change Border rendering dynamically? E.g. take the wicket.markup.html.border.BoxBorder, I want the body of the border to display always, but the border itself only on some condition. I think if I could overwrite Component.getRenderBodyOnly() that would be it, but unfortunately this method is final ;-( - 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=lnkkid=120709bid=263057dat=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=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user winmail.dat- 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=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] wrap standard components
Year, thanks, but... What I really want is to combine the border AND the component (like TextField) into my own custom component! This way I would considerably reduce the amount of HTML and Java code. Isn't it supposed to be the main advantage of Wicket - the ability to easily create own custom components? ;-) -Original Message- From: [EMAIL PROTECTED] on behalf of karthik Guru Sent: Mon 10/9/2006 2:58 PM To: wicket-user@lists.sourceforge.net Cc: Subject:Re: [Wicket-user] wrap standard components Personally, I think this - wicket.markup.html.form.validation.FormComponentFeedbackBorder is nice. So now you just need a panel with your standard form component and this border attached. You can ofcourse build your own Border using FormComponentFeedbackBorder as a starting point. Regards, Karthik On 10/9/06, Bondarenko, Oleg [EMAIL PROTECTED] wrote: Hello, I would like to have a nice way to wrap (decorate) standard form components. E.g. my own MyTextField will have a red border and some message in case if validation fails. Suppose for simplicity that MyTextField.html looks like wicket:panel input wicket:id = wrappedTextField / span wicket:id=unErrMsg div class=errorMsgspan wicket:id=unErrMsgLblunErrMsgLbl/span/div /span /wicket:panel where wrappedTextField is a standard TextField. The new component will be used on some page the following way: ... input wicket:id = username type = text value = [EMAIL PROTECTED] size = 30/ ... The first problem I see is how to pass through all attributes from the parent component to the wrapped TextField component? Thanks in advance Oleg - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- -- karthik -- winmail.dat- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user