Developing-IBM-Lotus-Domino-8-5-2-Applications-Advanced-XPage-Design-(LOT-922).pdf - IBM LOT-922 Developing IBM Lotus Domino 8.5.2(R XPage Design

Developing-IBM-Lotus-Domino-8-5-2-Applications-Advanced-XPage-Design-(LOT-922).pdf

This preview shows page 1 - 3 out of 6 pages.

LOT-922 IBM Developing IBM Lotus Domino 8.5.2(R) Applications- Advanced XPage Design
Image of page 1
B. viewStyleClass C. viewPanelStyleClass D. captionStyleClass Answer: A QUESTION: 59 John has a managed bean which is defined as follows: <faces-config> <managed-bean> <managed-bean-name>distanceConverter</managed-bean-name> <managed-bean- class>bean.MyBean</managed-bean-class> <managed-bean-scope>view</managed-bean- scope> </managed-bean> </faces-config> The bean has a property called 'miles' which allows a distance in miles to be entered and converted to kilometers. John wishes to have a user enter a value via an edit box and use the managed bean to convert the value from miles to kilometers. What should the value of the edit box's value attribute be in order to utilize the managed bean? A.<xp:inputTextid="inputText1" value="#{view.distanceConverter.miles}"></xp:inputText> B. <xp:inputText id="inputText1" value="#{bean.MyBean.setMiles()}"></xp:inputText> C. <xp:inputText id="inputText1" value="distanceConverter.miles"></xp:inputText> D. <xp:inputText id="inputText1" value="#{distanceConverter.miles}"></xp:inputText> Answer: D
Image of page 2
Image of page 3

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture