I did warn you [1] I'd be back!  :-)

It looks like I will be using Wicket for my next project, but I ran into 
an interesting little issue that I'm not sure how to solve.  How can I 
allow templates that have something like <wicket:message>'s included but 
with my own custom resolver?

The application will have multiple deployments, and each customer will 
be able to tweak the look and feel of the output.  Most of that will be 
handled by CSS changes and choices of several pre-built HTML templates. 
  But there will also be a need for certain sections of the templates to 
be customizable to allow what is essentially free-form data including 
arbitrary name-value pairs.  There will be real logic involved in 
looking up the dynamic value for each name, and I can't simply stick the 
data in properties file.

Since each installation will only serve one language, i18n will not be 
an issue, so I might be able to do this by replacing the 
WicketMessageResolver with a custom implementation.  Or I could add my 
own IComponentResolver.  But are there extension points that would let 
me do either of these, or will I have to hack up my own version of 
Wicket just for this?

Or, even better, is there something already in place that would simply 
let me hook in a custom means of resolving either the message key or my 
own construct?

   -- Scott

[1] http://tinyurl.com/2jqy48


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

Reply via email to