~Fritz ChuretherApr 13, 2012, 5:27 AM17 PostsRe: Here comes the "stupid xpages newbie" question....Hi Kurt, like this, for example: <?xml version="1.0" encoding="UTF-8"?><xp:view xmlns:xp="http://www.ibm.com/xsp/core"> <xp:inputText id="email" style="width:232.0px"></xp:inputText> <xp:button value="Look up" id="button1"> <xp:eventHandler event="onclick" submit="true" refreshMode="complete"> </xp:eventHandler> </xp:button> <xp:br></xp:br> <xp:label id="username"> <xp:this.value><![CDATA[#{javascript:var username = session.evaluate("@Name([Abbreviate];@NameLookup([Exhaustive];\"" + getComponent("email").getValue() + "\";\"Fullname\"))");username[0] || "N/A"}]]></xp:this.value> </xp:label> <xp:br></xp:br> <xp:label id="mailserver"> <xp:this.value><![CDATA[#{javascript:var mailserver = session.evaluate("@Name([Abbreviate];@NameLookup([Exhaustive];\"" + getComponent("email").getValue() + "\";\"MailServer\"))");mailserver[0] || "N/A"}]]></xp:this.value> </xp:label></xp:view>
~Anita MinasteringsApr 13, 2012, 1:16 PM298 Postshow about some XPages training?TLCC has a free XPages course to get you started: http://www.tlcc.com/admin/tlccsite.nsf/pages/free-xpages-training Then we have a complete line of XPages courses (and even a JavaScript for XPages course) to take you further: http://www.tlcc.com/xpages Howard
~Tate OpgerotherettuApr 13, 2012, 3:25 PM2 PostsThank you!!Thanks for the example, Rick, and for the link to the intro course, Howard. I will definitely try it out.
~Isaac FezboosiakoiApr 14, 2012, 11:11 AM586 PostsRe: Here comes the "stupid xpages newbie" question.... Kurt, There are a lot of samples on XPages.TV / NotesIn9.com as well. XPages.Info is a good starting point.