本文整理汇总了Java中com.ibm.xsp.extlib.component.layout.impl.BasicApplicationConfigurationImpl.isMastFooter方法的典型用法代码示例。如果您正苦于以下问题:Java BasicApplicationConfigurationImpl.isMastFooter方法的具体用法?Java BasicApplicationConfigurationImpl.isMastFooter怎么用?Java BasicApplicationConfigurationImpl.isMastFooter使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类com.ibm.xsp.extlib.component.layout.impl.BasicApplicationConfigurationImpl
的用法示例。
在下文中一共展示了BasicApplicationConfigurationImpl.isMastFooter方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: writeMainFrame
import com.ibm.xsp.extlib.component.layout.impl.BasicApplicationConfigurationImpl; //导入方法依赖的package包/类
protected void writeMainFrame(FacesContext context, ResponseWriter w, UIApplicationLayout c, BasicApplicationConfigurationImpl configuration) throws IOException {
// Start the mast header
if(null != configuration && configuration.isMastHeader()){
writeMastHeader(context, w, c, configuration);
}
// Start the main frame
String tag = (String)getProperty(PROP_MAINFRAMETAG);
w.startElement(tag,c);
String style = (String)getProperty(PROP_MAINFRAMESTYLE);
if(StringUtil.isNotEmpty(style)) {
w.writeAttribute("style",style,null); // $NON-NLS-1$
}
String styleClass = (String)getProperty(PROP_MAINFRAMECLASS);
if(StringUtil.isNotEmpty(styleClass)) {
w.writeAttribute("class",styleClass,null); // $NON-NLS-1$
}
if( HtmlUtil.isUserId(c.getId()) ){
w.writeAttribute("id",c.getClientId(context),null); // $NON-NLS-1$
}
newLine(w);
if(configuration!=null) {
// Start the banner
if(configuration.isBanner()) {
writeBanner(context, w, c, configuration);
}
// Start the title bar
if(configuration.isTitleBar()) {
writeTitleBar(context, w, c, configuration);
}
// Start the place bar
if(configuration.isPlaceBar()) {
writePlaceBar(context, w, c, configuration);
}
// Start the main content
writeMainContent(context, w, c, configuration);
// Start the footer
if(configuration.isFooter()) {
writeFooter(context, w, c, configuration);
}
// Start the legal
if(configuration.isLegal()) {
writeLegal(context, w, c, configuration);
}
}
// Close the main frame
w.endElement(tag); newLine(w);
// Start the mast footer
if(null != configuration && configuration.isMastFooter()){
writeMastFooter(context, w, c, configuration);
}
}
示例2: writeMainFrame
import com.ibm.xsp.extlib.component.layout.impl.BasicApplicationConfigurationImpl; //导入方法依赖的package包/类
@Override
protected void writeMainFrame(FacesContext context, ResponseWriter w,UIApplicationLayout c,BasicApplicationConfigurationImpl configuration) throws IOException {
// Start the mast header
// Masthead is deprecated for OneUIv3.0.2 see if we still need to render this.
if(null != configuration && configuration.isMastHeader()){
writeMastHeader(context, w, c, configuration);
}
// Start the main frame
String tag = (String)getProperty(PROP_MAINFRAMETAG);
w.startElement(tag,c);
String style = (String)getProperty(PROP_MAINFRAMESTYLE);
if(StringUtil.isNotEmpty(style)) {
w.writeAttribute("style",style,null); // $NON-NLS-1$
}
String styleClass = (String)getProperty(PROP_MAINFRAMECLASS);
if(StringUtil.isNotEmpty(styleClass)) {
w.writeAttribute("class",styleClass,null); // $NON-NLS-1$
}
if( HtmlUtil.isUserId(c.getId()) ){
w.writeAttribute("id",c.getClientId(context),null); // $NON-NLS-1$
}
newLine(w);
if(configuration!=null) {
// wrap banner and title bar in <header> tag
w.startElement("div", c); // $NON-NLS-1$
w.writeAttribute("role", "banner", null); // $NON-NLS-1$ $NON-NLS-2$
// Start the banner
if(configuration.isBanner()) {
writeBanner(context, w, c, configuration);
}
// Start the title bar
if(configuration.isTitleBar()) {
writeTitleBar(context, w, c, configuration);
}
// Start the place bar
if(configuration.isPlaceBar()) {
writePlaceBar(context, w, c, configuration);
}
w.endElement("div"); // $NON-NLS-1$
// Start the main content
writeMainContent(context, w, c, configuration);
// Start the footer
if(configuration.isFooter()) {
writeFooter(context, w, c, configuration);
}
// Start the legal
if(configuration.isLegal()) {
writeLegal(context, w, c, configuration);
}
}
// Close the main frame
w.endElement(tag); newLine(w);
// Start the mast footer
if(null != configuration && configuration.isMastFooter()){
writeMastFooter(context, w, c, configuration);
}
}