> On 13 Sep 2017, at 14:17, Lukasz Lenart <lukaszlen...@apache.org> wrote:
> 
> 2017-09-13 11:02 GMT+02:00 LAW Andy <andy....@roslin.ed.ac.uk>:
>> Using version 2.5.13 on Tomcat 8.0.21.
>> 
>> I’ve attached it to this message as a text file.
> 
> How do you fetch action in
> "my.domain.controller.ActionOption.getAction(ActionOption.java:138)" ?
> Do you construct those actions manually?
> 
> at 
> my.domain.controller.ActionOptionBase.getTextFromProperties(ActionOptionBase.java:122)
> ~[mydomain-struts2-controller-4.0-SNAPSHOT.jar:?]
> at my.domain.controller.ActionOption.getAction(ActionOption.java:138)
> ~[mydomain-struts2-controller-4.0-SNAPSHOT.jar:?]
> 



That function is badly named. It actually should be called getActionName();

The Action contains one or more ActionOption objects. These are built in the 
constructor.

Later,

Andy

 
-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.


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

Reply via email to