Re: [Wicket-user] Link and Input

2006-08-11 Thread Mats Norén
The input elements look like this: div class=formDiv input class=button type=image src=img/button_spara.gif wicket:id=save value=Spara title=Spara/ input class=button type=image src=img/button_avbryt.gif wicket:id=cancel value=Avbryt title=Avbryt/

Re: [Wicket-user] Link and Input

2006-08-11 Thread Johan Compagner
ahh see the code: // Don't touch any wicket:id component if (tag.getId() != null) { return tag; }So in that case you have to do it yourself.Maybe we could make this configurable or something johanOn 8/11/06, Mats Norén [EMAIL PROTECTED] wrote: The input elements look like this:div

Re: [Wicket-user] Link and Input

2006-08-11 Thread Mats Norén
On 8/11/06, Johan Compagner [EMAIL PROTECTED] wrote: ahh see the code: // Don't touch any wicket:id component if (tag.getId() != null) { return tag; } So in that case you have to do it yourself. That explains it! Thanks. So how does it normally

Re: [Wicket-user] Link and Input

2006-08-11 Thread Johan Compagner
you can use i guess public final void appendMarkupFilter(final IMarkupFilter filter) of MarkupParserBut juergen just changes some of that code i believe so maybe he can tell you the best solution now.johan On 8/11/06, Mats Norén [EMAIL PROTECTED] wrote: On 8/11/06, Mats Norén [EMAIL PROTECTED]

Re: [Wicket-user] Link and Input

2006-08-11 Thread Juergen Donnerstag
In 2.0 it looks like Settings.java public IMarkupParserFactory getMarkupParserFactory() { if (this.markupParserFactory == null) { this.markupParserFactory = new MarkupParserFactory(application) {

Re: [Wicket-user] Link and Input

2006-08-11 Thread Mats Norén
Stupid question, but how do override the settings.java? On 8/11/06, Juergen Donnerstag [EMAIL PROTECTED] wrote: In 2.0 it looks like Settings.java public IMarkupParserFactory getMarkupParserFactory() { if (this.markupParserFactory == null) {

Re: [Wicket-user] Link and Input

2006-08-11 Thread Mats Norén
Disregard my last post. :) /Mats - 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

Re: [Wicket-user] Link and Input

2006-08-11 Thread Juergen Donnerstag
MyApplication.java private Settings getSettings() { if (!settingsAccessible) { throw new WicketRuntimeException( Use Application.init() method for configuring your application object);

Re: [Wicket-user] Link and Input

2006-08-11 Thread Mats Norén
Hmm..didn't work out as I expected. Isn't Settings.java final in 1.2.1? - 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

Re: [Wicket-user] Link and Input

2006-08-11 Thread Mats Norén
I'm sorry if I come across as a little bit stupid here but the way I understood it was that getSettings() in Application is deprecated and shouldn't be used? And from what class should I derive MySettings? I mean since Settings is final. I thought I would supply my own IMarkupSettings but since

Re: [Wicket-user] Link and Input

2006-08-10 Thread Johan Compagner
are you saying we introduce the alt attribute? Then wicket would be very good! :)But wicket tries to resolve all relative links to absoluteSo how do you other things look? Are those also relative links? see the PrependContextPathHandler for the place that does this.johanOn 8/10/06, Mats Norén

Re: [Wicket-user] Link and Input

2006-08-10 Thread Mats Norén
On 8/10/06, Johan Compagner [EMAIL PROTECTED] wrote: are you saying we introduce the alt attribute? Then wicket would be very good! :) :) No, I don't think wicket added that one... But wicket tries to resolve all relative links to absolute So how do you other things look? Are those also

Re: [Wicket-user] Link and Input

2006-08-10 Thread Johan Compagner
on what input element?can you show the markup?johanOn 8/10/06, Mats Norén [EMAIL PROTECTED] wrote:On 8/10/06, Johan Compagner [EMAIL PROTECTED] wrote: are you saying we introduce the alt attribute? Then wicket would be very good! :):)No, I don't think wicket added that one... But wicket tries to