Form tag includeContext option

View: New views
5 Messages — Rating Filter:   Alert me  

Form tag includeContext option

by Nicola de Saint-Aubert :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



Hi,

The <s:url> tag has a very usefull parameter "includeContext". Since it
could shortcut a lot of staff executed by the proxy module, i m currently
extending this parameter to the <s:form>.
 
Here is what I did:
In java class' sources:
Add Form.includeContext,isIncludeContext(),setIncludeContext(bolean)
Add FormTag.setIncludeContext definition and call

In Struts-tag.tld -> Add in Form tag the include Context Attribute

Everything works fine, But -- there is a a but -- the character encoding
(utf8) of my html/jsp pages is not respected. Can give any help ?

Best regards,

PS: I wish this could be included in future version of struts, since as
described before "it can shortcut a lot of staff executed by the proxy
module".

 

 




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...

Re: Form tag includeContext option

by Musachy Barroso :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I agree this would be helpful, and it would be easy to fix, can you
open a jira ticket for it?

thanks
musachy

On Mon, Nov 2, 2009 at 9:14 AM, Nicola de Saint-Aubert
<nsaintaubert@...> wrote:

>
>
> Hi,
>
> The <s:url> tag has a very usefull parameter "includeContext". Since it
> could shortcut a lot of staff executed by the proxy module, i m currently
> extending this parameter to the <s:form>.
>
> Here is what I did:
> In java class' sources:
> Add Form.includeContext,isIncludeContext(),setIncludeContext(bolean)
> Add FormTag.setIncludeContext definition and call
>
> In Struts-tag.tld -> Add in Form tag the include Context Attribute
>
> Everything works fine, But -- there is a a but -- the character encoding
> (utf8) of my html/jsp pages is not respected. Can give any help ?
>
> Best regards,
>
> PS: I wish this could be included in future version of struts, since as
> described before "it can shortcut a lot of staff executed by the proxy
> module".
>
>
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@...
> For additional commands, e-mail: dev-help@...
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


RE: Form tag includeContext option

by Nicola de Saint-Aubert :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I did it It s working.

How to i open a jira ticket ?


Nicolas

-----Mensaje original-----
De: Musachy Barroso [mailto:musachy@...]
Enviado el: lunes, 02 de noviembre de 2009 18:42
Para: Struts Developers List
Asunto: Re: Form tag includeContext option

I agree this would be helpful, and it would be easy to fix, can you
open a jira ticket for it?

thanks
musachy

On Mon, Nov 2, 2009 at 9:14 AM, Nicola de Saint-Aubert
<nsaintaubert@...> wrote:

>
>
> Hi,
>
> The <s:url> tag has a very usefull parameter "includeContext". Since it
> could shortcut a lot of staff executed by the proxy module, i m currently
> extending this parameter to the <s:form>.
>
> Here is what I did:
> In java class' sources:
> Add Form.includeContext,isIncludeContext(),setIncludeContext(bolean)
> Add FormTag.setIncludeContext definition and call
>
> In Struts-tag.tld -> Add in Form tag the include Context Attribute
>
> Everything works fine, But -- there is a a but -- the character encoding
> (utf8) of my html/jsp pages is not respected. Can give any help ?
>
> Best regards,
>
> PS: I wish this could be included in future version of struts, since as
> described before "it can shortcut a lot of staff executed by the proxy
> module".
>
>
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@...
> For additional commands, e-mail: dev-help@...
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: Form tag includeContext option

by Musachy Barroso :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

http://struts.apache.org/helping.html#patches

On Mon, Nov 2, 2009 at 9:55 AM, Nicola de Saint-Aubert
<nsaintaubert@...> wrote:

> I did it It s working.
>
> How to i open a jira ticket ?
>
>
> Nicolas
>
> -----Mensaje original-----
> De: Musachy Barroso [mailto:musachy@...]
> Enviado el: lunes, 02 de noviembre de 2009 18:42
> Para: Struts Developers List
> Asunto: Re: Form tag includeContext option
>
> I agree this would be helpful, and it would be easy to fix, can you
> open a jira ticket for it?
>
> thanks
> musachy
>
> On Mon, Nov 2, 2009 at 9:14 AM, Nicola de Saint-Aubert
> <nsaintaubert@...> wrote:
>>
>>
>> Hi,
>>
>> The <s:url> tag has a very usefull parameter "includeContext". Since it
>> could shortcut a lot of staff executed by the proxy module, i m currently
>> extending this parameter to the <s:form>.
>>
>> Here is what I did:
>> In java class' sources:
>> Add Form.includeContext,isIncludeContext(),setIncludeContext(bolean)
>> Add FormTag.setIncludeContext definition and call
>>
>> In Struts-tag.tld -> Add in Form tag the include Context Attribute
>>
>> Everything works fine, But -- there is a a but -- the character encoding
>> (utf8) of my html/jsp pages is not respected. Can give any help ?
>>
>> Best regards,
>>
>> PS: I wish this could be included in future version of struts, since as
>> described before "it can shortcut a lot of staff executed by the proxy
>> module".
>>
>>
>>
>>
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@...
>> For additional commands, e-mail: dev-help@...
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@...
> For additional commands, e-mail: dev-help@...
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@...
> For additional commands, e-mail: dev-help@...
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: Form tag includeContext option

by Musachy Barroso :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Fixed in trunk. https://issues.apache.org/struts/browse/WW-3312

thanks for reporting.

On Mon, Nov 2, 2009 at 10:10 AM, Musachy Barroso <musachy@...> wrote:

> http://struts.apache.org/helping.html#patches
>
> On Mon, Nov 2, 2009 at 9:55 AM, Nicola de Saint-Aubert
> <nsaintaubert@...> wrote:
>> I did it It s working.
>>
>> How to i open a jira ticket ?
>>
>>
>> Nicolas
>>
>> -----Mensaje original-----
>> De: Musachy Barroso [mailto:musachy@...]
>> Enviado el: lunes, 02 de noviembre de 2009 18:42
>> Para: Struts Developers List
>> Asunto: Re: Form tag includeContext option
>>
>> I agree this would be helpful, and it would be easy to fix, can you
>> open a jira ticket for it?
>>
>> thanks
>> musachy
>>
>> On Mon, Nov 2, 2009 at 9:14 AM, Nicola de Saint-Aubert
>> <nsaintaubert@...> wrote:
>>>
>>>
>>> Hi,
>>>
>>> The <s:url> tag has a very usefull parameter "includeContext". Since it
>>> could shortcut a lot of staff executed by the proxy module, i m currently
>>> extending this parameter to the <s:form>.
>>>
>>> Here is what I did:
>>> In java class' sources:
>>> Add Form.includeContext,isIncludeContext(),setIncludeContext(bolean)
>>> Add FormTag.setIncludeContext definition and call
>>>
>>> In Struts-tag.tld -> Add in Form tag the include Context Attribute
>>>
>>> Everything works fine, But -- there is a a but -- the character encoding
>>> (utf8) of my html/jsp pages is not respected. Can give any help ?
>>>
>>> Best regards,
>>>
>>> PS: I wish this could be included in future version of struts, since as
>>> described before "it can shortcut a lot of staff executed by the proxy
>>> module".
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@...
>>> For additional commands, e-mail: dev-help@...
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@...
>> For additional commands, e-mail: dev-help@...
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@...
>> For additional commands, e-mail: dev-help@...
>>
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...