About odc:tabbedPanel in Websphere 5.1.2

Hi,
We are using the IBM Websphere studio 5.1.2 for JSF, and one of the component for Tabbed panel is
<odc:tabbedPanel>
It displays all the tabs in one row.
Did any of you figure out, how to display table in more than 1 row.
Thank You,
srigold.

Hi,
We are using the IBM Websphere studio 5.1.2 for JSF, and one of the component for Tabbed panel is
<odc:tabbedPanel>
It displays all the tabs in one row.
Did any of you figure out, how to display table in more than 1 row.
Thank You,
srigold.

Similar Messages

  • Using odc:tabbedPanel   : event handling ?

    Hi ,
    I am using <odc:tabbedPanel> for tabs , need some help on event handling when we click on any tab by using <odc:tabbedPanel>
    When tan is getting loaded want to do some server side coding , Any body has any idea on this ?
    Thanks,
    ....

    Hi BalusC,
    Little more details
    I am using <odc:tabbedPanel> it has two tabs(Select tools , Change order ) , The first tab contains list of check boxes(<h:selectBooleanCheckbox ) , the second tab contains list box(<h:selectOneListbox) , it has all checked values from the first tab.
    If I select/deselcet any checkbox from the first tab with out submitting , the same values needs to be shared to the second tab . based on this user can save/cancel his preferences..
    So I need to do some action when Iclick on second tab , I don't see any action/valuchanged event on <odc:bfPanel> .
    Can you please let me know how this can be achieved.
    Thanks in advance...

  • Tab Selection on odc:TabbedPanel

    Hi All,
    I have jsp with 4 panels in the tabbed panel.. Have got a single <h:form> tab for all panels. Each panel has 2 command buttons.
    Whenever i click a command button on tab 4 .. control comes to the tabl.which i donot want. i want the control to remain in tab 4 itself...
    I tried the solution of including separate form tags for each panel and then set a value in the backing to identify which form is submitted and then hade the below code on jsp
       <f:verbatim>
                                <script>
                                    panel = ODCRegistry.getClientControl('tabbedPanel1');
                                    panel.restoreUIState('bfpanelForm' +
                                        </f:verbatim><h:outputText value="#{masterPublList.submittedForm}"/><f:verbatim>);
                                </script>
    </f:verbatim>..default value of the submittedForm is tab1. but when the tabbed panel is rendered, nothing is selected. and even i click the a btn on tab 4 the control comes to tab 1.. so the solution doesnot seem to work.
    Can anyone help me on this issuse

    The ODC tabbedpanel component in RAD7 should have an option to maintain the tab selected. I don't run RAD6/7 and this was told me so, so I'm sorry I that can't tell you which option exactly it is. I recommend you to just read it's documentation.
    If you're really stuck in it, I recommend you to use the Venkman Javascript Debugger extension to debug the JS involved in maintaining the tab selection. This way I'd found out this hack which is specific for the ODC component as is in WSAD 5.x. The article in http://balusc.xs4all.nl/srv/dev-jep-tab.html also states that it is WSAD 5.x specific.

  • I'm getting crazy! I can't add a simple odc:tabbedPanel

    I create a new JSF page, without templates and anything special... I drag & drop a <odc:tabbedPanel>, and when I try to view the page... Crash!!!!
    I have this error...
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:254)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
         at com.ibm.faces.context.MultipartExternalContextImpl.dispatch(MultipartExternalContextImpl.java:320)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:142)
         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 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:193)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:549)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:589)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:666)
         at java.lang.Thread.run(Thread.java:534)
    root cause
    javax.servlet.ServletException
         at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:531)
         at org.apache.jsp.ListaFlota2_jsp._jspService(ListaFlota2_jsp.java:94)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
         at com.ibm.faces.context.MultipartExternalContextImpl.dispatch(MultipartExternalContextImpl.java:320)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:142)
         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 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:193)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:549)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:589)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:666)
         at java.lang.Thread.run(Thread.java:534)

    Make sure you copy the entire folder structure from your camera memory card to your hard drive.  Don't try to edit from the card.
    Make sure you store your media on a separate physical hard disk from your system disk.
    Make sure there is enough room on your system disk or your media disk to store the cache and preview files that Pr generates.  Even if there is enough room on your system disk, I recommend moving those files to another hard disk.
    Go to Edit>Preferences>Media and click the Clean button to remove your unused cache files and database entries.
    Jeff

  • JSF tabbedPanel - nagivation by javascript?

    Hello all,
    I have got a tabbed panel which contains few static tabs, and few dynamic tabs. Users can add/remove those dynamic ones.
    I had a problem when users click on a link (command button link) on those dynamic one and jump to another page, when they come back, the tabbed panel will show the first tab by default. It means that it wouldn't remember the last used tab, and users have to click on the tab they were working on again, quite annoying.
    Is there anyway (javascript maybe?) so i can contron the selection of the tab on the tabbed panel?
    Many Thanks!
    Art.

    Try
    <f:verbatim>
         <script>
              panel = ODCRegistry.getClientControl('tabbedPanel1');
              panel.restoreUIState('bfpanel1');
         </script>
    </f:verbatim>Where tabbedPanel1 and bfpanel1 are the ID's assigned to odc:tabbedPanel and odc:bfpanel respectively. Of course you can surround the panel.restoreUIState by a if/else/switch statement determine which tab have to be shown. For example:
    <f:verbatim>
         <script>
              panel = ODCRegistry.getClientControl('tabbedPanel1');
              if (</f:verbatim><h:outputText value="#{MyBean.form1Submitted}"/><f:verbatim>) {
              panel.restoreUIState('bfpanel1');
         </script>
    </f:verbatim>And in the MyBean.java:
    public boolean isForm1Submitted {
         if (.....) return true;
         return false;
    }

  • Migrating from Oracle Application Server or WebSphere to WebLogic Server

    Does anyone know of any documentation about migrating applications from WebSphere 6.1 or OAS 10.1.3.3 to WebLogic 10.3tp? I found some old (circa 2005) documents, but I doubt they will help much.
    Thanks,
    Leona

    Please refer to the following url:
    http://www.sun.com/migration/sunonetools.html
    This should give u a head start on what needs to be done and how,. WIth respect to webserver , i guess you can use it or leave it depending on the architecture you require to deploy your solution.
    Hope this helps !

  • Websphere Classloader in clustered singleton design.

    Hi,
         I am evaluting about cache management in clustered J2EE environment with singleton pattern using your product Tangosol.I need some clarification about the classloader in websphere clusters. Does Tangosol assure the state integrity of an object across classloaders., meaning an application can contain many jars inturn they may have their own classloaders. When two classes from different jars tries to access a singleton object, does they own their "copy of the instance of singleton object and state" or "different instance but share the same state".
         My requirement is simple i am not bothered about the mutiple instance but the state.We want to have same state across classloaders.
         Does your product support this feature across j2EE clustered Applications also??
         I am starter and just digging into your online documents .
         Thanks
         skumar

    IBM WS 5 does support in-memory replication for HTTP sessions using the technology from the Griffon project (JMS-based). If that is all you need, then the built-in IBM implementation will probably be sufficient. We don't comment on comparisons of scalable performance or anything like that, because IBM has been an excellent and supportive partner, and we would rather not be competing directly against them ;) ....
         Coherence provides a number of capabilities that can really help make your WebSphere application shine (or any J2EE application for that matter):
         1. Portability between application servers and versions of application servers -- including WebSphere back to 3.5.x.
         2. Peer-to-peer clustering that allows any number of WebSphere servers (and non-WebSphere processes, such as stand-alone Java processes and batches) to share data and concurrency control information.
         3. Transactional caching -- transactional controls for data that you are manipulating in the cache.
         4. In addition to replicated caching, which Coherence is well known for, it also supports automatically partitioned caching -- each server in the cluster adds more cache storage resources, so the cache is the sum of the servers (much different than "replicated" caching).
         5. Full, instant and automatic failover and failback for all types of caches.
         6. Read-through, write-through and write-behind caching that allows the cache to sit in front of a JDBC datasource, a mainframe data source, or to use a connector architecture.
         7. Distributed query support, supporting cluster-wide resources to be used to search for data in the cache using any custom filter approach you desire, including X/Path or RegEx or relational operators ... plus support for declarative indexing and cost-based optimizations.
         8. Grid computing support, allowing you to invoke agents anywhere on the grid, across WebSphere clones or separate JVMs, with full support for configurable thread pooling, fire & forget, request/response, poll operations, etc.
         9. A simple, elegant and complete API that supports concurrency control, filtering, bulk operations, and is based on the Java collections API (i.e. java.util.Map), which is the basis for the JCache JSR.
         10. Completely XML-configurable deployment, including overflow caching (cache spooling), location transparency, cache servers, etc.
         Additionally, Coherence has unbeatable performance, free developer licenses, published pricing, and (thanks to our partner!) the wonderful "Powered by WebSphere" logo.
         Peace,
         Cameron Purdy
         Tangosol, Inc.
         Coherence: Easily share live data across a cluster!

  • Servlets in Websphere - Please help!!!

    Can anybody please tell me this info
    * Where exactly does Websphere start looking for servlet when url is typed and webpage requested.
    * Any info you know about logs, error logs etc - where should I look for them in Websphere
    * What kind of steps should be taken care of when upgrading Websphere
    * Any book/ website u know that can tell me info about the above things - I just want more info/some basic info about internal stuff in Websphere - not what I see on the console.
    Thanks in Advance.

    * this is like with all J2EE compliant application servers defined in the web.xml. In that file, you define your servlets and a servlet mapping. This servlet mapping is the link between the URL-type and the servlet; eg:
    <web-app id="WebApp_1">
    <display-name>Example</display-name>
    <description>Example servlet</description>
    <servlet id="servletmapping">
    <servlet-name>servletmapping</servlet-name>
    <servlet-class>com.something.MyServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping id="examplemapping">
    <servlet-name>servletmapping</servlet-name>
    <url-pattern>*.myservlet</url-pattern>
    </servlet-mapping>
    </web-app>
    * all logs are located in the ../Webspeher/AppServer/logs folder
    * Upgrading websphere from?
    * It speeks a bit for itself, the best website for this is www.ibm.com/websphere (you can also find some good docs for making j2ee applications using websphere on that url)

  • Websphere Vs WLS

    hi,
    I am trying to find some documenttation about product comparison of
    Websphere Vs Weblogic.
    thankx
    suresh reddy

    1) ClassLoader issues -- too weird to even figure out what WL is tryingto
    accomplish ;-) ... but with a week of almost non-stop debugging we managed
    to find a way to work around the issue until you guys get the next release
    out with some class loader improvements (as mentioned by you or RobW)Our next major release, version 6.0 -- out in the fall, will be having a
    complete rework of class loading. They should make your life a lot easier.
    Our focus here is to make it completely simple.
    We are making some small fixes into version 5.1. I have been told that the
    next service pack (No. 6) will include some fixes for the dreaded class cast
    exceptions. They should help matters somewhat.
    >
    2) Regressions -- every service pack fixes 9 bugs and introduces 1, and I
    need about 7 of the nine fixes and the one regression usually hits a key
    piece of functionality that I use (like authentication in SP4)
    Unfortunately, form based authentication has been a problem in version 5.1.
    We're working to fix that.
    As for the quality of the service packs, we are dedicating more resources
    immediately to make sure that the service packs come out with better
    quality. Of course, please let us know if there are problems -- we want to
    fix them as soon as possible.
    Thanks,
    Michael
    Michael Girdley
    BEA Systems Inc
    "Cameron Purdy" <[email protected]> wrote in message
    news:[email protected]...
    Michael,
    There have only been two major area of frustration for me using WebLogic:
    1) ClassLoader issues -- too weird to even figure out what WL is tryingto
    accomplish ;-) ... but with a week of almost non-stop debugging we managed
    to find a way to work around the issue until you guys get the next release
    out with some class loader improvements (as mentioned by you or RobW)
    2) Regressions -- every service pack fixes 9 bugs and introduces 1, and I
    need about 7 of the nine fixes and the one regression usually hits a key
    piece of functionality that I use (like authentication in SP4)
    Then there is the frustration of trying to develop portable applications,
    but that's its own story.
    Cameron Purdy
    http://www.tangosol.com
    "Michael Girdley" <[email protected]> wrote in message
    news:[email protected]...
    3) BEA and IBM lead the market for a reason -- they have been able to
    deliver working solutions. I must admit that both implementations
    have
    very
    frustrating problems, but the value that they provide far out-weighs
    the
    frustrations.We would like to know what these frustrating problems are. If you have
    specifics, please do take advantage of our developer center and let usknow.
    Check out the "wish" area. The feedback you put there goes directly toall
    of the folks defining the product.
    Thanks,
    Michael
    Michael Girdley
    BEA Systems Inc
    "Cameron Purdy" <[email protected]> wrote in message
    news:[email protected]...
    Start here:
    http://www.flashline.com/components/appservermatrix.jsp
    BEA WebLogic and IBM WebSphere are the market leaders (#1 and #2
    respectively). IBM has not yet released a J2EE version (EJB 1.1 etc.)
    of
    WebSphere, but plans to do so this summer (although I guess the summeris
    now almost over).
    It boils down to this:
    1) If you need EJB 1.1, stick with WebLogic for now.
    2) Try to keep your work portable (and your non-portable workencapsulated)
    in case you have to switch or support multiple platforms.
    3) BEA and IBM lead the market for a reason -- they have been able to
    deliver working solutions. I must admit that both implementations
    have
    very
    frustrating problems, but the value that they provide far out-weighs
    the
    frustrations.
    Cameron Purdy
    http://www.tangosol.com
    "indham inc" <[email protected]> wrote in message
    news:[email protected]...
    hi,
    I am trying to find some documenttation about product comparison of
    Websphere Vs Weblogic.
    thankx
    suresh reddy

  • PDK for Websphere?

    Hello,
    I have read about a "PDK for Websphere" in several presentations now - https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/8948c090-0201-0010-ceab-f2f35730a583 for example. But I could neither found any further information about this PDK nor a download link. Do you know, if SAP has stopped the development and distribution of the PDK for Websphere or did they never release something like this?
    Kind regards, Lars

    Sorry for pushing this thread again to the top of the list, but is there really nobody who knows something about a "PDK for Websphere"? SAP even mentioned it in some presentations, so there must be some information available about it.
    Kind regards, Lars

  • Problem with panelTabbedPane

    My application requires two tabs to be displayed in a single page. Using Tabbed pane am acheiving the same.
    But the problem is that the entire page is getting divided in to two and first tab is displaying in first part and second tab is getting displayed in the second part. The page layout is getting changed when we go for the next tab. And i dont want this to happen i want the two tabs to be side by side. How can we achieve it.
    Here is my code can you please check it.
    <t:panelTabbedPane bgcolor="#FFFFCC" width="50%" align="bottom" border="1" cellspacing="0" cellpadding="0">
    <t:panelTab id="tab1" label="Process 1" rendered="true">
    <h:selectBooleanCheckbox id="testCheckBox"/>
    <h:outputLabel for="testCheckBox" value="A checkbox"/>
    <f:verbatim>
    </f:verbatim>
    <h:inputText id="inp1"/><f:verbatim><br></f:verbatim>
    <h:inputText id="inp2" required="true" />
    <h:inputText id="first"/>
    <h:inputText id="second"/>
    <h:inputText id="third"/>
    <h:message for="inp2" showSummary="false" showDetail="true" />
    </t:panelTab>
    <t:panelTab id="tab3" label="Process 2" rendered="true">
    <t:selectOneRadio id="selectOne">
    <f:selectItem itemValue="0" itemLabel="First Choice" />
    <f:selectItem itemValue="1" itemLabel="Second Choice" />
    </t:selectOneRadio>
    <f:verbatim>
    </f:verbatim>
    <f:verbatim>
    </f:verbatim>
    <h:inputText id="inp3"/><f:verbatim>
    </f:verbatim>
    </t:panelTab>
    <h:commandButton value="Submit" />
    </t:panelTabbedPane>

    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 form in jsf?

    Hi all, i am very new to JSF. I was wondering if it were possible to create a dynamically changing form using only JSF (without java script). Say, i need a tabbed pane that will have tabs added on clicking some button on the screen. If it is possible, does anyone know of a good code sample online? Thank you very much!!

    OK, this was a bad example. Here is another example:
    JSF:<%@taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@taglib uri="http://www.ibm.com/jsf/BrowserFramework" prefix="odc"%>
    <odc:tabbedPanel binding="#{MyBean.tabbedPanel}" />
    <h:form>
         <h:inputText value="#{MyBean.bfPanelId}" />
         <h:inputText value="#{MyBean.bfPanelName}" />
         <h:commandButton value="add" action="#{MyBean.addBfPanel}" />
    </h:form>MyBean.javapackage mypackage;
    import com.ibm.faces.bf.component.html.HtmlBfPanel;
    import com.ibm.faces.bf.component.html.HtmlTabbedPanel;
    public class MyBean {
        // Inits
        HtmlTabbedPanel tabbedPanel = new HtmlTabbedPanel();
        String bfPanelId;
        String bfPanelName;
        // Actions
        public void addBfPanel() {
            HtmlBfPanel bfPanel = new HtmlBfPanel();
            bfPanel.setId(getBfPanelId());
            bfPanel.setName(getBfPanelName());
            getTabbedPanel().getChildren().add(bfPanel);
        // Getters
        public HtmlTabbedPanel getTabbedPanel() {
            return tabbedPanel;       
        public String getBfPanelId() {
            return bfPanelId;
        public String getBfPanelName() {
            return bfPanelName;
        // Setters
        public void setTabbedPanel(HtmlTabbedPanel tabbedPanel) {
            this.tabbedPanel = tabbedPanel;
        public void setBfPanelId(String bfPanelId) {
            this.bfPanelId = bfPanelId;
        public void setBfPanelName(String bfPanelName) {
            this.bfPanelName = bfPanelName;
    }Note that I'm using IBM's odc components. I don't have experience with Tomahawk, but this might give you some insights.

  • 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.

  • Link inside a tabbed panel

    Hi,
    I am working on odc:tabbedPanel in JSF. I have four tabs in it. In one of the tabs, I have links in the second tab which need to href to other pages and should be shown in the same tab. But it gets refreshed and comes to the first tab. Can anyone please help me with this i.e. to retain the same tab going to links.
    I appreciate any help on this.
    Thanks

    good reference - check this out by BalusC - on forcing the tabbed panel
    http://balusc.xs4all.nl/srv/dev-j2p-tab.html

  • ***Dynamically create a new tabbed panel***

    Really Struck on this ....
    Help is greatly appreciated....
    I have got a tabbed panel ,with a Form that has got some list box control's that populate the names.This form is used to send an email or message.I have got
    a check box ,whenever the user checks this ,the exact replica of the one that is present has to be created .This scenario is for multiple submissions.
    code:
    <hx:scriptCollector id="scriptCollector1" preRender="#{pc_SecMsgEntry.onPageLoadBegin}">
                             <BR>
                                  <h:form styleClass="form" id="frmSecMsgEntry">
                                       <odc:tabbedPanel slantActiveRight="4" styleClass="tabbedPanel"
                                            width="800" slantInactiveRight="4" height="375"
                                            variableTabLength="false" showBackNextButton="false"
                                            showTabs="true" id="tabbedPanelMessageEntry">
                                            <odc:bfPanel id="bfpanel1" name="Message Entry"
                                                 showFinishCancelButton="false">
                                       <TABLE width="792">
                                            <TBODY>
                                                 <TR >
                                                      <TD width="215" height="28"><h:selectOneListbox
                                                                     styleClass="selectOneListbox" id="listbox1" size="1"
                                                                     style="width: 220px" value="#{secSelectHelper.securityID}" onchange="submit();">
                                                                     <f:selectItems
                                                                          value="#{secSelectHelper.securityProfileItems}" />
                                                                </h:selectOneListbox></TD>
                                                      <TD width="51" height="28"><FONT face="Arial">          </TD>
                                                      <TD height="28" width="335" align="right" valign="middle"><FONT face="Arial">     <h:selectBooleanCheckbox
                                                                     styleClass="selectBooleanCheckbox" id="checkbox2" valueChangeListener="#{pc_SecMsgEntry.handleCheckbox2ValueChange}" onclick="submit();"></h:selectBooleanCheckbox></FONT> </TD>
                                                      <TD height="28" width="148"><h:outputText
                                                                     styleClass="outputText" id="txtAdditionalReq" value="Additional Request"></h:outputText></TD>
                                                 </TR>
                                                      <TR >
                                                      <TD width="215" height="20">List Of Users :<BR>
                                                                <h:selectManyListbox styleClass="selectManyListbox"
                                                                     id="lstBoxUsers" size="5" style="width: 250px" value="#{pc_SecMsgEntry.users}">
                                                                     <f:selectItems value="#{secSelectHelper.usersBySecIdItems}" />
                                                                </h:selectManyListbox></TD>
                                                      <TD width="51" height="28" align="center" valign="middle"><FONT face="Arial">          </FONT><BR>
                                                                <hx:commandExButton type="submit" value=">"
                                                                     styleClass="commandExButton" id="btnSingleAdd"
                                                                     style="width: 35px" onclick="return func_2(this, event);"></hx:commandExButton><hx:commandExButton
                                                                     type="submit" value=">>" styleClass="commandExButton"
                                                                     id="btnCompleteAdd" style="width: 35px"></hx:commandExButton><BR>
                                                                <hx:commandExButton type="submit" value="<"
                                                                     styleClass="scommandExButton" id="btnSingleRemove" style="width: 35px"></hx:commandExButton><BR>
                                                                <hx:commandExButton type="submit" value="<<"
                                                                     styleClass="scommandExButton" id="btnCompleteRemove" style="width: 35px"></hx:commandExButton><BR>
                                                      </TD>
                                                      <TD height="28" width="335"><FONT face="Arial">     </FONT>Send To:<BR>
                                                                <h:selectManyListbox styleClass="selectManyListbox"
                                                                     id="lstBoxReceiveUsers" size="5" style="width: 250px"></h:selectManyListbox></TD>
                                                      <TD height="28" width="148">Send Message To:<BR>
                                                                <h:selectManyCheckbox
                                                                     disabledClass="selectManyCheckbox_Disabled"
                                                                     styleClass="selectManyCheckbox" id="checkbox1" layout="pageDirection">
                                                                     <f:selectItem itemValue="Value0" itemLabel="All Users" />
                                                                     <f:selectItem itemValue="Value1" itemLabel="All Brokers" />
                                                                     <f:selectItem itemValue="Value2" itemLabel="All ThirdParty" />
                                                                </h:selectManyCheckbox></TD>
                                                 </TR>
                                                 <TR >
                                                      <TD width="215" height="28"></TD>
                                                      <TD width="51" height="28"><FONT face="Arial">          </TD>
                                                      <TD height="28" width="335"><FONT face="Arial">     </FONT><h:selectOneRadio
                                                                     disabledClass="selectOneRadio_Disabled"
                                                                     styleClass="selectOneRadio" id="radio2"
                                                                     style="width: 350px">
                                                                     <f:selectItem itemValue="Value6" itemLabel="E mail" />
                                                                     <f:selectItem itemValue="Value7" itemLabel="Message" />
                                                                </h:selectOneRadio></TD>
                                                      <TD height="28" width="148"></TD>
                                                 </TR>
                                                 </TBODY>
                                                 </TABLE>
                                            <TABLE width="792">
                                            <TBODY>
                                                 <TR>
                                                      <TD height="20" width="714" align="center" valign="middle"><h:inputTextarea
                                                                     styleClass="inputTextarea" id="textarea1"
                                                                     style="height: 100px; width:775px"></h:inputTextarea></TD>
                                                 </TR>
                                                 <TR>
                                                      <TD height="10" align="center" valign="middle" width="714"><hx:commandExButton type="submit"
                                                                     value="Send" styleClass="commandExButton"
                                                                     id="btnSendMessage" style="width: 60px"></hx:commandExButton> <hx:commandExButton
                                                                     type="submit" value="Clear" styleClass="commandExButton"
                                                                     id="btnResetMessage" style="width: 60px"></hx:commandExButton></TD>
                                                 </TR>
                                                 </TBODY>
                                                 </TABLE>
                                            </odc:bfPanel>
                                            <f:facet name="back">
                                                 <hx:commandExButton type="submit" value="< Back"
                                                      id="tabbedPanel1_back" style="display:none"></hx:commandExButton>
                                            </f:facet>
                                            <f:facet name="next">
                                                 <hx:commandExButton type="submit" value="Next >"
                                                      id="tabbedPanel1_next" style="display:none"></hx:commandExButton>
                                            </f:facet>
                                            <f:facet name="finish">
                                                 <hx:commandExButton type="submit" value="Finish"
                                                      id="tabbedPanel1_finish" style="display:none"></hx:commandExButton>
                                            </f:facet>
                                            <f:facet name="cancel">
                                                 <hx:commandExButton type="submit" value="Cancel"
                                                      id="tabbedPanel1_cancel" style="display:none"></hx:commandExButton>
                                            </f:facet>
                                       </odc:tabbedPanel>
                                  </h:form>
                                  <BR>
                        </hx:scriptCollector>

    Try using a JSP for/while loop with an iterator-count gained from the managed bean to create more bfpanels or tabbedPanels.
    One more suggestion: please use JSF components only. HTML in JSF is not-done. Use panelGrid/panelGroup instead of HTML tables.
    Also note that the FONT tag is deprecated for years. Use CSS instead.

Maybe you are looking for

  • Changing "from" in mail using applescript

    I am trying to send a notification email from script when it reaches a certain point. but i would like the from address to read something like "[email protected]" instead of my email address. here is the code I am using to send the mail to sendTheMai

  • Where to download OAS9i V1.0.2.2 for Linux RedHat RH6.2(kernel 2.2.16 or later) use?

    So that we may better diagnose problems, please provide the following information. - Server name:linux1 - Filename - Date/Time: 2/6/2002 - Browser + Version: Netscape 6 - O/S + Version: Linux RedHat 6.2 (Kernel 2.2.19, glibc 2.1.3) - Error Msg I am a

  • A7-50 doesn't recognize 32GB ADATA SD-Card

    I have bought new Sd Card - ADATA 32GB (10 class) for my Lenovo A7-50 A-3500H Unfortunately tablet doesn't regocnize it. When i put card to SD slot i see notification message "Sd card removed. Insert a new one". This happens almost always when there

  • Unicode Sorting?

    Is there a sorting sequence in Oracle 9i which would give me unicode sorting? Our application needs to provide international support using Oracle as the backend database. Application is written in Java and we are using Data Direct JDBC driver to conn

  • Taskflow Raise event foucs problem

    Hi, We are using Oracle ADF JDeveloper version 11.1.1.4 (released version) for our development. We have used several taskflows / reusable taskflows in our application. For most of the taskflows we have "raised events". However we are facing strange p