Can you post the request url and parameters you use to call the action?

On Thu, Jun 18, 2009 at 8:42 PM, savoym<[email protected]> wrote:
>
> I have an actionBean where I have the following resolution:
>
> public Resolution itemNumMfr() {
>                entry = new LookupEntry("itemNumMfr", "Item Lookup",
>                                new Result[] {new Result("Item Number", 20), 
> new Result("Item
> Description", 30), new Criteria("Mfr Cat #", 20, 30), new Criteria("Mfr
> Name", 30, 30)},
>                                new RowMap[] {new RowMap("itemNum" + rowId, 
> true), new
> RowMap("vendorDesc" + rowId, true), new RowMap("mfrCatNumber" + rowId,
> true), new RowMap("mfrName" + rowId, true)});
>
>                if (params == null)
>                        context.addError(EMPTY_PARAMS_MSG);
>                else {
>                        this.ensureParamSize(2);
>                        if (!StringUtil.empty(params.get(0)) && 
> params.get(0).length() < 3)
>                                context.addError("Mfr Cat Number must be at 
> least three characters");
>                        if (!StringUtil.empty(params.get(1)) && 
> params.get(1).length() < 2)
>                                context.addError("Mfr Name must be at least 
> two characters");
>                        if (context.getValidationErrors().size() == 0) {
>                                results = 
> lookup.itemByMfr(user.getCurrentEntity(), params.get(0),
> params.get(1));
>                                if (results != null && results.length == 100)
>                                        context.addMessage("Results limited to 
> the first 100 rows returned");
>                        }
>                }
>
>                return new ForwardResolution("/lookup.jsp");
>        }
>
> In the JSP page I am calling a js function that references a name in a JS
> file called itemNumMfr:
>
> <td align="center"> /pics/icon_binoculars.gif </td>
>
> The BeanFirstPopulationStrategy is picking up an error in the JSP page that
> is not even in a stripes tag.  Can someone please let me know why the
> following INFO error found in our log would be occurring if this is in a
> regular HTML tag:
>
> INFO  [net.sourceforge.stripes.tag.BeanFirstPopulationStrategy] Could not
> locate property of name [itemNumMfr] on
> ActionBean.net.sourceforge.stripes.util.bean.NoSuchPropertyException: Bean
> class org.texashealth.scm.stripes.action.common.LookupActionBean does not
> contain a property called 'itemNumMfr'. As a result the following expression
> could not be evaluated: itemNumMfr
>
> Any help or insight would be appreciated.  Thanks.
> --
> View this message in context: 
> http://www.nabble.com/BeanFirstPopulationStrategy-tp24096216p24096216.html
> Sent from the stripes-users mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables unlimited
> royalty-free distribution of the report engine for externally facing
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> Stripes-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/stripes-users
>



-- 
Richard Hauswald
Blog: http://tnfstacc.blogspot.com/
LinkedIn: http://www.linkedin.com/in/richardhauswald

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to