ModelDriven and ParamsPrepareParams

2014-05-14 Thread Antonio Sánchez
Hello. I have found problems using MD and PPP together, Struts2 complains (and errors are displayed in view) that no setter method was found because at first Params run, model is not yet instantiated. I am asking for which of the following approaches is the most recommended one: 1. Define a

Struts2 onchange event should do the same like submit(with ajax tag). How ?

2014-05-14 Thread jaskirat bamrah
just go through ..this .may help <%@ page contentType="text/html; charset=UTF-8"%> <%@ taglib prefix="s" uri="/struts-tags"%> <%@ taglib prefix="sx" uri="/struts-dojo-tags"%>

Re: Default parameter in custom result-type?

2014-05-14 Thread Lukasz Lenart
Define DEFAULT_PARAM like this https://git-wip-us.apache.org/repos/asf?p=struts.git;a=blob;f=core/src/main/java/org/apache/struts2/dispatcher/StrutsResultSupport.java;h=269ed872e742e52ceeebecdf111a7225583febc3;hb=HEAD#l111 Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2014-05-14

Default parameter in custom result-type?

2014-05-14 Thread Alessandro Canevese [EngiMedia]
Hi all. I’ve managed to configure a really complex architecture, involving Struts2, freemarker, Spring, etc.. The icing on the cake is yet missing and I’m a little bit puzzled: maybe it’s too easy to achieve, isn’t it? I’ve defined a result-type of my own; so I’ve put in the struts.xml:

Re: No parameters set in action when file upload exceeds max size

2014-05-14 Thread Christoph Nenning
> Betreff: Re: No parameters set in action when file upload exceeds max size > > Has any encountered this? > I've tried calling getParameter() on the request to see if I can manually > extract the parameters I need but this always returns null. It seems that > the MultiPartRequestWrapper belie