<?xml version="1.0" encoding="UTF-8"?> <xp:view xmlns:xp="http://www.ibm.com/xsp/core" style="background-color:rgb(192,192,192)"> <xp:span style="font-weight:bold;font-size:18pt"> Edit Subscription </xp:span> <xp:span style="font-weight:bold;font-size:18pt">Page</xp:span> <xp:br style="font-weight:bold;font-size:18pt"></xp:br> <xp:this.beforePageLoad><![CDATA[#{javascript:SubscriptionPageBean.doLoadSubscriptions()}]]></xp:this.beforePageLoad> <xp:table style="width:593.0px"> <xp:tr> <xp:td> <xp:inputText id="inputText1" required="true" value="#{SubscriptionPageBean.firstName}"> <xp:this.validators> <xp:validateRequired message="FirstName Required"> </xp:validateRequired> </xp:this.validators></xp:inputText> </xp:td> <xp:td> <xp:inputText id="inputText2" required="true" value="#{SubscriptionPageBean.lastName}"> <xp:this.validators> <xp:validateRequired message="LastName Required"> </xp:validateRequired> </xp:this.validators> </xp:inputText> </xp:td> <xp:td> <xp:listBox id="listBox1" style="width:141.0px" value="#{SubscriptionPageBean.identifyer}"> <xp:selectItem itemLabel="Mr." itemValue="Mr"></xp:selectItem> <xp:selectItem itemLabel="Mrs." itemValue="Mrs"> </xp:selectItem> <xp:selectItem itemLabel="Miss" itemValue="Miss"> </xp:selectItem> <xp:selectItem itemLabel="Other" itemValue="Other"></xp:selectItem> <xp:this.validators> <xp:validateRequired message="Identifyer Required"> </xp:validateRequired> </xp:this.validators> </xp:listBox> </xp:td> <xp:td> <xp:inputText id="inputText3" value="#{SubscriptionPageBean.userName}" disabled="true"></xp:inputText> </xp:td> </xp:tr> <xp:tr> <xp:td></xp:td> <xp:td></xp:td> <xp:td></xp:td> <xp:td></xp:td> </xp:tr> <xp:tr> <xp:td style="font-weight:bold;font-size:11pt"> EmailAddress </xp:td> <xp:td style="font-weight:bold;font-size:11pt"> ConfirmEmail </xp:td> <xp:td style="font-weight:bold;font-size:11pt"> MobilePhone </xp:td> <xp:td style="font-weight:bold;font-size:11pt"> WorkPhone <xp:span style="font-size:9pt">(Optional)</xp:span> </xp:td> </xp:tr> <xp:tr> <xp:td> <xp:inputText id="inputText4" value="#{SubscriptionPageBean.emailAddress}"> <xp:this.validators> <xp:validateRequired message="EmailAddress Required"> </xp:validateRequired> </xp:this.validators> </xp:inputText> </xp:td> <xp:td> <xp:inputText id="inputText5" value="#{SubscriptionPageBean.confirmEmail}"> <xp:this.validators> <xp:validateRequired message="ConfirmEmail Required"> </xp:validateRequired> </xp:this.validators> </xp:inputText> </xp:td> <xp:td> <xp:inputText id="inputText6" value="#{SubscriptionPageBean.mobilePhone}"> <xp:this.validators> <xp:validateRequired message="MobilePhone Required"> </xp:validateRequired> </xp:this.validators> </xp:inputText> </xp:td> <xp:td> <xp:inputText id="inputText7" value="#{SubscriptionPageBean.workPhone}"></xp:inputText> </xp:td> </xp:tr> <xp:tr> <xp:td></xp:td> <xp:td></xp:td> <xp:td></xp:td> <xp:td></xp:td> </xp:tr> <xp:tr> <xp:td style="font-weight:bold;font-size:11pt"> AdsType </xp:td> <xp:td style="font-weight:bold;font-size:11pt"> RoleType </xp:td> <xp:td style="font-weight:bold;font-size:11pt"> DeliveryType </xp:td> <xp:td style="font-weight:bold;font-size:11pt"> ShelfLife </xp:td> </xp:tr> <xp:tr> <xp:td> <xp:listBox id="listBox2" style="width:137.0px" value="#{SubscriptionPageBean.adsType}"> <xp:this.validators> <xp:validateRequired message="AdsType Required"> </xp:validateRequired> </xp:this.validators> <xp:selectItem itemLabel="Education Ads" itemValue="EduAds"> </xp:selectItem><xp:selectItem itemLabel="Free Ads" itemValue="FreeAds"> </xp:selectItem> <xp:selectItem itemLabel="Promotion Ads" itemValue="PromoAds"></xp:selectItem> </xp:listBox> </xp:td> <xp:td> <xp:listBox id="listBox3" style="width:140.0px" value="#{SubscriptionPageBean.userRoleType}"> <xp:this.validators> <xp:validateRequired message="UserRole Required"> </xp:validateRequired> </xp:this.validators> <xp:selectItem itemLabel="Employee" itemValue="Employee"> </xp:selectItem><xp:selectItem itemLabel="Owner" itemValue="Owner"> </xp:selectItem> <xp:selectItem itemLabel="Third Party" itemValue="ThirdParty"></xp:selectItem> </xp:listBox> </xp:td> <xp:td> <xp:listBox id="listBox4" style="width:140.0px" value="#{SubscriptionPageBean.deliveryType}"> <xp:this.validators> <xp:validateRequired message="DeliveryType Required"> </xp:validateRequired> </xp:this.validators> <xp:selectItem itemLabel="Email" itemValue="Email"></xp:selectItem> <xp:selectItem itemLabel="Mobile" itemValue="Mobile"> </xp:selectItem> <xp:selectItem itemLabel="Social" itemValue="Social"> </xp:selectItem> <xp:selectItem itemLabel="Web" itemValue="Web"> </xp:selectItem></xp:listBox> </xp:td> <xp:td> <xp:listBox id="listBox5" style="width:140.0px" value="#{SubscriptionPageBean.shelfLife}"> <xp:this.validators> <xp:validateRequired message="ShelfLife Required"> </xp:validateRequired> </xp:this.validators> <xp:selectItem itemLabel="1 Week(s)" itemValue="1Week"> </xp:selectItem> <xp:selectItem itemLabel="2 Week(s)" itemValue="2Week"> </xp:selectItem> <xp:selectItem itemLabel="3 Week(s)" itemValue="3Week"> </xp:selectItem> <xp:selectItem itemLabel="1 Month(s)" itemValue="1Month"> </xp:selectItem> <xp:selectItem itemLabel="3 Month(s)" itemValue="3Month"> </xp:selectItem> <xp:selectItem itemLabel="6 Month(s)" itemValue="6Month"> </xp:selectItem> <xp:selectItem itemLabel="1 Year(s)" itemValue="1Year"> </xp:selectItem> <xp:selectItem itemLabel="2 Year(s)" itemValue="2Year"> </xp:selectItem> <xp:selectItem itemLabel="5 Year(s)" itemValue="5Year"></xp:selectItem> </xp:listBox> </xp:td> </xp:tr> <xp:tr> <xp:td colspan="4" style="font-weight:bold;font-size:15pt;background-color:rgb(128,128,128)"> Body </xp:td> <xp:td> <xp:button id="button3" style="width:339.0px"> </xp:button> </xp:td> </xp:tr> <xp:tr> <xp:td colspan="4"> <xp:inputTextarea id="inputRichText1" style="height:195.0px;width:596.0px" value="#{SubscriptionPageBean.body}"> <xp:this.validators> <xp:validateRequired message="Body Message Required"> </xp:validateRequired> </xp:this.validators> </xp:inputTextarea> <xp:br></xp:br> <xp:br></xp:br> <xp:br></xp:br> <xp:br></xp:br> <xp:br></xp:br> </xp:td> <xp:td> <xp:br></xp:br> <xp:image url="/opencasesbyagebar.jpg" id="image2" style="width:357.0px;height:294.0px"> </xp:image> </xp:td> </xp:tr> </xp:table> </xp:panel> <xp:button value="Edit" id="button1" style="font-size:8pt;height:23.0px"> <xp:eventHandler event="onclick" submit="true" refreshMode="complete" immediate="false" save="true" id="eventHandler1"> <xp:this.action><![CDATA[#{javascript:SubscriptionPageBean.doEditSubscription()}]]></xp:this.action> </xp:eventHandler> </xp:button>   <xp:button value="Cancel" id="cancelButton" style="font-size:8pt;height:23.0px"> <xp:eventHandler event="onclick" submit="true" refreshMode="complete"> <xp:this.action><![CDATA[#{javascript:context.redirectToPage("xpsubscriptionedit");}]]></xp:this.action> </xp:eventHandler> </xp:button>   <xp:this.navigationRules><xp:navigationRule outcome="xsp-success" viewId="/yourPreferredXpagesForm.xsp"></xp:navigationRule></xp:this.navigationRules> </xp:view>