of the component itself. So if we then prepend it again with a path it will just be in the way.
i updated the javadoc.
johan
On 3/22/06, Juergen Donnerstag <[EMAIL PROTECTED]> wrote:
I remember we had a discussion on 2. One group preferred to apply it
to any tag and if the component wants to change that, than you still
could. The other group argued that modification to the src attribute
become more complicated (as the path would have been already
prepended). There is some truth in both. Eventually we decided not to
touch components.
Juergen
On 3/22/06, Johan Compagner <[EMAIL PROTECTED]> wrote:
> 1> made it "This is a markup inline filter which by default is added to the
> ... "
>
> 2> The javadoc is right? It is wrong it is not applied to wicket components.
> It shouldn't be because that is left to the wicket component itself.
>
> johan
>
>
>
> On 3/22/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > PrependContextPathHandler has some inconsistencies between documentation
> and implementation:
> >
> > 1.
> > JavaDoc:
> > * This is a markup inline filter which by default is not added to the
> > * list of markup filters.
> >
> > The contrary is true, see MarkupParserFactory line 27. This seems to be a
> left over in the documentation.
> >
> > 2.
> > JavaDoc:
> > * It is applied to all tags (attributes) no matter whether
> > * the tag is a wicket tag or not.
> >
> > But the code checks for a component id:
> > > final ComponentTag tag =
> (ComponentTag)getParent().nextTag();
> > > if (tag == null || tag.getId() != null)
> >
> > This means that currently 'src' attributes of image buttons are not
> prepended with the context path:
> >
> > <input wicket:id="search" src="" type="image"/>
> >
> > IMHO in this case the javadoc is right.
> >
> > Sven
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by xPML, a groundbreaking scripting
> language
> > that extends applications into web and mobile media. Attend the live
> webcast
> > and join the prime developer group breaking into this new coding
> territory!
> >
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> > _______________________________________________
> > Wicket-develop mailing list
> > [email protected]
> >
> https://lists.sourceforge.net/lists/listinfo/wicket-develop
> >
>
>
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&dat1642
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop
