[Yanel-dev] GWT components: building and i18n

Guillaume Déflache guillaume.deflache at wyona.com
Fri Jun 19 12:35:25 CEST 2009


Hi all!

At some point Simon said to me that Josias and Michi were against 
building GWT components during the Yanel build, and that, because of 
this, compiled GWT code had to be commited into SVN.

This turned out to be misunderstanding: according to Michi the point was 
that Yanel itself should not depend on GWT. Truth is, individual 
resource-types can.

So maybe we could do this better by simply calling the GWT build process 
from the RTs' Ant build files, and probably move a bunch of files around 
so that all things finally land in the correct place.


Another issue I have with GWT: is there some provision for i18n, or must 
that be done manually, like, with resource-bundles? It would be nice if 
we could also use Cocoon-like XML i18n files like we do for all other 
translated stuff (AFAIK).


I am asking all this because the policy editor needs an overhaul ( cf. 
http://bugzilla.wyona.com/cgi-bin/bugzilla/show_bug.cgi?id=7165 ) and it 
uses AJAX (*) through GWT.

Also is any resource-type *outside of the 
http://svn.wyona.com/repos/public/yanel/contributions/ajax-components/src 
directory* using GWT that we should avoid to break by doing this? ;)

(*): Using AJAX for the policy editor is absolutely needed IMHO because 
the UI is complex, and anyway this is admin stuff so requiring JS is OK 
I guess.


WDYT?

Cheers,
    Guillaume


More information about the Yanel-development mailing list