You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Daniel Jones <da...@murieston.com> on 2009/10/02 01:11:08 UTC

T5 - Post Form To SSL

Hi There,

Is there any way to tell a form to post using https.  What I was ideally
looking for was an extra parameter on the Form component, for example:

<t:form t:id="form1" t:secure="true">
  ...
</t:form>

Just so you have an idea of what I'm trying to achieve.  I have a login form
on every page (this is part of my layout component) and I don't want every
page to be served over https.  So a way of telling the form that it should
be posted to the https version of the current page.

Many Thanks,
Daniel
-- 
View this message in context: http://www.nabble.com/T5---Post-Form-To-SSL-tp25708078p25708078.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: T5 - Post Form To SSL

Posted by Daniel Jones <da...@murieston.com>.
Thanks Olle,

I hope this is fixed soon, I would have thought that this is a common
use-case.

Cheers,
Daniel


Olle Hallin-2 wrote:
> 
> Created https://issues.apache.org/jira/browse/TAP5-874 .
> 
> Olle
> 
> 2009/10/2 Thiago H. de Paula Figueiredo <th...@gmail.com>
> 
>> Em Thu, 01 Oct 2009 20:11:08 -0300, Daniel Jones <da...@murieston.com>
>> escreveu:
>>
>>  Hi There,
>>>
>>
>> Hi!
>>
>>  Is there any way to tell a form to post using https.  What I was ideally
>>> looking for was an extra parameter on the Form component, for example:
>>>
>>> <t:form t:id="form1" t:secure="true">
>>>  ...
>>> </t:form>
>>>
>>
>> Please post a JIRA about it unless some comes with an answer. ;)
>>
>> --
>> Thiago H. de Paula Figueiredo
>> Independent Java consultant, developer, and instructor
>> http://www.arsmachina.com.br/thiago
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/T5---Post-Form-To-SSL-tp25708078p25820830.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: T5 - Post Form To SSL

Posted by Olle Hallin <ol...@hit.se>.
Created https://issues.apache.org/jira/browse/TAP5-874 .

Olle

2009/10/2 Thiago H. de Paula Figueiredo <th...@gmail.com>

> Em Thu, 01 Oct 2009 20:11:08 -0300, Daniel Jones <da...@murieston.com>
> escreveu:
>
>  Hi There,
>>
>
> Hi!
>
>  Is there any way to tell a form to post using https.  What I was ideally
>> looking for was an extra parameter on the Form component, for example:
>>
>> <t:form t:id="form1" t:secure="true">
>>  ...
>> </t:form>
>>
>
> Please post a JIRA about it unless some comes with an answer. ;)
>
> --
> Thiago H. de Paula Figueiredo
> Independent Java consultant, developer, and instructor
> http://www.arsmachina.com.br/thiago
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>

Re: T5 - Post Form To SSL

Posted by "Thiago H. de Paula Figueiredo" <th...@gmail.com>.
Em Thu, 01 Oct 2009 20:11:08 -0300, Daniel Jones <da...@murieston.com>  
escreveu:

> Hi There,

Hi!

> Is there any way to tell a form to post using https.  What I was ideally
> looking for was an extra parameter on the Form component, for example:
>
> <t:form t:id="form1" t:secure="true">
>   ...
> </t:form>

Please post a JIRA about it unless some comes with an answer. ;)

-- 
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: T5 - Post Form To SSL

Posted by Olle Hallin <ol...@hit.se>.
+1 on this!

We have the same use case in our new app.

We have so far solved it with a URLRewrite filter. This is a clumsy way of
doing it IMHO. A parameter on the Form component would be much cleaner.

Olle Hallin
Senior Java Developer and Architect
olle.hallin@crisp.se
www.crisp.se


2009/10/2 Daniel Jones <da...@murieston.com>

>
> Hi There,
>
> Is there any way to tell a form to post using https.  What I was ideally
> looking for was an extra parameter on the Form component, for example:
>
> <t:form t:id="form1" t:secure="true">
>  ...
> </t:form>
>
> Just so you have an idea of what I'm trying to achieve.  I have a login
> form
> on every page (this is part of my layout component) and I don't want every
> page to be served over https.  So a way of telling the form that it should
> be posted to the https version of the current page.
>
> Many Thanks,
> Daniel
> --
> View this message in context:
> http://www.nabble.com/T5---Post-Form-To-SSL-tp25708078p25708078.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>