I have this in my form:

<s:form action="Subscription_*">
  <s:textfield key="something"/>

  <s:submit value="%{'Submit'}" method="execute"/>
  <s:submit value="%{'Cancel'}" method="cancel"/>
</s:form>

It works like a charm. But if i turn on client side validation there
are warnings/errors.





On 8/5/08, Gabriel Belingueres <[EMAIL PROTECTED]> wrote:
> AFAIK, wildcard mapping has sense only inside struts.xml.
> In your form, you must specify exactly which action will be called,
> like "Subscribe_dosomething"
>
> 2008/8/5 Markus Stauffer <[EMAIL PROTECTED]>:
>> Hello all
>>
>> Say I have a struts2 form:
>>
>> <s:form action="Subscribe_*" validate="true">
>>  <s:textfield key="something"/>
>> </s:form>
>>
>>
>> The javascript validation generated for this form is unfortunately
>> invalid. Firefox complains about the "*" character.
>>
>> Is there any way to get around this without turning to server side
>> validation?
>>
>> kind regards
>> --
>> Markus Stauffer
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Markus Stauffer

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

Reply via email to