Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
themeDJango
languagehtml/xml
linenumberstrue
 <p:selectOneRadio id="customRadio" value="#{confirmationBean.purposeOfUse}" layout="custom">
	<f:selectItem itemLabel="&nbsp;&nbsp;EMERGENTE (não é possível obter o consentimento)" itemValue="EMERGENCY" />                           value="#{confirmationBean.purposeOfUse}" layout="custom">
                        <f:selectItem itemLabel="&nbsp;&nbsp;EMERGENTE (não é possível obter o consentimento)"
                                      itemValue="EMERGENCY" />                                                                                       
                        <f:selectItem itemLabel="&nbsp;&nbsp;NÃO URGENTE"
                                      itemValue="TREATMENT" />                         <p:ajax update="confirmationPanel"/>         
    <f:selectItem itemLabel="&nbsp;&nbsp;NÃO URGENTE" itemValue="TREATMENT" />
	<p:ajax update="confirmationPanel"/>
</p:selectOneRadio>

That will trigger the "hide and show" of the question that asks for the previous consent, together with the following tag:

...

Code Block
themeDJango
languagehtml/xml
<saml2:Attribute FriendlyName="XSPA Purpose Of Use"
                  <saml2:Attribute FriendlyName="XSPA Purpose Of Use" Name="urn:oasis:names:tc:xspa:1.0:subject:purposeofuse" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri">
                  	<saml2:AttributeValue
                     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xs:string">EMERGENCY</saml2:AttributeValue>
              
</saml2:Attribute>

 

2.3. Audit message

...