My apologies.  I just figured out my problem.  

Please disregard my post below.  Thanks.

-----Original Message-----
From: Savoy, Melinda 
Sent: Thursday, January 21, 2010 8:23 AM
To: [email protected]
Subject: [Stripes-users] Question on stripes: layout-render tag


Quick question on the use of the <stripes:layout-render...> tag.  I have a
jsp page where I have the following stripes tag whereby the phi.jsp page is
displayed:

<stripes:layout-render name="/layout/modify/phi.jsp" attrName="stockReq"
req="${req}" stockOnly="${req.stockOnly}"/>

In my phi.jsp page I have the following where I am referencing the attrName
value above:

<c:when test="${!sec:contains('modPHI') && !sec:contains('viewPHI')}">
                <div class="advisory">You do not have security to modify PHI 
data</div>                 
                <div style="display: none;">
                        <stripes:hidden name="${attrName}.patientName" 
id="ptName"
value="${req.patientName}" />
                        <stripes:hidden name="${attrName}.patientEncntrNum" 
id="ptEnctr"
value="${req.patientEncntrNum}" />
                        <stripes:hidden name="${attrName}.physnName" id="ptPhys"
value="${req.physnName}" />
                        <stripes:hidden name="${attrName}.modelSerialNum" 
id="ptMSN"
value="${req.modelSerialNum}" />
                </div>
</c:when>

However when I look at the VIEW SOURCE on my IE7 browser the attrName value
is not being displayed with "stockReq" as it is defined in the page where
the layout-render tag is defined but it is only blank followed by a "." and
the name:

<div class="advisory">You do not have security to view PHI data</div>
<input type="hidden" name=".patientName" id="ptName" value="DAFFY DUCK" />
<input type="hidden" name=".patientEncntrNum" id="ptEnctr" value="99999" />
<input type="hidden" name=".physnName" id="ptPhys" value="BUGS BUNNY" />
<input type="hidden" name=".modelSerialNum" id="ptMSN" value="12-34-56" />

Any insight or direction on how to correct it would be greatly appreciated. 
Thanks.


-- 
View this message in context: 
http://old.nabble.com/Question-on-stripes%3A-layout-render-tag-tp27258543p27258543.html
Sent from the stripes-users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
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.

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to