xpages - onClick Event Banner in Application Layout -
I found an app layout with an image as a banner. Is it possible to pair the event handler with an onclick event in the banner?
& lt; Xe: applicationLayout id = "applicationLayout1" & gt; & Lt; Xp: this.facets & gt; & Lt; / XP: this.facets & gt; & Lt; Xp: callback facetName = "facetMiddle" id = "facetmiddle" & gt; & Lt; / Xp: callback & gt; & Lt; XE: this.configuration & gt; & Lt; Xe: AQU Product Logo = "/ ISI Logo Page" Product LogoHigh = "70 Pixel" Product Logue = "250px" & gt; & Lt; XE: this.bannerUtilityLinks & gt; & Lt; / XE: this.bannerUtilityLinks & gt; & Lt; XE: this.titleBarTabs & gt; & Lt; / XE: this.titleBarTabs & gt; & Lt; XE: this.footerLinks & gt; & Lt; / XE: this.footerLinks & gt; & Lt; / XE: oneuiApplication & gt; & Lt; / XE: this.configuration & gt; & Lt; / XE: applicationLayout & gt;
Add a class to your logo as application logo productLogoClass = "Apps Logo "
.
This class on client load Add client side onclick event for
var applicationLogo = dojo.query ('. ApplicationLogo') [0]; App logo Click on = function () {warning ('logo clicked'); }
In the client side event code, you can perform a partial refresh with XSP.partialRefreshGet or XSP.partialRefreshPost.
Comments
Post a Comment