Problem in tomahawk panelTabbedPane

Hi
I m trying to use the panel tabbed pane with the serversidetabswitch = true. Therefore I have declared a tab change listener with the following source code
public class TabSupport implements Serializable, TabChangeListener
private static final long serialVersionUID = 1L;
int selectedTabIndex;
public TabSupport()
public int getSelectedTabIndex() {
  //System.out.println(" Property getSelectedTabIndex() accessed " + selectedTabIndex);
  return selectedTabIndex;
public void setSelectedTabIndex(int selectedTabIndex) {
  //System.out.println(" Property setSelectedTabIndex() accessed");
  this.selectedTabIndex = selectedTabIndex;
public void processTabChange(TabChangeEvent event){
  System.out.println("TabSupport:processTabChange() called " + event.getNewTabIndex() + " " + event.getPhaseId());
  this.selectedTabIndex = event.getNewTabIndex();
}When I change the tab the listener is invoked which sets selectedTabIndex value accordingly and I can see this through the system message. But in the generated html the selected tab content doesnt show meaning selectedTabIndex is still 0. It hasnt been assigned to the new value or has been overwritten. TabSupport is in the session scope. Following is my jsp code
<!
DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<%@
page contentType="text/html;charset=UTF-8" language="java" %>
<%@
taglib prefix="c" uri ="http://java.sun.com/jstl/core" %>
<%@
taglib prefix="f" uri ="http://java.sun.com/jsf/core" %>
<%@
taglib prefix="h" uri ="http://java.sun.com/jsf/html" %>
<%@
taglib uri="http://myfaces.apache.org/tomahawk " prefix="t"%>
<
f:view>
<f:loadBundle basename="com.prytania.resource.Messages " var="messages"/>
<html>
<head>
<title><h:outputText value="#{messages['title']}"/></ title>
<t:stylesheet path="/report.css" />
</head>
<body>
<h:form id="portfolioFatherForm" >
<f:subview id="header" >
<jsp:include page="inc/page_header.jsp" />
</f:subview>
<f:verbatim>
<br/>
</f:verbatim>
<t:panelTabbedPane
selectedIndex="#{tabSupport.selectedTabIndex}"
styleClass="tabbedPane"
width="100%"
bgcolor="#FFFFCC"
activeTabStyleClass="activeTab"
inactiveTabStyleClass="inactiveTab"
activeSubStyleClass="activeSub"
inactiveSubStyleClass="inactiveSub"
tabContentStyleClass="tabContent"
serverSideTabSwitch="true"
>
<t:panelTab label=" #{messages['portfolio_summary']}" >
<f:subview id="tabportfoliosummary" rendered="#{(tabSupport.selectedTabIndex==0)}" >
<jsp:include page="portfoliosummary.jsp " />
</f:subview>
</t:panelTab>
<t:panelTab label=" #{messages['portfolio_detail']}">
<f:subview id="tabportfoliodetail" rendered="#{(tabSupport.selectedTabIndex==1)}" >
<jsp:include page="portfoliodetail.jsp " />
</f:subview>
</t:panelTab>
<t:panelTab label=" #{messages['portfolio_statistics']}">
<f:subview id="tabportfoliostatistics" rendered="#{(tabSupport.selectedTabIndex==2)}" >
<jsp:include page="portfoliostatistics.jsp " />
</f:subview>
</t:panelTab>
<t:tabChangeListener type="com.prytania.listeners.TabSupport " />
</t:panelTabbedPane>
<f:subview id="footer" >
<jsp:include page="inc/page_footer.jsp" />
</f:subview>
</h:form>
</body>
<html>
</
f:view> I shall be highly obliged with any responses.
Hassnain

even though the issue is a little bit old, but with this extension the solution of hassnaimbadami works fine:
if you call the function "processTabChange" the servlet creates a new insatnce of the class TabSupport. if you get the right instance of the backing bean which actually refers to the "#{tabSupport.selectedTabIndex}" from the context every thing works.
For exampel like that:
public void processTabChange(TabChangeEvent event){
backingBean = (TabSupport) FacesUtils.getManagedBean("tabSupport")
backingBean.setTabindex(event.getNewTabIndex());
---> FacesUtils:
package ..
import javax.faces.application.Application;
import javax.faces.application.ApplicationFactory;
import javax.faces.FactoryFinder;
import javax.faces.el.ValueBinding;
public class FacesUtils {
     * Get managed bean based on the bean name.
     * @param beanName the bean name
     * @return the managed bean associated with the bean name
     public static Object getManagedBean(String beanName) {
          Object o = getValueBinding(getJsfEl(beanName)).getValue(FacesContext.getCurrentInstance());
          return o;
     private static ValueBinding getValueBinding(String el) {
          return getApplication().createValueBinding(el);
     private static String getJsfEl(String value) {
          return "#{" + value + "}";
     private static Application getApplication() {
          ApplicationFactory appFactory = (ApplicationFactory)FactoryFinder.getFactory(FactoryFinder.APPLICATION_FACTORY);
          return appFactory.getApplication();
}

Similar Messages

  • Tomahawk , panelTabbedPane problem...

    Hi,
    i am working with tabbedpane control of tomahawk, when i am including a plain jsp page like ....
    <t:panelTabbedPane serverSideTabSwitch="false">
         <t:panelTab id="tab1" label="TabbedPanel1">
             <f:verbatim><jsp:include page="profile.jsp"/> </f:verbatim>
    </t:panelTab>it is working fine. but when i try to include a jsf page , which has taglib directives to include core and html components of jsf, it is giving error on server console as well on browser also...
    stack trace ...
    2007-07-27 16:15:50,421 ERROR [org.apache.myfaces.taglib.core.ViewTag] Error writing endDocument
    java.io.IOException: Illegal to flush within a custom tag
         at javax.servlet.jsp.tagext.BodyContent.flush(BodyContent.java:79)
         at javax.faces.webapp._PageContextOutWriter.flush(_PageContextOutWriter.java:45)Help me to solve this issue....
    Thanks in advance...

    Hi...Thanks for reply...
    i tried flush attribute...but no use...
    i tried removing verbatim , it is not even showing the plain jsp page also.... i think may be there is a problem with @taglib....
    i had to include those files in the main file as well in profile file as i am using some members of those taglibraries in both the files....
    any other suggestion....

  • Tomahawk panelTabbedPane Styling Tab Labels

    Hello,
    Does anyone know how to change the text style of Tomahawk's paneltabbedPane? I tried specifying CSS style info for activeTabStyleClass, and strangely I could change the tab label background color but not the font/size/color of the text.
    Any ideas?
    Thanks,
    Greg

    Posting JSF source code instead of the generated HTML code doesn't help much in solving CSS (and JS) problems. And if you do so, better use a CSS forum instead of a JSF forum.

  • Facing problems with Tomahawk 1.1.3.jar

    Hi All,
    I am using JSF version 1.1 and the Tomahawk version is 1.1.3.
    The IDE is Websphere Portal (JSR 168).
    The application uses Tomahak components <t:inputCalender>
    and <t:panelTabbedPane>.
    When i try to deploy this application i get the error message as
    "This portlet is unavailable" and the application is not deployed.
    I have faced the problem earlier but the exception thrown is different this time.Please help me debug this problem:
    ======================================================
    Nested Exception is java.lang.NoClassDefFoundError: javax/servlet/jsp/el/ELException
         at org.apache.myfaces.shared_tomahawk.config.MyfacesConfig.<clinit>(MyfacesConfig.java:80)
         at org.apache.myfaces.renderkit.html.util.AddResourceFactory.getInstance(AddResourceFactory.java:283)
         at org.apache.myfaces.custom.inputTextHelp.HtmlTextHelpRenderer.addJavaScriptResources(HtmlTextHelpRenderer.java:174)
         at org.apache.myfaces.custom.inputTextHelp.HtmlTextHelpRenderer.renderNormal(HtmlTextHelpRenderer.java:47)
         at org.apache.myfaces.renderkit.html.ext.HtmlTextRenderer.encodeEnd(HtmlTextRenderer.java:80)
         at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:720)
         at org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils.renderChild(RendererUtils.java:442)
         at org.apache.myfaces.custom.calendar.HtmlCalendarRenderer.encodeEnd(HtmlCalendarRenderer.java:160)
         at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:720)
         at javax.faces.webapp.UIComponentTag.encodeEnd(UIComponentTag.java:623)
         at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:546)
         at org.apache.jsp._TomTestView._jspService(_TomTestView.java:222)
         at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java:89)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:351)
         at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java:705)
         at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java:803)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
         at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
         at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
         at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
         at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
         at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
         at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:1166)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:676)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java:256)
         at org.apache.pluto.core.impl.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:112)
         at com.ibm.faces.context.PortletExternalContextImpl.dispatch(PortletExternalContextImpl.java:447)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
         at com.ibm.faces.application.PortletViewHandlerImpl.renderView(PortletViewHandlerImpl.java:74)
         at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
         at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
         at com.ibm.faces.webapp.FacesGenericPortlet.doRender(FacesGenericPortlet.java:360)
         at com.ibm.faces.webapp.FacesGenericPortlet.doView(FacesGenericPortlet.java:391)
         at com.ibm.faces.webapp.FacesGenericPortlet.doDispatch(FacesGenericPortlet.java:292)
         at javax.portlet.GenericPortlet.render(GenericPortlet.java:163)
         at com.ibm.wps.pe.pc.std.cmpf.impl.PortletFilterChainImpl.render(PortletFilterChainImpl.java:144)
         at com.ibm.wps.pe.pc.std.invoker.impl.PortletServlet.dispatch(PortletServlet.java:131)
         at com.ibm.wps.pe.pc.std.invoker.impl.PortletServlet.doGet(PortletServlet.java:70)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at com.ibm.wps.pe.pc.std.cache.CacheablePortlet.service(CacheablePortlet.java:257)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
         at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
         at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
         at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
         at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
         at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
         at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:1166)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:676)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java:256)
         at com.ibm.wps.pe.pc.std.invoker.impl.PortletInvokerImpl.invoke(PortletInvokerImpl.java:204)
         at com.ibm.wps.pe.pc.std.invoker.impl.PortletInvokerImpl.invoke(PortletInvokerImpl.java:168)
         at com.ibm.wps.pe.pc.std.invoker.impl.PortletInvokerImpl.render(PortletInvokerImpl.java:97)
         at com.ibm.wps.pe.pc.std.PortletContainerImpl.renderPortlet(PortletContainerImpl.java:110)
         at com.ibm.wps.pe.pc.PortletContainerImpl.doRenderPortlet(PortletContainerImpl.java:545)
         at com.ibm.wps.pe.ext.render.AbstractRenderManager.performService(AbstractRenderManager.java:251)
         at com.ibm.wps.pe.pc.PortletContainerImpl.renderPortlet(PortletContainerImpl.java:100)
         at com.ibm.wps.engine.tags.PortletRenderTag.doStartTag(PortletRenderTag.java:155)
         at org.apache.jsp._Control._jspService(_Control.java:1926)
         at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java:89)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:351)
         at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java:705)
         at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java:803)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
         at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
         at com.ibm.ws.webcontainer.servlet.ServicingServletState.service(StrictLifecycleServlet.java:333)
         at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
         at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
         at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
         at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:1166)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:676)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java:256)
         at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.handleRequest(DispatcherServiceImpl.java:89)
         at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.include(DispatcherServiceImpl.java:50)
         at com.ibm.wps.services.dispatcher.Dispatcher.include(Dispatcher.java:44)
         at com.ibm.wps.engine.templates.skins.Default.render(Default.java:74)
         at com.ibm.wps.engine.templates.SkinTemplate.render(SkinTemplate.java:71)
         at com.ibm.wps.composition.elements.Component.render(Component.java:785)
         at com.ibm.wps.composition.elements.Control.render(Control.java:186)
         at com.ibm.wps.composition.Composition.render(Composition.java:2884)
         at com.ibm.wps.model.wrappers.LayoutModelWrapperFactoryImpl$LayoutModelWrapperImpl.render(LayoutModelWrapperFactoryImpl.java:204)
         at com.ibm.wps.model.ModelUtil$WrappedCompositionModel.render(ModelUtil.java:832)
         at org.apache.jsp._UnlayeredContainer_2D_V._jspService(_UnlayeredContainer_2D_V.java:107)
         at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java:89)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:351)
         at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java:705)
         at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java:803)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
         at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
         at com.ibm.ws.webcontainer.servlet.ServicingServletState.service(StrictLifecycleServlet.java:333)
         at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
         at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
         at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
         at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:1166)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:676)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java:256)
         at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.handleRequest(DispatcherServiceImpl.java:89)
         at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.include(DispatcherServiceImpl.java:50)
         at com.ibm.wps.services.dispatcher.Dispatcher.include(Dispatcher.java:44)
         at com.ibm.wps.engine.templates.skins.Default.render(Default.java:74)
         at com.ibm.wps.engine.templates.SkinTemplate.render(SkinTemplate.java:71)
         at com.ibm.wps.composition.elements.Component.render(Component.java:785)
         at com.ibm.wps.composition.Composition.render(Composition.java:2884)
         at com.ibm.wps.model.wrappers.LayoutModelWrapperFactoryImpl$LayoutModelWrapperImpl.render(LayoutModelWrapperFactoryImpl.java:204)
         at com.ibm.wps.engine.tags2.PageRenderTag.doStartTag(PageRenderTag.java:396)
         at org.apache.jsp._Home._jspService(_Home.java:135)
         at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java:89)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:351)
         at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java:705)
         at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java:803)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
         at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
         at com.ibm.ws.webcontainer.servlet.ServicingServletState.service(StrictLifecycleServlet.java:333)
         at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
         at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
         at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
         at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:1166)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:676)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java:256)
         at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.handleRequest(DispatcherServiceImpl.java:89)
         at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.include(DispatcherServiceImpl.java:50)
         at com.ibm.wps.services.dispatcher.Dispatcher.include(Dispatcher.java:44)
         at com.ibm.wps.engine.templates.screens.Default.render(Default.java:91)
         at com.ibm.wps.engine.templates.ScreenTemplate.render(ScreenTemplate.java:61)
         at com.ibm.wps.engine.tags2.ScreenRenderTag.doStartTag(ScreenRenderTag.java:89)
         at org.apache.jsp._Default._jspService(_Default.java:7166)
         at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java:89)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:351)
         at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java:705)
         at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java:803)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
         at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
         at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
         at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
         at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
         at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
         at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:1166)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:676)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java:256)
         at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.handleRequest(DispatcherServiceImpl.java:89)
         at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.include(DispatcherServiceImpl.java:50)
         at com.ibm.wps.services.dispatcher.Dispatcher.include(Dispatcher.java:44)
         at com.ibm.wps.engine.templates.themes.Default.render(Default.java:103)
         at com.ibm.wps.engine.templates.ThemeTemplate.render(ThemeTemplate.java:67)
         at com.ibm.wps.engine.phases.WPRenderPhase.processRendering(WPRenderPhase.java:324)
         at com.ibm.wps.engine.phases.WPRenderPhase.execute(WPRenderPhase.java:136)
         at com.ibm.wps.state.phases.AbstractRenderPhase.next(AbstractRenderPhase.java:106)
         at com.ibm.wps.engine.phases.WPAbstractRenderPhase.next(WPAbstractRenderPhase.java:93)
         at com.ibm.wps.engine.Servlet.callPortal(Servlet.java:717)
         at com.ibm.wps.engine.Servlet.doGet(Servlet.java:566)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
         at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
         at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
         at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
         at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
         at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
         at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
         at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:76)
         at com.ibm.wps.state.filter.StateCleanup.doFilter(StateCleanup.java:86)
         at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:132)
         at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:71)
         at com.ibm.wps.mappingurl.impl.URLAnalyzer.doFilter(URLAnalyzer.java:257)
         at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:132)
         at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:71)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:1162)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:676)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:203)
         at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:125)
         at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:300)
         at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
         at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:246)
         at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
         at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
         at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:652)
         at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:458)
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:936)

    Hi Did you get the solution for this ?
    i alos want the same thing but in portal server it says portlet unavailable so please help me what to do to work with tomahawk

  • Problem using Tomahawk tree2 with JSF RI 1.1

    Hello,
    When I try to run Tomahawk tree2 component on JSF RI 1.1 I am getting the following exception.
    java.lang.IllegalStateException: Duplicate component ID 'billsearch:billSearchForm:NewTabadvanceSearch:subTabOne:clientTree:t2c' found in view.
         at com.sun.faces.application.StateManagerImpl.removeTransientChildrenAndFacets(StateManagerImpl.java:191)
         at com.sun.faces.application.StateManagerImpl.removeTransientChildrenAndFacets(StateManagerImpl.java:199)
         at com.sun.faces.application.StateManagerImpl.removeTransientChildrenAndFacets(StateManagerImpl.java:181)
         at com.sun.faces.application.StateManagerImpl.removeTransientChildrenAndFacets(StateManagerImpl.java:181)
         at com.sun.faces.application.StateManagerImpl.removeTransientChildrenAndFacets(StateManagerImpl.java:181)
         at com.sun.faces.application.StateManagerImpl.removeTransientChildrenAndFacets(StateManagerImpl.java:181)
         at com.sun.faces.application.StateManagerImpl.removeTransientChildrenAndFacets(StateManagerImpl.java:181)
         at com.sun.faces.application.StateManagerImpl.removeTransientChildrenAndFacets(StateManagerImpl.java:181)
         at com.sun.faces.application.StateManagerImpl.removeTransientChildrenAndFacets(StateManagerImpl.java:181)
         at com.sun.faces.application.StateManagerImpl.saveSerializedView(StateManagerImpl.java:85)
         at org.ajax4jsf.framework.ajax.AjaxStateManager.saveSerializedView(AjaxStateManager.java:90)
         at com.sun.faces.taglib.jsf_core.ViewTag.doAfterBody(ViewTag.java:169)
         at jsp_servlet._pages.__billsearchinit._jspService(__billsearchinit.java:156)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:223)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:500)
         at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:245)
         at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
         at org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
         at org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:229)
         at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
         at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:223)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:96)
         at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:220)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:501)
         at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:245)
         at weblogic.servlet.jsp.PageContextImpl.forward(PageContextImpl.java:148)
         at jsp_servlet.__index._jspService(__index.java:101)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:223)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3243)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2003)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1909)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1359)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)Any help would be highly appreciated. I have tried setting my own id's to each and every component. But this throws me a different error and it doesn't let me set the id's manually. The error message is:
    Error 500--Internal Server Error
    java.lang.IllegalArgumentException: 1
         at javax.faces.component.UIComponentBase.validateId(UIComponentBase.java:462)
         at javax.faces.component.UIComponentBase.setId(UIComponentBase.java:279)
         at javax.faces.webapp.UIComponentTag.createComponent(UIComponentTag.java:1016)
         at javax.faces.webapp.UIComponentTag.createFacet(UIComponentTag.java:1059)
         at javax.faces.webapp.UIComponentTag.findComponent(UIComponentTag.java:740)
         at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:429)
    Any help or hint on solving this problem is highly appreciated.
    Thanks in adv.
    ~SirG

    Richfaces is compatible with JSF 1.1 and 1.2 and also with great ui part
    but it may conflict with the other tomahawk component and filters

  • Tomahawk panelTabbedPane Styles

    Hello
    I tried specifying CSS style info for activeTabStyleClass and inactiveTabStyleClass, and strangely I could change the tab label background color but not the font/size/color of the text. I have seen in the generated html that is part of a text input, but can not find how to change the format of this. (when the tab is inactive the text appears within a gray rectangle)
    Does anyone know how to change the style of this componentent?
    the code is:
    <t:panelTabbedPane serverSideTabSwitch="false" selectedIndex="#{menu.focusIndex}"
              activeTabStyleClass="activeTab"
              inactiveTabStyleClass="inactiveTab"
              tabContentStyleClass="tabxwip"     
              >
              <t:panelTab id="tab1" label="Config">
                   <h:panelGrid id="up" columns="2" styleClass="tabGrid">
                        ...and the css
    .activeTab {
         background-color: white;
         width: 120px;
         font-size: 100%;
         padding: 20px;
         text-align: center;
         font-weight: bold;
         height: 20px;
    .inactiveTab {
         background-color: #A1045F;
         width: 120px;
         font-size: 100%;
         padding: 20px;
         height: 20px;
         text-align: center;
          font-weight: bold;
    .tabGrid {
         width: 1024px;
         border: 3px;
    }

    Posting JSF source code instead of the generated HTML code doesn't help much in solving CSS (and JS) problems. And if you do so, better use a CSS forum instead of a JSF forum.

  • Tomahawk panelTabbedPane and panelTab index

    Hi.
    I use Tomahawk components in my web pages.
    In my panelTabbedPane, I use a loop to load the component of each panelTab.
    <t:panelTabbedPane serverSideTabSwitch="true">
    <c:forEach items="${actionTool.tabsList}" var="tab">
    <t:panelTab label="#{tab.label}">
    <ui:include src="#{tab.link}" />
    </t:panelTab>
    </c:forEach>
    </t:panelTabbedPane>
    I would like to load only the select panelTab. What can I do ?
    Can I get the instance of PanelTabbedPane created ?
    Can I get the actual panelTab activated via the panelTabbedPane ?
    Tanks.
    f_b
    Message was edited by:
    florent_b

    Ah well .. I misunderstood "imbricated form errors".
    Sorry, I don't have practical experience with this specific component. But such a construction just works with IBM's odc:tabbedPanel.
    You might try to look for another components. I know, IceFaces also have a tabbedpanel component.

  • Dynamic tabs in Tomahawk panelTabbedPane

    I want to create a t:panelTabbedPane with a dynamic number of tabs. It's quite straightforward if implemented in a backing bean:
      <t:panelTabbedPane binding="#{MyBean.tabbedPane}"/>
      public class MyBean {
        public HtmlPanelTabbedPane getTabbedPane() {
          HtmlPanelTabbedPane tabbed = new HtmlPanelTabbedPane();
          //Loop as desired
          HtmlPanelTab tab = new HtmlPanelTab();
          tab.setLabel("My tab");
          tab.setId("tab_0");
          tabbed.getChildren().add(tab);
          return tabbed;
      }However, once I have my dynamically added tabs, I run into trouble when I want to populate them. Is there a convenient way to add JSF content to these tabs, defined using regular JSF tags? If not I guess I'll have to generate all the content using Java. I'm having a hard time finding much information about how to set values (EL expressions for example) and bindings for the components inside the tabs. Any ideas are appreciated!

    Once you are in the programmatic realm, I am not aware of a standard way to include components generated from a view representation like a JSP or Facelet file.
    As to the EL expressions, use UIComponent.setValueExpression() along with Application.getExpressionFactory() and ExpressionFactory.createValueExpression(). For the action attribute of the command components, use UICommand.setActionExpression() and ExpressionFactory.createMethodExpression().

  • Facing problems configuring tomahawk

    I am trying to configure tomahawk with Sun's JSF RI. I have added all the necessary jar files to the class path and still getting the following error while starting the server:
    java.lang.IllegalStateException: ExtensionsFilter not correctly configured. JSF mapping missing. JSF pages not covered. Please see: http://myfaces.apache.org/tomahawk/extensionsFilter.html
    My web.xml file is as follows:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
         version="2.4">
         <display-name>Web Application</display-name>
         <context-param>
              <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
              <param-value>client</param-value>
         </context-param>
         <context-param>
              <param-name>
                   javax.servlet.jsp.jstl.fmt.localizationContext
              </param-name>
              <param-value>resources.application</param-value>
         </context-param>
         <context-param>
              <param-name>javax.faces.CONFIG_FILES</param-name>
              <param-value>/WEB-INF/config/faces-config.xml</param-value>
         </context-param>
         <context-param>
              <param-name>org.apache.myfaces.ALLOW_JAVASCRIPT</param-name>
              <param-value>true</param-value>
         </context-param>
         <context-param>
              <param-name>org.apache.myfaces.DETECT_JAVASCRIPT</param-name>
              <param-value>false</param-value>
         </context-param>
         <context-param>
              <param-name>org.apache.myfaces.PRETTY_HTML</param-name>
              <param-value>true</param-value>
         </context-param>
         <context-param>
              <param-name>org.apache.myfaces.AUTO_SCROLL</param-name>
              <param-value>true</param-value>
         </context-param>
         <filter>
              <filter-name>accessLogger</filter-name>
              <filter-class>webutil.AccessLogger</filter-class>
         </filter>
         <filter>
              <display-name>Ajax4jsf Filter</display-name>
              <filter-name>ajax4jsf</filter-name>
              <filter-class>org.ajax4jsf.Filter</filter-class>
         </filter>
         <filter>
              <display-name>Extensions Filter</display-name>
            <filter-name>MyFacesExtensionsFilter</filter-name>
              <filter-class>org.apache.myfaces.webapp.filter.ExtensionsFilter</filter-class>
            <init-param>
                <param-name>maxFileSize</param-name>
                <param-value>20m</param-value>
            </init-param>
        </filter>
         <filter-mapping>
              <filter-name>accessLogger</filter-name>
              <url-pattern>*.jsf</url-pattern>
         </filter-mapping>
         <filter-mapping>
              <filter-name>ajax4jsf</filter-name>
              <servlet-name>faces</servlet-name>
              <dispatcher>REQUEST</dispatcher>
              <dispatcher>FORWARD</dispatcher>
              <dispatcher>INCLUDE</dispatcher>
         </filter-mapping>
         <filter-mapping>
             <filter-name>MyFacesExtensionsFilter</filter-name>
             <url-pattern>*.jsf</url-pattern>
         </filter-mapping>
         <servlet>
              <!-- Faces Servlet -->
              <servlet-name>faces</servlet-name>
              <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
              <load-on-startup>1</load-on-startup>
         </servlet>
         <servlet-mapping>
              <!-- Faces Servlet Mapping -->
              <servlet-name>faces</servlet-name>
              <url-pattern>*.jsf</url-pattern>
         </servlet-mapping>
         <session-config>
              <session-timeout>240</session-timeout>
         </session-config>
         <welcome-file-list>
              <welcome-file>index.jsp</welcome-file>
         </welcome-file-list>
         <jsp-config>
              <taglib>
                   <taglib-uri>http://java.sun.com/jsp/jstl/core</taglib-uri>
                   <taglib-location>/WEB-INF/tld/c.tld</taglib-location>
              </taglib>
              <taglib>
                   <taglib-uri>http://java.sun.com/jsp/jstl/fmt</taglib-uri>
                   <taglib-location>/WEB-INF/tld/fmt.tld</taglib-location>
              </taglib>
              <taglib>
                   <taglib-uri>http://java.sun.com/jsp/jstl/sql</taglib-uri>
                   <taglib-location>/WEB-INF/tld/sql.tld</taglib-location>
              </taglib>
              <taglib>
                   <taglib-uri>http://java.sun.com/jsp/jstl/xml</taglib-uri>
                   <taglib-location>/WEB-INF/tld/x.tld</taglib-location>
              </taglib>
              <taglib>
                   <taglib-uri>http://java.sun.com/jsp/jstl/functions</taglib-uri>
                   <taglib-location>/WEB-INF/tld/fn.tld</taglib-location>
              </taglib>
         </jsp-config>
    </web-app>I am struck with this for almost a day. Any help or suggestions are greatly appreciated.
    SirG

    <context-param>
    <description>
    Change the url-pattern from the ExtensionsFilter
    Default is "/faces/myFacesExtensionResource"
    Note: The filter-mapping for ExtensionsFilter, the url-pattern is
    this value + "/*", else there comes a exception
    </description>
    <param-name>org.apache.myfaces.RESOURCE_VIRTUAL_PATH</param-name>
    <param-value>/faces/extensionResource</param-value>
    </context-param>
    <!--
    Filters
    -->
    <!-- Tomahawk -->
    <filter>
    <filter-name>extensionsFilter</filter-name>
    <filter-class>org.apache.myfaces.webapp.filter.ExtensionsFilter</filter-class>
    <init-param>
    <description>
    Set the size limit for uploaded files.
    Format: 10 - 10 bytes
    10k - 10 KB
    10m - 10 MB
    1g - 1 GB
    </description>
    <param-name>uploadMaxFileSize</param-name>
    <param-value>10m</param-value>
    </init-param>
    <init-param>
    <description>
    Set the threshold size - files
    below this limit are stored in memory, files above
    this limit are stored on disk.
    Format: 10 - 10 bytes
    10k - 10 KB
    10m - 10 MB
    1g - 1 GB
    </description>
    <param-name>uploadThresholdSize</param-name>
    <param-value>100k</param-value>
    </init-param>
    <init-param>
    <param-name>uploadRepositoryPath</param-name>
    <param-value>/temp</param-value>
    </init-param>
    </filter>
    <!-- extension mapping for adding <script/>, <link/>, and other resource tags to JSF-pages -->
    <filter-mapping>
    <filter-name>extensionsFilter</filter-name>
    <servlet-name>Faces Servlet</servlet-name>
    </filter-mapping>
    <!-- extension mapping for serving page-independent resources (javascript, stylesheets, images, etc.) -->
    <filter-mapping>
    <filter-name>extensionsFilter</filter-name>
    <url-pattern>/faces/myFacesExtensionResource/*</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>extensionsFilter</filter-name>
    <url-pattern>*.jsf</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>extensionsFilter</filter-name>
    <url-pattern>*.faces</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>extensionsFilter</filter-name>
    <url-pattern>/faces/*</url-pattern>
    </filter-mapping>
    <!--
    Servlets
    -->
    <servlet>
    <servlet-name>Faces Servlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>/faces/*</url-pattern>
    </servlet-mapping>
    Check this out as well:
    http://wiki.apache.org/myfaces/How_to_add_MyFaces_support_to_a_Sun_JSF_RI_application

  • Strange Problem using tomahawk and JSF 1.1

    Hi,
    my JSF Project (Tomcat 5.5.17 as Server; jre 1.6) works fine until I add the tomahawk .jar (1.1.3) to the lib folfder. When I add the jar file I get the following exception:
    SCHWERWIEGEND: Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
    javax.faces.FacesException: java.lang.ClassNotFoundException: [Ljava.lang.String;
         at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:336)
         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3763)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4211)
         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
         at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:608)
    The exception appear even when I dont use any content of the archive.
    Please help.
    Thank you
    Arndt

    Yep, as you found, there were some changes in how the 1.6 handles the loading of array classes. This issue has been corrected in the 1.2 version of the RI. We still need to backport said fixes to 1.1.

  • Custom styleClass for Tomahawk:panelTabbedPane

    When trying to apply custom css to panelTabbedPane nothing happens and I get default appearance (activeTabStyleClass, inactiveTabStyleClass, activeSubStyleClass) are allways default. How to apply custom css.
    Regards, Simy

    Check this out:
    http://wiki.apache.org/myfaces/SettingTabClasses?highlight=%28panelTabbedPane%29

  • Problem using Tomahawk inputDate tag

    When I enter a blank value for any of the dropdowns in the inputDate component anerror is generated by the component and I can display the errorMessage using
    <t:message for="myDate" errorClass="validationMessage" infoClass="infoMessage"/>My question is is there any way to stop the validation happening or better still to remove the "blank" options from the dropdowns. I know there are emptyAmpmSelection/emptyMonthSelection where you can define what you want the blank to appear as but I just want the time dropdown to be AM or PM, nothing else. I can't even try to imagine why the blanks are there in the first place.
    Thansk ... J

    Just preselect the dropdown menu.
    E.g.<h:selectOneMenu value="#{myBean.selectedItem}">
    public MyBean() {
        this.selectedItem = "Use here the same value as one of the selectItem objects.";
    }

  • PanelTabbedPane and multiple form

    Hi,
    I've got a problem with tomaHawk panelTabbedPane component.
    I would like to insert a form in each panelTab child node but it isn't possible.
    <t:panelTabbedPane>
    <t:panelTab>
    <h:form id="idForm1">
    content 1
    </h:form>
    </t:panelTab>
    <t:panelTab>
    <h:form id="idForm2">
    content 2
    </h:form>
    </t:panelTab>
    </t:panelTabbedPane>
    In fact, panelTabbedPane component generate a form, and generate imbricated forms errors.
    It works with a single form enrolling the panelTabbedPane but it's problematic for validation errors because all panelTab components will be evaluated.
    Is there a mean of insert form in each panelTab with this component ?
    Thanks

    Ah well .. I misunderstood "imbricated form errors".
    Sorry, I don't have practical experience with this specific component. But such a construction just works with IBM's odc:tabbedPanel.
    You might try to look for another components. I know, IceFaces also have a tabbedpanel component.

  • Tomahawk datascroller problem

    Hi ,
    I am facing a problem with tomahawk datascroller. i am enabling datascroller if i get more than 5 records. ok it is working fine . I got 8 records and displayed in two pages.i have gone to second page and removed three records.isteda of showing first page it remains in the second page(empty).please any body suggest.
    Thanks&Regards
    K.Ramu

    kodandaramu wrote:
    please its very urgentThat's your own problem. Moving pressure to us, who have completely nothing to do with your jobs and are not paid to do your job, is only dumb and rude. Have patience man. Just ask questions the smart way.

  • Tomahawk t:dataScroller in JDeveloper

    I am trying to use Tomahawk dataScroller in JDeveloper, but it looks like I have rendering problem. (Tomahawk 1.1.6, JDeveloper TP3)
    In the next and previous buttons image tag is not inside of the link tag.
    Buttons are rendered as following:
    <!--Start: javax.faces.Panel["scroll_1"]-->
    <td>
    <!--Start: javax.faces.Graphic["j_id__ctru31pc7"]--> < img id="reportForm:invTable:j_id__ctru31pc7" src="images/arrow-next.gif" border="1">
    <!--Start: javax.faces.Command["scroll_1next"]-->
    <a id="reportForm:invTable:scroll_1next" name="reportForm:invTable:scroll_1next" onclick="submitForm('reportForm',1,{source:'reportForm:invTable:scroll_1next','reportForm:invTable:scroll_1':'next'});return false;" class="OraLink" href="#"></a>
    </td>Here is a jsp code
         <t:dataTable id="data"
                      styleClass="scrollerTable"
                      headerClass="standardTable_Header"
                      footerClass="standardTable_Header"
                      rowClasses="standardTable_Row1,standardTable_Row2"
                      columnClasses="standardTable_Column,standardTable_ColumnCentered,standardTable_Column"
                      var="car"
                      value="#{pagedSort.cars}"
                      preserveDataModel="true"
                      rows="10"
                      rowId="#{car.type}"
                      rowOnClick="alert('rowId: ' + this.id)"
                      sortColumn="#{pagedSort.sort}"
                      sortAscending="#{pagedSort.ascending}"
                      preserveSort="true">
            <t:column>
                <f:facet name="header"></f:facet>
                <h:outputText value="#{car.id}" />
            </t:column>
            <t:column>
                <f:facet name="header">
                    <t:commandSortHeader columnName="type" arrow="true" immediate="false">
                        <h:outputText value="Type}" />
                    </t:commandSortHeader>
                </f:facet>
                <h:outputText value="#{car.type}" />
            </t:column>
            <t:column>
                <f:facet name="header">
                    <t:commandSortHeader columnName="color" arrow="true" immediate="false">
                        <h:outputText value="Color" />
                    </t:commandSortHeader>
                </f:facet>
                <h:inputText value="#{car.color}" >
                    <f:validateLength maximum="10"/>
                </h:inputText>
            </t:column>
        </t:dataTable>
        <h:panelGrid columns="1" styleClass="scrollerTable2" columnClasses="standardTable_ColumnCentered" >
            <t:dataScroller id="scroll_1"
                            for="data"
                            fastStep="10"
                            pageCountVar="pageCount"
                            pageIndexVar="pageIndex"
                            styleClass="scroller"
                            paginator="true"
                            paginatorMaxPages="9"
                            paginatorTableClass="paginator"
                            paginatorActiveColumnStyle="font-weight:bold;">
                <f:actionListener type="datasupport.DataScrollerActionListener"/>
                <f:facet name="previous">
                    <t:graphicImage url="images/arrow-previous.gif" border="1" />
                </f:facet>
                <f:facet name="next">
                    <t:graphicImage url="images/arrow-next.gif" border="1" />
                </f:facet>
            </t:dataScroller> Faces-config.xml has:
            <default-render-kit-id>org.apache.myfaces.trinidad.core</default-render-kit-id>Am I missing something?
    I will appreciate any help.
    Irina

    It is a runtime problem
    And it also exists in TP4
    Tomahawk 1.1.6 does work with JSF 1.2
    I removed
    <default-render-kit-id>org.apache.myfaces.trinidad.core</default-render-
    kit-id>line from the Faces-config.xml.
    Table scrolling works, but
    other component do not render, for example <dvt:graph>
    Also when ADF is added to the page
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces/rich" prefix="af"%>faces-config.xml is auto changed to
    <default-render-kit-id>oracle.adf.rich</default-render-kit-id>and <dvt:graph> will disappear at runtime.
    Thank you,
    Irina.
    PS. both TR3 and TR4

Maybe you are looking for

  • Using a pc formatted ipod on a mac

    The thing is i want to pass some of my music to one friend of mine and he has a 5th generation ipod(pc formatted).can he connect his ipod in my mac, do the whole thing without format it to mac and then use his ipod again with a pc?(i'm asking this be

  • How do I link a new printer to my MacBook pro

    I would like to add a kodak esp series 5250 to my MacBook Pro via WiFi. How do I do it?

  • Can't get sound on a movie purchased from apple tv

    Hi , can't get sound on a film from apple just purchased ? John

  • Changing audio track

    i am having problems changing tracks on my ipod classic 80gig,if a track is playing and i go to another track and press the centre button to play the new track it just carries on with the track that was playing,any help would be great. jonx

  • Storage unit number

    Hello, I've activated storage unit management in my Warehouse, but i can't see storage unit number in the storage bin. I've customized number range for the warehouse: But i can't see it in the storage bin: Could you please advise, what else i have to