Re: Issues while migrating form Struts2.3.16 to 2.5.14.1

2018-03-14 Thread Adam Brin
grImpl.start( > CompositionUnitMgrImpl.java:388) > at > com.ibm.ws.runtime.component.CompositionUnitMgrImpl.access$ > 500(CompositionUnitMgrImpl.java:116) > at > com.ibm.ws.runtime.component.CompositionUnitMgrImpl$CUInitializer.run( > CompositionUnitMgrImpl.java:994) > at >

Re: Struts2 login action class seems to be reused

2018-03-05 Thread Adam Brin
then post back the exception if any (I don't expect any). You > should set to null or remove the attribute. Any other code is wrong. > > Regards. > > -- _ Adam Brin Director of Technology, Digital Antiquity 480.965.1278

Re: Struts 2.5.14 support for java 8/java 9/java 10

2018-03-05 Thread Adam Brin
You might look in the struts2 JIRA for open issues > On Mar 5, 2018, at 6:18 AM, David Greene wrote: > > Struts 2.5 has out of the gate support for Java8. I haven't tried 9 or 10 > yet. > > On Mon, Mar 5, 2018 at 4:16 AM, coolaki2...@gmail.com > wrote: > >> Hello, >> >> Can anyone throw som

Re: Struts 2.5.14.1 version - Security fixes - Need clarifications

2017-12-06 Thread Adam Brin
If you go look at the security declaration and the links into the jackson changset it’ll list what’s been patched. Sorry, not a complete answer, but best I can easily give. -- _ Adam Brin Director of Technology, Digital Antiquity

Re: Unable to integrate struts2-rest-plugin in existing maven structure

2017-12-01 Thread Adam Brin
Apologies if I missed something earlier, but can you do a dependency search in your project and see if you already have a version of net.sf.json.lib included elsewhere? perhaps an older (or newer) version is conflicting? -- _ Adam Brin

Re: Struts2.x ActionError And ActionMessage

2017-11-16 Thread Adam Brin
Hi Siva, Can you share an example of what you’re doing and what’s not working? thanks, adam -- _ Adam Brin Director of Technology, Digital Antiquity 480.965.1278 > On Nov 16, 2017, at 8:15 AM, Dhulipudi, Sivannarayana > wrote: &

Re: How to put Spring object in Struts application scope on web startup?

2017-09-29 Thread Adam Brin
it’s a mixture of things: * Struts.xml should be setup to know about spring: * register the appropriate application listeners * add the @Scope variables to controllers -- _ Adam Brin Director of Technology, Digital

Re: Question about com.opensymphony.xwork2.util.LocalizedTextUtil

2017-09-22 Thread Adam Brin
Borrowing from Lukasz’s improvement. public class MyControlelr extends ActionSupport … @Override public String execute() { String msg = getText(‘myMessageKey”); FileReader.determineFileReader(msg, userString); -- _ Adam Brin Director

Re: Question about com.opensymphony.xwork2.util.LocalizedTextUtil

2017-09-22 Thread Adam Brin
= provider.getText("global.unknown"); ... } -- _ Adam Brin Director of Technology, Digital Antiquity 480.965.1278 > On Sep 22, 2017, at 7:36 AM, Klaus Tachtler wrote: > > Hi Adam, > > can you give me a small example, to

Re: Question about com.opensymphony.xwork2.util.LocalizedTextUtil

2017-09-22 Thread Adam Brin
Ok, then from your Action/Controller pass in a TextProvider into the method which has the localization. All ActionSupport subclassess implement this, so you can pass this in. -- _ Adam Brin Director of Technology, Digital Antiquity

Re: Question about com.opensymphony.xwork2.util.LocalizedTextUtil

2017-09-22 Thread Adam Brin
what class are you doing this in? Are you subclassing off of ActionSupport? -- _ Adam Brin Director of Technology, Digital Antiquity 480.965.1278 > On Sep 22, 2017, at 7:20 AM, Klaus Tachtler wrote: > > Hi Łukasz, > > can

Re: Form not submitting, after migration

2017-08-01 Thread Adam Brin
What encoding type are you using? it’s possible that part of the issue is that you’re submitting a multi-part form and it’s being caught up by an existing bug [WW-4818] - adam -- _ Adam Brin Director of Technology, Digital Antiquity

Re: Multipart fixes in 2.5.12 and non-file payloads

2017-07-17 Thread Adam Brin
. -- _ Adam Brin Director of Technology, Digital Antiquity 480.965.1278 > On Jul 17, 2017, at 6:16 AM, Lukasz Lenart wrote: > > 2017-07-17 14:35 GMT+02:00 Adam Brin : >> In the automated testing we run on our application there was not one test >> that passe

Re: Multipart fixes in 2.5.12 and non-file payloads

2017-07-17 Thread Adam Brin
In the automated testing we run on our application there was not one test that passed that used a browser backend be it Chrome or HtmlUnit without adjusting the regular expression. On Mon, Jul 17, 2017 at 5:29 AM, Adam Brin wrote: > Hi Lukasz, > Yes, > > - adam > > On Sun,

Re: Multipart fixes in 2.5.12 and non-file payloads

2017-07-17 Thread Adam Brin
Hi Lukasz, Yes, - adam On Sun, Jul 16, 2017 at 11:03 PM, Lukasz Lenart wrote: > I assume that this is the related ticket to this [1], right? > > [1] https://issues.apache.org/jira/browse/WW-4818 > > 2017-07-14 15:46 GMT+02:00 Adam Brin : > > We have a number of API comp

Multipart fixes in 2.5.12 and non-file payloads

2017-07-14 Thread Adam Brin
part.html though I'm less sure about other characters. I worry this default regex will likely trip up lots of uploads silently, -- _ Adam Brin Director of Technology, Digital Antiquity 480.965.1278

Re: Issues with Localization changes in 2.5.12

2017-07-14 Thread Adam Brin
Unfortunately, using the factory alone didn't help because we needed to add the ResourceBuindles into the TextProviderInstance On Fri, Jul 14, 2017 at 6:16 AM, Lukasz Lenart wrote: > 2017-07-14 14:36 GMT+02:00 Adam Brin : > > I think I tried that originally without help. >

Re: 2.5.12 & security fix protocol

2017-07-14 Thread Adam Brin
thanks for the clarification. On Fri, Jul 14, 2017 at 5:53 AM, Lukasz Lenart wrote: > 2017-07-14 14:40 GMT+02:00 Adam Brin : > > Hi Lukasz, > > Out of curiosity, I'm wondering, what the protocol or choice was about > > including the security patches for struts2 in

2.5.12 & security fix protocol

2017-07-14 Thread Adam Brin
rsion seemed to have quite a few more changes. thanks, adam -- _____ Adam Brin Director of Technology, Digital Antiquity 480.965.1278

Re: Issues with Localization changes in 2.5.12

2017-07-14 Thread Adam Brin
I think I tried that originally without help. Anyway, it seems like my fix worked. On Thu, Jul 13, 2017 at 10:41 PM, Lukasz Lenart wrote: > 2017-07-13 20:08 GMT+02:00 Adam Brin : > > // FIXME: needs to be a better way to handle this > > TextProviderFactory text

Re: Issues with Localization changes in 2.5.12

2017-07-13 Thread Adam Brin
(LocalizedTextProvider.class); instance.addDefaultResourceBundle(“…"); … -- _ Adam Brin Director of Technology, Digital Antiquity 480.965.1278 > On Jul 13, 2017, at 11:08 AM, Adam Brin wrote: > > Hi, > With the removal of the TextProvide

Issues with Localization changes in 2.5.12

2017-07-13 Thread Adam Brin
stack = factory.createValueStack(); context.setValueStack(stack); ActionContext.setContext(context); -- _ Adam Brin Director of Technology, Digital Antiquity 480.965.1278

Re: Limitations using Struts2-conventions-plugin (lack of multiple configuration roots)

2017-06-21 Thread Adam Brin
Hi Ken, I think I’m with Lukasz, I wonder if the following might be useful for folks to get onto the same page (just from my own head): • a sample project that shows the trade-offs? • a diagram or visualization that shows how the new model might lay out? thanks, adam

Re: Problem using the Spring's AOP in Struts2's Actions with json-plugin

2017-05-09 Thread Adam Brin
lternately, it might make sense to go grab the source of the JSON plugin and try and work through that. Here's how we handle JSON output, we use the stream result: https://struts.apache.org/docs/stream-result.html On Tue, May 9, 2017 at 2:41 PM, developer researcher < java.developer.resear

Re: Problem using the Spring's AOP in Struts2's Actions with json-plugin

2017-05-08 Thread Adam Brin
rcher < java.developer.researc...@gmail.com> wrote: > Hello Adam, > > Yes, I am using the "ignoreInterfaces" param set to "false". My result is: > "@Result(name="success",type="json", params={"contentType", "text/html&quo

Re: Problem using the Spring's AOP in Struts2's Actions with json-plugin

2017-05-08 Thread Adam Brin
. - adam -- _ Adam Brin Director of Technology, Digital Antiquity 480.965.1278 > On May 8, 2017, at 12:27 PM, developer researcher > wrote: > > Hello Martin, > > First of all thanks for the reply, but I'm not sure

Re: Disable file uploads

2017-04-13 Thread Adam Brin
One step is to modify the struts.xml to create a custom stack that doesn’t include the file-upload interceptor. -- _ Adam Brin Director of Technology, Digital Antiquity 480.965.1278 > On Apr 13, 2017, at 8:42 AM, Greg Lindholm wr

Re: Load Message from database using ResourceBundle

2017-03-23 Thread Adam Brin
That’ll help in a few places, but technically you want a custom implementation of the TextProvider. A quick google search suggests: http://struts.1045723.n5.nabble.com/Stuts-2-and-Custom-TextProvider-td3494753.html -- _ Adam Brin Director

Re: Request exceeded allowed size limit! Max size allowed is: 2,097,152

2017-03-13 Thread Adam Brin
. > > tomcat7 server.xml: > redirectPort="8443" >maxpostsize="9000"> > > Thanks a lot! > > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- _ Adam Brin Director of Technology, Digital Antiquity 480.965.1278

Re: Struts2.5.2 upgradingn does't work

2016-09-24 Thread Adam Brin
on, but are you running any other Servlets/Contexts in this instance of Tomcat? (4) and lastly, how did you modify the web.xml? - adam On Sat, Sep 24, 2016 at 3:18 AM, Nicola Viola wrote: > Dear members, > I am a new user and I am really new in Struts2. > I am not sure it's the right ma

Re: Struts 2 and ASM jar version

2016-09-22 Thread Adam Brin
-plugin.html . - adam -- _ Adam Brin Director of Technology, Digital Antiquity 480.965.1278 > On Sep 22, 2016, at 1:18 PM, Dhamelia, Krunal > wrote: > > So this means I can upgrade to struts 2.3.21+ with java8 plugin and upgrad

Re: Struts 2 and ASM jar version

2016-09-22 Thread Adam Brin
had some success using ASM 5.1 with our codebase while using the java-8 plugin. It’s planned that in an upcoming version of Struts2 (as Lukasz mentions as I write this), to resolve some other compatibility issues. - adam _ Adam Brin

Re: How to disable devMode in prod

2016-09-15 Thread Adam Brin
It used to be that you could use an include statements in the struts.xml, e.g. . We used this to allow for different settings in production and development by importing different files. This could be a nice “pair” if you can specify environment variables. - adam

Re: Struts2 documentation and Stack Overflow

2016-08-31 Thread Adam Brin
Anyone can write a blurb, and it's looking a bit barren over there right > now. > > > -- > Sent from my C64 using a 300 baud modem > -- _ Adam Brin Director of Technology, Digital Antiquity 480.965.1278

Re: Struts2 initial page loading time

2016-07-21 Thread Adam Brin
udeFilters = { @Filter(type = FilterType.ASSIGNABLE_TYPE, value = { SimpleAppConfiguration.class }) }) -- _ Adam Brin Director of Technology, Digital

Re: Struts2 initial page loading time

2016-07-20 Thread Adam Brin
Hi, Have you tried this on a blank artifact? Seems like it might be a local configuration issue as opposed to a struts issue. If the former, addressing it might depend on your own initialization sequence and perhaps setting up your own Servlet init method > On Jul 20, 2016, at 1:46 PM, Sreeka

Re: [ANN] Apache Struts 2.3.30 GA

2016-07-18 Thread Adam Brin
. -- _ Adam Brin Director of Technology, Digital Antiquity 480.965.1278 > On Jul 18, 2016, at 8:37 AM, Emi wrote: > >> try the bridge to log4j1 >> https://logging.apache.org/log4j/log4j-2.2/log4j-1.2-api/index.html >> > > Updated to: >

Re: Struts 2: running processes/threads in background

2016-07-17 Thread Adam Brin
; > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- _ Adam Brin Director of Technology, Digital Antiquity 480.965.1278

Re: 2.3.28.1 to 2.5.1 - java.lang.NoSuchMethodError: ognl.SimpleNode.isOperation

2016-06-29 Thread Adam Brin
Hi, Emi, do you have a maven pom that shows dependencies? It might be that you’ve got multiple copies of XWork, Struts2 (somehow) or another conflict. Probably need more information to help debug. best, adam -- _ Adam Brin Director of

Re: tiles, sitemesh, velocity and other template engines

2016-06-29 Thread Adam Brin
Hi Christoph & Łukasz, Thanks. This is useful. We’ll stay with Sitemesh2 and Freemarker for now. thanks, adam -- _____ Adam Brin Director of Technology, Digital Antiquity 480.965.1278 > On Jun 29, 2016, at 1:19 AM, Christoph

tiles, sitemesh, velocity and other template engines

2016-06-28 Thread Adam Brin
emesh thanks, adam -- _ Adam Brin Director of Technology, Digital Antiquity 480.965.1278

Re: interfaces with default methods on actions

2016-06-12 Thread Adam Brin
-- > > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > > For additional commands, e-mail: user-h...@struts.apache.org > > > > -- _ Adam Brin Director of Technology, Digital Antiquity 480.965.1278

Re: interfaces with default methods on actions

2016-06-11 Thread Adam Brin
. -- _ Adam Brin Director of Technology, Digital Antiquity 480.965.1278 > On Jun 9, 2016, at 11:42 PM, Lukasz Lenart wrote: > > 2016-06-10 1:04 GMT+02:00 Adam Brin : >> I've been experimenting with Struts 2.5 and trying to simplify our Struts2 >

interfaces with default methods on actions

2016-06-09 Thread Adam Brin
ault methods with success? thanks in advance, adam -- _ Adam Brin Director of Technology, Digital Antiquity 480.965.1278

Re: Validation using annotations with two execute methods are applied always

2015-12-17 Thread Adam Brin
ustomer')"})}) > public String createUserForClient() throws Exception { > > > The issue is that both sets of validations are always executed, no matter > which action has been called. And I see in the response that when > idLanguage or idCompany are missing, the error appears twice, since it is > requited in both actions. > > What am I doing wrong? > > Regards > > JL > -- _ Adam Brin Director of Technology, Digital Antiquity 480.965.1278

Re: Allow max. file upload size of more than 2gb in struts 2

2015-12-09 Thread Adam Brin
You may also want to check the docs: https://struts.apache.org/docs/file-upload.html which has a section on size limits. > On Dec 9, 2015, at 1:38 AM, punter wrote: > > > Hello, > I am using Struts 2.1 in my project. For the file upload process, is it > possible to supersede the normal 2 gb

Re: Struts 2.5.Beta1 and samples

2015-08-25 Thread Adam Brin
You might also need the bridge between log4j v1 and v2, and also the "web" jar. Log4j2 is quite "modularized" when compared to v1. On Tue, Aug 25, 2015 at 10:12 AM, Chris wrote: > Hi, > Thank you for the update.I did it to , yesterday, but I got a new error > about log4j. ( even with log4j2.xm

mapping actions to names with periods

2015-04-29 Thread Adam Brin
action to @Action("sitemap.xml") thanks, adam _____ Adam Brin Director of Technology, Digital Antiquity 480.965.1278

Re: struts, freemarker and servlet 3.1

2014-10-04 Thread adam brin
Lukasz, Sure / will do, I wanted to check before I just opened a ticket. Chris, I had meant 9.1/9.2 (which is current). http://www.eclipse.org/jetty/documentation/current/what-jetty-version.html thanks, - adam On Thu, Oct 2, 2014 at 11:58 PM, Lukasz Lenart wrote: > 2014-09-30 17:15 GMT

struts, freemarker and servlet 3.1

2014-09-30 Thread Adam Brin
Sitemesh or Freemarker config, but I can't seem to quickly tell. Has anyone else had any issues or needed to make any changes when upgrading? thanks, adam _ Adam Brin Director of Technology, Digital Antiquity 480.965.1278

i18N <@s.radio> enum

2014-03-01 Thread adam brin
lic List getEnumTestList() { return Arrays.asList(EnumTest.values()); } I would hope something like this would work, but it doesn't: <@s.radio list="enumTestList" name="test" label="enum test" listValue= "%{getText(name())}" > thanks in advance, adam

Re: struts 2.3.16 custom (sub-classed) theme issue

2014-01-23 Thread adam brin
y the errors for struts2 looking for template/~~~tdar/css.ftl go away. Is it possible that there's a relative directory reference or some other assumption in how/where it looks for different themes? - adam On Thu, Jan 23, 2014 at 8:15 AM, adam brin wrote: > Hi Lukasz, > Our case is sl

Re: struts 2.3.16 custom (sub-classed) theme issue

2014-01-23 Thread adam brin
imple/textarea.ftl" at line 42, column 1] ... Caused by: freemarker.core._MiscTemplateException: Error reading included file "template/~~~tdar/css.ftl": Template "template/~~~tdar/css.ftl" not found. Any thoughts? I'm not sure how to pair down our theme any more than it already is t

struts 2.3.16 custom (sub-classed) theme issue

2014-01-22 Thread adam brin
ot;/${parameters.templateDir}/simple/textarea.ftl" /> <#include "/${parameters.templateDir}/${parameters.theme}/controlfooter.ftl" /> note, I've tried change parameters.theme to parameters.expandTheme as documented here: http://struts.apache.org/release/2.3.x/docs/

RE: struts2 problem when file download dialog is closed

2012-04-11 Thread adam pinder
is the user "cancelling" still sending a request to the server and hence you are trying to return an error - if so i'd assume the http connection has been terminated and therefore you can't send an http response back. if its just logged but doesn't stop user experience then leave it. > To: us

RE: Calling an action class through Javascript -Struts 2.

2011-03-21 Thread adam pinder
if you don't use AJAX then you can only do the standard get/post based on form submission which is a synchronous call. you can use AJAX functionality straight from plain old javascript without using DOJO or other javascript libraries - its just those libs make it easier. adam &

Re: Just a stab in the dark

2011-03-14 Thread Adam Hardy
Martin Gainty on 14/03/11 11:25, wrote: this is a bit OT but it's the weekend and I have a question which I am desperate to answer and my googling skills are no match for it. Does anyone know where I can get a Java implementation of scanf? Does java.text.MessageFormat.parse() perhaps meet at le

Re: [OT] Re: Just a stab in the dark

2011-03-14 Thread Adam Hardy
sort of transform between scanf functionality and an underlying implementation; a micro-DSL, more or less. Dave On Mon, Mar 14, 2011 at 7:15 AM, Adam Hardy wrote: Matt Meola on 14/03/11 00:04, wrote: On 03/12/2011 05:57 AM, Adam Hardy wrote: Hi List this is a bit OT but it's the weekend

Re: Just a stab in the dark

2011-03-14 Thread Adam Hardy
Matt Meola on 14/03/11 00:04, wrote: On 03/12/2011 05:57 AM, Adam Hardy wrote: Hi List this is a bit OT but it's the weekend and I have a question which I am desperate to answer and my googling skills are no match for it. Does anyone know where I can get a Java implementation of scanf?

Re: Just a stab in the dark

2011-03-13 Thread Adam Hardy
rstand why Marting thought so :). Adam, again, why do you prefer scanf to scanner? On 13 March 2011 15:53, Adam Hardy wrote: I actually hoped I would find it in commons lang already - I was only asking on the struts list because I know the user list here is so much more diverse and would more l

Re: Just a stab in the dark

2011-03-13 Thread Adam Hardy
I actually hoped I would find it in commons lang already - I was only asking on the struts list because I know the user list here is so much more diverse and would more likely know if it existed already somewhere. Do you Maurizio already have a scanf implementation? Or am I misinterpreting Mar

Just a stab in the dark

2011-03-12 Thread Adam Hardy
Local time: %tT", Calendar.getInstance()); but not for parsing. Yours thro the google haze, Adam - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

RE: ModelDriven & Hibernate Entities

2011-03-10 Thread adam pinder
and one with all collections initialised or somewhere in between. this gives me full control over persistence etc... adam > Subject: ModelDriven & Hibernate Entities > Date: Wed, 9 Mar 2011 11:34:32 -0600 > From: chris.cranf...@setech.com > To: user@struts.apache.org > > I h

RE: Integrate JasperReports into a Struts2 web application

2011-02-17 Thread adam pinder
inside a pdf able to print??? > ok can u please send that java script file to > me.(nagarjunabatt...@gmail.com) > > adam pinder wrote: > > > > > > > > i think all interactions using window.print require the user to at least > > acknowledge that they wan

RE: Integrate JasperReports into a Struts2 web application

2011-02-17 Thread adam pinder
, 17 Feb 2011 09:03:05 -0800 > From: nagarjunabatt...@gmail.com > To: user@struts.apache.org > Subject: RE: Integrate JasperReports into a Struts2 web application > > > ok adam am also thinking that only. > so can you tell me is it possible to print the report directly when i p

RE: Integrate JasperReports into a Struts2 web application

2011-02-17 Thread adam pinder
i'm not sure what tests can be done on the variable created from the window.open - if you can test for it being loaded and are able to issue a print against the actual new window then that would be simplest otherwise...if the call to the jasper report could output an html page containing the r

RE: Integrate JasperReports into a Struts2 web application

2011-02-17 Thread adam pinder
window.open is not a synchronous command and hence the window.print is occurring before the jasper report is actually rendered and you need to issue the window.print on the new window which i doubt it is given you're calling it from the parent window. you need to be able to test that the new w

RE: Decent tutorial or working example of Hibernate 3 + Struts 2 + Tiles 2 on myeclipse

2011-02-10 Thread adam pinder
i would start with the struts2 sample app, get it working then add hibernate3 (this adds a lot of new jars) get struts2 and hibernate3 working then add tiles2 and get that working - don't try and throw them all in together then try to work out which one is causing the issue. > Date: Thu, 10 F

RE: Decent tutorial or working example of Hibernate 3 + Struts 2 + Tiles 2 on myeclipse

2011-02-10 Thread adam pinder
make sure you only add additional jars into the web app itself and avoid (mostly) adding jars into common library folders. i use struts2 and hibernate3 but not tiles and have no problems like yours. adam > Date: Thu, 10 Feb 2011 14:53:52 +0530 > Subject: Decent tutorial or working exam

RE: Connection Pooling with Struts

2010-12-08 Thread adam pinder
Anjib, i'd certainly take a look at hibernate, i've been using it for a while now and find it easy enough and functionally rich enough for most things. adam > Date: Tue, 7 Dec 2010 14:36:01 -0500 > From: anji...@hotmail.com > To: user@struts.apache.org > Subject: C

example of Struts2 TypeConverter for a bean

2010-12-04 Thread Adam Brin
/type-conversion.html <@s.iterator value="beanList" id="bean"> <@s.textfield name="beanList(%{bean.id}).name" /> Thanks in advance, adam _____ Adam

RE: Can't deploy on server

2010-10-20 Thread adam pinder
maybe your xml does not match the struts2 DTD (defined at top of struts.xml) - try checking xml in something like XMLSpy for invalid xml as error says. > Date: Wed, 20 Oct 2010 10:34:01 +0900 > Subject: Re: Can't deploy on server > From: liying.cn.2...@gmail.com > To: user@struts.apache.or

RE: Overriding Templates

2010-10-20 Thread adam pinder
plications. anyway, the addition of the context-param sorted out my problem. thanks for your responses adam > Date: Wed, 20 Oct 2010 12:01:34 +0900 > Subject: Re: Overriding Templates > From: liying.cn.2...@gmail.com > To: user@struts.apache.org > > Hi Maurizio: &

RE: Overriding Templates

2010-10-19 Thread adam pinder
n jar file - no errors are logged though. My action error template contains the following <#if (actionErrors?exists && actionErrors?size > 0)> <#list actionErrors as error> ${error} Adam > Date: Tue, 19 Oct 2010 11:39:13 +0900 > Subject: Re: Overri

Overriding Templates

2010-10-18 Thread adam pinder
te. i have upgraded other jars as it seemed appropriate for this struts version. thanks adam

RE: Possible to combine struts2-portlet-plugin and struts2-jfreechart-plugin?

2010-09-29 Thread adam pinder
have my generated chart ready to be picked up by result processing private JFreeChart chart; not sure of that helps adam > Date: Wed, 29 Sep 2010 14:39:54 +0200 > Subject: Possible to combine struts2-portlet-plugin and > struts2-jfreechart-plugin? > From: perj.

RE: Accessing User input in execute ( ) method

2010-09-28 Thread adam pinder
if you're new to struts why don't you use struts2 its far better and less intrusive code wise. > Date: Tue, 28 Sep 2010 09:03:51 +0530 > Subject: Re: Accessing User input in execute ( ) method > From: hareend...@gmail.com > To: user@struts.apache.org > > Guys, > > Thnks for all replie

RE: How to structure a struts2 application

2010-09-24 Thread adam pinder
one action per function or functional area is probably best. you can then tailor the validation and responses more easily. adam > Date: Fri, 24 Sep 2010 10:35:42 +0100 > Subject: How to structure a struts2 application > From: darrenkarst...@gmail.com > To: user@strut

RE: Array Input Fields - SOLVED

2010-09-13 Thread adam pinder
i didn't realise the use of () for lists and [] for maps - i thought you always use [] i used input field names likeusers(0).name and now name gets set on the relevant object in the list - no need for any extra methods just the getUsers() setUsers() methods. thanks all

RE: Array Input Fields

2010-09-12 Thread adam pinder
e had this before and i took the params off the request myself in the action and updated the list - just thought i'd try and get to the bottom of it this time. i think it must be down to the input names i'm using or the methods i need to have available to the params interceptor to

Array Input Fields

2010-09-10 Thread adam pinder
correct name/value pair of user[1].name => [smith] i have also tried with a string as the occ parameter but still no joy. anyone have any suggestions ? thanks adam

RE: Reading input stream (xml)

2010-07-30 Thread adam pinder
your action could implement ServletRequestAware then it has access to the full request including posted content. adam > From: arunkumar.bopp...@gmail.com > Date: Fri, 30 Jul 2010 15:31:15 +0530 > Subject: Re: Reading input stream (xml) > To: user@struts.apache.org > &g

RE: Basic security problem

2010-04-16 Thread adam pinder
roles, then struts will check whether the user has this role (by calling interceptor) and if not will not allow them to access the action. only coding is creating the interceptor. ps. my user is kept in the session as are their roles once logged in. adam

RE: struts & PDF

2010-04-14 Thread adam pinder
can't you specify a filename in the result config in the struts.xml file, albeit it the same for each result. > Date: Wed, 14 Apr 2010 09:57:54 +0800 > From: haoniu...@gmail.com > To: user@struts.apache.org > Subject: Re: struts & PDF > > You can't. On

RE: struts 2 global result problem

2010-04-06 Thread adam pinder
put them before action definitions. adam > Date: Tue, 6 Apr 2010 00:47:22 -0700 > From: rakeshknai...@gmail.com > To: user@struts.apache.org > Subject: struts 2 global result problem > > > hi > > I am using struts2.1.6 in m

RE: CRUD with a OneToMany association under Struts 2 / Hibernate 3

2010-04-01 Thread adam pinder
> Date: Thu, 1 Apr 2010 15:16:36 +0200 > > > Thks a lot Adam it is now more concise: > > > > Setting params > Setting params id => [ 1 ] > Setting params id => [ 1 ] method:saveOrUpdate => [ Submit ] name => [ > Parent1 ] parent.values[0].id => [ 2

RE: Error creating form bean struts 1.2 + weblogic 8.1 + myeclipse 5.5

2010-04-01 Thread adam pinder
seems like form definition isn't in struts config file or properly defined > Date: Thu, 1 Apr 2010 11:45:42 + > To: user@struts.apache.org > Subject: Error creating form bean struts 1.2 + weblogic 8.1 + myeclipse 5.5 > From: nanukh...@rediffmail.

RE: CRUD with a OneToMany association under Struts 2 / Hibernate 3

2010-04-01 Thread adam pinder
bject: RE: CRUD with a OneToMany association under Struts 2 / Hibernate 3 > Date: Thu, 1 Apr 2010 14:51:40 +0200 > > > thks adam but I got now thousand & thousand of lines > > I am afraid that I won't be able to read its before the end of the world in > 2012.. > &

RE: CRUD with a OneToMany association under Struts 2 / Hibernate 3

2010-04-01 Thread adam pinder
rom: brgrandj...@live.fr > To: user@struts.apache.org > Subject: RE: CRUD with a OneToMany association under Struts 2 / Hibernate 3 > Date: Thu, 1 Apr 2010 13:54:33 +0200 > > > Dear Adam, > > > > I just added a public Child getValues(int idx) in the Parent class def

RE: CRUD with a OneToMany association under Struts 2 / Hibernate 3

2010-04-01 Thread adam pinder
turn on the parameterinterceptor logging and make sure as mentioned that 1) the values you expect for each child are being sent to the server (id and name) 2) the parameter names are correct for setting each child i had some issues getting lists of items to be updated by form submission

RE: CRUD with a OneToMany association under Struts 2 / Hibernate 3

2010-03-31 Thread adam pinder
have you got the correct cascade setting on the parent object i use the xml files for hibernate rather than the @ syntax in java classes and i can set cascade="all" which means when i save/update the parent the children are also saved or updated. also remember that for hibernate to realise

RE: Regular expressions - Email Validation

2010-03-31 Thread adam pinder
try & instead of & > Date: Wed, 31 Mar 2010 08:41:39 -0700 > From: pankajj.j...@gmail.com > To: user@struts.apache.org > Subject: Regular expressions - Email Validation > > > In struts I have regular expression for validating email like this - > >

RE: Pagination with Struts 2.1.8 ?

2010-03-29 Thread adam pinder
i prefer pagination to be db based so there is a minimum amount of data retrieved and held in memory. i.e. only retrieve what you will display. don't retrieve 200 records in memory and page through them. adam > Date: Mon, 29 Mar 2010 03:07:

RE: Form values getting empty After validation failure

2010-03-25 Thread adam pinder
ct: Re: Form values getting empty After validation failure > From: pundari...@gmail.com > To: user@struts.apache.org > > Hi Adam, > > You are right. The problem is fixed now. However I am facing a different > issue now. I also have a couple of html select controls in the page. Fo

RE: Form values getting empty After validation failure

2010-03-24 Thread adam pinder
as long as you are simply re-displaying the same form associated with the same action it should work like any other page - the input fields are struts2 tags and there are getters for each property in the action it should retrieve the value and re-display them i have a similar thing and it w

RE: Weird behavior in getText()

2010-03-24 Thread adam pinder
the only thing i have different is a space before and after the = in the resource file apart from that i'm using getText as you are. adam > Date: Tue, 23 Mar 2010 11:12:19 -0700 > Subject: Weird behavior in getText() > Fr

RE: About bank application using Struts 2

2010-03-22 Thread adam pinder
hibernate can use parameterised statements out of the box and handles the encoding of values to stop sql injection. you can use names like :orgId in an sql statement and set either the value with a set statement or by setting an object containing a getOrgId method and hibernate will c

RE: SQL Injection

2010-03-18 Thread adam pinder
use hibernate its definitely worth trying. the SQL queries can be parameterised and the parameter names can refer to fields in an object, it handles the escaping of values to be sql safe. > From: gustavo.felisbe...@wit-software.com > To: user@stru

RE: Can a collection property have its changes saved back to the ActionForm?

2010-03-18 Thread adam pinder
you want to save the options in the select not a selected option... if you make the select a multiple select and in javascript you select all options are all the option values sent to the server against the same parameter name (turn on parameter interceptor logging to check)... if so,

RE: Can we some how persist form values in Struts2 the way we do in struts1.x

2010-03-17 Thread adam pinder
Store the data entered in an object and have it in the session, making the get/set for the object do a get/put into the session. they can change to their hearts content. > Date: Wed, 17 Mar 2010 02:52:50 +0530 > Subject: Can we some how persist for

  1   2   3   4   5   6   7   8   9   10   >