Sunday, September 19, 2010

Re: Parameters in gwt.xml File?

On Sep 19, 6:09 am, Evan Ruff <evan.r...@gmail.com> wrote:
> Hey guys,
>
> I have a generator that I'd like to configure with some parameters in
> the gwt.xml file. Is there any way I can do that? If so, how does one
> go about defining them in the gwt.xml and then looking up the
> parameter in the generator?
>
> If it isn't possible, is there a good way to do it otherwise?

<set-configuration-property> (I can't remember if there's a <define-
configuration-property>) and in your generator
getConfigurationProperty(name) to retrieve the value.
You'll find examples of use in GWT (from memory, ClientBundle uses
some configuration properties)

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment