Hi,
-- Thanks for the reply. It doesn't necessarily exclude JS, even though I'm pretty sure you can't include script tags in uibinder (at least when using it conventionally), but currently yes, the static page would not need any JS. And just to clarify I'm not talking about creating a new module to serve up just that page or use ExternalTextResource to render the page under the main app/module so no JS should be needed in order to serve it up.
Do you know how to configure GWT/UiBinder so this is possible?
On Monday, June 15, 2015 at 6:47:14 AM UTC-4, salk31 wrote:
On Monday, June 15, 2015 at 6:47:14 AM UTC-4, salk31 wrote:
By static does that also exclude JavaScript? GWT/UiBinder etc will generate "static" files that can go in zip or served by apache and will produce the DOM you want in the browser...
On Sunday, June 14, 2015 at 9:22:35 PM UTC+1, Seth wrote:Hi all,I would like to generate static html from a template that references static java import values (or ones that can be calculated at compile time) for like an About page or the like. I envisioned this as basically the UiBinder template without the associated widget class being used to generate the static html that would be served up. However, I don't think this is possible since uibinder is so closely linked to it's corresponding java class.Does anyone know if something like this would indeed be possible with UiBinder or something else?I also thought of using plane JSP, but since I don't want any html generation at runtime (even if it's only once) I would have to write a compile time routine to request the jsp, which would then generate the html and then save and package the resulting response as the static file. But I'd rather leave that as a last resort.I was surprised that my searching came up with basically nothing.If anyone has a suggestion or knows how to do this I'd really appreciate your input. Thanks in advance.Regards,-Seth
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment