I think you can specify the inteceptor list at action level in struts.xml.
Cheers,
Josep
El 23 de abril de 2012 10:05, JOSE L MARTINEZ-AVIAL escribió:
> Hi,
> We are developing an web application that uses Struts2 + Tiles + JSP,
> plus Dojo for the UI. The application uses the JSON plugin, sinc
Use conditionals in you jsp, combined with displaytag. For instance, I use
this:
<%
if (request.isUserInRole("ROLE_ONE")) {
%>
<%
}
%>
As for performance, did you try external sorting and pagination?
Cheers,
Josep
El 12 de abril de 2012 21:30, CRANFORD, CHRIS
escribió:
> I'm actually usi
Try with:
<@s.text name="welcome.message"/>
Cheers,
Josep
2012/2/29 Tom Hjellming
> I'm trying to internationalize a simple Struts2-based webapp that uses
> Freemarker as the view technology. The usage of freemarker templating
> pulling values from the Action object is working fine.
>
> But
The urlrewrite filter can help you with that. Take a look at AppFuse 2.0:
appfuse.org
This appfuse version shows .html extensions in the url, instead of .do or
.action.
Cheers,
Josep
2012/2/10 Anjib Mulepati
> Hi All,
>
> I am getting odd situation in Struts 1.3.8 application.
> I have differen
Hi,
Does anyone know which minimum struts2 version can I use for the struts2
jquery plugin?
http://code.google.com/p/struts2-jquery
Cheers,
Josep
Maybe you should try by opening an issue in struts2-jquery site?
http://code.google.com/p/struts2-jquery/
2012/2/3 Bruno Klava
> Hi everyone,
>
> concerning the usage of the AutocompleterTag from the struts2-jquery
> plugin:
>
> instead of returning just the autocomplete values (I'm returning
re-building the whole app.
>
> Thanks
> Gurcharan
>
> On Mon, Nov 21, 2011 at 1:19 PM, Josep García wrote:
>
> > What I have achieved is to set the template Dir for freemarker result
> type,
> > in web.xml:
> >
> >
> >
&g
Use spring-security.
2011/12/5 Balwinder
> Hi All,
>
> Can anyone suggest me a framework that can abstract the data call and its
> source, if there exists any? Example if I want to authenticate a user then
> my query shall not depend upon the data source, it could be any LDAP
> server, database
Regarding:
2011/12/1 Josep García
>
> In order to validate dynamic form input fields (based on freemarker's
> ability to render input fields from xml tree), I've also had to code my own
> field validator, because my action does not have getter/setter for the
> dynamic
JIRA created:
https://issues.apache.org/jira/browse/WW-3715
2011/12/1 Łukasz Lenart
> 2011/12/1 Josep García
>
> > Basically, validatorKey build from clazz AND context.
> >
> > final String validatorKey = buildValidatorKey(clazz, context);
> >
>
str = null;
}
}
return str;
}
I fear I'll probably have to rewrite xml*fieldvalidator for other validator
types.
If you can think of a better alternative, let me know.
Cheers,
Josep
2011/11/30 Łukasz Lenart
> 2011/11/30 Josep García
>
> > This way, it works, but th
name, and not on the context.
:-(
Any suggestion about this?
J.
2011/11/28 Łukasz Lenart
> 2011/11/28 Josep García :
> > I have tried this option, not without a few workarounds: I had to add a
> > param to struts.xml so validation files are loaded during runtime:
> >
>
lidatorManager instance (@Inject in to
> an action) and try to use one of its methods.
>
>
> Regards
> --
> Łukasz
> + 48 606 323 122 http://www.lenart.org.pl/
> Warszawa JUG conference - Confitura http://confitura.pl/
>
>
> 2011/11/16 Josep García :
> > Is ther
Have a look at AppFuse: appfuse.org.
It generates a basic Struts2 app, with unit testing, integration testing.
Cheers,
2011/11/24 Frans Thamura
> will u share us the code?
>
> so we can add to our blueoxygen/cimande project.
>
>
> On Wed, Nov 23, 2011 at 3:36 PM, Josep García
We use unit testing and, for integration testing, canoo webtests integrated
in the maven lifecycle.
Cheers,
Josep
2011/11/23 Frans Thamura
> Hi all
> Can share ur experience related to test struts2 app in jenkins or hudson.
>
> I want my project all tested there.
>
> Can help?
>
> Frana
>
What I have achieved is to set the template Dir for freemarker result type,
in web.xml:
templatePath
${form.templateDir}
with ${form.templateDir} being replaced by maven at compile or packaging
phases.
Cheers,
Josep
2011/11/21 Li Ying
> (1)I believe the word [t
Is there any documentation on how to call xwork validation programatically?
The context: I have a dynamic form, which is a freemarker template, which
can have any fields that are then saved as xml in my Struts action.
I would like to have the possibility to call validation with a specific
*-valida
I suggest you fix the Java encoding, -encoding, with JAVA_OPTS
Josep
2010/9/27 Oscar
> I gonna try that. Also, right now i tried using a different charset:
>
> <%@ page contentType="text/html; charset=ISO-8859-1" %>
>
> and it works!
>
> 2010/9/27 Maurizio Cucchiara
>
> > You can also try to ad
We are currently using struts 2.0.14 with Spring.
Is there any way of modifying the order of the config files for Struts2
plug-in modules?
Currently, we have a "Basic" web app with a "default" package in which we
define an "adminCheck" interceptor stack.
Besides, we have an "Advanced" web app, wh
19 matches
Mail list logo