Problem in ObjectFactory.buildResult? OGNLExceptions can halt setting of valid properties

2007-09-07 Thread Aaron Brown
m simply overlooking a simple configuration step that might remove the 'location' parameter from the ResultConfig parameters map. Otherwise, it seems the handling of OGNL property setting needs some attention? Any help would be greatly appreciated. Thanks, Aaron Brown -

ObjectFactory.buildResult not correctly configuring Result instance properties

2007-09-10 Thread Aaron Brown
rties in the map are ignored and the Result class is incorrectly configured. If all you want to do is log an erroneous attempt to set a property, why are you throwing exceptions? The OgnlUtil.internalSetProperty class will do that for you if it told not to throw exceptions.

RE: ObjectFactory.buildResult not correctly configuring Result instance properties

2007-09-11 Thread Aaron Brown
not correctly configuring Result instance properties This is a bug and will definitely be fixed for 2.1, although I think we should do something for 2.0.11. Patches are always welcome... :) Don On 9/11/07, Aaron Brown <[EMAIL PROTECTED]> wrote: > Hi, I think I have stumbled across a b

convention plugin and unit testing

2010-10-28 Thread Aaron Brown
ion so the unit test can proceed? - Aaron -- Aaron Brown : aa...@thebrownproject.com - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Struts2, convention plugin, websphere 6.1

2010-11-17 Thread Aaron Brown
gin - it's as if it isn't even executing. I have a workaround - the xml config works - but would prefer to use annotations if I can. Anyone else run into this and solved it? thanks, - Aaron -- Aaron Brown : aa...@thebrownproject.com ---

Re: Struts2, convention plugin, websphere 6.1

2010-11-17 Thread Aaron Brown
e difficult to help; is devMode > turned on? Do you have DEBUG set for *everything*, or just s2 > packages, or xwork, or...? It shouldn't matter, but do you have the > WebFear filter compatibility flag set (or don't need it due to patch > level)? > -- Aaron Brown : aa...@t

Re: Struts2, convention plugin, websphere 6.1

2010-11-18 Thread Aaron Brown
nate and spring (@Autowire, for example, works like a charm). Anyway, I'm stumped. -- Aaron Brown : aa...@thebrownproject.com - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional comm

Re: Help... My url grows...

2010-12-14 Thread Aaron Brown
class="gov.usbr.etas.web.struts.LocationAssignAction" method="execute"> >                  /struts/locationAssign.jsp >                  /struts/locationAssign.jsp >             >       > > > > And my web.xml: > >       >            struts2 >

Re: Help... My url grows...

2010-12-14 Thread Aaron Brown
4:48 PM, Ellson, Jared L wrote: > Nope... namespace didn't help...  I was thinking it was maybe because I was > doing the submit via javascript but it happens when I use the it > happens also. > > > > -Original Message- > From: Aaron Brown [mailto:aa...@thebro

Re: Problem with browser or Struts file upload code.

2010-12-29 Thread Aaron Brown
t;>>> * This is the action called from the Struts framework. >>>>> * @param mapping The ActionMapping used to select this instance. >>>>> * @param request The HTTP Request we are processing. >>>>> * @return set of errors. >>>>> */ >

Re: JSON Property

2011-01-03 Thread Aaron Brown
Have you considered using an include? You can call a json-result-type action with it or switch to some other fragment result if needed. Perhaps it's quick and dirty compared with creating a custom tag but it seems to me it would be a lot easier to implement. - Aaron On Jan 3, 2011 6:50 AM, "Jim T

Re: Why do we need the set/push tag?

2011-01-06 Thread Aaron Brown
he views like jsp just need to pull data from the > Actioncontext and render them. What's the advantage of pushing new data to > context? > I am using my phone to ask this question,so I can't express more,hope you > guys know what I am talking about.^_^ >

Re: Why do we need the set/push tag?

2011-01-06 Thread Aaron Brown
On Thu, Jan 6, 2011 at 9:41 AM, maven apache wrote: > 2011/1/6 Aaron Brown > > Well,is it the action's **responsibility to prepare the data which to be > used in the view/page? > Yes, but in some cases it's desirable to write view code (JSP, for example) which i

struts2, jasper reports, nested List error

2011-02-16 Thread Aaron Brown
ested property of the Parent object. I'm doing the same kind of operation in a dozen places in .jsps, so I know my object model is solid. Does anyone have experience with this kind of Struts 2 reporting in Jasper who could lend me a hand learning how to do this? thanks

Re: struts2, jasper reports, nested List error

2011-02-16 Thread Aaron Brown
t; passing a list, not something that JR can use. > > Tragically, I don't actually remember what I did to fix this, although > I thought I had changed the plugin to handle that. Perhaps I never > checked it in, which would be too bad, because I no longer have access > to that co

Re: display data of action class on jsp in struts2

2011-03-05 Thread Aaron Brown
You declare myList again inside create method, so the data is never stored in the class-level myList. When the jsp asks for the list, it's empty. On Mar 5, 2011 8:59 AM, "shekhar16" wrote: > > i m new to struts2,rest plugin and i m tring to retrieve data from database > through jpa and display it

Re: Select collection not found only when validation xml file is used

2011-04-13 Thread Aaron Brown
ementation). The stack definition is near the end, just do a search for "paramsPrepareParams". - Aaron -- Aaron Brown : aa...@thebrownproject.com - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For a

Re: Struts2 Validation w/ModelDriven

2011-05-19 Thread Aaron Brown
ized value. > > Can't you check the action error and not refresh the model when there is > > an error? > > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For a

Re: Struts File Upload Issue

2011-05-26 Thread Aaron Brown
Are you certain the action class is not being called at all? Are you logging when the action method executes to be sure? Is your user a Mac user? I have seen occasional problems with Mac files (especially fonts) having a null data fork that break the upload process. On May 26, 2011 1:01 AM, wrot

Re: Failed validation returns Action.NONE instead of Action.INPUT in Struts 2.2.3

2011-07-21 Thread Aaron Brown
u could try setting a breakpoint in this method to see what it's thinking. You could try removing your annotation setup and wiring your actions with a struts.xml file instead? Probably a quicker check than reading through all the annotation processing code. - Aaron --

Re: Submit image button sends coordinates

2011-07-26 Thread Aaron Brown
You may be able to write an interceptor that strips X and Y from your cgi parameters. You would need to set the interceptor prior to the default interceptor that assigns params to your action set methods. On Jul 26, 2011 5:50 AM, "Maurizio Cucchiara" wrote: > Hi Christian, > unfortunately IIRC th

Re: Where to put non action associated data

2011-08-01 Thread Aaron Brown
er framework is more suited? > You'll have to bear with me here since all my work thus far has had no need > to collaborate data from multiple sources in one page. > > > > Regards and thanks in advance, > > Marcus > > -- Aaron Brown : aa...@thebrownproject.com

Re: Where's ideal for this logic?

2011-08-11 Thread Aaron Brown
> Lastly, has anyone else looked at the library from Highcharts and have > any input, thoughts, or suggestions on your past use? > > > > > > > ----- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional comma

Re: Return text to jsp, plus image and imageMap from a single Data query?

2011-09-05 Thread Aaron Brown
The problem is really an html problem. You cannot embed an image in a web page, all you can do is embed a url reference to an image. The browser, if it is a graphical browser and not a text reader, will find that reference and execute another completely separate request for the image binary. This i

Re: To create new session without invalidating existing one

2011-10-03 Thread Aaron Brown
This should be a whole new email thread, shouldn't it? Try naming the class variable "id" and making your method "getId". OGNL will try to make a guess what the pojo get method is and it often gets confused with all uppercase names. Aaron On Oct 3, 2011 6:34 AM, "Ganesh" wrote: > I tried settin

Re: Struts2 session concurrency issue ?

2012-04-25 Thread Aaron Brown
To answer, I think we need to know more about your utility program that triggers action 2. Sessions are tracked through a cookie containing a JSESSIONID. Does your utility retain cookies so that each page load will reference the same session? Also, does your utility wait for each page to complete b