Thanks again igor (you always seem to be able to fix any problems I'm having
getting to grasps with wicket)
I've now got a basic IResponseFilter running that will stick data into
freemarker tags.

At the moment though I'm creating a HashMap of values to put into freemarker
directly in the Filter (just for testing purposes), whereas I really want to
create a HashMap in the page I'm currently generating and either pass, or
make it available to the filter, but I can't think how I would do that.

So, how to I get data from the Page Class I have to the IResponseFilter? All
the examples I could find, just use data directly available from the
FilterClass (like system time).

Thanks again,
Andrew




igor.vaynberg wrote:
> 
> see IResponseFilter, install your own and you are good to go.
> 
> -igor
> 
> 
> On 4/24/07, Andrew Moore <[EMAIL PROTECTED]> wrote:
>>
>>
>> I've had a go with the freemarker panel, and can get a simple example
>> going.
>>
>> The thing is, instead of having a panel with a span tag, I'd like to
>> actually parse the whole .html template file that gets generated by
>> wicket.
>> Does anyone know if it's possible to do that?
>>
>> Is there a way of getting at the whole markup response that's been
>> generated
>> and modifying it before it's rendered?
>>
>>
>>
>> Eelco Hillenius wrote:
>> >
>> >> Hi,
>> >> Thanks for your reply.
>> >> I'm familiar with wicket (reasonably anyway), that may not have been
>> >> clear
>> >> from the post.
>> >> The admin of the CMS system is all using wicket, and I'm fairly happy
>> >> with
>> >> that.
>> >>
>> >> The situation is where the CMS content template pages are unknown in
>> >> structure, but I just want to be able to insert a marker into the page
>> to
>> >> replace certain values (as I'm not sure which component the references
>> >> may
>> >> be in - ie in the src attribute of an img tag, or in a parameter
>> passed
>> >> to
>> >> some javascript etc), so I can't map wicket components to the dynamic
>> >> content.
>> >>
>> >> I've noticed the wicket velocity and wicket freemarker contrib
>> projects,
>> >> would these accomplish what I want?
>> >
>> > Yep, I think that's the way to go. Or something similar. You basically
>> > expose limited funcionality (e.g. via Velocity tools) and let the
>> > users decide what they want to do with it.
>> >
>> > Eelco
>> >
>> >
>> -------------------------------------------------------------------------
>> > This SF.net email is sponsored by DB2 Express
>> > Download DB2 Express C - the FREE version of DB2 express and take
>> > control of your XML. No limits. Just data. Click to get it now.
>> > http://sourceforge.net/powerbar/db2/
>> > _______________________________________________
>> > 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/Replace-non-wicket-attributed-sections-of-a-html-document-tf3636913.html#a10162589
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by DB2 Express
>> Download DB2 Express C - the FREE version of DB2 express and take
>> control of your XML. No limits. Just data. Click to get it now.
>> http://sourceforge.net/powerbar/db2/
>> _______________________________________________
>> Wicket-user mailing list
>> Wicket-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wicket-user
>>
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> 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/Replace-non-wicket-attributed-sections-of-a-html-document-tf3636913.html#a10176381
Sent from the Wicket - User mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to