struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <lukaszlen...@apache.org>
Subject Re: [S2] 2.3.20 upgrade issue: No log warning entry for excluded package?
Date Fri, 17 Apr 2015 05:58:15 GMT
First
It has nothing to do with security mechanism

Second
it's a typo, at least in the example


In test.jsp you have

    searchManager.page.totalNumberOfElements:<s:property
value="%{searchManager.page.totalNumberOfElements}"/>

where in TestAction you are exposing

    public SearchManagerService getSearchManagerService() {
        return searchManagerService;
    }

so it must be named the same way in JSP (you are missing 'Service' suffix)

    searchManager.page.totalNumberOfElements:<s:property
value="%{searchManagerService.page.totalNumberOfElements}"/>

and now it works:
http://screencast.com/t/WmZ4S076J


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

2015-04-14 23:25 GMT+02:00 Burton Rhodes <burtonrhodes@gmail.com>:
> Lukasz -
>
> Below is a link to a small test project (maven) that demonstrates my
> issue.  Hopefully it's something trivial.  Again, thank you for
> investigating.
>
> https://www.dropbox.com/s/qurhklxwz4v82jx/afsTest.zip?dl=0
>
> Thanks,
> Burton
>
> On Mon, Apr 6, 2015 at 6:15 PM, Burton Rhodes <burtonrhodes@gmail.com>
> wrote:
>
>> ok - I will get back to you
>>
>> On Fri, Apr 3, 2015 at 1:13 AM, Lukasz Lenart <lukaszlenart@apache.org>
>> wrote:
>>
>>> No idea what's wrong, without a small working example I cannot help you :(
>>>
>>>
>>> Regards
>>> --
>>> Łukasz
>>> + 48 606 323 122 http://www.lenart.org.pl/
>>>
>>> 2015-03-31 22:31 GMT+02:00 Burton Rhodes <burtonrhodes@gmail.com>:
>>> > Lukasz -
>>> > Apologies for the delay...  Here is my logfile filtered for xwork2.ognl
>>> >
>>> > https://www.dropbox.com/s/t5u285gel0uu59m/log.ognl.txt?dl=0
>>> >
>>> > Thanks!
>>> >
>>> > On Sat, Mar 7, 2015 at 12:40 AM, Lukasz Lenart <lukaszlenart@apache.org
>>> >
>>> > wrote:
>>> >
>>> >> 2015-03-04 13:24 GMT+01:00 Burton Rhodes <burtonrhodes@gmail.com>:
>>> >> > Lukasz - Probably should have mentioned that
>>> >> > searchMangeerService.getPage().getLastPageNumber() returns an "int"
>>> >>
>>> >> I have added additional use case to check int type but it wasn't an
>>> >> issue. Can you narrow logging just to
>>> >>
>>> >> com.opensymphony.xwork2.ognl
>>> >>
>>> >>
>>> >> Regards
>>> >> --
>>> >> Łukasz
>>> >> + 48 606 323 122 http://www.lenart.org.pl/
>>> >>
>>> >> ---------------------------------------------------------------------
>>> >> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>>> >> For additional commands, e-mail: user-help@struts.apache.org
>>> >>
>>> >>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>>> For additional commands, e-mail: user-help@struts.apache.org
>>>
>>>
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message