Re: Interceptor & Action Definition

2009-11-15 Thread Musachy Barroso
public String intercept(ActionInvocation invocation) throws Exception { ActionConfig config = invocation.getProxy().getConfig(); final Map parameters = config.getParams(); ... } On Sun, Nov 15, 2009 at 3:25 PM, Chris Cranford wrote: > If you have action parameters defined in your

Interceptor & Action Definition

2009-11-15 Thread Chris Cranford
If you have action parameters defined in your struts.xml for a particular action, is there anyway that when the interceptor for the action's intercept method is called that for that given action, the param values can be iterated over from struts.xml ? --

[Struts 2.1.8] datetimepicker and action: String or Date ??

2009-11-15 Thread Celinio Fernandes
Hi, I have struts2-core-2.1.8.jar and xwork-core-2.1.6.jar in my classpath. I read that there are many problems of conversion using the datetimepicker tag. I checked the vault page here : http://cwiki.apache.org/S2WIKI/troubleshooting-guide-migrating-from-struts-20x-to-21x.html#Troubleshootinggui

Re: Struts Tag Odd Behavior

2009-11-15 Thread Musachy Barroso
that is odd indeed, can you give us an example that shows this problem? The way to set a variable is by using the "set" tag, like musachy On Sun, Nov 15, 2009 at 12:00 PM, Chris Cranford wrote: > So in my JSP i have defined a s:set tag which populates a variable > with an empty string in some

Struts Tag Odd Behavior

2009-11-15 Thread Chris Cranford
So in my JSP i have defined a s:set tag which populates a variable with an empty string in some cases. And when using the s:property referencing the variable name on the stack, I get the following output: com.opensymphony.xwork2.defaulttextprovi...@28ca1c What is the proper way to assign a text

Re: Hibernate/Spring

2009-11-15 Thread Musachy Barroso
I tried to. I will try again. musachy On Sun, Nov 15, 2009 at 10:08 AM, Alex Siman wrote: > > Can we just remove this "magainty"/"Martin Gainty" from Struts mailing lists? > I do not understand what it/he writes. > > Musachy Barroso wrote: >> >> never mind him, he is a troll, or a bot, or very v

Re: Hibernate/Spring

2009-11-15 Thread Alex Siman
Can we just remove this "magainty"/"Martin Gainty" from Struts mailing lists? I do not understand what it/he writes. Musachy Barroso wrote: > > never mind him, he is a troll, or a bot, or very very stupid, or all of > them. > > On Sat, Nov 14, 2009 at 9:18 PM, Denis Cabasson > wrote: >> Hi Mar

RE: Hibernate/Spring

2009-11-15 Thread Martin Gainty
can we use hibernate to automate mapping of blogCFC entities (specifically blog-category) to Database tables? thanks, Martin Gainty __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten

RE: How to access the form data directly?

2009-11-15 Thread Neil Aggarwal
Juanjo: > Uuuu it works, but... I prefer don't use scriptlet of > Java... Is > there any way to use the tags like s:property or s:iterator? I understand it is not as clean as using struts tags, but I drop into using scriptlets when I can't figure out how to do it with the tags. If you c

Re: Hibernate/Spring

2009-11-15 Thread phillips1021
I wrote up a blog article on using Struts 2, Spring, and Hibernate together. The article includes an example application and a list of references you can use to learn more about these three technologies. See: http://www.brucephillips.name/blog/index.cfm/2009/11/14/A-Struts-2-Spring-and-Hibernate

Re: How to access the form data directly?

2009-11-15 Thread Juanjo C
The data that I want to show is the bean (the values of their fields) that I have declared in the ModelDriven... I think that this data are available in the jsp... Uff... It's difficult for me to express my question in English ... sorry. Thanks 2009/11/15 Musachy Barroso > where is the data t

Re: How to access the form data directly?

2009-11-15 Thread Juanjo C
Uuuu it works, but... I prefer don't use scriptlet of Java... Is there any way to use the tags like s:property or s:iterator? Thanks Neil. 2009/11/15 Neil Aggarwal > Juanjo: > > > but I don't know where are this data... In the ValueStack? > > I use this code in my JSP to retrieve values

RE: How to get Login page while submitting a data form

2009-11-15 Thread Sanjaya Kumar Patel
> DN> ACEGI^H^H^H^H^HSpring Security. > Sanjaya, Spring Security will remember which URL user was trying to access > before the login and will replay that URL after successful login . > However, I'm not aware of Spring Security ability to replay POST data from > a form. Dale, Harun, Thanks a