JSF Palette in Netbeans 6

Hi ALL,
Im workin' with Netbeans 6.0.1 and Java server Faces (not Visual JSF) and the palette of JSF doesn't has anything, and my question is how to add components into that palette like
<h:form>, <h:panelGrid >,<h:outputText > or do I need a plugin?
Thanks

The ones who regulary answers to topics at this forum are developers who write real code itself and discourages drag'n'drop editors. Besides, the developers who uses drag'n'drop editors doesn't have enough in-depth knowledge of coding to answer an average topic here, so they are absent here.

Similar Messages

  • Palette in netbeans

    Hi to all,
    I am trying to modify the palette in netbeans means i want to put my own items in palette.
    suggest me if anybody knows how to do that.......
    ThankYou

    The ones who regulary answers to topics at this forum are developers who write real code itself and discourages drag'n'drop editors. Besides, the developers who uses drag'n'drop editors doesn't have enough in-depth knowledge of coding to answer an average topic here, so they are absent here.

  • Error while running JSF program in netbeans ide

    Hello guys,
    I was working with JSF on Netbeans 6.1 IDE. but was unable to run the application and got the following error :
    " javax.servlet.exception:PWC 1244: servlet execution threw an exception"
    "java.lang.NoSuchFieldError:IS_UNIT_TEST_MODE".
    However, this error ocurred only with JSF framework projects and not for JSP ones. So, the JSP files are built and run successfully.
    Please help me out with this.

    says it all really. You're trying to access something that doesn't exist, either explicitly or implicitly.
    Don't do that.

  • Display images in rows & columns using dataTable in JSF 2.0, netbeans 6.9.1

    Hi,
    I have to display only images on a web page in JSF2.0 in Netbeans. I am using datatable and column to do so. But there is one problem.
    All images are display only in single column(i.e. vertically). I want to display in rows and columns not only column.
    e.g. One row will have atleast 3 images and more rows like this.
    Which attribute should i use of datatable? or should i use some other tag?
    My code is:
    <h:dataTable var="images"
    value="#{jsfMBean.allImages}"
    rules="none"
    cellpadding="20"
    border="0" >
    <h:column>
    <h:graphicImage value="faces/WEB-INF/upload/#{images.picid}" width="300px" height="100px" />
    </h:column>
    </h:dataTable>
    Thanks.
    NetBeans 6.9.1
    JSF 2.0 with facelets
    glassfish 3.0
    Enterprise java beans
    PrimeFaces 3.0

    I believe you are looking for the panelgrid, not the datatable.
    Note that there are a few useful websites online that list the available JSF tags plus their properties, such as these:
    http://www.horstmann.com/corejsf/jsf-tags.html
    http://www.exadel.com/web/portal/jsftags-guide

  • Can't see visual controls in palette of netbeans 7.1

    I've installed Netbeans 7.1, but when i created a javafx project and open the palette, nothing in it! As it's said in offical website, netbeans 7.1 support drag and drop designing. Is there some setting must be made to enable this feature or some other reasons?

    I've installed Netbeans 7.1, but when i created a javafx project and opened the palette, nothing in it! Javafx script had a palette with components. Javafx2.0 doesn’t have one. Future releases of Javafx will come with this feature. Take a look at http://javafx.com/roadmap/#3
    As it's said on the official website, Netbeans 7.1 supports drag and drop designing. Is there some setting that must be made to enable this feature or some other reasons? You misunderstood this feature. For more info take a look at
    http://download.oracle.com/javafx/2.0/drag_drop/jfxpub-drag_drop.htm

  • Trying to custom JSF created with NetBeans 5.5

    Hello,
    I'm trying to create an enterprise application using JSF new technology. I have find an easy way to do this with NetBeans 5.5 with SJSAS 9.0.
    I have an Apache Derby database connected and configurated with my enterprise application. I have created the Entity Classes from this database. JSF pages from Entity Classes are generated and persistence unit is configured successfully. All this steps had maked using NetBeans methods. I have feel a lot of tutorials and guides.
    When I play the enterprise application, a list of classes appears and you can obtain a list of the objects loaded into database of the selected class. When you have obtained this list of objects, you can create a new object or database row, you can view data of a selected object and finally edit this data.
    OK, now I would like to custom this JSF structure created with NetBeans. For example, I would like to call New.jsp page from any JSF class, from index.jsp. Always this error appears:
    java.lang.IllegalStateException: No FacesContext is available to process this request. This is most likely due to the request being sent to the wrong path.
    The same error I have obtained trying to copy-paste code from a JSF Page generated with NetBeans, the same exception appears only pasting this pice of code:
    <%@page contentType="text/html"%>
    <%@page pageEncoding="UTF-8"%>
    <%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
    <%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>JSP Page</title>
    </head>
    <body>
    <f:view>
    <h1><h:outputText value="JavaServer Faces" /></h1>
    </f:view>
    </body>
    </html>
    A way to solve this exception is using a JSF configuration. I have look for info about JSF configuration but I don't know how to configure faces-config.xml file. It seems is file where are configurated JSF enviroment: converted, managed beans and navigation rules are configurated by NetBeans.
    Could you please help me to custom this JSF NetBeans code?
    Or a tutorial or guide where JSF NetBeans 5.5 code is used with an enterprise application SJSAS 9.0 and a Apache Derby database.
    I have look for any example or possible solution during weeks but, I can't find anything that I can use to custom NetBeans code. All examples are too basic and never use an enterprise application.
    Thank you a lot!
    Kind regards,
    Ricard

    Thank you for reply.
    The web.xml configuration file is configured by NetBeans:
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
    <context-param>
    <param-name>com.sun.faces.verifyObjects</param-name>
    <param-value>false</param-value>
    </context-param>
    <context-param>
    <param-name>com.sun.faces.validateXml</param-name>
    <param-value>true</param-value>
    </context-param>
    <context-param>
    <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
    <param-value>client</param-value>
    </context-param>
    <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>
    <session-config>
    <session-timeout>
    30
    </session-timeout>
    </session-config>
    <welcome-file-list>
         <welcome-file>
    index.jsp
    </welcome-file>
    </welcome-file-list>
    </web-app>
    I think all info in the first post is necessary to explain my problem.
    Thank you to offer me a solution but, I don't understand you and I think there is no solution for my question:
    I would like to create a JSP like New.jsp created by NetBeans using JSF but, I won't to use New.jsp. How I can configure my enterprise application to use this new file?
    I'm sorry for my english, I explain better I know.
    Anyone understand my question? May you offer an example or guide or tutorial about this?
    Thank you!

  • New Swing Component for Swing Palette in NetBeans

    Hi guys,
    I want to write a new Swing component (Bean) for drawing vertical and horizontal lines to use with netBeans GUI designer.
    Could anyone direct me to a tutorial
    thanks in advance

    JTextcomponent.

  • Which Way To Go? (ADF with Netbeans?, Glassfish in JDeveloper?)

    Hi there,
    I am new to the "Java for Web" branch - though I'm not that new to Java and J2EE itself. So far I've always used PHP for Web-stuff
    I have to write a Web Application (using Java EE 5 as backend) in JSF. Nothing too fancy - just a statistics tool (grabing data from the JPA-Entities, and displaying it in nice-looking charts)
    My problem is that I'm not really sure which way to go, since I have hardly any experience in this field (I did some JSP/Servlet stuff a while ago, but it was really painful)
    The application server is Glassfish V2 (SJSAS 9.1), database is Oracle 10g. Since I've used Netbeans for most of my Java stuff, I thought of using it for this project too, but when looking at JSF Implementations/Frameworks, a lot of people seem to like ADF Faces, while the other Implementations/Frameworks (obviously) aren't that great. However I couln't find any way to Integrate ADF in Netbeans (getting the ADF widgets/elements in the toolbox-palette of Netbeans). Using JDeveloper wouldn't be that bad (have used it too for some simple Swing-stuff), but I'm not sure on how well I can delploy/debug stuff in JDevelooper using Glassfish. - Is JDeveloper Java EE 5/EJB 3.0 ready? EJB 3.0 seems ok, but I tried creating a JSF Page, and I could only create one in Java EE 1.4 (JDeveloper version 10.1.3.2.0)
    I also had a look at PHP-like stuff in JSP/Servlets (like Phobos or Quercus), but they didn't seem to work that great :\
    Any ideas on how to approach this best?
    Thanks!

    Tim,
    Is JDeveloper Java EE 5/EJB 3.0 ready? EJB 3.0 seems ok, but I tried creating a JSF Page, and I could only create one in Java EE 1.4 (JDeveloper version 10.1.3.2.0)
    JSF support works in Java EE 1.4 and Java EE 5. However, JDeveloper uses JSF 1.1, not JSF 1.2 - which is what we support in JDeveloper 11. In regards to your requirement to create charts, ADF Faces does provide data visualization components in JDeveloper 11 - which currently is in developer preview and freely available on OTN. In JDeveloper 10.1.3 there are no graph components in ADF Faces.
    Since you want to use NetBeans and ADF doesn't work within this IDE I suggest you to have a look at Trinidad. Trinidad is an open source JSF component set originated from the ADF Faces code. Trinidad also has charting capabilities
    http://myfaces.apache.org/trinidad/index.html
    In JDeveloper 11, Trinidad is integrated within the JDeveloper IDE for declarative development with ADF. Not sure though if you find the same level of EJB /JPA support in Netbeans as you do in JDeveloper. However, you pick.
    Frank

  • JSF 2.0 Beta1, simple example, doesn't work, why?

    I made a simple JSF 2.0 NetBeans (Web Application project) example. Only imported library jars are jsf-api.jar and jsf-impl.jar from mojarra-2.0.0-Beta1 release.
    These are files which I added:
    web.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
        http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
        <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>*.xhtml</url-pattern>
        </servlet-mapping>
    </web-app>
    test.xhtml (example from DZone JSF 2.0 RefCard):
    <html xmlns="http://www.w3.org/1999/xhtml"
           xmlns:f="http://java.sun.com/jsf/core"
           xmlns:h="http://java.sun.com/jsf/html"
           xmlns:ui="http://java.sun.com/jsf/facelets">
         <h:head></h:head>
         <h:body>
              <h:form>
                   <h:outputText value="test" />
              </h:form>
         </h:body>
    </html>And that's it. There is no faces-config.xml, as it is not needed. There are no managed beans. JSF and Facelets plugins are disabled.
    When I try to deploy, a get an exception:
    SEVERE: Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
    java.lang.NoClassDefFoundError: com/sun/facelets/tag/jsf/ComponentHandler
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
         at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1850)
         at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:890)
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1354)
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
         at com.sun.faces.util.Util.loadClass(Util.java:200)
         at com.sun.faces.config.processor.AbstractConfigProcessor.loadClass(AbstractConfigProcessor.java:308)
         at com.sun.faces.config.processor.FaceletTaglibConfigProcessor.processComponent(FaceletTaglibConfigProcessor.java:523)
         at com.sun.faces.config.processor.FaceletTaglibConfigProcessor.processTags(FaceletTaglibConfigProcessor.java:358)
         at com.sun.faces.config.processor.FaceletTaglibConfigProcessor.processTagLibrary(FaceletTaglibConfigProcessor.java:311)
         at com.sun.faces.config.processor.FaceletTaglibConfigProcessor.process(FaceletTaglibConfigProcessor.java:260)
         at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:312)
         at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:210)
         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3934)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4429)
         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)
         at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:630)
         at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:556)
         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:491)
         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1206)
         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:314)
         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
         at org.apache.catalina.core.StandardService.start(StandardService.java:516)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
    Caused by: java.lang.ClassNotFoundException: com.sun.facelets.tag.jsf.ComponentHandler
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
    ... 39 moreI tried NetBeans versions: 6.5.1, 6.7-RC3 and 200906261401 Build. Tried with latest Apache-Tomcat and JBoss. It's all the same.
    What is the problem? Why it seeks for a facelets com.sun.faces.config.ConfigureListener, from conventional standalone facelets library? Shouldn't it use facelets classes from JSF 2.0 library?
    I tried to add facelets-1.1.15.B1 jar into project, just to see what happens, and the same exception is thrown ...
    Please help!

    It's because somewhere on your classpath there is a facelet-taglib.xml that's referencing Facelet 1.1.x classes which aren't present.

  • JSF 2.0 and javascript function

    I am using jsf 2.0, NetBeans 7.2 and WLS 12c.
    In JSF page I am callling a js script function and on submit it should invoking the backing beans method.
    <h:commandButton id="btnUpload" value="Login" onclick="showProgress(); return false;" action="#{login.dologin}" />
    Because return false is used it invokes the js function but does not do the invoke the method specified in the action attribute. instead i get new window which is a duplicate of the current.
    If js method is not there it invokes the action method.

    If js method is not there it invokes the action method.So try with the JS function there, but without the return false ?

  • Migration to NetBeans Visual WebPack doesnt really work

    Hi Guys,
    i was following migration tutorial to NetBeans Visual Web Pack from
    http://www.netbeans.org/kb/55/vwp-migration.html
    but apparenlly some of pages didnt work in the runtime
    and i realized some of jar files have different size example : between jsf-api in creator and jsf-api in netbeans?
    What i did after i compile successfully i replaced all the jar files in WEB-INF/lib with jar files i backup previo.
    Did anyone encounter this before?
    I believe the migration will work smoothly for simple project without many features
    Thanks

    These forums support the Java language, not NetBeans (or any other IDE). If you can't find a matching addon, change to the 5.5 version - or ask this question at the NB site.

  • Query regarding Javascript in Visual Web JSF

    Hi,
    I am learning to use Visual web JSF using IDE Netbeans 6.5. I have a doubt regarding using Javascript in the .jsp file. Whenever I use document.getElementById("component-ID").value, I got an error as "component-ID has no properties". It returns null.
    Can any one tell me how to handle getElementId()? Or there are any other way to handle javascript in visual web JSF?
    Thanks.

    Thanks for the quick reply. I have seen the generated HTML. The component say 'txtPId' is referred as '_form1:txtPId'. So I have tried the following code:
        function setFocusOnFirst() {      
                       var xyz = document.getElementById('_form1:txtPId');
                       xyz.focus();
       <webuijsf:button binding="#{Page3.btnClick}" id="btnClick" style="height: 48px; left: 719px; top: 192px; position: absolute; width: 192px"   text="Click" onClick="setFocusOnFirst()"/>But it's not working. Should I do it in this way? Please guide.
    Thanks.

  • JSF - Why getting wrong path Handling URLs in Facelets Templates

    Hi, I am trying to do a web application using JSF, Facelets in Netbeans 6.7. but I am having a problem:
    Why I am getting wrong path ?
    It is very simple, straight forward web application.
    When run, it shows the template-client.xhtml perfectly . The navigation menu is shows ok, but they don't work. However, if I enter in the browser address http://localhost:8080/test3/portal/products.jsf it goes perfect to the right page and the navigation between About, Products and Home works perfect. But once I click on Home, the menu start to give me errors. Looks like the path is wrong again.
    folders structure:
    test3My code:
    faces-config.xml:
    <?xml version='1.0' encoding='UTF-8'?>
    <!-- =========== FULL CONFIGURATION FILE ================================== -->
    <faces-config version="1.2"
        xmlns="http://java.sun.com/xml/ns/javaee"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd">
        <application>
            <view-handler>
                com.sun.facelets.FaceletViewHandler
            </view-handler>   
        </application>
    </faces-config>web.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
        <context-param>
            <param-name>com.sun.faces.verifyObjects</param-name>
            <param-value>true</param-value>
        </context-param>
        <context-param>
            <param-name>com.sun.faces.validateXml</param-name>
            <param-value>true</param-value>
        </context-param>
        <context-param>
            <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
            <param-value>.xhtml</param-value>
        </context-param>
        <context-param>
            <param-name>facelets.DEVELOPMENT</param-name>
            <param-value>false</param-value>
        </context-param>
        <context-param>
            <param-name>facelets.SKIP_COMMENTS</param-name>
            <param-value>true</param-value>
        </context-param>
        <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>*.jsf</url-pattern>
        </servlet-mapping>
        <session-config>
            <session-timeout>
                30
            </session-timeout>
        </session-config>
        <welcome-file-list>
            <welcome-file>forward.jsp</welcome-file>
            </welcome-file-list>
        </web-app>forward.jsp:
    <%@page contentType="text/html" pageEncoding="UTF-8"%>
    <jsp:forward page="template-client.jsf"/>template-client.xhtml:
    <?xml version='1.0' encoding='UTF-8' ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"
          xmlns:ui="http://java.sun.com/jsf/facelets"
          xmlns:h="http://java.sun.com/jsf/html">
        <body>
            This text above will not be displayed.
            <ui:composition template="/template.xhtml">
                This text will not be displayed.
                <ui:define name="title">
                    Facelets
                </ui:define>
                This text will also not be displayed.
                <ui:define name="body">
                    Hello from the Facelets client template!
                </ui:define>
                This text will not be displayed.
            </ui:composition>
            This text below will also not be displayed.
        </body>
    </html>template.xhtml:
    <?xml version='1.0' encoding='UTF-8' ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"
          xmlns:ui="http://java.sun.com/jsf/facelets"
          xmlns:ice="http://www.icesoft.com/icefaces/component">
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
            <title>Facelets - Template Example</title>
            <link href="#{facesContext.externalContext.requestContextPath}/css/default.css" rel="stylesheet" type="text/css" />
        </head>
        <body>
            <div id="menu">
                <ui:insert name="linemenu">
                    <ul>
                        <li><a href="../forward.jsp">Home</a></li>
                        <li><a href="about.jsf">About Us</a></li>
                        <li><a href="products.jsf">Products</a></li>
                    </ul>
                </ui:insert>
            </div>
            <div>
            <h1>
                <ui:insert name="title">Default Title</ui:insert>
            </h1>
            <p>
                <ui:insert name="body">Default Body</ui:insert>
            </p>
            </div>
        </body>
    </html>about.xhtml:
    <?xml version='1.0' encoding='UTF-8' ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"
          xmlns:ui="http://java.sun.com/jsf/facelets">
        <body>
            <ui:composition template="./../template.xhtml">
                <ui:define name="title">
                    title ABOUT
                </ui:define>
                <ui:define name="body">
                    body ABOUT
                </ui:define>
            </ui:composition>
        </body>
    </html>products.xhtml:
    <?xml version='1.0' encoding='UTF-8' ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"
          xmlns:ui="http://java.sun.com/jsf/facelets">
        <body>
            <ui:composition template="./../template.xhtml">
                <ui:define name="title">
                    title PRODUCTS
                </ui:define>
                <ui:define name="body">
                    body PRODUCTS
                </ui:define>
            </ui:composition>
        </body>
    </html>

    My folders:
    Test3
         Web Pages
              /WEB-INF
              /css
                  -default.css
              /layouts
              /portal
                  -about.xhtml
                  -products.xhtml
              -forward.jsp
              -template.xhtml
              -template-client.xhtmlPlease, I need help with this. It may is very easy to find out, I maybe skiping something
    Thank for your help anyone!!!

  • How to handle left-right navigation in visual web jsf?

    I am developing a new application using visual web jsf woodstock in netbeans and components. Tab works fine for top level navigation. Is there any solution for left-right navigation? I wanted tree but each node has a link to a very new page. How can i handle left right naviagtion the same way tab does, content loads on the same page.

    I don't know exactly how the tabs do it, but I suspect it is one of the following two methods. First method, all of the content of each tab is steamed in the original request and activating the tab controls just use JS/DHTML to hide some content and show the correct content. The second method would be to use AJAX style requests when the tab is activated to get the new content from the server and then JS/DHTML to show it.
    If you tree is large, you will not want to use the first method. If you use the second method, consider a JSF-aware AJAX library like a4j.
    On a side note, Woodstock is probably not the best choice for a new project, as it is no longer being actively developed (see [https://woodstock.dev.java.net/index.html|https://woodstock.dev.java.net/index.html]).

  • NetBeans 6.1----Woodstock component : Bubble Help

    Hi All,
    I recently came across the new Woodstock component : Bubble help.
    I have used it in the Onclick event of an image hyperlink which is in a table Column.
    Now if i select the image hyperlink in first row of the table, the bubble appears half and the other half is hidden inside the table header.
    Can anyone suggest me how to fix the bubble to the center of the page or how to make it visible completely even if we scroll to last row of the table.
    thanks
    Madhu
    Edited by: MadhuSudhir on Nov 26, 2008 6:05 AM

    Your question is not specific to JSF, but to Netbeans/Woodstock. In the years I walk around here, I haven't seen a drag'n'dropper around who has above average knowledge of the tools used. Try a forum/mailinglist devoted to the tool in question.

Maybe you are looking for