The example is in wicket-contrib as well. You need to check out from
HEAD, and then you can find the example in src/examples. Just run in
your IDE, as there is no build script for it (and I'm not sure if I want
one).
Eelco
Cameron Braid wrote:
I can't see the velocity template example in CVS.
I am interested in this, because I am looking into doing a similar thing
with FreeMarker.
Thanks,
Cameron.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:wicket-develop-
[EMAIL PROTECTED] On Behalf Of Eelco Hillenius
Sent: Sunday, 6 March 2005 6:35 AM
To: [email protected]
Subject: Re: [Wicket-develop] Component based templates
Ok, I'm done.
I just checked it in, which means that it will be available on anonymous
CVS within a few hours...
To test it, you should check out wicket and wicket-contrib from HEAD and
build a snapshot (go to wicket, type: 'maven jar:install-snapshot').
Then go to wicket-contrib, and just type 'maven' to download the new
dependencies (only velocity-1.4.jar was added).
Now, if you use Eclipse, you can run the contrib examples; the webapp
root dir is in ${wicket-contrib}/src/examples/webapp
When you run it, select 'Velocity Template Example', and have a look at
the source code.
Have fun!
Eelco
Abdul Rahman Advany wrote:
Jups thats what I need : )
Eelco Hillenius wrote:
Sorry, not sure what you mean yet. My guess is we want the same, so
here's what I need:
- A component that acts like a panel;
- and that has no 'fixed' markup, but instead the actual markup will
come from some other source, usually from a database;
- in this markup there is still some room to play around with
variables and basic language constructs like foreach loops etc.
I need this because the site I am talking about has some CMS
capabilities, and has some predefined blocks with flexible content
that is to be maintained by a HTML guy, not a programmer, and that
needs to be maintained without having the need to redeploy the
application.
Is that what you need as well, or do you need something different?
Eelco
Abdul Rahman Advany wrote:
Hi,
At this moment, for each "WebPage" you have 1 template, with all the
components implemented. But what I like to do is to is tell each
component to use a certain template, and then implemented in the
main page.
Eelco Hillenius wrote:
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real
users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop