2017-10-27 14:34 GMT+02:00 Ej Magdaluyo <ejmagdal...@gmail.com>:
> This is the java code:
> public String viewMyRequest() throws Exception {
> SearchCriteriaVO searchCriteriaVO= constructSearchCriteria();
> MyRequestDelegate myRequestDelegate = new MyRequestDelegate();
> ViewReqDetails = myRequestDelegate.getRequestViewDetails(searchCriteriaVO);
> ViewReqDetails.setEditApprover(false);
> String searchEnabled=request.getParameter("searchEnabled");
> if(searchEnabled!=null&&searchEnabled.equalsIgnoreCase("true")){
> ViewReqDetails.setSearchEnabled(true);
> }
> setViewReqDetails(ViewReqDetails);
> request.setAttribute("ViewReqDetails", ViewReqDetails);
> return  SUCCESS;
> }
>
>
> If we try to run tests within this java file, we are able to get the values
> without any issues. It is just when we try to call this attribute where the
> problem begins.

Now I'm confused ... you have this code in your action but still
transferring it over request to a scriplet?

How defintion of SUCCESS result looks like?


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

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

Reply via email to