Re: Issues in Struts Migration from v2.2.1.1 to v2.3.34

2017-09-25 Thread Michael Smith
You are have a instead of on row 1 On 25 Sep 2017 11:39, "Palani, Sambasivam" wrote: > Hi Team, > > We are migrating our application from Struts v2.2.1.1 to Struts v2.3.34 to > fix the vulnerability issues. > > We followed below steps, > > 1. Replaced > > o

Re: Security vulnerability process for EOL versions

2017-09-14 Thread Michael Smith
A follow on question. When would we expect 2.3 to become EOL? Thx Mike On 14 September 2017 at 08:13, Lukasz Lenart wrote: > 2017-09-13 18:57 GMT+02:00 Lehmer, Jason : > > In cases where the Struts community is notified or discovers a

Ajax Reload on fieldset in a sj:dialog

2011-03-30 Thread Michael Obster
clicking on Save I get the content rendered on the main window. This is not what I want. What I need is a reload of the content in the attachment fieldset. Is there a standardised way to reload sj:div in a dialog with Struts2? Kind regards, Michael Obster

Re: [ANN] Struts 2.2.1 GA release available

2010-08-16 Thread Michael Dekmetzian
Looks like the links or files are wrong, should be struts2-2.2.1-all.zip not struts-2.2.1-all.zip ie http://apache.mirror.rafal.ca:8080/struts/binaries/struts2-2.2.1-all.zip On 8/16/10 3:01 PM, Emi Lu wrote: On 08/16/2010 02:09 PM, Rene Gielen wrote: The Apache Struts group is pleased to

Re: if else in XML via struts 1.2

2010-08-08 Thread Michael Dekmetzian
-namexmlservlet/servlet-name url-pattern/path/to/xmlfile.xml/url-pattern /servlet-mapping Of course you can also use a jsp file in place of your xml file if you're happy with it having a jsp extension. Cheers Michael On 8/8/10 1:44 PM, abhishek jain wrote: Hi friends, I am using struts 1.2

RE: Struts2 on Websphere portal 6.1.0.0

2010-04-19 Thread Griffith, Michael *
The problem is the URI parameter in your display tag table. This is how DT invokes the action/HTTP request that originally got the request for the table in the table. It should be something like: requestURI=search.action where the value is the action of the page. MG -Original Message-

RE: How to reuse field validators?

2010-04-16 Thread Griffith, Michael *
that without copying the XML file? MG -Original Message- From: Lukasz Lenart [mailto:lukasz.len...@googlemail.com] Sent: Friday, April 16, 2010 12:13 AM To: Struts Users Mailing List Subject: Re: How to reuse field validators? 2010/4/16 Griffith, Michael * michael.griff...@fda.hhs.gov

RE: How to reuse field validators?

2010-04-16 Thread Griffith, Michael *
Currently the xml file is in the package with the struts action. I this this is where my problem lies, should it be in the model package? MG -Original Message- From: Lukasz Lenart [mailto:lukasz.len...@googlemail.com] Sent: Friday, April 16, 2010 9:26 AM To: Griffith, Michael

RE: How to reuse field validators?

2010-04-16 Thread Griffith, Michael *
you must expose you model directly. I'm not sure what you mean by that... Can you restate? MG -Original Message- From: Lukasz Lenart [mailto:lukasz.len...@googlemail.com] Sent: Friday, April 16, 2010 9:53 AM To: Griffith, Michael * Cc: Struts Users Mailing List Subject: Re: How

How to reuse field validators?

2010-04-15 Thread Griffith, Michael *
Hello all, I am not clear on how to reuse a field validator that doesn't share a common package or action/alias. I have package ...struts.admin/ ...struts/application/ with namespaces /admin and /application respectively. I have a model object with a validator modelClass-validator.xml in

[Struts 2.1.8] Has struts a problem with using own converts on nested beans?

2010-02-10 Thread Michael Obster
on both convert methods, but does not come to the console). Some testing has shown that order.property=de.eposcat.xyz.converter.MyOwnConverter is working. Can you explain this behaviour, because this from my point of view very annoying :-(. Kind regards, Michael Obster

gwt and struts 2

2010-01-30 Thread Michael Finney
. -- Michael Finney - Always Striving To Serve You Better Every Day http://www.SmilingSoftwareSolutions.com - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: The GWT Plugin

2010-01-21 Thread Michael Finney
/ -- Michael Finney - Always Striving To Serve You Better Every Day http://www.SmilingSoftwareSolutions.com - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

write a test which tests an interceptor

2010-01-13 Thread Michael Finney
an ActionProxy, get an action from it, and call the action's execute. Thoughts? Thanks. -- Michael Finney - Always Striving To Serve You Better Every Day http://www.SmilingSoftwareSolutions.com - To unsubscribe, e-mail: user

[S2] Can't get type conversion running with s:select-tags

2010-01-11 Thread Michael Obster
=%{displayName} headerKey=-1 headerValue=/ This works, but why is the converter ignored if i use a nested property? Regards, Michael - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h

RE: migration to tiles2 - put attribute into request scope?

2010-01-04 Thread Michael Heinen
is also not required any more in navigation.jsp. Michael From: Michael Heinen Sent: Sonntag, 3. Januar 2010 17:24 To: 'user@struts.apache.org' Subject: migration to tiles2 - put attribute into request scope? Hi, I migrated a webApp from tiles1 to tiles 2.0.5 and got one thing not working. I

migration to tiles2 - put attribute into request scope?

2010-01-03 Thread Michael Heinen
(here ba) into request scope to make it accessible by other frameworks? Currently the String activeTab is passed but I want to pass ba. Thanks, Michael

Anyone used jsTree with Struts2?

2009-12-15 Thread Michael Obster
with that but only on non-IE browsers :-(. IE have some problems with XML and the used Sarissa lib... So if anyone knows a good alternative with a similiar format (xml is preferred), please tell me. Regards, Michael

Re: Anyone used jsTree with Struts2?

2009-12-15 Thread Michael Obster
Musachy Barroso schrieb: On Tue, Dec 15, 2009 at 1:20 PM, Michael Obster mich...@obster.org wrote: jsTree I used it with the JSON plugin many moons ago, what problem are you having? First of all I get no tree displayed. After looking into the generated JSON I see, that die variable names

[Struts 2.1.8.1] [JSON] How to build a JSON for jsTree (array without variable name)

2009-12-09 Thread Michael Obster
in the tree you have to put them in an array, but I don't know how I can build the structure with the json-plugin from struts 2.1.8.1. Using a variable with getter and setter creates always s.th. like: varname: ... Can anyone tell how this is done? Kind regards, Michael

Re: RE: Adding Json to existing action

2009-10-28 Thread Michael Varlik
that, take a look at the a sample provided in struts 2 in action. That should do it as well. Hope this helps. --- On Tue, 10/27/09, Michael Varlik m.var...@gmx.de wrote: From: Michael Varlik m.var...@gmx.de Subject: Re: RE: Adding Json to existing action To: Struts Users Mailing List

Re: RE: Adding Json to existing action

2009-10-28 Thread Michael Varlik
Von: Musachy Barroso musa...@gmail.com An: Struts Users Mailing List user@struts.apache.org Betreff: Re: RE: Adding Json to existing action can you show us your action mapping and the relevant parts of your code? musachy On Tue, Oct 27, 2009 at 8:50 AM, Michael Varlik m.var...@gmx.de wrote

Adding Json to existing action

2009-10-27 Thread Michael Varlik
Hi, I need to call an existing struts action within my application from a JavaScript function. I thought it might be possible to create an additional entry in the struts mapping file like this: action name=getDataJson class=com.mypackage.MyAction method=getData result type=json / /action and

Re: RE: Adding Json to existing action

2009-10-27 Thread Michael Varlik
To: Struts Users Mailing List Subject: Re: Adding Json to existing action You can either use Json plugin or write your own customized result type that return JSON. --- On Tue, 10/27/09, Michael Varlik m.var...@gmx.de wrote: From: Michael Varlik m.var...@gmx.de Subject: Adding Json

Re: RE: Adding Json to existing action

2009-10-27 Thread Michael Varlik
I have missed something. Since this is the first time I use struts, I have no idea what I did wrong. Any hints are appreciated. Cheers, Markus Original-Nachricht Datum: Tue, 27 Oct 2009 16:09:25 +0100 Von: Michael Varlik m.var...@gmx.de An: Struts Users Mailing List user

Proccessing parameters inside Struts action

2009-10-12 Thread Michael Varlik
is the proper way to pass POST parameters to a struts action and how do I retrieve them from within the action? Many thanks in advance. Cheers, Michael -- GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01

[Struts2] Problem using Struts2 with EJB3 over ServiceLocator (Jboss say Caller unauthorized)

2009-10-02 Thread Michael Obster
in the @RolesAllowed has AdminUser in the list. The class is also attached at the end of the message. error-statcktrace.txt UserFacadeBean.java Reply 1: From Wolfgang Knauf Hi Michael, you probably checked the JBoss log of the security layer (see question 4 in FAQ

Re: [Struts2] Problem using Struts2 with EJB3 over ServiceLocator (Jboss say Caller unauthorized)

2009-10-02 Thread Michael Obster
Hi Wes, I'm accessing the bean over a service locator. I have attached the class source at the end. Regards, Michael Wes Wannemacher schrieb: How are you getting a copy of your EJB in your action? vwg.yyy.cancard.ui.action.Usermanagement.Usermanagement.list(Userman agement.java:41

combat JavaScript caching

2009-09-29 Thread Michael Finney
/version/MyScript.js/ How can I do that with struts2 (2.1.6) or with a plain old Java Filter? I'm open to other solutions such as create a new JavaScript file name any time an update is made. I'd rather this not be a manual process though. -- Michael Finney - Always Striving To Serve You Better

How to connect a EJB3 project with struts2

2009-09-25 Thread Michael Obster
layer in my struts2 action. Kind regards, Michael Obster - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: How to connect a EJB3 project with struts2

2009-09-25 Thread Michael Obster
Hi James, ohh that would be good. I have tried some of the things they have documented on the side. But I didn't get it running. A practical example would be very helpful to get the clou. Kind regards, Michael James Cook schrieb: Hi Michael, Look at the jndi-lookup in the spring manual

Re: [s2] Struts 2.1.8 - jsonplugin 0.34

2009-08-06 Thread Michael Finney
 at com.googlecode.jsonplugin.SerializationParams.init(SerializationParams.java:38)  at com.googlecode.jsonplugin.JSONResult.writeToResponse(JSONResult.java:194)  at com.googlecode.jsonplugin.JSONResult.execute(JSONResult.java:184) ... Help would be greatly appreciated, Alfredo -- Michael Finney - Always Striving

XML data in request parameter gotchas?

2009-07-18 Thread Michael Finney
Hi, If a client is sending us XML via HTTP POST, are there any gotcha's with struts2? Also, what is a great way to send test XML data using an HTTP POST; just populate a form field and submit it? Thanks. - To unsubscribe,

Can I insert a table into a struts form without changing the template?

2009-06-09 Thread Griffith, Michael *
Hello everyone, I'm wondering is there a way I can insert a displayTag table into my struts form? I want the table to appear under form edit controls, but before the buttons, like a master detail type of view. I'd like to know if there is a way to do this without making changes to the default

How can I insert a table into a struts form?

2009-06-09 Thread Griffith, Michael *
Hello everyone, I'm wondering is there a way I can insert a displayTag table into my struts form? I want the table to appear under form edit controls, but before the buttons, like a master detail type of view. I'd like to know if there is a way to do this without making changes to the default

RE: Can I insert a table into a struts form without changing the template?

2009-06-09 Thread Griffith, Michael *
Sorry, yes -- Struts 2 (2.1.6). -Original Message- From: Wes Wannemacher [mailto:w...@wantii.com] Sent: Tuesday, June 09, 2009 2:21 PM To: Struts Users Mailing List Subject: Re: Can I insert a table into a struts form without changing the template? Michael, which version of struts

RE: Can I insert a table into a struts form without changing the template?

2009-06-09 Thread Griffith, Michael *
. If you are planning on making something like this for each form in your app, then build a tag out of it. -Wes On Tue, Jun 9, 2009 at 3:23 PM, Griffith, Michael *michael.griff...@fda.hhs.gov wrote: Sorry, yes -- Struts 2 (2.1.6). -Original Message- From: Wes Wannemacher [mailto:w

RE: How can I insert a table into a struts form?

2009-06-09 Thread Griffith, Michael *
into a struts form? Griffith, Michael * wrote: I'm wondering is there a way I can insert a displayTag table into my struts form? I want the table to appear under form edit controls, but before the buttons, like a master detail type of view. I'd like to know if there is a way to do this without

RE: How can I insert a table into a struts form?

2009-06-09 Thread Griffith, Michael *
? Griffith, Michael * wrote: Create a trtd colspan=2... Do this in my form, or change the template? On your page. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h

RE: How can I insert a table into a struts form?

2009-06-09 Thread Griffith, Michael *
insert a table into a struts form? On Tue, Jun 9, 2009 at 4:51 PM, Griffith, Michael *michael.griff...@fda.hhs.gov wrote: Thanks Dave! That was too easy. Here I thought I would have to edit the template. I'm always over thinking S2. How can I make my submit buttons show up next to each other

RE: What is wrong with my with OGNL Map expression??

2009-04-30 Thread Griffith, Michael *
: s:property value=%{#session.mySessionAttribute} / May be this will help. Thank you. Regards, Kishan.G Senior Software Engineer. www.spansystems.com -Original Message- From: Griffith, Michael * [mailto:michael.griff...@fda.hhs.gov] Sent: Thursday, April 30, 2009 1:04 AM To: Struts Users

RE: What is wrong with my with OGNL Map expression??

2009-04-30 Thread Griffith, Michael *
~ MG -Original Message- From: Dale Newfield [mailto:d...@newfield.org] Sent: Thursday, April 30, 2009 9:07 AM To: Struts Users Mailing List Subject: Re: What is wrong with my with OGNL Map expression?? Michael Griffith wrote: I have a MapString,String in the HttpSession The map

What is wrong with my with OGNL Map expression??

2009-04-29 Thread Griffith, Michael *
Hello all, It seems as if I am always at odds with trying to figure out the correct OGNL syntax. I have a MapString,String in the HttpSession, and I'm trying to use one of the values in the map as an anchor tag in a link. The map is stored in the session as an attribute named

Problems using Struts2 on JBoss 5.0.1GA

2009-04-09 Thread Michael Obster
. I need a solution. So any help is appreciated. Kind regards, Michael Obster 13:30:49,863 INFO [StrutsSpringObjectFactory] ... initialized Struts-Spring integration successfully 13:30:50,393 INFO [ResolverUtil] Scanning for classes in [/D:/server/jboss-5.0.1.GA/server/default/deploy/csi.war

Re: Problems using Struts2 on JBoss 5.0.1GA

2009-04-09 Thread Michael Obster
I know that, but is there no way to work around this bug? Michael Musachy Barroso schrieb: It is a known bug: http://jira.opensymphony.com/browse/XW-669 musachy On Thu, Apr 9, 2009 at 8:20 AM, Michael Obster mich...@obster.org wrote: Hi, anybody here who have already a working

Re: Problems using Struts2 on JBoss 5.0.1GA

2009-04-09 Thread Michael Obster
Ahh. I've seen that should be already resolved in current version. So I will try it with this version. Cheers, Michael Michael Obster schrieb: I know that, but is there no way to work around this bug? Michael Musachy Barroso schrieb: It is a known bug: http://jira.opensymphony.com

Re: Problems using Struts2 on JBoss 5.0.1GA

2009-04-09 Thread Michael Obster
Thx. Problem is resolved ;-). Cheers, Michael Wes Wannemacher schrieb: On Thursday 09 April 2009 09:54:40 Musachy Barroso wrote: You need to use the latest xwork (built it yourself), or grab it from a snapshot. I think Lukasz is hosting it somewhere also. musachy You can also download

MissingDependenyException - logMissingProperties - what's that?

2009-04-09 Thread Michael Obster
regards, Michael Obster 17:00:11,932 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception com.opensymphony.xwork2.inject.DependencyException: com.opensymphony.xwork2.inject.ContainerImpl$MissingDependencyException: No mapping foun d for dependency [type=java.lang.String, name

Re: MissingDependenyException - logMissingProperties - what's that?

2009-04-09 Thread Michael Obster
Thank you for the information. I'll give it a try, but this won't be a final option to set up the application, because it is a productive version which I migrate to JBoss at the moment. Looks like I've to wait till the next release. Btw. can you tell when next release is planned? Cheers, Michael

RE: Required field only works with text fields?

2009-03-18 Thread Griffith, Michael *
with text fields? Griffith, Michael * wrote: The following validation annotation seems to work: @ManyToOne(cascade = {CascadeType.PERSIST, CascadeType.MERGE}, fetch=FetchType.EAGER) @JoinColumn(name = STATUS) @ExpressionValidator(message = Default message, key=validate.status, expression

RE: Web Services

2009-03-17 Thread Griffith, Michael *
Spring has excellent remoting abilities. If you are already using Spring, I'd check out Spring Remoting as my first option. -Original Message- From: Rafael Taboada [mailto:kaliman.fore...@gmail.com] Sent: Tuesday, March 17, 2009 7:39 AM To: user@struts.apache.org Subject: Web Services

RE: Required field only works with text fields?

2009-03-17 Thread Griffith, Michael *
reply would be appreciated. Best Regards, MG -Original Message- From: Griffith, Michael * [mailto:michael.griff...@fda.hhs.gov] Sent: Monday, March 16, 2009 1:18 PM To: Struts Users Mailing List Subject: RE: Required field only works with text fields? Ok, So I am being a bone-head

RE: Required field only works with text fields?

2009-03-16 Thread Griffith, Michael *
only paints the asterisk -- it has nothing to do with actually requiring input. Nice huh? Peace, Scott On Fri, Mar 13, 2009 at 4:14 PM, Griffith, Michael * michael.griff...@fda.hhs.gov wrote: Hi all, I just noticed that the only required field validations that seem to be working in my form

Google Web Toolkit and JQuery

2009-03-15 Thread Michael Finney
with struts2 focusing on jQuery? I wouldn't think so. [OT?]Will using GWT tie our hands and thus not avail ourselves of stuff jQuery has available? Architectural / technological choices like these are always interesting. :) Thanks for your help. -- Michael Finney - Always Striving To Serve You Better

Check Field Value in list using Annotation/Validation?

2009-03-13 Thread Griffith, Michael *
Hello all, Is it possible to check a field value against a list using the @ConditionalVisitorFieldValidator annotation? I'm thinking of something like this: @Column(name=VENDOR_TYPE, nullable=false) @ConditionalVisitorFieldValidator (expression=vendorType == 'COTS' vendorType == 'GOTS'

Required field only works with text fields?

2009-03-13 Thread Griffith, Michael *
Hi all, I just noticed that the only required field validations that seem to be working in my form are text field validations. Any HTML tag that renders a list, check box or radio button doesn't validate, even though the template shows the field as required. In other words, this tag:

RE: struts-2-blank which issue?

2009-03-08 Thread Michael Finney
Yes. I'm looking for a means of notification as opposed to trying the command out every couple months. -- Michael Finney - Always Striving To Serve You Better Every Day fin...@acm.org http://www.SmilingSoftwareSolutions.com -Original Message- Michael Finney wrote: For the struts-2

struts-2-blank which issue?

2009-03-07 Thread Michael Finney
Hi, For the struts-2-blank archetype (http://struts.apache.org/2.x/docs/struts-2-blank-archetype.html ), is the best (most relevant) issue to Watch https://issues.apache.org/struts/browse/WW-2911 ? Thanks. -- Michael Finney - Always Striving To Serve You Better Every Day fin...@acm.org http

adding a content-length header

2009-03-01 Thread Michael Finney
which has been rendered? I could create an interceptor that after the invoke() I get the HttpServletResponse. The question remains: How can I get access to the content length of the content which has been rendered? Thanks. -- Michael Finney - Always Striving To Serve You Better Every Day fin

Namespace Expression?

2009-02-25 Thread Griffith, Michael *
Hi Everyone, What's wrong with this expression? s:property value=#context['struts.actionMapping.namespace']/ Namespace is a private field, but has a public accessor...? Thanks in advance, MG - To unsubscribe, e-mail:

RE: Namespace Expression?

2009-02-25 Thread Griffith, Michael *
for: s:property value=#context['struts.actionMapping'].namespace/ musachy On Wed, Feb 25, 2009 at 3:34 PM, Griffith, Michael * michael.griff...@fda.hhs.gov wrote: s:property value=#context['struts.actionMapping.namespace']/ -- Hey you! Would you help me to carry the stone? Pink Floyd

Out of date documentation?

2009-02-10 Thread Griffith, Michael *
It is possible that the following page is out of date: http://struts.apache.org/2.1.6/docs/parameter-filter-interceptor.html It should reference the params interceptor, right?

RE: Out of date documentation?

2009-02-10 Thread Griffith, Michael *
of doing it, it ain't Struts 2 :) musachy On Tue, Feb 10, 2009 at 11:25 AM, Griffith, Michael * michael.griff...@fda.hhs.gov wrote: It is possible that the following page is out of date: http://struts.apache.org/2.1.6/docs/parameter-filter-interceptor.html It should reference the params

RE: Out of date documentation?

2009-02-10 Thread Griffith, Michael *
expressions, for both accepted and excluded params. musachy On Tue, Feb 10, 2009 at 11:56 AM, Griffith, Michael * michael.griff...@fda.hhs.gov wrote: Is there any way to exclude a parameter using a wildcard expression? I want to block certain parameters generated by displayTag. DisplayTag

RE: Out of date documentation?

2009-02-10 Thread Griffith, Michael *
musachy On Tue, Feb 10, 2009 at 12:03 PM, Griffith, Michael * michael.griff...@fda.hhs.gov wrote: Can you help me out with the expression? I am terrible with RE. -Original Message- From: Musachy Barroso [mailto:musa...@gmail.com] Sent: Tuesday, February 10, 2009 10:59 AM To: Struts

RE: Out of date documentation?

2009-02-10 Thread Griffith, Michael *
point out what's wrong with this picture? Thanks in advance, MG -Original Message- From: Griffith, Michael * [mailto:michael.griff...@fda.hhs.gov] Sent: Tuesday, February 10, 2009 11:11 AM To: Struts Users Mailing List Subject: RE: Out of date documentation? Thanks, I'll give it a try

RE: Struts2.1.6 Tiles 2.1.

2009-02-10 Thread Griffith, Michael *
Jaarthy, It looks like your s:url tag is trying to point to a tile, vs. an action that returns the tile result. Here's an example: !- Struts tag -- s:url id=projectList action=list namespace=/project / s:a href=%{projectList}s:text name=project.list//s:a !-- Action -- package name=project

RE: Out of date documentation?

2009-02-10 Thread Griffith, Michael *
- From: Griffith, Michael * [mailto:michael.griff...@fda.hhs.gov] Sent: Tuesday, February 10, 2009 5:32 PM To: Struts Users Mailing List Subject: RE: Out of date documentation? Ok, here's what is happening... If I don't try to ignore the DisplayTag parameters, I get: 17:23:58,833 INFO

RE: Struts2.1.6 Tiles 2.1.

2009-02-10 Thread Griffith, Michael *
, Michael * wrote: Jaarthy, It looks like your s:url tag is trying to point to a tile, vs. an action that returns the tile result. Here's an example: !- Struts tag -- s:url id=projectList action=list namespace=/project / s:a href=%{projectList}s:text name=project.list//s:a !-- Action

RE: Out of date documentation?

2009-02-10 Thread Griffith, Michael *
, the way you have it configured, none of the other interceptors are going to run, only your special params interceptor. (*Chris*) On Tue, Feb 10, 2009 at 3:32 PM, Griffith, Michael * michael.griff...@fda.hhs.gov wrote: Ok, here's what is happening... If I don't try to ignore the DisplayTag

RE: Out of date documentation?

2009-02-10 Thread Griffith, Michael *
something more like: interceptor-ref name=defaultStack param name=params.excludeParamsdojo\..*,^struts\..*,d-\d*-s/param /interceptor-ref (*Chris*) On Tue, Feb 10, 2009 at 4:21 PM, Griffith, Michael * michael.griff...@fda.hhs.gov wrote: Really, is that true? I thought there was a way

RE: Can I use a Parameter in result definition?

2009-02-07 Thread Griffith, Michael *
Dave, Thanks for the reply, and the suggestion~ Cheers! MG -Original Message- From: Dale Newfield [mailto:d...@newfield.org] Sent: Friday, February 06, 2009 5:23 PM To: Struts Users Mailing List Subject: Re: Can I use a Parameter in result definition? Griffith, Michael * wrote

RE: TypeConverter needs Spring Bean

2009-02-06 Thread Griffith, Michael *
: Friday, February 06, 2009 8:54 AM To: Struts Users Mailing List Subject: Re: TypeConverter needs Spring Bean Are the converters created by the object factory? if not, then it will not work. musachy On Fri, Feb 6, 2009 at 9:46 AM, Griffith, Michael * michael.griff...@fda.hhs.gov wrote: I also

RE: TypeConverter needs Spring Bean

2009-02-06 Thread Griffith, Michael *
} that factory will be the Spring object factory, which you can use to lookup the beans that you need. Not much of inversion of control but it should work. musachy On Fri, Feb 6, 2009 at 9:59 AM, Griffith, Michael * michael.griff...@fda.hhs.gov wrote: How can you tell? This is handed by the plug

RE: TypeConverter needs Spring Bean

2009-02-06 Thread Griffith, Michael *
I also tried adding the @Autowired annotation to the dependency, but it did not work. Can anyone clarify how this is supposed to work? MG -Original Message- From: Steven Yang [mailto:kenshin...@gmail.com] Sent: Thursday, February 05, 2009 8:15 PM To: Struts Users Mailing List Subject:

What's the correct expression syntax?

2009-02-06 Thread Griffith, Michael *
Hi, I don't think I fully understand OGNL and I need some help with an expression... I have a param that I am passing to an action. the parameter is called selectedType, and it has a getter and setter on the action. It is getting set correctly. When I try to evaluate the expression using the

RE: What's the correct expression syntax?

2009-02-06 Thread Griffith, Michael *
: What's the correct expression syntax? Griffith, Michael * wrote: s:if test=%{selectedType == 'C'} ... Do work /s:if Is the correct one, except for the one-character-string gotcha: http://struts.apache.org/2.1.6/docs/why-wont-the-if-tag-evaluate-a-one-c har-string.html -Dale

Can I use a Parameter in result definition?

2009-02-06 Thread Griffith, Michael *
Hello all... Does anyone know if it is possible to use a parameter in my action/result definition: I want to use the package name in the result definition package name=component extends=base-package namespace=/component action... result name=success

RE: Can I use a Parameter in result definition?

2009-02-06 Thread Griffith, Michael *
-Original Message- From: Dale Newfield [mailto:d...@newfield.org] Sent: Friday, February 06, 2009 2:25 PM To: Struts Users Mailing List Subject: Re: Can I use a Parameter in result definition? Griffith, Michael * wrote: Does anyone know if it is possible to use a parameter in my action

TypeConverter needs Spring Bean

2009-02-05 Thread Griffith, Michael *
Hello everyone, I have a type converter that needs to get access to my Spring managed service so it can do a DB lookup. I was under the impression that the struts-spring plug-in handled DI for the converter. However, when the convertFromString method tries to access the service called

Why is Validation not firing?

2009-02-04 Thread Griffith, Michael *
Hello all, I must be missing something subtle about my configuration. I'm using Struts 2.0.11 and want to use annotation based validation, but can't seem to get it working. My action class has an update method as such: @Validation public class ArtifactAction extends BaseAction implements

RE: Why is Validation not firing?

2009-02-04 Thread Griffith, Michael *
I hate it when I do this kind of thing. My input result was pointing to the wrong result. Me -- My own worst enemy. -Original Message- From: Griffith, Michael * [mailto:michael.griff...@fda.hhs.gov] Sent: Wednesday, February 04, 2009 11:13 AM To: Struts Users Mailing List Subject: Why

RE: Maven and Struts 2 Stack

2009-02-02 Thread Michael Finney
= archetype-blank. What would the archetypeVersion be? 2.1.6.0? What catalog should I use to find this archetype? http://maven.apache.org/plugins/maven-archetype-plugin/specification/archety pe-catalog.html talks about catalogs in general, but is not specific. Thanks. -- Michael Finney - Always

I18N on labels of form

2009-01-23 Thread Michael Obster
Hi, I have a problem with internationalization the labels of a form. Writing s:textfield ... label=s:property value=mystring / / doesn't work. Is there a way to implement correct I18N on form labels? Cheers, Michael

Re: I18N on labels of form

2009-01-23 Thread Michael Obster
Thank you! /Michael Lukasz Lenart schrieb: 2009/1/23 Michael Obster mich...@obster.org: Writing s:textfield ... label=s:property value=mystring / / doesn't work. Is there a way to implement correct I18N on form labels? Use key attribute instead s:textfield key=mystring name=myProperty

How can I render a two column layout with s:form

2009-01-19 Thread Michael Obster
, Michael - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

RE: maven2 and new struts 2 project

2009-01-04 Thread Michael Finney
artifactIddisplaytag/artifactId version1.1.1/version /dependency I hope the above information serves some people well. -- Michael Finney - Always Striving To Serve You Better Every Day fin...@acm.org http://www.SmilingSoftwareSolutions.com -Original Message

maven2 and new struts 2 project

2009-01-03 Thread Michael Finney
, skip archetype selection, and ask it to create a war project for me? What do you recommend at this point? Thanks, Mike -- Michael Finney - Always Striving To Serve You Better Every Day fin...@acm.org http://www.SmilingSoftwareSolutions.com

[S2] getting namespace in interceptor

2008-11-11 Thread Michael Obster
Hi, is there a way to get the namespace of an invoked action in an interceptor? I don't find a way to do that :-(. Anyone has an idea for this problem? The point is I want to check the users role in the interceptor whether the user is allowed to call the action. Regards, Michael -- http

Re: two forms, two submits

2008-09-23 Thread Michael Jouravlev
Try this: http://wiki.apache.org/struts/StrutsWidgets#head-d413131b40091e2337eb036c8a7ce9e43f428aec On Tue, Sep 23, 2008 at 7:47 AM, cpanon [EMAIL PROTECTED] wrote: now the error is when I submit on a very simple form with the code below it states: No getter method available for property

Struts 2.x Forwarding To A Page Securely

2008-08-19 Thread Michael Finney
Hello. If I have built a URL, flow of control is in an action, and I want to send the user to another web application, how can I do that in a way such that the user cannot see the URL and is secure? Thanks, Mike -- Michael Finney - Always Striving To Serve You Better Every Day [EMAIL PROTECTED

Struts 2.x Forwarding To A Page Securely

2008-08-19 Thread Michael Finney
Hello. If I have built a URL, flow of control is in an action, and I want to send the user to another web application, how can I do that in a way such that the user cannot see the URL and is secure? Thanks, Mike -- Michael Finney - Always Striving To Serve You Better Every Day [EMAIL

Struts 2 and radio buttons

2008-08-09 Thread Michael Finney
Using the simple theme, how do: o I get radio buttons in a group to be vertically listed? Thanks, Mike -- Michael Finney - Always Striving To Serve You Better Every Day [EMAIL PROTECTED] http://www.SmilingSoftwareSolutions.com

RE: Struts 2 and radio buttons

2008-08-09 Thread Michael Finney
Thank you. I was wondering about CSS. I had not considered extending the theme. That's a nice idea. :) Digging into themes is something I should consider more often perhaps. -- Michael Finney - Always Striving To Serve You Better Every Day [EMAIL PROTECTED] http

RE: s:action/ redirect does not work with Tiles.

2008-08-08 Thread Griffith, Michael *
Struts 2.0.11 Tiles 2.0.6 -Original Message- From: Antonio Petrelli [mailto:[EMAIL PROTECTED] Sent: Friday, August 08, 2008 1:37 AM To: Struts Users Mailing List Subject: Re: s:action/ redirect does not work with Tiles. 2008/8/7 Griffith, Michael * [EMAIL PROTECTED]: I cannot make

RE: s:action/ redirect does not work with Tiles.

2008-08-08 Thread Griffith, Michael *
, 2008 6:40 AM To: Struts Users Mailing List Subject: Re: s:action/ redirect does not work with Tiles. Griffith, Michael * wrote: Hello All, I cannot make s:action/ result go to a new page. Chaining the result does work, but the response shows my entire tile set showing up in the inside

s:action/ redirect does not work with Tiles.

2008-08-07 Thread Griffith, Michael *
the outermost tiles) show up in the body tile - so it's like the website shows an entire HTML response in the body tile, which is not correct either. Any insight as to how to overcome this would be much appreciated... Best regards, Michael Griffith

[S2] Using ajax to fill selectboxes

2008-07-23 Thread Michael Obster
with a JSONResult. But can I use this with a s:select-tag and how I do that? Regards, Michael - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

s:action/ and redirect problem

2008-07-16 Thread Griffith, Michael *
in the body tile, which is not correct either. Any insight as to how to overcome this would be much appreciated... Best regards, Michael Griffith

Re: getting Session from one to another namespace - possible?

2008-07-11 Thread Michael Obster
there is another problem with the lib which connect to LDAP server. As I can see for the moment I have no problem with the session but with my user object. Cheers, Michael Randy Burgess schrieb: Is the namespace the same as what is defined in your struts.xml? Have you tried namespace=/secure

  1   2   3   4   5   6   7   8   9   10   >