Re: [Wicket-user] there is no way to preprocess raw markup in wicket 1.1?

2007-02-21 Thread Carfield Yim
That would be great

On 2/22/07, James McLaughlin <[EMAIL PROTECTED]> wrote:
> Unfortunately, it would be a pain to separate out the examples I have, but
> there are some unit tests under wicket.markup.outputTransformer that I'm
> pretty sure will get you going.
>
> hth,
> jim
>
>
>  On 2/20/07, Carfield Yim <[EMAIL PROTECTED]> wrote:
> >
> > Could you give me an example to show how it work?
> >
> > On 2/21/07, James McLaughlin <[EMAIL PROTECTED]> wrote:
> > > Probably the thing that makes it difficult to use is that by default
> > > it looks for an xsl in the package of the component the
> > > XsltTransformerBehavior is being applied to, with the name of its
> > > componentId.
> > >
> > > So if you have a component foo.bar.MyComp.java you want to transform,
> > > and it is added to the hierarchy with "myId", then it will look for
> > > foo.bar.myid.xsl to apply for the transform.
> > >
> > > But you can also submit the full path and file name to the
> > > XsltTransformerBehavior's constructor.
> > >
> > > Other than that, it couldn't be easier to use. Just add(new
> > > XsltTransformerBehavior())
> > >
> > > On 2/20/07, Carfield Yim < [EMAIL PROTECTED]> wrote:
> > > > Not really related to the original question, I try to use it before
> > > > but fail as I cannot find any example show how to work with this,
> > > > could you point some resource to me to take a look?
> > > >
> > > > On 2/21/07, James McLaughlin <[EMAIL PROTECTED]> wrote:
> > > > > There is also XsltTransformerBehavior (in wicket.markup.transformer
> )
> > > > >
> > > > > hth,
> > > > > jim
> > > > >
> > > > > On 2/20/07, Juergen Donnerstag <[EMAIL PROTECTED]> wrote:
> > > > > > search for IMarkupFilter
> > > > > >
> > > > > > Juergen
> > > > > >
> > > > > > On 2/19/07, wouvlfe <[EMAIL PROTECTED] > wrote:
> > > > > > >
> > > > > > > oops, should have been more clear about what i want to do
> > > > > > > i want to be able to preprocess some of the tags (that do not
> have wicket
> > > > > > > ids) in the markup and modify them if necessary
> > > > > > >
> > > > > > > example:
> > > > > > > modify the original tag:
> > > > > > > /a/b/c
> > > > > > >
> > > > > > > to the tag:
> > > > > > > /e/f
> > > > > > >
> > > > > > > that is, change the static paths in certain scenarios
> > > > > > >
> > > > > > > is there a way this can be done through wicket?
> > > > > > > (i dont want to add a 50 different wicket tags for 50 different
> static
> > > > > > > resources in my markup file. So I would need to do this without
> wicket tags)
> > > > > > >
> > > > > > > i think Igor pointed me to IMarkupFilter but that didnt help me
> accomplish
> > > > > > > what I want.
> > > > > > > The filters dont seem to allow me to modify raw markup.
> > > > > > > dont know why but wicket LOVES to make classes and methods
> final.
> > > > > > > so there is no way i can use polymorphism to extend
> functionalities of
> > > > > > > wicket's base classes
> > > > > > >
> > > > > > > vk
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Timo Rantalaiho wrote:
> > > > > > > >
> > > > > > > > On Mon, 19 Feb 2007, wouvlfe wrote:
> > > > > > > >> I simply want to be able to modify the values of some static
> paths in the
> > > > > > > >> raw html markup
> > > > > > > >>
> > > > > > > >> it seems that there is no way to do it in wicket 1.1 ??
> > > > > > > >> i started by looking into markup filters
> > > > > > > >> when i wrote my own markup parser, i couldnt find a way to
> replace
> > > > > > > >> portions
> > > > > > > >> of the raw html
> > > > > > > >
> > > > > > > > It would help to know more specifically what you are trying
> > > > > > > > to achieve.
> > > > > > > >
> > > > > > > > But if you want to change URLs to static resources, you
> > > > > > > > might be better off providing a custom resource locator
> > > > > > > >
> > > > > > > >
> > > > > > > >
> http://cwiki.apache.org/WICKET/control-where-html-files-are-loaded-from.html
> > > > > > > >
> > > > > > > > or if paths are produced by wicket components, tweaking your
> > > > > > > > own versions of the components.
> > > > > > > >
> > > > > > > > - Timo
> > > > > > > >
> > > > > > > > --
> > > > > > > > Timo Rantalaiho
> > > > > > > > Reaktor Innovations Oyhttp://www.ri.fi/ >
> > > > > > > >
> > > > > > > >
> -
> > > > > > > > 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.php&p=sourceforge&CID=DEVDEV
> > > > > > > >
> ___
> > > > > > > > Wicket-user mailing list
> > > > > > > > Wicket-user@lists.sourceforge.net
> > > > > > > >
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> > > > > > > >
> > > > > > > >
> > > > > > >
>

Re: [Wicket-user] there is no way to preprocess raw markup in wicket 1.1?

2007-02-21 Thread James McLaughlin

Unfortunately, it would be a pain to separate out the examples I have, but
there are some unit tests under wicket.markup.outputTransformer that I'm
pretty sure will get you going.

hth,
jim

On 2/20/07, Carfield Yim <[EMAIL PROTECTED]> wrote:


Could you give me an example to show how it work?

On 2/21/07, James McLaughlin <[EMAIL PROTECTED]> wrote:
> Probably the thing that makes it difficult to use is that by default
> it looks for an xsl in the package of the component the
> XsltTransformerBehavior is being applied to, with the name of its
> componentId.
>
> So if you have a component foo.bar.MyComp.java you want to transform,
> and it is added to the hierarchy with "myId", then it will look for
> foo.bar.myid.xsl to apply for the transform.
>
> But you can also submit the full path and file name to the
> XsltTransformerBehavior's constructor.
>
> Other than that, it couldn't be easier to use. Just add(new
> XsltTransformerBehavior())
>
> On 2/20/07, Carfield Yim <[EMAIL PROTECTED]> wrote:
> > Not really related to the original question, I try to use it before
> > but fail as I cannot find any example show how to work with this,
> > could you point some resource to me to take a look?
> >
> > On 2/21/07, James McLaughlin <[EMAIL PROTECTED]> wrote:
> > > There is also XsltTransformerBehavior (in wicket.markup.transformer)
> > >
> > > hth,
> > > jim
> > >
> > > On 2/20/07, Juergen Donnerstag <[EMAIL PROTECTED]> wrote:
> > > > search for IMarkupFilter
> > > >
> > > > Juergen
> > > >
> > > > On 2/19/07, wouvlfe <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > oops, should have been more clear about what i want to do
> > > > > i want to be able to preprocess some of the tags (that do not
have wicket
> > > > > ids) in the markup and modify them if necessary
> > > > >
> > > > > example:
> > > > > modify the original tag:
> > > > > /a/b/c
> > > > >
> > > > > to the tag:
> > > > > /e/f
> > > > >
> > > > > that is, change the static paths in certain scenarios
> > > > >
> > > > > is there a way this can be done through wicket?
> > > > > (i dont want to add a 50 different wicket tags for 50 different
static
> > > > > resources in my markup file. So I would need to do this without
wicket tags)
> > > > >
> > > > > i think Igor pointed me to IMarkupFilter but that didnt help me
accomplish
> > > > > what I want.
> > > > > The filters dont seem to allow me to modify raw markup.
> > > > > dont know why but wicket LOVES to make classes and methods
final.
> > > > > so there is no way i can use polymorphism to extend
functionalities of
> > > > > wicket's base classes
> > > > >
> > > > > vk
> > > > >
> > > > >
> > > > >
> > > > > Timo Rantalaiho wrote:
> > > > > >
> > > > > > On Mon, 19 Feb 2007, wouvlfe wrote:
> > > > > >> I simply want to be able to modify the values of some static
paths in the
> > > > > >> raw html markup
> > > > > >>
> > > > > >> it seems that there is no way to do it in wicket 1.1 ??
> > > > > >> i started by looking into markup filters
> > > > > >> when i wrote my own markup parser, i couldnt find a way to
replace
> > > > > >> portions
> > > > > >> of the raw html
> > > > > >
> > > > > > It would help to know more specifically what you are trying
> > > > > > to achieve.
> > > > > >
> > > > > > But if you want to change URLs to static resources, you
> > > > > > might be better off providing a custom resource locator
> > > > > >
> > > > > >
> > > > > >
http://cwiki.apache.org/WICKET/control-where-html-files-are-loaded-from.html
> > > > > >
> > > > > > or if paths are produced by wicket components, tweaking your
> > > > > > own versions of the components.
> > > > > >
> > > > > > - Timo
> > > > > >
> > > > > > --
> > > > > > Timo Rantalaiho
> > > > > > Reaktor Innovations Oyhttp://www.ri.fi/ >
> > > > > >
> > > > > >
-
> > > > > > 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.php&p=sourceforge&CID=DEVDEV
> > > > > > ___
> > > > > > Wicket-user mailing list
> > > > > > Wicket-user@lists.sourceforge.net
> > > > > > https://lists.sourceforge.net/lists/listinfo/wicket-user
> > > > > >
> > > > > >
> > > > >
> > > > > --
> > > > > View this message in context:
http://www.nabble.com/there-is-no-way-to-preprocess-raw-markup-in-wicket-1.1--tf3251667.html#a9040495
> > > > > Sent from the Wicket - User mailing list archive at Nabble.com.
> > > > >
> > > > >
> > > > >
-
> > > > > 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
ca

Re: [Wicket-user] there is no way to preprocess raw markup in wicket 1.1?

2007-02-20 Thread Carfield Yim
Could you give me an example to show how it work?

On 2/21/07, James McLaughlin <[EMAIL PROTECTED]> wrote:
> Probably the thing that makes it difficult to use is that by default
> it looks for an xsl in the package of the component the
> XsltTransformerBehavior is being applied to, with the name of its
> componentId.
>
> So if you have a component foo.bar.MyComp.java you want to transform,
> and it is added to the hierarchy with "myId", then it will look for
> foo.bar.myid.xsl to apply for the transform.
>
> But you can also submit the full path and file name to the
> XsltTransformerBehavior's constructor.
>
> Other than that, it couldn't be easier to use. Just add(new
> XsltTransformerBehavior())
>
> On 2/20/07, Carfield Yim <[EMAIL PROTECTED]> wrote:
> > Not really related to the original question, I try to use it before
> > but fail as I cannot find any example show how to work with this,
> > could you point some resource to me to take a look?
> >
> > On 2/21/07, James McLaughlin <[EMAIL PROTECTED]> wrote:
> > > There is also XsltTransformerBehavior (in wicket.markup.transformer)
> > >
> > > hth,
> > > jim
> > >
> > > On 2/20/07, Juergen Donnerstag <[EMAIL PROTECTED]> wrote:
> > > > search for IMarkupFilter
> > > >
> > > > Juergen
> > > >
> > > > On 2/19/07, wouvlfe <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > oops, should have been more clear about what i want to do
> > > > > i want to be able to preprocess some of the tags (that do not have 
> > > > > wicket
> > > > > ids) in the markup and modify them if necessary
> > > > >
> > > > > example:
> > > > > modify the original tag:
> > > > > /a/b/c
> > > > >
> > > > > to the tag:
> > > > > /e/f
> > > > >
> > > > > that is, change the static paths in certain scenarios
> > > > >
> > > > > is there a way this can be done through wicket?
> > > > > (i dont want to add a 50 different wicket tags for 50 different static
> > > > > resources in my markup file. So I would need to do this without 
> > > > > wicket tags)
> > > > >
> > > > > i think Igor pointed me to IMarkupFilter but that didnt help me 
> > > > > accomplish
> > > > > what I want.
> > > > > The filters dont seem to allow me to modify raw markup.
> > > > > dont know why but wicket LOVES to make classes and methods final.
> > > > > so there is no way i can use polymorphism to extend functionalities of
> > > > > wicket's base classes
> > > > >
> > > > > vk
> > > > >
> > > > >
> > > > >
> > > > > Timo Rantalaiho wrote:
> > > > > >
> > > > > > On Mon, 19 Feb 2007, wouvlfe wrote:
> > > > > >> I simply want to be able to modify the values of some static paths 
> > > > > >> in the
> > > > > >> raw html markup
> > > > > >>
> > > > > >> it seems that there is no way to do it in wicket 1.1 ??
> > > > > >> i started by looking into markup filters
> > > > > >> when i wrote my own markup parser, i couldnt find a way to replace
> > > > > >> portions
> > > > > >> of the raw html
> > > > > >
> > > > > > It would help to know more specifically what you are trying
> > > > > > to achieve.
> > > > > >
> > > > > > But if you want to change URLs to static resources, you
> > > > > > might be better off providing a custom resource locator
> > > > > >
> > > > > >
> > > > > > http://cwiki.apache.org/WICKET/control-where-html-files-are-loaded-from.html
> > > > > >
> > > > > > or if paths are produced by wicket components, tweaking your
> > > > > > own versions of the components.
> > > > > >
> > > > > > - Timo
> > > > > >
> > > > > > --
> > > > > > Timo Rantalaiho
> > > > > > Reaktor Innovations Oyhttp://www.ri.fi/ >
> > > > > >
> > > > > > -
> > > > > > 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.php&p=sourceforge&CID=DEVDEV
> > > > > > ___
> > > > > > Wicket-user mailing list
> > > > > > Wicket-user@lists.sourceforge.net
> > > > > > https://lists.sourceforge.net/lists/listinfo/wicket-user
> > > > > >
> > > > > >
> > > > >
> > > > > --
> > > > > View this message in context: 
> > > > > http://www.nabble.com/there-is-no-way-to-preprocess-raw-markup-in-wicket-1.1--tf3251667.html#a9040495
> > > > > Sent from the Wicket - User mailing list archive at Nabble.com.
> > > > >
> > > > >
> > > > > -
> > > > > 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.php&p=sourceforge&CID=DEVDEV
> > > > > ___
> > > > > Wicket-us

Re: [Wicket-user] there is no way to preprocess raw markup in wicket 1.1?

2007-02-20 Thread James McLaughlin
Probably the thing that makes it difficult to use is that by default
it looks for an xsl in the package of the component the
XsltTransformerBehavior is being applied to, with the name of its
componentId.

So if you have a component foo.bar.MyComp.java you want to transform,
and it is added to the hierarchy with "myId", then it will look for
foo.bar.myid.xsl to apply for the transform.

But you can also submit the full path and file name to the
XsltTransformerBehavior's constructor.

Other than that, it couldn't be easier to use. Just add(new
XsltTransformerBehavior())

On 2/20/07, Carfield Yim <[EMAIL PROTECTED]> wrote:
> Not really related to the original question, I try to use it before
> but fail as I cannot find any example show how to work with this,
> could you point some resource to me to take a look?
>
> On 2/21/07, James McLaughlin <[EMAIL PROTECTED]> wrote:
> > There is also XsltTransformerBehavior (in wicket.markup.transformer)
> >
> > hth,
> > jim
> >
> > On 2/20/07, Juergen Donnerstag <[EMAIL PROTECTED]> wrote:
> > > search for IMarkupFilter
> > >
> > > Juergen
> > >
> > > On 2/19/07, wouvlfe <[EMAIL PROTECTED]> wrote:
> > > >
> > > > oops, should have been more clear about what i want to do
> > > > i want to be able to preprocess some of the tags (that do not have 
> > > > wicket
> > > > ids) in the markup and modify them if necessary
> > > >
> > > > example:
> > > > modify the original tag:
> > > > /a/b/c
> > > >
> > > > to the tag:
> > > > /e/f
> > > >
> > > > that is, change the static paths in certain scenarios
> > > >
> > > > is there a way this can be done through wicket?
> > > > (i dont want to add a 50 different wicket tags for 50 different static
> > > > resources in my markup file. So I would need to do this without wicket 
> > > > tags)
> > > >
> > > > i think Igor pointed me to IMarkupFilter but that didnt help me 
> > > > accomplish
> > > > what I want.
> > > > The filters dont seem to allow me to modify raw markup.
> > > > dont know why but wicket LOVES to make classes and methods final.
> > > > so there is no way i can use polymorphism to extend functionalities of
> > > > wicket's base classes
> > > >
> > > > vk
> > > >
> > > >
> > > >
> > > > Timo Rantalaiho wrote:
> > > > >
> > > > > On Mon, 19 Feb 2007, wouvlfe wrote:
> > > > >> I simply want to be able to modify the values of some static paths 
> > > > >> in the
> > > > >> raw html markup
> > > > >>
> > > > >> it seems that there is no way to do it in wicket 1.1 ??
> > > > >> i started by looking into markup filters
> > > > >> when i wrote my own markup parser, i couldnt find a way to replace
> > > > >> portions
> > > > >> of the raw html
> > > > >
> > > > > It would help to know more specifically what you are trying
> > > > > to achieve.
> > > > >
> > > > > But if you want to change URLs to static resources, you
> > > > > might be better off providing a custom resource locator
> > > > >
> > > > >
> > > > > http://cwiki.apache.org/WICKET/control-where-html-files-are-loaded-from.html
> > > > >
> > > > > or if paths are produced by wicket components, tweaking your
> > > > > own versions of the components.
> > > > >
> > > > > - Timo
> > > > >
> > > > > --
> > > > > Timo Rantalaiho
> > > > > Reaktor Innovations Oyhttp://www.ri.fi/ >
> > > > >
> > > > > -
> > > > > 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.php&p=sourceforge&CID=DEVDEV
> > > > > ___
> > > > > Wicket-user mailing list
> > > > > Wicket-user@lists.sourceforge.net
> > > > > https://lists.sourceforge.net/lists/listinfo/wicket-user
> > > > >
> > > > >
> > > >
> > > > --
> > > > View this message in context: 
> > > > http://www.nabble.com/there-is-no-way-to-preprocess-raw-markup-in-wicket-1.1--tf3251667.html#a9040495
> > > > Sent from the Wicket - User mailing list archive at Nabble.com.
> > > >
> > > >
> > > > -
> > > > 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.php&p=sourceforge&CID=DEVDEV
> > > > ___
> > > > Wicket-user mailing list
> > > > Wicket-user@lists.sourceforge.net
> > > > https://lists.sourceforge.net/lists/listinfo/wicket-user
> > > >
> > >
> > > -
> > > Take Surveys. Earn Cash. Influence the Future of IT
> > > Join SourceForge.net's Techsay panel and you'll get the chance to sh

Re: [Wicket-user] there is no way to preprocess raw markup in wicket 1.1?

2007-02-20 Thread Carfield Yim
Not really related to the original question, I try to use it before
but fail as I cannot find any example show how to work with this,
could you point some resource to me to take a look?

On 2/21/07, James McLaughlin <[EMAIL PROTECTED]> wrote:
> There is also XsltTransformerBehavior (in wicket.markup.transformer)
>
> hth,
> jim
>
> On 2/20/07, Juergen Donnerstag <[EMAIL PROTECTED]> wrote:
> > search for IMarkupFilter
> >
> > Juergen
> >
> > On 2/19/07, wouvlfe <[EMAIL PROTECTED]> wrote:
> > >
> > > oops, should have been more clear about what i want to do
> > > i want to be able to preprocess some of the tags (that do not have wicket
> > > ids) in the markup and modify them if necessary
> > >
> > > example:
> > > modify the original tag:
> > > /a/b/c
> > >
> > > to the tag:
> > > /e/f
> > >
> > > that is, change the static paths in certain scenarios
> > >
> > > is there a way this can be done through wicket?
> > > (i dont want to add a 50 different wicket tags for 50 different static
> > > resources in my markup file. So I would need to do this without wicket 
> > > tags)
> > >
> > > i think Igor pointed me to IMarkupFilter but that didnt help me accomplish
> > > what I want.
> > > The filters dont seem to allow me to modify raw markup.
> > > dont know why but wicket LOVES to make classes and methods final.
> > > so there is no way i can use polymorphism to extend functionalities of
> > > wicket's base classes
> > >
> > > vk
> > >
> > >
> > >
> > > Timo Rantalaiho wrote:
> > > >
> > > > On Mon, 19 Feb 2007, wouvlfe wrote:
> > > >> I simply want to be able to modify the values of some static paths in 
> > > >> the
> > > >> raw html markup
> > > >>
> > > >> it seems that there is no way to do it in wicket 1.1 ??
> > > >> i started by looking into markup filters
> > > >> when i wrote my own markup parser, i couldnt find a way to replace
> > > >> portions
> > > >> of the raw html
> > > >
> > > > It would help to know more specifically what you are trying
> > > > to achieve.
> > > >
> > > > But if you want to change URLs to static resources, you
> > > > might be better off providing a custom resource locator
> > > >
> > > >
> > > > http://cwiki.apache.org/WICKET/control-where-html-files-are-loaded-from.html
> > > >
> > > > or if paths are produced by wicket components, tweaking your
> > > > own versions of the components.
> > > >
> > > > - Timo
> > > >
> > > > --
> > > > Timo Rantalaiho
> > > > Reaktor Innovations Oyhttp://www.ri.fi/ >
> > > >
> > > > -
> > > > 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.php&p=sourceforge&CID=DEVDEV
> > > > ___
> > > > Wicket-user mailing list
> > > > Wicket-user@lists.sourceforge.net
> > > > https://lists.sourceforge.net/lists/listinfo/wicket-user
> > > >
> > > >
> > >
> > > --
> > > View this message in context: 
> > > http://www.nabble.com/there-is-no-way-to-preprocess-raw-markup-in-wicket-1.1--tf3251667.html#a9040495
> > > Sent from the Wicket - User mailing list archive at Nabble.com.
> > >
> > >
> > > -
> > > 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.php&p=sourceforge&CID=DEVDEV
> > > ___
> > > Wicket-user mailing list
> > > Wicket-user@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/wicket-user
> > >
> >
> > -
> > 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.php&p=sourceforge&CID=DEVDEV
> > ___
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
>
> -
> 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.php&p=sourceforge&CID=DEVDEV
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>

-

Re: [Wicket-user] there is no way to preprocess raw markup in wicket 1.1?

2007-02-20 Thread James McLaughlin
There is also XsltTransformerBehavior (in wicket.markup.transformer)

hth,
jim

On 2/20/07, Juergen Donnerstag <[EMAIL PROTECTED]> wrote:
> search for IMarkupFilter
>
> Juergen
>
> On 2/19/07, wouvlfe <[EMAIL PROTECTED]> wrote:
> >
> > oops, should have been more clear about what i want to do
> > i want to be able to preprocess some of the tags (that do not have wicket
> > ids) in the markup and modify them if necessary
> >
> > example:
> > modify the original tag:
> > /a/b/c
> >
> > to the tag:
> > /e/f
> >
> > that is, change the static paths in certain scenarios
> >
> > is there a way this can be done through wicket?
> > (i dont want to add a 50 different wicket tags for 50 different static
> > resources in my markup file. So I would need to do this without wicket tags)
> >
> > i think Igor pointed me to IMarkupFilter but that didnt help me accomplish
> > what I want.
> > The filters dont seem to allow me to modify raw markup.
> > dont know why but wicket LOVES to make classes and methods final.
> > so there is no way i can use polymorphism to extend functionalities of
> > wicket's base classes
> >
> > vk
> >
> >
> >
> > Timo Rantalaiho wrote:
> > >
> > > On Mon, 19 Feb 2007, wouvlfe wrote:
> > >> I simply want to be able to modify the values of some static paths in the
> > >> raw html markup
> > >>
> > >> it seems that there is no way to do it in wicket 1.1 ??
> > >> i started by looking into markup filters
> > >> when i wrote my own markup parser, i couldnt find a way to replace
> > >> portions
> > >> of the raw html
> > >
> > > It would help to know more specifically what you are trying
> > > to achieve.
> > >
> > > But if you want to change URLs to static resources, you
> > > might be better off providing a custom resource locator
> > >
> > >
> > > http://cwiki.apache.org/WICKET/control-where-html-files-are-loaded-from.html
> > >
> > > or if paths are produced by wicket components, tweaking your
> > > own versions of the components.
> > >
> > > - Timo
> > >
> > > --
> > > Timo Rantalaiho
> > > Reaktor Innovations Oyhttp://www.ri.fi/ >
> > >
> > > -
> > > 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.php&p=sourceforge&CID=DEVDEV
> > > ___
> > > Wicket-user mailing list
> > > Wicket-user@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/wicket-user
> > >
> > >
> >
> > --
> > View this message in context: 
> > http://www.nabble.com/there-is-no-way-to-preprocess-raw-markup-in-wicket-1.1--tf3251667.html#a9040495
> > Sent from the Wicket - User mailing list archive at Nabble.com.
> >
> >
> > -
> > 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.php&p=sourceforge&CID=DEVDEV
> > ___
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
>
> -
> 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.php&p=sourceforge&CID=DEVDEV
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>

-
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.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] there is no way to preprocess raw markup in wicket 1.1?

2007-02-19 Thread Juergen Donnerstag
search for IMarkupFilter

Juergen

On 2/19/07, wouvlfe <[EMAIL PROTECTED]> wrote:
>
> oops, should have been more clear about what i want to do
> i want to be able to preprocess some of the tags (that do not have wicket
> ids) in the markup and modify them if necessary
>
> example:
> modify the original tag:
> /a/b/c
>
> to the tag:
> /e/f
>
> that is, change the static paths in certain scenarios
>
> is there a way this can be done through wicket?
> (i dont want to add a 50 different wicket tags for 50 different static
> resources in my markup file. So I would need to do this without wicket tags)
>
> i think Igor pointed me to IMarkupFilter but that didnt help me accomplish
> what I want.
> The filters dont seem to allow me to modify raw markup.
> dont know why but wicket LOVES to make classes and methods final.
> so there is no way i can use polymorphism to extend functionalities of
> wicket's base classes
>
> vk
>
>
>
> Timo Rantalaiho wrote:
> >
> > On Mon, 19 Feb 2007, wouvlfe wrote:
> >> I simply want to be able to modify the values of some static paths in the
> >> raw html markup
> >>
> >> it seems that there is no way to do it in wicket 1.1 ??
> >> i started by looking into markup filters
> >> when i wrote my own markup parser, i couldnt find a way to replace
> >> portions
> >> of the raw html
> >
> > It would help to know more specifically what you are trying
> > to achieve.
> >
> > But if you want to change URLs to static resources, you
> > might be better off providing a custom resource locator
> >
> >
> > http://cwiki.apache.org/WICKET/control-where-html-files-are-loaded-from.html
> >
> > or if paths are produced by wicket components, tweaking your
> > own versions of the components.
> >
> > - Timo
> >
> > --
> > Timo Rantalaiho
> > Reaktor Innovations Oyhttp://www.ri.fi/ >
> >
> > -
> > 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.php&p=sourceforge&CID=DEVDEV
> > ___
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
> >
>
> --
> View this message in context: 
> http://www.nabble.com/there-is-no-way-to-preprocess-raw-markup-in-wicket-1.1--tf3251667.html#a9040495
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> -
> 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.php&p=sourceforge&CID=DEVDEV
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>

-
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.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] there is no way to preprocess raw markup in wicket 1.1?

2007-02-19 Thread wouvlfe

oops, should have been more clear about what i want to do
i want to be able to preprocess some of the tags (that do not have wicket
ids) in the markup and modify them if necessary

example:
modify the original tag:
/a/b/c 

to the tag:
/e/f 

that is, change the static paths in certain scenarios

is there a way this can be done through wicket?
(i dont want to add a 50 different wicket tags for 50 different static
resources in my markup file. So I would need to do this without wicket tags)

i think Igor pointed me to IMarkupFilter but that didnt help me accomplish
what I want.
The filters dont seem to allow me to modify raw markup.
dont know why but wicket LOVES to make classes and methods final.
so there is no way i can use polymorphism to extend functionalities of
wicket's base classes

vk



Timo Rantalaiho wrote:
> 
> On Mon, 19 Feb 2007, wouvlfe wrote:
>> I simply want to be able to modify the values of some static paths in the
>> raw html markup
>> 
>> it seems that there is no way to do it in wicket 1.1 ??
>> i started by looking into markup filters 
>> when i wrote my own markup parser, i couldnt find a way to replace
>> portions
>> of the raw html
> 
> It would help to know more specifically what you are trying
> to achieve.
> 
> But if you want to change URLs to static resources, you
> might be better off providing a custom resource locator
> 
>  
> http://cwiki.apache.org/WICKET/control-where-html-files-are-loaded-from.html
> 
> or if paths are produced by wicket components, tweaking your
> own versions of the components.
> 
> - Timo
> 
> -- 
> Timo Rantalaiho
> Reaktor Innovations Oyhttp://www.ri.fi/ >
> 
> -
> 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.php&p=sourceforge&CID=DEVDEV
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> 
> 

-- 
View this message in context: 
http://www.nabble.com/there-is-no-way-to-preprocess-raw-markup-in-wicket-1.1--tf3251667.html#a9040495
Sent from the Wicket - User mailing list archive at Nabble.com.


-
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.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] there is no way to preprocess raw markup in wicket 1.1?

2007-02-19 Thread Timo Rantalaiho
On Mon, 19 Feb 2007, wouvlfe wrote:
> I simply want to be able to modify the values of some static paths in the
> raw html markup
> 
> it seems that there is no way to do it in wicket 1.1 ??
> i started by looking into markup filters 
> when i wrote my own markup parser, i couldnt find a way to replace portions
> of the raw html

It would help to know more specifically what you are trying
to achieve.

But if you want to change URLs to static resources, you
might be better off providing a custom resource locator

  http://cwiki.apache.org/WICKET/control-where-html-files-are-loaded-from.html

or if paths are produced by wicket components, tweaking your
own versions of the components.

- Timo

-- 
Timo Rantalaiho
Reaktor Innovations Oyhttp://www.ri.fi/ >

-
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.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user