I haven't got very deep in to it yet, but why woudln't caching work? I
would implement this on stream level, so it should be transparent for
the rest of wicket. Or am I missing something?
-Matej
Eelco Hillenius wrote:
That would be pretty useable. You probably can't use the default markup
caching mechanism though, so we might want to make that more
configurable
https://sourceforge.net/tracker/index.php?func=detail&aid=1235319&group_id=119783&atid=684978
Juergen, is there anything more we can do here? We had a discussion
about 18n text replacing on this list last week too, so it seems like a
good idea to consider whether we can support this better...
Eelco
Matej Knopp wrote:
What I wanted to do was having a one markup (like Page_src.html) that
would look like
<html>
$(item1)
</html>
and properties for different languages that could be used as model to
generate Page_en, Page_sk, Page_de, etc. These pages would be
generated statically from ide. But I don't want it anymore.
I'm going to try if it is possible to implement my own resource
locator that would return a stream that would generate the correct
page content (replacing things like $(item1)) on fly.
I know I can use <wicket:component> to i18n, but it doesn't seem to be
able to do things like translation buttons label (the value attribute).
-Matej
Juergen Donnerstag wrote:
Matej,
did you look at the forminput example already? It shows you how to use
properties file to localize your apps.
I've tried some plugins from exlipse plugins site but I couldn't get
any
of them running properly in eclipse 3.1.
not sure what you mean. An ecplise plugin which "automatically"
maintains the different markup files for you with input from
properties files?
So I just want to know if anyone have some experience with this to
share.
wicket-stuff contains an example on using velocity, but as far as I
remember not in the context of I18N. Don't know if that is of any
help.
What I did some months ago and I don't know if it is still working
with HEAD, I created a kind of wicket based pre-processor which
created files page.html, page_en.html, page_de.html etc from a
template markup file and replaced wicket-preprocessor tags.
Wicket-preprocessor tags didn't use wicket:id, they simply used
w18n:id instead, thus separating the pre-processor from actual wicket
tags. But it was wicket-core which replaced the text to be localized.
Juergen
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user