AW: passing parameters

2006-02-01 Thread Markus Demetz
ok thanks, but I forgot that it should be dynamically, e.g: /myAction?action=<%= MyCons.EDIT %> but so it does not work. markus > -Ursprüngliche Nachricht- > Von: Gareth Evans [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch, 1. Februar 2006 12:14 > An: Struts Users Mailing List > Betreff:

FormFile validation

2006-02-21 Thread Markus Demetz
Hi all, I have a formfile and a bean with getters and setters. When validation fails, the other fields get the values already inserted, but the file input field gets empty and must be reselected. Is this normal, or is there a way to keep the file location in the input field? thanks, Markus

remove ActionForm from session

2006-03-11 Thread Markus Demetz
Hi all, i have some ActionForms which I declared with a session scope. This because I validate them over more steps. After a completed task (i.e. registration) I would like to remove them to keep session small. is there a simple way to do that? thanks! markus

problems with enclosed by a

2006-03-13 Thread Markus Demetz
Hi, I'm trying to do a link over an image like this: But it doesn't work. It leads to a strange behaviour in Internet Explorer... The browser shows the link (in the statusbar) when the mouse is over the image, but the link doesn't work. When rightclicking->open in new window.. it work

AW: problems with enclosed by a

2006-03-13 Thread Markus Demetz
> What does the raw html look like? produces: it works in mozilla but not in IE. markus > > >>> [EMAIL PROTECTED] 3/13/2006 9:38:48 AM >>> > Hi, > > I'm trying to do a link over an image like this: > > > > > > But it doesn't work. It leads to a strange behaviour in Inte

AW: problems with enclosed by a

2006-03-13 Thread Markus Demetz
L PROTECTED]> wrote: > > per http://struts.apache.org/struts-taglib/tagreference-struts-html.html > > > > # Render an input tag of type "image" Renders an HTML > > tag of type "image" > > # Render an HTML img tag Renders an HTML element with

Keep Objects over request

2007-11-07 Thread Markus Demetz
Hi all! I'm looking for a convenience way to keep an Object over a single request. I know that i could put it into the session and remove it afterwards, but is there another way to handle this, without needing to remove it explicitely? For those who know Symfony (php framework) there is a se

Accessing VelocityEngine in action (struts2)

2011-04-12 Thread Markus Demetz
Dear everyone, I've setup my Webapp with Struts2 using Tiles, but I also want to use Velocity to read a template and send a newsletter email. It would be good if I could access the already configured VelocityEngine from within my action. Otherwise I would need to inject the ServletContext by m

Re: Creating menu bar based on session information

2011-04-15 Thread Markus Demetz
you could do something like this: ... where (bool) hasPrivilege(List,...) is a function in your action. Markus Am 15.04.2011 13:57, schrieb Christian Grobmeier: Hi all, this is probably a trivial question, but I am unsure how to solve it best. I have an object User user. It has the properti

XML Validation and slashes in action name

2011-06-24 Thread Markus Demetz
Hello, I have slashes in my Action names, e.g. ModelName/save What I want to do is to add validation only for the save action. As far as I understand, I can create a validation file specifically for the action name, and not for the method to be invoked. ModelAction-save-validation.xml does no

Re: XML Validation and slashes in action name

2011-06-24 Thread Markus Demetz
following post cleared my question: http://www.mail-archive.com/user@struts.apache.org/msg77238.html thanks. Am 24.06.2011 12:58, schrieb Markus Demetz: Hello, I have slashes in my Action names, e.g. ModelName/save What I want to do is to add validation only for the save action. As far as

Access namespace-name or/and action name from jsp in Struts2

2011-10-11 Thread Markus Demetz
Hi, I would like to retrieve the name of the current namespace and possibly the action from the jsp page using Struts2. My intention is to assign a css class to a container to have a better control of the layout. e.g. ... Any hints? Thank you, Markus ---

Call a function after invocation but before jsp rendering

2012-02-15 Thread Markus Demetz
hi there, my application uses struts2 (latest version), siles with JSP and hibernate. what I am trying to do is to call a method after the action has been executed, but before the JSP is getting rendered. to be concrete, I want to call a createTitle() method which is common for all my actions

Re: Call a function after invocation but before jsp rendering

2012-02-15 Thread Markus Demetz
perfect, didn't know that interceptor..! thank you!! Am 15.02.2012 21:54, schrieb Dave Newton: On Wed, Feb 15, 2012 at 3:52 PM, Markus Demetz wrote: to be concrete, I want to call a createTitle() method which is common for all my actions (extending BaseAction with a default implementati

nested property tag in action tag

2012-03-20 Thread Markus Demetz
hi all, when I use the tag inside a jsp with executeResult="true", so I can access the properties of that action with the tag inside the result. but is there a way to to access the same property without forwarding to a result, say doing it inline like this: // jsp code I assume that

Re: nested property tag in action tag

2012-03-21 Thread Markus Demetz
gards, markus Am 21.03.2012 02:17, schrieb vEnkaTa mohAna rAo SriperumbUdUru: I think, you need to reconsider your design let us what you want to do? why are you doing so? On Tue, Mar 20, 2012 at 6:19 PM, Markus Demetz wrote: hi all, when I use the tag inside a jsp with executeResult="true&

Re: Struts2

2012-07-04 Thread Markus Demetz
Hi, you have no result named "success" for your "user" action defined in struts.xml, but you return "success" in your execute method. also check the case sensitivity of "login.jsp" and "Login.jsp" defined as result. Markus Markus Am 03.07.2012 20:31, schrieb Avinash: login.jsp <%@

Hibernate problem with OGNL

2013-03-26 Thread Markus Demetz
Hi, I don't know if this is the right place to ask, but maybe there is anyone who has experienced the same problem. I'm using Struts2 (latest version), with Hibernate (latest version) My database models all have getId(). I have situations, where the getId() method of my model class returns n

Re: Hibernate problem with OGNL

2013-03-27 Thread Markus Demetz
Hi, I have situations, where the getId() method of my model class returns null when navigating through OGNL e.g. when calling . Have you tried or No luck :-( I also tried with JSTL now without success. It's very strange, since sometimes it works and then it reappears again. I'll ask at the

Re: Hibernate problem with OGNL

2013-03-27 Thread Markus Demetz
Hi, I think I've found the problem. I had javassist 3.17.1 (latest) in my project but hibernate 4.2 ships with version 3.15.0 Now it seems to work! Thank you, and sorry for misplacing my question here! Regards, Markus Am 27.03.2013 17:23, schrieb Steve Higham: On 27/03/2013 10:42, M

ParameterNameAware issue

2014-07-12 Thread Markus Demetz
nt combinations: "user.username", "user" and "username". Is it wrong to use dots in parameter names? Any suggestions? Best regards, Markus Demetz - To unsubscribe, e-mail: user-unsubscr...@struts.apach