Mike, Thanks for the reply. After talking to Ed, my lead, we recalled that we used the BeanFirstPopulationStrategy and because that recType in my actionBean is first set to a blank then I could not pass the value in via the JSP but have to set it before the ForwardResolution to the jsp page.
Thanks so much again for your quick reply. Regards. -----Original Message----- From: Mike McNally [mailto:[email protected]] Sent: Monday, April 13, 2009 1:42 PM To: Stripes Users List Subject: Re: [Stripes-users] Question on <stripes:layout-render> I suspect that there's a value for "recType" in your actionBean, or possibly as a parameter. A quick check I often employ in these "where's my value?" situations is to dump the variable out into the page in a comment or something: <!-- recType is ${recType} --> You can then verify with a quick "view source" that the variable is being passed in. On Mon, Apr 13, 2009 at 1:35 PM, Savoy, Melinda <[email protected]> wrote: > I have a JSP that has in it a <stripes:layout-render> tag that is a nested > JSP page whereby I am trying to pass a recType attribute with a value that > is not getting passed into that JSP page and I'm not sure why. > > Here is the tag in my base JSP: > > <stripes:layout-render name="/layout/create/iNote.jsp" sendToAttr="stockReq" > req="${req}" recType="REQ" /> > > Here is the info of the iNote.jsp page where I am trying to pass in the > recType value of "REQ" but it is not getting there: > > <stripes:layout-definition> > > <fieldset> > > <legend><a href="javascript:thCombo('note',170)"><img id="noteImg" > src="/pics/plus.jpg" width="11" height="11" title="Click to > expand"/>Note</a></legend> > > <div style="display: none; text-align:center;" id="note"> > > <div id="phiWarning"> > > IT IS AGAINST THR POLICY TO ENTER PATIENT INFORMATION IN > THIS AREA. IF YOU NEED > > TO ENTER PT INFO USE THE FIELDS PROVIDED ON THE REQUISITION. > IF YOU DO NOT HAVE > > SECURITY TO THE PT INFORMATION FIELDS CONTACT YOUR ENTITY > MATERIALS MANAGER. > > </div> > > <stripes:textarea name="note" rows="5" cols="112" /> > > <stripes:hidden name="recType" value="${recType}" /> > > </div> > > </fieldset> > > </stripes:layout-definition> > > Any suggestions as to what may be blocking the value of "REQ" from being > passed into the iNote.jsp page where the hidden value is defined? > > Thanks. > > Melinda Savoy > > Sr. Programmer Analyst, Supply Management Systems > > Innovative Technology Solutions > > Texas Health Resources > > 600 E. Lamar Blvd, Ste 301, Arlington TX 76011 > > 682.236.6337 > > [email protected] > > The information contained in this message and any attachments is intended > only for the use of the individual or entity to which it is addressed, and > may contain information that is PRIVILEGED, CONFIDENTIAL, and exempt from > disclosure under applicable law. If you are not the intended recipient, you > are prohibited from copying, distributing, or using the information. Please > contact the sender immediately by return e-mail and delete the original > message from your system. > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > High Quality Requirements in a Collaborative Environment. > Download a free trial of Rational Requirements Composer Now! > http://p.sf.net/sfu/www-ibm-com > _______________________________________________ > Stripes-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/stripes-users > > -- Turtle, turtle, on the ground, Pink and shiny, turn around. ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Stripes-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/stripes-users The information contained in this message and any attachments is intended only for the use of the individual or entity to which it is addressed, and may contain information that is PRIVILEGED, CONFIDENTIAL, and exempt from disclosure under applicable law. If you are not the intended recipient, you are prohibited from copying, distributing, or using the information. Please contact the sender immediately by return e-mail and delete the original message from your system. ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Stripes-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/stripes-users
