Re: Manipulate Component Markup before rendering

2008-05-31 Thread Erik van Oosten
Hello Jürgen, You coulld put a span in the markup and add a Label to it. Don't forget to call setRenderBodyOnly(true) on the label. Regards, Erik. Jürgen Lind wrote: Hi, I was wondering if there is some way to rewrite the component markup before it is rendered. My setting is as

how to implement a SSL submit link/button

2008-05-31 Thread Ken Leung
I want to implement a signin form with a submit link/button.  The initial signin page is via HTTP. When the user clicks on the link, the underlying form POST will be HTTPS and subsequent interaction will be HTTPS until the user signs off. Any code examples ? Thanks in Advance...

Re: Manipulate Component Markup before rendering

2008-05-31 Thread Jürgen Lind
Hi Erik, thank you for the suggestion. I tried that already and it did not work. Any component defined within the script area seems to be ignored by wicket, i.e. when I define the label in the Java code, I get an error message stating that the component was not declared in the markup file...

Resource servlet from wicket

2008-05-31 Thread Mathias P.W Nilsson
Hi! I have this servlet that is called from wicket only using a url /Files/thefile.jpg The servlet is url-mapped on /Files/*. But it is very slow and I was just wondering could this be done in a better way package se.edgesoft.hairless.web.resource; import java.io.DataInputStream; import

Re: Manipulate Component Markup before rendering

2008-05-31 Thread Erik van Oosten
Any component defined within the script area seems to be ignored by wicket Weird. That sounds like a bug to me. Anyway, your solution seems robust enough to me. Regards, Erik. Jürgen Lind wrote: Hi Erik, thank you for the suggestion. I tried that already and it did not work. Any

Re: Back button problem with form

2008-05-31 Thread Mathias P.W Nilsson
I still don't get it. If I check another radio button and press submit it would still do a post from wicket right? -- View this message in context: http://www.nabble.com/Back-button-problem-with-form-tp17512965p17574963.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: Back button problem with form

2008-05-31 Thread Mathias P.W Nilsson
After some debugging I solved it in a ugly way. I used PropertyModel() for the form and when I pressed submit the object did'nt update in a correct manner. I think it has to do with that the object is in the session. When I used Model() instead it worked. -- View this message in context:

Templating + performance question

2008-05-31 Thread Stefan Simik
Hi boys, I would like to ask about Templating (ass CssTemplate, ...) and performance. I think about the best solution for customizing design of our components. I see templating as a very powerful feature, but I worry about degraded performance, because of much processing when interpolating

Re: maven deployment..?

2008-05-31 Thread James Carman
Well, the test and prod profiles do have that property set to deployment. The default properties just sets it to development. On Fri, May 30, 2008 at 2:38 PM, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Great:) Looks like we do a lot of stuff the same way:) So you just need

Re: Templating + performance question

2008-05-31 Thread Jonathan Locke
I would wait on this one if I were you. Use the powerful feature as simply as possible, then determine if you need to optimize anything by using a profiler. I know it is a bit of an old saw, but premature optimization really is the root of all evil. Stefan Simik wrote: Hi boys, I would

Re: Resource servlet from wicket

2008-05-31 Thread Igor Vaynberg
implement support for HEAD request -igor On Sat, May 31, 2008 at 3:54 AM, Mathias P.W Nilsson [EMAIL PROTECTED] wrote: Hi! I have this servlet that is called from wicket only using a url /Files/thefile.jpg The servlet is url-mapped on /Files/*. But it is very slow and I was just wondering

Re: Back button problem with form

2008-05-31 Thread Eelco Hillenius
After some debugging I solved it in a ugly way. I used PropertyModel() for the form and when I pressed submit the object did'nt update in a correct manner. I think it has to do with that the object is in the session. Weird. Did you check that the target of the property model was the one you

Re: Templating + performance question

2008-05-31 Thread Stefan Simik
Ok, I'll take it into consideration and solve this type of performance issues later. Thanx for your advice. Jonathan Locke wrote: I would wait on this one if I were you. Use the powerful feature as simply as possible, then determine if you need to optimize anything by using a profiler.

Re: problems with stateless forms and radiogroups/checkgroups

2008-05-31 Thread joelhalbert
I was wondering whether this was scheduled for a fix in the next release and if are any suggested work arounds for using checkbox's within stateless forms? Thanks Joel alexei.sokolov wrote: Done. https://issues.apache.org/jira/browse/WICKET-1545 Alex On Tue, Apr 15, 2008 at 11:19 PM,

RE: Timestamp - java.util.Date convertion in Wicket

2008-05-31 Thread Michael Mehrle
Hello Jeremy: I added the converter to my apps init() method per your example but the problem persists. I keep seeing 12:00am instead of the date. Any suggestions? Michael -Original Message- From: Jeremy Thomerson [mailto:[EMAIL PROTECTED] Sent: Friday, May 30, 2008 7:35 PM To:

Changing Link string conditionally?

2008-05-31 Thread Michael Mehrle
Okay, this seems so easy, but I'm somehow stuck. How do I change the string of a Link based on some condition? Do I simply provide a terminated tag and set the model (i.e. the visible string) in my code? Michael

RE: Timestamp - java.util.Date convertion in Wicket

2008-05-31 Thread Jeremy Thomerson
Did you make sure to use the code exactly (it calls SET on the concrete implementation rather than the standard way of just adding a converter to the interface)? Which version are you using? This problem appeared in 1.3, and I have tested my fix in all versions of of 1.3 and 1.4-m1 and m2.

tabbed pages not panels

2008-05-31 Thread nazeem
Does wicket have inbuilt support for tabbed pages ? not tabbed panels. Please point me to if available -- View this message in context: http://www.nabble.com/tabbed-pages-not-panels-tp17582637p17582637.html Sent from the Wicket - User mailing list archive at Nabble.com.