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
+ 48 606 323 122
Hi,
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!
Thank you, and sorry for misplacing my question here!
Regards,
Markus
Am 27.03.2013 17:23, schrieb Steve Higham:
On 27/03/2013 10:42, Markus
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 works
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 ask at the
2013/3/26 Markus Demetz :
> Hi,
>
> I don't know if this is the right place to ask, but maybe there is anyone
> who has experienced the same problem.
>
> I'm using Struts2 (latest version), with Hibernate (latest version)
> My database models all have getId().
>
> I have situations, where the getId
Hi,
I don't know if this is the right place to ask, but maybe there is
anyone who has experienced the same problem.
I'm using Struts2 (latest version), with Hibernate (latest version)
My database models all have getId().
I have situations, where the getId() method of my model class returns
n
Setting up a test app and trying to verify.
I suspect I'm doing something wrong elsewhere.
My test app has expression=("#session.isSet)
where session.put("isSet", true) is called in the index.action
And everything seems to work as expected.
I probably just needed a good night's sleep.. Thanks
On Fri, Apr 29, 2011 at 9:01 PM, Greg Akins wrote:
> In this case, the session has the right value when the setter is
> executed, but the OGNL expression #session.birthYearEnabled is null
> (or seem to be null)
Just as a sanity check, birthYearEnabled (above) and
birthYearDisplayed (original pos
On Fri, Apr 29, 2011 at 7:23 PM, Okan Özeren wrote:
>
> Hi,
>
> I didn't read all of these, but maybe there are some usefull tips in this
> article:
> http://www.opensymphony.com/xwork/wikidocs/ExpressionValidator%20Tips.html
Not quite. Thanks though.
That article is mostly about the Expres
Hi,
I didn't read all of these, but maybe there are some usefull tips in this
article:
http://www.opensymphony.com/xwork/wikidocs/ExpressionValidator%20Tips.html
Okan Özeren.
On Fri, Apr 29, 2011 at 9:40 PM, Greg Akins wrote:
> Can anyone help me understand how to use OGNL to capture session d
Can anyone help me understand how to use OGNL to capture session data in
this annotation?
I'm trying to use FieldExpressionValidator The Annotation has this
[expression = "!birthYearDisplayed || !birthYear.equals('')"]
birthYearDisplayed is on the session and set to true
When I execute the cod
Hi,
Thank you for your quick reply. I tried your suggested syntax and didn't
work either.
However, I like a lot more your last proposal so I will give it a shot.
Thanks!
Oscar
On Tue, Mar 4, 2008 at 1:05 AM, Jeromy Evans <
[EMAIL PROTECTED]> wrote:
> oscar perez wrote:
> >
> >
> >
> >
> >
> I s
oscar perez wrote:
I see what you're trying to do; you're asking OGNL to evaluate
companyType first, and use the string result in the outer expression to
evaluate.
The %{} notation won't do this for you. According to the OGNL guide you
should use parentheses to evaluate part of the
Hi!
I am having a very strange problem with struts 2. I am newbie to Struts 2
so maybe it is a simple thing I misunderstood.
I have an abstract class (enterprise) and 4 subclasses. I want to perform
CRUD operations on them and since all the properties are common to all the
subclasses I've decided
Hi all,
My problem is OGNL is giving a IndexOutofBound exception, when I am trying to
assign to a list in my action class.
The code in jsp file as follows
The setters/getters
public List getSalesPlans() {
return salesPlans;
}
@TypeConversion(rule=Conve
15 matches
Mail list logo