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/
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
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
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]
In 2.0 it looks like
Settings.java
public IMarkupParserFactory getMarkupParserFactory()
{
if (this.markupParserFactory == null)
{
this.markupParserFactory = new
MarkupParserFactory(application)
{
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)
{
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
MyApplication.java
private Settings getSettings()
{
if (!settingsAccessible)
{
throw new WicketRuntimeException(
Use Application.init() method for
configuring your application object);
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
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
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
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
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
13 matches
Mail list logo