Thursday, 18 August 2016

ADF : Mouse over show NoteWindow with dynamic value.



ADF : Mouse over show NoteWindow with dynamic value.

 

 

 

<af:link text="" id="l1" action="question">
                        <af:outputText value="#{quesrow.QuestionName}" id="ot33"
                                   inlineStyle="font-size:medium;">
                      <af:clientAttribute name="questionid"
                                         value="#{quesrow.QuestionId}"/>
                      <af:showPopupBehavior triggerType="mouseOver"
                                            popupId=":::p1"/>
                    </af:outputText>
                  </af:link>

<af:popup id="p1" launcherVar="source" contentDelivery="lazyUncached" eventContext="launcher" >
      <af:noteWindow>
            <af:outputText value="Sample Problem" id="ot533"/>
            <hr></hr>
          <!--  <af:outputText value="#{viewScope.questionid}" id="ot51"/>  -->
        <af:image source="/images//img_questions/#{viewScope.questionid}.png" id="i1"/>
      </af:noteWindow>
            <af:setPropertyListener from="#{source.attributes.questionid}"
            to="#{viewScope.questionid}" type="popupFetch"/>
    </af:popup>


 

No comments:

Post a Comment