Eric,

I found a way around this, by adding a method to AppModule.java under
com.db.dbiq.services.

    public void contributeMetaDataLocator(MappedConfiguration<String,String>
configuration)
    {
        if (HttpHelper.isProduction()) {
                configuration.add(MetaDataConstants.SECURE_PAGE, "true");
        }
        else {
                configuration.add(MetaDataConstants.SECURE_PAGE, "false");
        }
    }

In my case, the production sites are secure and the development ones are
not. You can substitute  HttpHelper.isProduction() with some relevant code.

There is also a way to secure individual pages by adding the @Secure
notation but my local testing got
disturbed when I used this notation.

Hope this helps.

Mahesh.



Eric Ma wrote:
> 
> Running version 5.0.15.
> 
> Form submission works well in HTTP.  Under HTTPS, T5 complains "Error:
> Forms require that the request method be POST and that the t:formdata
> query parameter have values.".
> 
> It seems 5.0.15 introduced a feature to block form GET.  See
> https://issues.apache.org/jira/browse/TAPESTRY-2563.  
> 
> Any suggestions how to work around this?
> 
> Thanks,
> 

-- 
View this message in context: 
http://www.nabble.com/-T5--Form-submission-via-POST-and-problem-under-HTTPS-tp19925747p20481672.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to