RE: Struts 6.4, Ognl and getters without an underlying field

2024-10-10 Thread Nate Kerkhofs
Yes, the problem is gone. It was an error on my end related to the ordering of static fields in the singleton class. -Original Message- From: Lukasz Lenart Sent: Tuesday, 8 October 2024 09:06 To: Struts Users Mailing List Subject: Re: Struts 6.4, Ognl and getters without an underlying

Re: Struts 6.4, Ognl and getters without an underlying field

2024-10-08 Thread Lukasz Lenart
entire BootstrapSupport class obsolete. > > Kind regards, > > Nate > > -Original Message- > From: Lukasz Lenart > Sent: Sunday, 6 October 2024 07:55 > To: Struts Users Mailing List > Subject: Re: Struts 6.4, Ognl and getters without an underlying field > > That

RE: Struts 6.4, Ognl and getters without an underlying field

2024-10-07 Thread Nate Kerkhofs
ubject: Re: Struts 6.4, Ognl and getters without an underlying field That should just work, I don't recall any changes affecting processing this. Could you enable DEBUG level and inspect logs before the error you get. Maybe there is a security WARNING you have missed. czw., 3 paź 2024 o 10:2

Re: Struts 6.4, Ognl and getters without an underlying field

2024-10-05 Thread Lukasz Lenart
nal Message- > From: Nate Kerkhofs > Sent: Thursday, 3 October 2024 10:06 > To: Struts Users Mailing List > Subject: Struts 6.4, Ognl and getters without an underlying field > > Hello, > > I have a Struts 6.4 page with a select, and I have a problem populating the &g

RE: Struts 6.4, Ognl and getters without an underlying field

2024-10-03 Thread Nate Kerkhofs
ssage- From: Nate Kerkhofs Sent: Thursday, 3 October 2024 10:06 To: Struts Users Mailing List Subject: Struts 6.4, Ognl and getters without an underlying field Hello, I have a Struts 6.4 page with a select, and I have a problem populating the list attribute. What I'm trying to do is

Struts 6.4, Ognl and getters without an underlying field

2024-10-03 Thread Nate Kerkhofs
Hello, I have a Struts 6.4 page with a select, and I have a problem populating the list attribute. What I'm trying to do is relatively simple: I have the following action code: public class MachineParameterOverviewBootstrapAction extends OverviewActionSupport implements Expirable { ... } An

Re: Struts 6.3 tags do not automatically evaluate the value field against the ognl stack

2024-01-07 Thread Lukasz Lenart
This PR [1] should fix the problem. There was a gap in our unit tests which allowed us to introduce the previous change that broke evaluation of the value attribute. [1] https://github.com/apache/struts/pull/835 Regards Łukasz

RE: Struts 6.3 tags do not automatically evaluate the value field against the ognl stack

2023-11-30 Thread Nate Kerkhofs
art Sent: Thursday, 30 November 2023 16:52 To: Struts Users Mailing List Subject: Re: Struts 6.3 tags do not automatically evaluate the value field against the ognl stack wt., 28 lis 2023 o 17:43 Yasser Zamani napisał(a): > > Hi Nate, > > Thanks for the detailed info and the PoC which e

Re: Struts 6.3 tags do not automatically evaluate the value field against the ognl stack

2023-11-30 Thread Lukasz Lenart
wt., 28 lis 2023 o 17:43 Yasser Zamani napisał(a): > > Hi Nate, > > Thanks for the detailed info and the PoC which enabled me to debug the issue! > > The issue is introduced by [1] lines insertions which has changed the path of > the execution to findValue(expr, class) instead of findValue(expr).

Re: Struts 6.3 tags do not automatically evaluate the value field against the ognl stack

2023-11-28 Thread Yasser Zamani
6.3 tags do not automatically evaluate the value field against the ognl stack Hello, I have a further update with a working proof of concept Github repository. It's a little bit janky because I usually use subversion instead of Git, but it should work: https://github.com/ikannak/RadioPoC If you

RE: Struts 6.3 tags do not automatically evaluate the value field against the ognl stack

2023-11-27 Thread Nate Kerkhofs
. Kind regards, Nate -Original Message- From: Nate Kerkhofs Sent: Monday, 27 November 2023 10:16 To: user@struts.apache.org Cc: Lukasz Lenart Subject: RE: Struts 6.3 tags do not automatically evaluate the value field against the ognl stack Hello Lukasz, Apologies for this, I was und

RE: Struts 6.3 tags do not automatically evaluate the value field against the ognl stack

2023-11-27 Thread Nate Kerkhofs
created a quick and dirty project with literally just Struts 6, a basic Action.java and the dependencies without any custom template, and I had the same result. In addition, I tried it using default s:textfield input element as well, and that also did not evaluate the value as an OGNL object

Re: Struts 6.3 tags do not automatically evaluate the value field against the ognl stack

2023-11-25 Thread Lukasz Lenart
t; Don't you have some specific magic in your app? Could you please see also > Struts logs for any WARN message? > > Regards, > Yasser > > > From: Nate Kerkhofs > Sent: Friday, November 24, 2023 3:23 PM > To: user@stru

Re: Struts 6.3 tags do not automatically evaluate the value field against the ognl stack

2023-11-24 Thread Yasser Zamani
e specific magic in your app? Could you please see also Struts logs for any WARN message? Regards, Yasser From: Nate Kerkhofs Sent: Friday, November 24, 2023 3:23 PM To: user@struts.apache.org Subject: Struts 6.3 tags do not automatically evaluate th

Re: Struts 6.3 tags do not automatically evaluate the value field against the ognl stack

2023-11-24 Thread Dave Newton
I’m don’t recall if it was intentional but iirc the advice we used to give was to always use the OGNL expression syntax to be explicit and clear. (Iiarc there was a reason for doing this at one point as well.) Seems like still good advice. It should get into the docs, though. On Fri, Nov 24

Struts 6.3 tags do not automatically evaluate the value field against the ognl stack

2023-11-24 Thread Nate Kerkhofs
Greetings, I am currently upgrading a Struts 2.5 project to Struts 6.3, and I ran into an issue with Struts 6.3 tags not evaluating the value against the ognl stack. I have reproduced this issue both with the radio map included in the struts2-core jar and with a custom radiomap.ftl, and also

Re: OGNL in struts tag

2020-02-23 Thread Lukasz Lenart
Ach. my bad, I just checked how "name" is resolved in "UIBean" instead of analysing it into deep and I messed up things with "value" attribute, my explanation below niedz., 23 lut 2020 o 23:06 John Bush napisał(a): > > This works because of %{} and "a" was pushed onto the top of ValueStac

Re: OGNL in struts tag

2020-02-23 Thread John Bush
I understand the don't mix EL and Struts tags - and the use of 'top' in the valueStack. I don't understand why the following first two don't provide like displaying HTML input tags. Also why doesn't OGNL treat the third as a property of "a" and cal

Re: OGNL in struts tag

2020-02-23 Thread Lukasz Lenart
pt., 21 lut 2020 o 04:05 M Huzaifah napisał(a): > > > > the jsp has error: > > Struts Problem Report > > Struts has detected an unhandled exception: > > Messages: > /pages/common/genericform/genericMain.jsp (line: 165, column: 24) According > to TLD or attribute directive in tag file, attr

Re: OGNL in struts tag

2020-02-20 Thread M Huzaifah
Dear Lucas, Sorry if i am wrong about that. let me clarify in here. let say i have pojo : public class FormColumnKey { private Integer formcolumnFormId; private String formcolumnName; //sette-getter } in action class, i have list of clolumn: private List displayColumnList; and then,

Re: OGNL in struts tag

2020-02-20 Thread Lukasz Lenart
wt., 18 lut 2020 o 17:04 M Huzaifah napisał(a): > Thank you Lucas, my goal is render the struts tag based on list of column > name that i've set before. So i have to iterate the list of column using > jstl than put the "name" on attribut name in struts tag. From here, i > think i miss understandi

Re: OGNL in struts tag

2020-02-18 Thread M Huzaifah
text fields > where the names of text fields are like mytext[columnName1], > mytext[columnName2] etc. > > You can then use a map in the action to collect the values from the jsp. > In the below example you would use a map named mycolumns. > > > > > > I

Re: OGNL in struts tag

2020-02-18 Thread Prasanth
then use a map in the action to collect the values from the jsp. In the below example you would use a map named mycolumns.     I think Struts2 tags don't allow EL so you have to use OGNL expression to create dynamic names. On 2/18/20 7:09 AM, Lukasz Lenart wrote: > wt., 18 lut 2020 o

Re: OGNL in struts tag

2020-02-18 Thread Lukasz Lenart
wt., 18 lut 2020 o 05:22 M Huzaifah napisał(a): > I've looking for solution how to create struts2 tag could generate > dynamically. This is my code: > > > > You shouldn't mix Struts and non-Struts tags, this is a bad idea. Why don't you use here? https://struts.apache.org/tag-developers/

OGNL in struts tag

2020-02-17 Thread M Huzaifah
Dear All, I've looking for solution how to create struts2 tag could generate dynamically. This is my code: There is a way we can use ${} ini struts tag?. I found security issue about this evaluation sintaks in here : https://securitylab.github.com/research/apache-struts-double-evaluation

Re: OGNL expressions in headers and parameters

2017-03-13 Thread Paweł Wielgus
ause it seems to me that these OGNL > expressions are evaluated before my code is executed and I wonder if it can > be disabled anyhow. > Can I turn off these auto-evaluated thinks if I don't need them at all? You > wrote that it is my code which initiates this, but I don't th

Re: OGNL expressions in headers and parameters

2017-03-13 Thread Lukasz Lenart
2017-03-13 10:54 GMT+01:00 Tamás Barta : > Lukasz, I don't write it to blame you. I very appreciate your work. > > I just write to this list because it seems to me that these OGNL > expressions are evaluated before my code is executed and I wonder if it can > be disabled anyh

Re: OGNL expressions in headers and parameters

2017-03-13 Thread Tamás Barta
Lukasz, I don't write it to blame you. I very appreciate your work. I just write to this list because it seems to me that these OGNL expressions are evaluated before my code is executed and I wonder if it can be disabled anyhow. Can I turn off these auto-evaluated thinks if I don't ne

Re: OGNL expressions in headers and parameters

2017-03-13 Thread Lukasz Lenart
2017-03-13 10:43 GMT+01:00 Tamás Barta : > Interesting, I don't do such things. I write down the stack trace from > where it is executed (in 2.5.2). > This is the interesting part, there is no my code there. > > StrutsPrepareAndExecuteFilter:100 // boolean handled > = execute.

Re: OGNL expressions in headers and parameters

2017-03-13 Thread Tamás Barta
9:50 GMT+01:00 Tamás Barta : > > I mean I never want a http header or parameter be handled as OGNL > > expression and got evaluated. I would like it to be retrieved as it is. > For > > security purpose. > > As I said, Struts doesn't evaluate incoming params as OGNL

Re: OGNL expressions in headers and parameters

2017-03-13 Thread Lukasz Lenart
2017-03-13 9:50 GMT+01:00 Tamás Barta : > I mean I never want a http header or parameter be handled as OGNL > expression and got evaluated. I would like it to be retrieved as it is. For > security purpose. As I said, Struts doesn't evaluate incoming params as OGNL expressions, bu

Re: OGNL expressions in headers and parameters

2017-03-13 Thread Tamás Barta
I mean I never want a http header or parameter be handled as OGNL expression and got evaluated. I would like it to be retrieved as it is. For security purpose. On Mon, Mar 13, 2017 at 9:44 AM, Lukasz Lenart wrote: > 2017-03-13 9:41 GMT+01:00 Tamás Barta : > > Hi, > > > >

Re: OGNL expressions in headers and parameters

2017-03-13 Thread Lukasz Lenart
2017-03-13 9:41 GMT+01:00 Tamás Barta : > Hi, > > Is there any way to disable evaluating OGNL expressions in HTTP headers and > request parameters? There is no direct evaluation of request parameters nor headers. The problem is that those values are often used by developers in JSP

OGNL expressions in headers and parameters

2017-03-13 Thread Tamás Barta
Hi, Is there any way to disable evaluating OGNL expressions in HTTP headers and request parameters? Thanks, Tamás

ognl exploit

2017-03-08 Thread Jim Spellman
Is there a way to turn off ognl, so to prevent this exploit? https://github.com/rapid7/metasploit-framework/issues/8064 I found someone trying to break into my server and was able to issue system level commands by injecting this ognl language into the content header of a multipart form. I&#

Re: ognl exploit

2017-03-08 Thread Jim Spellman
Ah looks like all I need to do is upgrade. I missed the release note on this... Jim On Wed, Mar 8, 2017 at 5:04 PM, Jim Spellman wrote: > Is there a way to turn off ognl, so to prevent this exploit? > https://github.com/rapid7/metasploit-framework/issues/8064 > > I found someo

Re: OGNL upgrade in 2.3.28 breaks expressions

2016-04-06 Thread Lukasz Lenart
Hi, It's due to fixed OGNL version which properly supports JavaBean Specifications now. You can revert to prior version of OGNL to keep the old behaviour (security fixes weren't related to OGNL) See those issues https://issues.apache.org/jira/browse/WW-3909 https://issues.apache.org/j

OGNL upgrade in 2.3.28 breaks expressions

2016-04-06 Thread Doug Erickson
It appears that a change in OGNL 3.0.13 with 2.3.28 breaks expressions that reference properties beginning with at least two capital letters. Previously, a getter like "getXXX()" could be referenced with OGNL "xXX", but these must be changed to "XXX". Is this expe

RE: OGNL error --- Unexpected Exception caught setting ... on 'class.........

2015-08-26 Thread fea jabi
publisherDescSelect', function(event, data) { var ui = event.originalEvent.ui;var message = ui.item.value; if(ui.item.key) { message = '( '+ ui.item.key +' ) '+message; } $('#topics').html(''+message+''); }); > From: mgai...

RE: OGNL error --- Unexpected Exception caught setting ... on 'class.........

2015-08-26 Thread Martin Gainty
> From: zy...@hotmail.com > To: user@struts.apache.org > Subject: OGNL error --- Unexpected Exception caught setting ... on > 'class. > Date: Wed, 26 Aug 2015 19:42:36 -0400 > > Have a Publisher class with attributes > Publisher --->class > name

OGNL error --- Unexpected Exception caught setting ... on 'class.........

2015-08-26 Thread fea jabi
Have a Publisher class with attributes Publisher --->class name code Action class private String[] publisherName; List publishers= new ArrayList(); getters and setters for the same too in it. JSP When I don't select anything in autocompleter and submit the form seeing th

Re: OGNL making me nutty

2015-03-27 Thread Lukasz Lenart
It's a conversion/validation error that's why Struts is looking for "input" result - Struts cannot convert incoming String into BigDecimal Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2015-03-27 0:05 GMT+01:00 Ellson, Jared : > Hi All, > > I have a simple struts action class cal

Re: OGNL making me nutty

2015-03-26 Thread Kiran Badi
Please check if the html of view layer has if any incomplete tags. Sometimes due to incomplete tags it never reaches action On Thursday, March 26, 2015, Ellson, Jared wrote: > Yes: > > public String action() throws Exception { > > > On Thu, Mar 26, 2015 at 5:41 PM, Ken McWilliams > > wrote: > >

Re: OGNL making me nutty

2015-03-26 Thread Ellson, Jared
Yes: public String action() throws Exception { On Thu, Mar 26, 2015 at 5:41 PM, Ken McWilliams wrote: > Is there a method in gov.usbr.mechdb.struts.GovernorAction class called > "action" which takes nothing and returns a String? > > On Thu, Mar 26, 2015 at 5:05 PM, Ellson, Jared wrote: > > >

Re: OGNL making me nutty

2015-03-26 Thread Ken McWilliams
Is there a method in gov.usbr.mechdb.struts.GovernorAction class called "action" which takes nothing and returns a String? On Thu, Mar 26, 2015 at 5:05 PM, Ellson, Jared wrote: > Hi All, > > I have a simple struts action class calling setters on a simple JPA object > and for some reason the sett

OGNL making me nutty

2015-03-26 Thread Ellson, Jared
Hi All, I have a simple struts action class calling setters on a simple JPA object and for some reason the setters are not working and it is blowing up. I am doing the exact same thing in other actions with in the same application and it is working fine. What am I missing? *Struts.xml:* /

Re: OGNL Static Method call wrapper

2015-01-22 Thread Lukasz Lenart
2015-01-19 14:02 GMT+01:00 Alireza Fattahi : > As the OGNL static method will be disabled soon ... we could use a wrapper to > call those static methods > Do you think it is a good idea to add a method ActionSupport for calling the > static methods > > So instead of @foo.bar@is

Re: OGNL Static Method call wrapper

2015-01-19 Thread Alireza Fattahi
The problem of static methods was not the issue I was talking about. Static methods are there you can use them or not, OGNL supports calling static methods.The struts team decided to disable this feature.Lots of framework users, use this feature ( may be they have set -Xmx .. parameters or not

RE: OGNL Static Method call wrapper

2015-01-19 Thread Martin Gainty
rtin __ > Date: Mon, 19 Jan 2015 13:02:19 + > From: afatt...@yahoo.com.INVALID > To: user@struts.apache.org > Subject: OGNL Static Method call wrapper > > As the OGNL static method will be disabled soon ... we could use a wrapper to >

OGNL Static Method call wrapper

2015-01-19 Thread Alireza Fattahi
As the OGNL static method will be disabled soon ... we could use a wrapper to call those static methods  Do you think it is a good idea to add a method ActionSupport for calling the static methods So instead of @foo.bar@isValidAmount(amount) we can use callStaticMethod("foo.bar.isValidA

Re: OGNL is used to call action's methods

2014-12-16 Thread Lukasz Lenart
2014-12-16 14:54 GMT+01:00 Alireza Fattahi : > Yes I am using the convention plugin !!Well, will this be fixed, or we should > try the suggested workaround ?! ~Regards, > ~~Alireza Fattahi It's going to be fixed but please check the workaround to confirm. Regards -- Łukasz + 48 606 323 122 htt

Re: OGNL is used to call action's methods

2014-12-16 Thread Alireza Fattahi
Yes I am using the convention plugin !!Well, will this be fixed, or we should try the suggested workaround ?! ~Regards, ~~Alireza Fattahi From: Lukasz Lenart To: Struts Users Mailing List Sent: Tuesday, 16 December 2014, 11:02 Subject: Re: OGNL is used to call action's methods

Re: OGNL is used to call action's methods

2014-12-15 Thread Lukasz Lenart
( line 1305) > So the action exception will not be re-thrown and the OGNL tries to handle it > by its own. > I think there must be a mechanism to stop OGNL runtime in a way that it > re-throw the action exception. > Hope I could describe what I mean ;) If you like I can send

Re: OGNL is used to call action's methods

2014-12-15 Thread Alireza Fattahi
  InvocationTargetException ( line 1299) which later will be converted to  ognl.MethodFailedException ( line 1305) So the action exception will not be re-thrown and the OGNL tries to handle it by its own. I think there must be a mechanism to stop OGNL  runtime in a way that it re-throw the action exception

Re: OGNL is used to call action's methods

2014-12-15 Thread Lukasz Lenart
2014-12-15 13:59 GMT+01:00 Alireza Fattahi : > I checked and it was no same method name. Do you suggest I check other places > too ~Regards, > ~~Alireza Fattahi Check inheritance tree - it was known problem Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ -

Re: OGNL is used to call action's methods

2014-12-15 Thread Alireza Fattahi
I checked and it was no same method name. Do you suggest I check other places too ~Regards, ~~Alireza Fattahi From: Lukasz Lenart To: Struts Users Mailing List Sent: Monday, 15 December 2014, 15:51 Subject: Re: OGNL is used to call action's methods 2014-12-15 13:17 GMT+

Re: OGNL is used to call action's methods

2014-12-15 Thread Lukasz Lenart
ng in Struts 2.3.16. > After switching to 2.3.20 this is not working. When an action throws an > exception, I got below warning > DEBUG accessor.XWorkMethodAccessor Error calling method through OGNL: > object: [foo.LoginProcess@61d18d46] method: [result] args: [[]] > I think it is be

OGNL is used to call action's methods

2014-12-15 Thread Alireza Fattahi
exception, I got below warning DEBUG accessor.XWorkMethodAccessor   Error calling method through OGNL: object: [foo.LoginProcess@61d18d46] method: [result] args: [[]]  I think it is because OGNL is used to call action's methods.  ~Regards, ~~Alireza Fattahi

Re: Forward to exception page instead of result in case of ognl runtime exception ?

2014-06-11 Thread Lukasz Lenart
ValueStack.trySetValue(OgnlValueStack.java:187) > at > com.opensymphony.xwork2.ognl.OgnlValueStack.setValue(OgnlValueStack.java:174) > at > com.opensymphony.xwork2.ognl.OgnlValueStack.setParameter(OgnlValueStack.java:152) > at > com.opensymphony.xwork2.interceptor.Pa

Forward to exception page instead of result in case of ognl runtime exception ?

2014-06-11 Thread Mohit Gupta
alueStack.setValue(OgnlValueStack.java:174) at com.opensymphony.xwork2.ognl.OgnlValueStack.setParameter(OgnlValueStack.java:152) at com.opensymphony.xwork2.interceptor.ParametersInterceptor.setParameters(ParametersInterceptor.java:318) Once this exception is encountered, it take flow to customer.jsp. What i want

Re: OGNL Indexed and Object Indexed Properties

2014-05-20 Thread foo bar
Hi again, I was thinking about this again a few minutes ago and thought maybe using an object that implements Map is not the solution, maybe if I use a List implementation, then OGNL will not interpret ".value" as get("value") since you can't do that to a List. Indeed ge

Re: OGNL Indexed and Object Indexed Properties

2014-05-20 Thread Christoph Nenning
t; setIndex(" + index + ")"); > this.index = index; > } > > On my jsp > > > > > > > Result is > > During get > > >> getIndex() > >> getIndex() > >> getFieldMap() > my...@1.get(1) > my...@2.get(1) &g

Re: OGNL Indexed and Object Indexed Properties

2014-05-20 Thread foo bar
getValue() I think since it implements a map, ".value" get interpreted as get("value"); During set >> getFieldMap() my...@1.get(1) my...@2.get(1) This I can't work with since setValue() isn't called anywhere. On Tue, May 20, 2014 at 3:02 PM, Christoph Nenni

Antwort: OGNL Indexed and Object Indexed Properties

2014-05-20 Thread Christoph Nenning
> Question: > According to OGNL ( > http://commons.apache.org/proper/commons-ognl/language-guide.html) under > heading JavaBeans Indexed Properties and OGNL Object Indexed Properties, > getFieldWithIndex(int index) should be called, but it isn't, same goes with > getFieldW

OGNL Indexed and Object Indexed Properties

2014-05-20 Thread foo bar
OGNL Indexed and Object Indexed Properties Hi, I'm wondering why this code is not working. I'm using struts 2.3.16.1 and ognl 3.0.6. In my action class I have this public String[] getFieldArray() { System.out.println(">> getFieldArray()"); return null; } public

Re: How to avoid ognl exception.

2013-11-11 Thread Yaragalla Muralidhar
/yaragalla.blogspot.in/>* > > > > > > > > > > > >> On Sun, Nov 10, 2013 at 9:54 PM, Dale Newfield > > > wrote: > > > >> > > > >> And/or add no-op setters in your actions. > > > >> -Dale > > > >> > > > &g

Re: How to avoid ognl exception.

2013-11-11 Thread Antonios Gkogkakis
gt; >> > > >>> On Nov 10, 2013, at 11:22 AM, umeshawas...@gmail.com wrote: > > >>> > > >>> Set dev mode false and this shd go > > >>> Sent from BlackBerry® on Airtel > > >>> > > >>> -Original

Re: How to avoid ognl exception.

2013-11-10 Thread Yaragalla Muralidhar
>>> Set dev mode false and this shd go > >>> Sent from BlackBerry® on Airtel > >>> > >>> -Original Message- > >>> From: Yaragalla Muralidhar > >>> Date: Sun, 10 Nov 2013 21:50:03 > >>> To: Struts Users Mailing List >

Re: How to avoid ognl exception.

2013-11-10 Thread Dale Newfield
le >> >>> On Nov 10, 2013, at 11:22 AM, umeshawas...@gmail.com wrote: >>> >>> Set dev mode false and this shd go >>> Sent from BlackBerry® on Airtel >>> >>> -Original Message- >>> From: Yaragalla Muralidhar >>&

Re: How to avoid ognl exception.

2013-11-10 Thread Yaragalla Muralidhar
; From: Yaragalla Muralidhar > > Date: Sun, 10 Nov 2013 21:50:03 > > To: Struts Users Mailing List > > Reply-To: "Struts Users Mailing List" > > Subject: How to avoid ognl exception. > > > > Hi I have few form fields defined in my html but there is no

Re: How to avoid ognl exception.

2013-11-10 Thread Dale Newfield
3 21:50:03 > To: Struts Users Mailing List > Reply-To: "Struts Users Mailing List" > Subject: How to avoid ognl exception. > > Hi I have few form fields defined in my html but there is no corresponding > property in action. I am purposefully not defining them. Why i am d

Re: How to avoid ognl exception.

2013-11-10 Thread Yaragalla Muralidhar
> From: Yaragalla Muralidhar > Date: Sun, 10 Nov 2013 21:50:03 > To: Struts Users Mailing List > Reply-To: "Struts Users Mailing List" > Subject: How to avoid ognl exception. > > Hi I have few form fields defined in my html but there is no corresponding > property i

Re: How to avoid ognl exception.

2013-11-10 Thread umeshawasthi
Set dev mode false and this shd go Sent from BlackBerry® on Airtel -Original Message- From: Yaragalla Muralidhar Date: Sun, 10 Nov 2013 21:50:03 To: Struts Users Mailing List Reply-To: "Struts Users Mailing List" Subject: How to avoid ognl exception. Hi I have few form fiel

How to avoid ognl exception.

2013-11-10 Thread Yaragalla Muralidhar
Hi I have few form fields defined in my html but there is no corresponding property in action. I am purposefully not defining them. Why i am doing this is the same form can be submitted to two different actions based on the requirement. so one action needs few and the other action needs few form fi

Re: Broken link to OGNL

2013-08-05 Thread Lukasz Lenart
2013/8/2 Antonio Sánchez : > In > > http://struts.apache.org/development/2.x/docs/ognl.html > > link to OGNL should be updated to be > > http://commons.apache.org/proper/commons-ognl/ > > The same for all pages where OGNL is linked. Done, it will take some time

Re: Broken link to OGNL

2013-08-02 Thread Antonio Sánchez
Sorry, I didn't explain correctly, I meant the link inside that page: OGNL is the Object Graph Navigation Language (see http://www.opensymphony.com/ognl for the full documentation of OGNL) El Viernes, 2 de agosto de 2013 15:44:06 Dave Newton escribió: > That's a link to th

Re: Broken link to OGNL

2013-08-02 Thread Dave Newton
That's a link to the S2-specific OGNL info. We should links to the project, but not at the expense of removing information that isn't part of OGNL itself. Dave On Aug 2, 2013 3:26 PM, "Antonio Sánchez" wrote: > In > > http://struts.apache.org/development/2.x/do

Broken link to OGNL

2013-08-02 Thread Antonio Sánchez
In http://struts.apache.org/development/2.x/docs/ognl.html link to OGNL should be updated to be http://commons.apache.org/proper/commons-ognl/ The same for all pages where OGNL is linked.

RE: OGNL WARNING

2013-06-28 Thread Martin Gainty
em Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. > Date: Fri, 28 Jun 2013 15:42:56 +0530 > Subject: Re: OGNL WARNING > From: sreekanth.n...@egovernments.o

Re: OGNL WARNING

2013-06-28 Thread Sreekanth S. Nair
essage sert à l'information seulement et n'aura > pas n'importe quel effet légalement obligatoire. Étant donné que les email > peuvent facilement être sujets à la manipulation, nous ne pouvons accepter > aucune responsabilité pour le contenu fourni. > > > > D

RE: OGNL WARNING

2013-06-28 Thread Martin Gainty
u fourni. > Date: Fri, 28 Jun 2013 13:13:26 +0530 > Subject: OGNL WARNING > From: sreekanth.n...@egovernments.org > To: user@struts.apache.org > > Don't know whats the reason i'm getting this following WARNIng in latest > struts distro. > > WARN [com.opens

Re: OGNL WARNING

2013-06-28 Thread Sreekanth S. Nair
Updated in Jira https://issues.apache.org/jira/browse/WW-4132 -- Thanks & Regards Srikanth Software Developer eGovernments Foundations www.egovernments.org Mob : 9980078913 On Fri, Jun 28, 2013 at 1:50 PM, Maurizio Cucchiara wrot

Re: OGNL WARNING

2013-06-28 Thread Maurizio Cucchiara
So, could you provide us some more details, maybe by filing an issue on jira [1] with a sample code. [1] https://issues.apache.org/jira/browse/WW Twitter :http://www.twitter.com/m_cucchiara G+ :https://plus.google.com/107903711540963855921 Linkedin:http://www.linkedin.com/in/maur

Re: OGNL WARNING

2013-06-28 Thread Sreekanth S. Nair
Yes it was working -- Thanks & Regards Srikanth Software Developer eGovernments Foundations www.egovernments.org Mob : 9980078913 On Fri, Jun 28, 2013 at 1:21 PM, Maurizio Cucchiara wrote: > Looks like the colon char is not an e

Re: OGNL WARNING

2013-06-28 Thread Maurizio Cucchiara
Looks like the colon char is not an expected input parameter. You talk about latest distro, did it works before with other distros? On 28 June 2013 09:43, Sreekanth S. Nair wrote: > action:documentManager!updateDocument > Twitter :http://www.twitter.com/m_cucchiara G+ :https://plu

OGNL WARNING

2013-06-28 Thread Sreekanth S. Nair
java.lang.String;@1c1abc1': ognl.ExpressionSyntaxException: Malformed OGNL expression: action:documentManager!updateDocument [ognl.ParseException: Encountered " ":" ": "" at line 1, column 7. Was expecting one of: "," ... "=" ... &

Re: OGNL s:interator index problem

2013-06-27 Thread Antonios Gkogkakis
Date: Wed, 26 Jun 2013 22:13:52 > To: struts support > Reply-To: "Struts Users Mailing List" > Subject: OGNL s:interator index problem > > > > an class > > class SearchInfo { > >String input_part; >String search_part; >i

Re: OGNL s:interator index problem

2013-06-26 Thread jlmagc
Did you get an exception in the logs? Sent via BlackBerry from T-Mobile -Original Message- From: john lee Date: Wed, 26 Jun 2013 22:13:52 To: struts support Reply-To: "Struts Users Mailing List" Subject: OGNL s:interator index problem an class     class SearchInfo {    

OGNL s:interator index problem

2013-06-26 Thread john lee
struts2's OGNL looks like more complicate. please advise thanks in advance john

Re: OGNL Exception after upgrading from 2.3.4 to 2.3.14

2013-05-16 Thread Lukasz Lenart
these forms. > > The only way we could get 2.3.14 (which is what we are testing) to work was > disable devmode and all functionality worked without ognl exceptions and > LocalizedTextUtil class exceptions and -1 out of bounds errors. > Sent from my Verizon Wireless BlackBerry >

Re: OGNL Exception after upgrading from 2.3.4 to 2.3.14

2013-05-10 Thread CRANFORD, CHRIS
We tried each release since 2.3.4 and all of them behave precisely the same way regarding these forms. The only way we could get 2.3.14 (which is what we are testing) to work was disable devmode and all functionality worked without ognl exceptions and LocalizedTextUtil class exceptions and

Re: OGNL Exception after upgrading from 2.3.4 to 2.3.14

2013-05-09 Thread Lukasz Lenart
[mailto:chris.cranf...@setech.com] > Sent: Wednesday, May 08, 2013 9:25 AM > To: Struts Users Mailing List > Subject: OGNL Exception after upgrading from 2.3.4 to 2.3.14 > > We have several forms in our Struts2 application tha

RE: OGNL Exception after upgrading from 2.3.4 to 2.3.14

2013-05-08 Thread CRANFORD, CHRIS
used as to what is the culprit here. -Original Message- From: CRANFORD, CHRIS [mailto:chris.cranf...@setech.com] Sent: Wednesday, May 08, 2013 9:25 AM To: Struts Users Mailing List Subject: OGNL Exception after upgrading from 2.3.4 to 2.3.14 We have several forms in our Struts2 application

RE: OGNL Exception after upgrading from 2.3.4 to 2.3.14

2013-05-08 Thread CRANFORD, CHRIS
I should note that the setItems() method and List variable are on the model object exposed by the ModelDriven<> interface. -Original Message- From: CRANFORD, CHRIS [mailto:chris.cranf...@setech.com] Sent: Wednesday, May 08, 2013 9:25 AM To: Struts Users Mailing List Subject

Re: Hibernate problem with OGNL

2013-03-27 Thread Lukasz Lenart
2013/3/27 Markus Demetz : > 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! Yeah... this version is buggy :P I have tried update Ognl 3 to it but no luck ;-) Regards -- Łukasz

Re: Hibernate problem with OGNL

2013-03-27 Thread Markus Demetz
arkus Demetz wrote: 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 reapp

Re: Hibernate problem with OGNL

2013-03-27 Thread Steve Higham
On 27/03/2013 10:42, Markus Demetz wrote: 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

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

Re: Hibernate problem with OGNL

2013-03-26 Thread Lukasz Lenart
gt; > 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 > When I call getId() from the method in my action class (e.g. UserListAction > iterating though users and calling user.getGallery().

Hibernate problem with OGNL

2013-03-26 Thread Markus Demetz
ss returns null when navigating through OGNL e.g. when calling . When I call getId() from the method in my action class (e.g. UserListAction iterating though users and calling user.getGallery().getId()), it returns the id as expected. If I do that first in my action class, then also my renders

  1   2   3   4   5   6   7   8   9   10   >