Visual Web JSF and Java Script problem

Hi i am using Visual Web JSF for development in my project. AJAX to update data from server when users enters data in one text box its an chat application. i am getting data from server but unable to update my <webuijsf:textarea> component with the new data on my chat page ... I am facing another problem in java script that it is not accepting relational operators (< . >) in JSF Application.... i am attaching some code here for reference...result =http.responseText.split(","); /// this is the response text from AJAX based call
var obj=document.getElementById('form1:chatter_box'); /// this text area is to be updated...
var txt=document.createTextNode(http.responseText);
///document.getElementById('form1:chatter_box').innerHTML = txt;
for(i=0;i < size;i++){
var txt1=document.createTextNode(result);
obj.appendChild(txt1);

Try changing onclick to onClick and try...
regards
shanu

Similar Messages

  • Visual Web JSF Portlet Upload file Problem in Websynergy

    Hello,
    I am using Websynergy milestone 3 release. I have tried to build AS A PORTLET the sample code, "Uploading Files in NetBeans Visual Web JSF Applications" (http://www.netbeans.org/kb/60/web/intro.html) using netbeans 6.5. The solution deploys successfully but unfortunately, the file Upload control does not work in the websynergy portlet environment. No file seems to be uploaded. The same code works very well in non-portlet environment. Is there a work-around for the Portlet environment?
    Looking forward to some help!
    Pius

    Hello,
    I am using Websynergy milestone 3 release. I have tried to build AS A PORTLET the sample code, "Uploading Files in NetBeans Visual Web JSF Applications" (http://www.netbeans.org/kb/60/web/intro.html) using netbeans 6.5. The solution deploys successfully but unfortunately, the file Upload control does not work in the websynergy portlet environment. No file seems to be uploaded. The same code works very well in non-portlet environment. Is there a work-around for the Portlet environment?
    Looking forward to some help!
    Pius

  • Struts html:button and java script problem

    Given code gives an error "equal symbol expected" what may be the error
    <html:button property="back1"
                   onclick="forwardToPreviousPage('<%=(String)session.getAttribute("projectId")%>')">Back</html:button>

    Try changing onclick to onClick and try...
    regards
    shanu

  • How to make and start a session on Visual web JSF

    Hi;
    I am trying to make a Session on Visual Web JSF but cant get it, just get code to jsp, plz could u help me :)
    Thanks on advace
    Miguel Villalobos.

    Pondini wrote:
    Just why do you want to prevent TM from deleting old backups? If it's because you've been deleting things from your internal HD, trusting TM to keep it's copies indefinitely, that's not a good idea.
    The reason is, TM's copies are no longer backups: now they're your originals. When (not if) your TM drive fails, you may lose all of them.
    Thank you for your input. As I wrote earlier, I have reformatted the internal HD and reinstalled a "blank" system. So yes, most files, documents etc. are now found only in the TM backup. One reason for not simply doing a full restore from the TM backup was to allow time to make sure the internal HD was not in fact failing, and being able to reintroduce things step by step in case the problem should materialize again.
    The whole point of wanting to keep the existing TM backup as-is is to make it be there "indefinitely". That doesn't mean I trust the external HD to keep it safe for all eternity, but as long as I am trusting it to back up my stuff, why not let it keep my old stuff as well? Although, admittedly, it is space consuming and the important stuff will be present in both the old and the new backup, once I get it running. Old backup > iMac > New backup. You should see how many papers I have in my shelves from years back

  • Using facelets and Visual web jsf frameworks together

    I am developing a new jsf application and I wanted to make the page navigation simpler like making the content pages independently using woodstock components and including them in the main template page.
    I have downloaded Facelets support plugin for netbeans and installed it. I have created a new project using the wizard and i specified the two (facelets and visual web jsf) as frameworks for use. But I failed to leverage my application with facelets because I don't know how to use woodstock components with facelets.
    I am new to jsf and i want the woodstock visual components. Can't I use facelets then?
    Plz help.

    I managed to find a workaround. Thought i should share it with those who are faced with a similar issue.
    I found that a bug report had been placed in the past with Apache Dev. However, they had said that they would not modify their logic because the servlet container spec requires it (even though isapi_redirector is only a connector and not a container). They said that there is no way for the isapi_redirector to differentiate between /foo/WEB-INF when foo is a context and when foo is just a sub-directory of the ROOT web application. So, the general consensus was to err on the side of safety and risk blocking a few requests that are valid.
    However, this causes a serious issue for those using NetBeans JSF Visual Web Projects. Hence, I created my own flavour of isapi_redirector by modifying the code such that this check is not performed and leaving the onus of checking on Tomcat.
    For those who are interested, the simplest way to go about this would be to force the function uri_is_web_inf (in jk_isapi_plugin.c ) to always return FALSE.

  • Visual Web JSF web app unable to render. The theme tries to access META-INF

    Hi,
    BACKGROUND: I have created a Netbeans 6 Visual Web Project using the default Visual Web JSF Theme. My web application can be viewed properly and correctly when i deploy it on tomcat 6.
    ARCHITECTURE: Our server configuration requires IIS to be our web server and tomcat to be our app server. Both are running on different machines. I have successfully linked up IIS 6 and tomcat 6 using the JK isapi_redirector.
    PROBLEM: However, when i connect to my app via IIS, my starting page opens but the input box components on that page are not displayed and i get several javascript errors that read - 'dojo is undefined' and 'webui is undefined'.
    PROBLEM DETAILS: I found that the page being served had a lot of files being requested from a META-INF folder. I have attached a snippet here.
    <!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:wairole="http://www.w3.org/2005/01/wai-rdf/GUIRoleTaxonomy#" xmlns:waistate="http://www.w3.org/2005/07/aaa">
    <head>
    <title></title><link rel="stylesheet" type="text/css" href="/BMC/theme/com/sun/webui/jsf/suntheme4_1_1/css/css_master-all.css" /><link rel="stylesheet" type="text/css" href="/BMC/theme/com/sun/webui/jsf/suntheme4_1_1/css/ie.css" /><script type="text/javascript">var djConfig={"parseOnLoad":false,"isDebug":false}</script><script type="text/javascript" src="/BMC/theme/META-INF/json2_0/json.js"></script><script type="text/javascript" src="/BMC/theme/META-INF/prototype1_5/prototype.js"></script><script type="text/javascript" src="/BMC/theme/META-INF/com_sun_faces_ajax.js"></script><script type="text/javascript" src="/BMC/theme/META-INF/dojo1_0_1/dojo/dojo.js"></script><script type="text/javascript" src="/BMC/theme/META-INF/dojo1_0_1/dijit/dijit.js"></script><script type="text/javascript">dojo.registerModulePath("webui.suntheme", "/BMC/theme/com/sun/webui/jsf/suntheme4_1_1/javascript");</script><script type="text/javascript" src="/BMC/theme/com/sun/webui/jsf/suntheme4_1_1/javascript/webui-jsfx.js"></script><script type="text/javascript">webui.suntheme.bootstrap.init({"debug":false,"theme":{"locale":"en-US","prefix":"/BMC/theme","modulePath":"/com/sun/webui/jsf/suntheme4_1_1/javascript/theme","bundle":"suntheme","module":"webui.suntheme.theme"}});</script><link id="link1" rel="stylesheet" type="text/css" href="/BMC/resources/stylesheet.css" />I think the JK isapi_connector in IIS is preventing access to the META-INF path and the isapi_director log file says - "*+[emerg] HttpFilterProc::jk_isapi_plugin.c (1282): [BMC/theme/META-INF/json2_0/json.js] points to the web-inf or meta-inf directory. Somebody tries to hack into the site!!!+*". The same message is repeated for several more javascript files that are being served from under the META-INF path.
    Any help or advice in this matter will be greatly appreciated.
    Thanks!!!

    I managed to find a workaround. Thought i should share it with those who are faced with a similar issue.
    I found that a bug report had been placed in the past with Apache Dev. However, they had said that they would not modify their logic because the servlet container spec requires it (even though isapi_redirector is only a connector and not a container). They said that there is no way for the isapi_redirector to differentiate between /foo/WEB-INF when foo is a context and when foo is just a sub-directory of the ROOT web application. So, the general consensus was to err on the side of safety and risk blocking a few requests that are valid.
    However, this causes a serious issue for those using NetBeans JSF Visual Web Projects. Hence, I created my own flavour of isapi_redirector by modifying the code such that this check is not performed and leaving the onus of checking on Tomcat.
    For those who are interested, the simplest way to go about this would be to force the function uri_is_web_inf (in jk_isapi_plugin.c ) to always return FALSE.

  • Method call before visual web jsf page loads

    Hi All.....
    I have written a method in a java class that accesses the mysql backend db to check if a process is still running. If the process is still running, a JOptionPane is produced informing the user of this and offers an <ok> option(to check the process status again) and a <cancel> option(to redirect the user to the homepage). If the process is completed, I want the page to just load as normal. I want this method to be called before the visual web jsf page loads. I have the method call in the super_init() method of the page and everything seemed to be working fine, the problem I have run into is that if I set the value in the db to show the process is running, the JOptionPane is produced(like it should be), and then if I set the value to show the process has completed and choose <ok> from the pane, the page loads.....this is what I want. Now, after the page loads, if I set the value in the db to show the process is running again, the JOptionPane is produced again right after I apply the changes to the db edit!!!!. I don't know why this is happening. Should I be calling the method from somewhere other the super_init()????? I have tried the method call in the prerender(), preprocess(), and destroy() methods all with the same results.
    Anyone have any ideas on what the problem could be??
    Thanks in advance.
    Silgd

    The Java part of a JSP/Servlet based webapplication runs physically at the server machine.
    Only the HTML/CSS/JS part which is generated by the webapplication and sent to the client physically runs at the client machine.
    JOptionPane is a Java Swing component which thus runs at the server machine. So you as client would only see it when both the server and the client runs at physically the same machine. Which is often only the case in development environment and doesn´t occur in real life! There is normally means of two physically different machines connected through the network/internet.
    To solve your actual problem, look for Ajax poll techniques. To display an alert or confirm dialogue in the client side, you use Javascript for this.

  • Could not get Using JPA Within a Visual Web JSF App Netbeans Tut.to work

    [http://testwww.netbeans.org/kb/60/web/web-jpa.html|http://testwww.netbeans.org/kb/60/web/web-jpa.html]
    Hi All,
    I am having difficulty displaying the content of Users table (Derby sample database) despite having followed all the steps provided in Using Java Persistence API Within a Visual Web JSF Application Netbeans Tutorial (http://testwww.netbeans.org/kb/60/web/web-jpa.html).
    It is uncleard from the instruction in step 3, section Creating a Java Persistence Entity Class Representing the Users Database Table - "The Entity Classes dialog dispalys. The IDE displays the database table name Users, and suggests a class name of Users. (Double click this class name to change it.)", but did not provide detail on what class name should it be changed to.
    I have tried building both TestModelApp (SE) and TestWebApp (Visual Web JSF) on JDK 1.6.13, Netbeans 6.5, Glassfish v2r2 and v3 (Prelude) on Windows XP platform without success.
    Any assistance would be greatly appreciated.
    Thanks,
    Jack

    Well, in real world the average professional Java EE / JSF developer doesn't use Netbeans nor Woodstock. Those are really for low-entry developers with zero technical knowledge who on its turn are often incapable of answering problems of your kind. Your question is also too non-technical and visualized and targeted on the wizards of Netbeans. After all your question is simply Netbeans specific, not JSF specific. If you try to ask it the more technical way (thus, at real source code level), you may have more chance on help.
    With regard to JPA specific issues, it unfortunately doesn't have a dedicated subforum yet here at forums.sun.com. You could try the [EJB forum|http://forums.sun.com/forum.jspa?forumID=13] or the [Java EE SDK|http://forums.sun.com/forum.jspa?forumID=136] forum.

  • Table display in Visual Web JSF (Project woodstock)

    Hi...
    I am trying to display a table(Quota) from a database in Visual Web JSF(project woodstock) and it works fine, as in I am able to run the project and a browser opens up dislaying the page with the date from the table. However when I try to display another table (Booking) from the same database, I am having problems. The page renders with no content(BLANK) in the browser. I am not sure why this is happening as I am using the same technique used to display content from the Quota table.
    This is my jsp code to display the Quota table ( this is the table that loads fine)
    <jsp:root version="2.1" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page"
    xmlns:webuijsf="http://www.sun.com/webui/webuijsf">
        <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
        <f:view>
            <webuijsf:page id="page1">
                <webuijsf:html id="html1">
                    <webuijsf:head id="head1">
                        <webuijsf:link id="link1" url="/resources/stylesheet.css"/>
                    </webuijsf:head>
                    <webuijsf:body id="body1" style="-rave-layout: grid">
                        <webuijsf:form id="form1">
                            <h:panelGrid id="gridPanel1" style="left: 216px; top: 216px; position: absolute">
                                <webuijsf:staticText id="staticText1" style="font-size: large" text="FACILITY"/>
                                <webuijsf:table augmentTitle="false" id="table1" title="Table" width="0">
                                    <webuijsf:tableRowGroup id="tableRowGroup1" rows="5" sourceData="#{SessionBean1.quotaArray}" sourceVar="currentRow">
                                        <webuijsf:tableColumn headerText="allocatedhours" id="tableColumn1" sort="allocatedhours">
                                            <webuijsf:staticText id="staticText2" text="#{currentRow.value['allocatedhours']}"/>
                                        </webuijsf:tableColumn>
                                        <webuijsf:tableColumn headerText="yearofStudy" id="tableColumn2" sort="yearofStudy">
                                            <webuijsf:staticText id="staticText3" text="#{currentRow.value['yearofStudy']}"/>
                                        </webuijsf:tableColumn>
                                    </webuijsf:tableRowGroup>
                                </webuijsf:table>
                            </h:panelGrid>
                        </webuijsf:form>
                    </webuijsf:body>
                </webuijsf:html>
            </webuijsf:page>
        </f:view>
    </jsp:root>Below is the jsp code to view the Booking table ( I am just getting a blank web page when I run the project with this code).
    <jsp:root version="2.1" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page"
    xmlns:webuijsf="http://www.sun.com/webui/webuijsf">
        <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
        <f:view>
            <webuijsf:page id="page1">
                <webuijsf:html id="html1">
                    <webuijsf:head id="head1">
                        <webuijsf:link id="link1" url="/resources/stylesheet.css"/>
                    </webuijsf:head>
                    <webuijsf:body id="body1" style="-rave-layout: grid">
                        <webuijsf:form id="form1">
                            <h:panelGrid id="gridPanel1" style="left: 216px; top: 216px; position: absolute">
                                <webuijsf:staticText id="staticText1" style="font-size: large" text="FACILITY"/>
                                <webuijsf:table augmentTitle="false" id="table1" title="Table" width="0">
                                    <webuijsf:tableRowGroup id="tableRowGroup1" rows="5" sourceData="#{SessionBean1.bookingArray}" sourceVar="currentRow">
                                        <webuijsf:tableColumn headerText="bookingdate" id="tableColumn1" sort="bookingdate">
                                            <webuijsf:staticText id="staticText2" text="#{currentRow.value['bookingdate']}"/>
                                        </webuijsf:tableColumn>
                                        <webuijsf:tableColumn headerText="bookingendtime" id="tableColumn2" sort="bookingendtime">
                                            <webuijsf:staticText id="staticText3" text="#{currentRow.value['bookingendtime']}"/>
                                        </webuijsf:tableColumn>
                                    </webuijsf:tableRowGroup>
                                </webuijsf:table>
                            </h:panelGrid>
                        </webuijsf:form>
                    </webuijsf:body>
                </webuijsf:html>
            </webuijsf:page>
        </f:view>
    </jsp:root>

    Hi..guys..
    The following is the code from my 'SessionBean1'.java file.
    package com.TestApp.managedbean;
    import com.TestApp.dao.QuotaFacadeLocal;
    import com.TestApp.entity.Quota;
    import com.TestApp.dao.BookingFacadeLocal;
    import com.TestApp.entity.Booking;
    import java.util.List;
    import javax.ejb.EJB;
    import com.sun.rave.web.ui.appbase.AbstractSessionBean;
    import javax.faces.FacesException;
    * <p>Session scope data bean for your application.  Create properties
    *  here to represent cached data that should be made available across
    *  multiple HTTP requests for an individual user.</p>
    * <p>An instance of this class will be created for you automatically,
    * the first time your application evaluates a value binding expression
    * or method binding expression that references a managed bean using
    * this class.</p>
    public class SessionBean1 extends AbstractSessionBean {
        // <editor-fold defaultstate="collapsed" desc="Managed Component Definition">
         * <p>Automatically managed component initialization.  <strong>WARNING:</strong>
         * This method is automatically generated, so any user-specified code inserted
         * here is subject to being replaced.</p>
        private void _init() throws Exception {
        // </editor-fold>
         * <p>Construct a new session data bean instance.</p>
        public SessionBean1() {
        @EJB
         private BookingFacadeLocal bookingDAO;
         private Booking[] bookingArray;
         @EJB
         private QuotaFacadeLocal quotaDAO;
         private Quota[] quotaArray;    
         * <p>This method is called when this bean is initially added to
         * session scope.  Typically, this occurs as a result of evaluating
         * a value binding or method binding expression, which utilizes the
         * managed bean facility to instantiate this bean and store it into
         * session scope.</p>
         * <p>You may customize this method to initialize and cache data values
         * or resources that are required for the lifetime of a particular
         * user session.</p>
        @Override
        public void init() {
            // Perform initializations inherited from our superclass
            super.init();
            // Perform application initialization that must complete
            // *before* managed components are initialized
            // TODO - add your own initialiation code here
            // <editor-fold defaultstate="collapsed" desc="Managed Component Initialization">
            // Initialize automatically managed components
            // *Note* - this logic should NOT be modified
            try {
                _init();
            } catch (Exception e) {
                log("SessionBean1 Initialization Failure", e);
                throw e instanceof FacesException ? (FacesException) e: new FacesException(e);
            // </editor-fold>
            // Perform application initialization that must complete
            // *after* managed components are initialized
            // TODO - add your own initialization code here
         * <p>This method is called when the session containing it is about to be
         * passivated.  Typically, this occurs in a distributed servlet container
         * when the session is about to be transferred to a different
         * container instance, after which the <code>activate()</code> method
         * will be called to indicate that the transfer is complete.</p>
         * <p>You may customize this method to release references to session data
         * or resources that can not be serialized with the session itself.</p>
        @Override
        public void passivate() {
         * <p>This method is called when the session containing it was
         * reactivated.</p>
         * <p>You may customize this method to reacquire references to session
         * data or resources that could not be serialized with the
         * session itself.</p>
        @Override
        public void activate() {
         * <p>This method is called when this bean is removed from
         * session scope.  Typically, this occurs as a result of
         * the session timing out or being terminated by the application.</p>
         * <p>You may customize this method to clean up resources allocated
         * during the execution of the <code>init()</code> method, or
         * at any later time during the lifetime of the application.</p>
        @Override
        public void destroy() {
         * <p>Return a reference to the scoped data bean.</p>
         * @return reference to the scoped data bean
        protected ApplicationBean1 getApplicationBean1() {
            return (ApplicationBean1) getBean("ApplicationBean1");
        public Booking[] getBookingArray() {
             List<Booking> bookingList = bookingDAO.findAll();
             if (bookingList != null) {
                 bookingArray = bookingList.toArray(new Booking[0]);
             } else {
                 bookingArray = null;
             return bookingArray;
        public Quota[] getQuotaArray() {
             List<Quota> quotaList = quotaDAO.findAll();
             if (quotaList != null) {
                 quotaArray = quotaList.toArray(new Quota[0]);
             } else {
                 quotaArray = null;
             return quotaArray;
    }

  • How to use the feature of ajax in visual web jsf

    Hello,everyone!
    I want to use the feature of ajax in visual web jsf,but the program encountered a error. I want refresh the dropdownlist once the javascript captured the refresh message,they both behaved asynchronously. However, the textField1 rendered with a blank box,while the dropDown1 had no change. The code as follows:
    <jsp:root version="2.1" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:webuijsf="http://www.sun.com/webui/webuijsf">
    <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
    <f:view>
    <webuijsf:page binding="#{Page1.page1}" id="page1">
    <webuijsf:html binding="#{Page1.html1}" id="html1">
    <webuijsf:head binding="#{Page1.head1}" id="head1">
    <webuijsf:link binding="#{Page1.link1}" id="link1" url="/resources/stylesheet.css"/>
    <webuijsf:script>
    var processEvents = {                                                
    update: function(props) {
    var combo=document.getElementById("form1:dropDown1");
    combo.refresh();
    // Subscribe to refresh event.
    function refreshme(){
    var dom=document.getElementById("form1:textField1");
    dom.refresh();
    dojo.subscribe(webui.suntheme.widget.textField.event.refresh.endTopic, processEvents, "update");
    </webuijsf:script>
    </webuijsf:head>
    <webuijsf:body binding="#{Page1.body1}" id="body1" style="-rave-layout: grid">
    <webuijsf:form binding="#{Page1.form1}" id="form1">
    <webuijsf:textField binding="#{Page1.textField1}" id="textField1" onBlur="refreshme();"
    style="position: absolute; left: 168px; top: 144px" valueChangeListenerExpression="#{Page1.textField1_processValueChange}"/>
    <webuijsf:textField binding="#{Page1.textField2}" id="textField2" style="left: 168px; top: 96px; position: absolute"/>
    <webuijsf:dropDown binding="#{Page1.dropDown1}" id="dropDown1" items="#{Page1.dropDown1DefaultOptions.options}" style="position: absolute; left: 192px; top: 216px"/>
    </webuijsf:form>
    </webuijsf:body>
    </webuijsf:html>
    </webuijsf:page>
    </f:view>
    </jsp:root>
    /**********************************java******************************************/
    the function textField1_processValueChange didn't been invoked
    public void textField1_processValueChange(ValueChangeEvent event) {
    DropDown dd=getDropDown1();
    Option op1=new Option();
    String addText=(String)getTextField1().getText();
    op1.setLabel(addText);
    op1.setTooltip("tooptip");
    op1.setValue(addText);
    ArrayList <Option> l=null;
    Iterator <Option> i = dd.getListItems();
    while(i.hasNext()){
    l.add(i.next());
    l.add(op1);
    dd.setItems(l);
    thanks In advance all of your replies.

    Hi there,
    Take a look at this, will help you
    http://developers.sun.com/jscreator/learning/tutorials/2/textcompletion.html
    Thanks
    K

  • Yelp is not working properly, and I have been advised to enable cookies and Java Script. I have been trying for 1 hour using suggestions that don't work. Help.

    Someone suggested to go to firefox > options> content > and then there is supposed to be a button that enables Java Script. It is not there. Where did it go, please? The cookies problem I have no idea how to address. Have not gotten past the Java Script problem yet. I have updated Java many, many times in the past couple of months at the suggestion of Avast.

    You can check on the <b>about:config</b> page if the javascript.enabled pref is set to true.
    *http://kb.mozillazine.org/about:config
    You can try basic steps like these in case of issues with web pages:
    Reload web page(s) and bypass the cache to refresh possibly outdated or corrupted files.
    *Hold down the Shift key and left-click the Reload button
    *Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    *Press "Command + Shift + R" (Mac)
    Clear the cache and the cookies from websites that cause problems.
    "Clear the Cache":
    *Firefox/Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Firefox/Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • 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.0 Visual Web Pack and facelets

    Is it current possible to use Netbeans 6.0 Visual Web Pack and facelets and/or Seams?
    If so please point me to some useful resource.

    >
    ...Below is from the Launch tab:>What exactly is a 'launch tab'? Are you talking about some NetBeans window?
    The reason I ask is that the 'JNLP file' shown, is complete rubbish. It is a bunch of symbols pretending to be a JNLP file. The fundamental problem is that it is invalid (and hence it is not the 'JNLP format' it claims to be).
    How any particular Java implementation deals with an invalid JNLP file is quite unpredicatable.*
    Please people, do not just 'presume' that you (or your IDE) can write a valid JNLP file. Instead - validate it against a DTD or XSD.
    After all.. Garbage in, Garbage out!
    * And to the poster who mentioned that adding the first Jar line twice solved the problem. That is a dangerous and fragile kludge. If it works in some specific microversion of Java, it might (probably will) break in the next.
    Edit 1 - Highlit the most major error in that file using 'code' tags. Hopefully that will make the basic problem more obvious..
    <j2se version="1.5+" java-vm-args="-Djava.endorsed.dirs="C:\Program Files (x86)\NetBeans 6.0.1\java1\modules\ext\jaxws21\api" "/>Edited by: AndrewThompson64 on May 21, 2008 9:20 AM
    Edit 2 - Added possible alternatives..
    <j2se version="1.5+" java-vm-args="-Djava.endorsed.dirs='C:\Program Files (x86)\NetBeans 6.0.1\java1\modules\ext\jaxws21\api' "/>
    <j2se version="1.5+" java-vm-args='-Djava.endorsed.dirs="C:\Program Files (x86)\NetBeans 6.0.1\java1\modules\ext\jaxws21\api" '/>The hard coded path, as well as the use of unescaped backslashes (e.g. '\' as opposed to '\\') also looks suspiciously wrong, but since I only deploy off the internet, I am not entirely sure.
    Edited by: AndrewThompson64 on May 21, 2008 9:26 AM

  • OS X Lion - JAVA SCRIPT PROBLEM

    I recently updated from Snow Leopard to OS X Lion. Now I seem to have a JAVA Script problem. Where do I start fixing this issue. I have checked updates etc etc but it seems to be updated. However, when I login to my web site backend, I have a problem. Any advice please?

    Would you please write some more details? explain the problem and what web site backend you use. Thanks.

  • Visual Web JSF: Rendering a checkbox group with some checkboxes preselected

    Dear Sirs and Madams,
    I am a Visual Web JSF newbie and have been humbled by this one issue: I have User value objects which hold a List attribute of what user privileges they have. Am trying to render a checkbox group of user privileges for a chosen user with some user privileges already checked (the ones the user already has), and some not checked (potential privileges to give to the user) for the EditAUsersPrivileges page. Is this even possible? If so, how?
    Profusely thanking you in advance,
    Phoenix

    Of course, use the value attribute of the component and set it to EL representing the desired property.

Maybe you are looking for