Have you come up with workable code? I'm about to do what you have just done
with freemarker.
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
Hm, still a good question. How do you get the IResponseFilter in there? There
doesn't seem to be a way to do anything with the RequestCycle, and
getApplication().getRequestCycleSettings() doesn't seem to have a place to
set the IResponseFilter...I would also like to ensure that the custom
it is a global thing, so it will be applied to all request.
getRequestCycleSettings().getResponseFilters().add(new MyFIlter());
-igor
On 8/8/07, Tremelune [EMAIL PROTECTED] wrote:
Hm, still a good question. How do you get the IResponseFilter in there?
There
doesn't seem to be a way to do
Hi,
I didn't find a solution, I ended up just using freemarker and servlets for
pages where I needed to do this which isn't too bad for me as I've two main
sections to my application one uses wicket and the other uses freemarker.
Have you come up with workable code? I'm about to do what you
you couldve used a freemarkerpanel i suppose. depends on the usecase.
-igor
On 8/8/07, Andrew Moore [EMAIL PROTECTED] wrote:
Hi,
I didn't find a solution, I ended up just using freemarker and servlets
for
pages where I needed to do this which isn't too bad for me as I've two
main
Hi,
I'm currently writing a CMS in wicket. One of the things I'm wanting to do
is make it nice and flexible to be able to design new templates for
rendering the page.
I'm looking at producing an image gallery at the moment.
For the moment I'm using dummy.jpg or something similar in the html
Hi Andrew,
Your use-case is exactly what Wicket is about. In the template file, use
wicket:id attributes on the img tag. Place these tags in some kind of
container (span or div element) to be able to repeat it. In the code you
can attach an instance of Image (or variations, see javadoc). Use a
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
Hi Andrew,
I see. Yes that makes it quite different. I am not knowledgeable enough
on dynamic templates. So other could help you better.
There are a few other attempt to write Wicket components for a CMS.
Perhaps you can learn from those.
http://burgerweeshuis.sourceforge.net/
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
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
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
12 matches
Mail list logo