[S2] TabbedPanel

2007-10-30 Thread Veronica Iturrioz
Hi, I'm trying to use de tag tabbedPanel where each tab with remote content. my code is: s:tabbedPanel id=user_tab theme=simple s:url id=urlRemote value=/myAction.do/ s:div id=tab_remote label=remote tab theme=ajax href=%{urlRemote} executeScripts=true but it give me this

Re: S2 : Validation per Action method - ideas?

2007-08-10 Thread Veronica Iturrioz
You must to set the property validateAnnotatedMethodOnly=true, and the validation occurs only for the correct methods. interceptor-ref name=validation param name=validateAnnotatedMethodOnlytrue/param param name=excludeMethodsinput,back,cancel,browse/param /interceptor-ref but this is ok

[S2]: Client-side validation per method

2007-08-09 Thread Veronica Iturrioz
Hi, I'm trying to use client-side validation with annotations in my action methods. But for all methods executes the same javascript validation. I want different validations for different methods. How can I do that? I put @SkipValidation in some methods. thanks, Veronica

[S2] Commons Validator

2007-06-13 Thread Veronica Iturrioz
Hi, anybody know if it's possible to use Commons Validator with Struts 2 ? I try with the struts validation framework (provided by XWork), but the error visualization is too dependent from the theme. thanks in advance.

HTTPHeader result

2007-05-04 Thread Veronica Iturrioz
Hi, Had anyone work with result type=httpheader? How does the params headers work? I try different options but it seems to not produce any change param name=headers.a xxx/param Thanks __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the

[S2] mapping status 404 to a result page

2007-05-03 Thread Veronica Iturrioz
Hello, I want to create a global-result to map the servlet response 404 (page not found) to a result page (ie /error.jsp). Does somebody know how can i do? thanks in advance. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best

Client-side validation

2007-04-17 Thread Veronica Iturrioz
I have a form with client side validation: s:form validate=true action=myAction namespace=/ theme=xhtml and an Action with some annotated validations: @Validations( requiredStrings = { @RequiredStringValidator( message = Required, type = ValidatorType.FIELD,