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 Oy    <URL: http://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
> [email protected]
> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to