Sunday, June 14, 2015

Compile UiBinder to static html?

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