Fixes

Made the hostpage a jsp because .html pages bypass filters, so can cause hard to track down bugs.  Users who know enough can change the page to .html to serve it statically, wheras users who run into the filter bypass problem are less likely to be able to solve it.

License indent now looks wrong in the code but looks correct in the app.
I think fieldName would be clearer and also the varName should be anything
between a possible first slash and a possible second slash, so that you can
pass it something like /home/{param1}/ and get "home" back.

I'll update this PR tomorrow to do that.

On Wed, Nov 5, 2014 at 9:53 PM, Maxime Meriouma-Caron <
notifications@github.com> wrote:

> In
> gwtp.plugin.core/src/main/java/com/arcbees/gwtp/plugin/core/presenter/CreatePresenterPage.java:
>
> > @@ -190,6 +190,7 @@ protected String getNameSuffix() {
> >
> >      private void addMethodsToNameTokens(ICompilationUnit unit, String nameToken,
> >              IProgressMonitor monitor) throws JavaModelException, MalformedTreeException, BadLocationException {
> > +        String varName = nameToken.startsWith("/") ? nameToken.substring(1): nameToken;
>
> Ah ok I get it now, sorry!
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/ArcBees/gwtp-eclipse-plugin/pull/105/files#r19900263>.
>