NetBeansVWPUserFAQ
NetBeans Visual Web FAQ
This Visual Web User FAQ provides answers to frequently asked questions about using the Visual Web functionality in the NetBeans IDE.
Don't see what you need here? Check the FAQ Index.
Here's How To Add FAQ Entries.
Table of Contents
VWP Components
Visual Web Application
- Where can I find general information about Visual Web Application
- How do I create my own page layout
- How do I create own Page layout plugin
- Where do I down load the Predefined Page Layout module
- Where can I download a Woodstock Theme Builder
- How do I quickly recolour the default theme
- How do I change the default new-page layout from Grid to Flow
- How can I create a web service from wsdl 2.0
Components
- General
- Where can I find a good overview of all the components?
- Where can I find the tutorials for the built in VWP Components?
- Why would I use the immediate setting on components like dropdown?
- How can I include MByte characters in a url used by a component?
- Does the Visual Web Pack support Cut/Copy/Paste functionality with components?
- JSF components reflect styles correctly when set on the component, but not when inherited from the page body. Is there a workaround?
- How can I set locale for VWP components?
- Why do I get 'cannot find symbol' error message while trying to access a component?
- Input Components
- Calendar: How can I prevent the dateFormatPatternHelp from showing at runtime?
- Calendar: How do I extract DAY_OF_MONTH from the Calendar component?
- Calendar: Why do I get Unknown Format error when committing my Calendar value to my DB?
- TextField: How do I change a TextField value when a event occurs?
- TextField: How do I get textField to forget its previous value?
- TextField: How do I set the Top/Left properties of a textField at runtime?
- FileUpload: Why does File Upload component fail when the label property is used?
- FileUpload: How do I use the File Upload component?
- Output Components
- How do I use the page alert component?
- Message Group: How can I force messageGroup to NOT display component errors?
- Action Components
- Button: Why does button component render with incorrect width on IE7?
- Button: How can I disable a button after a user clicks on it?
- Button: How can I reset my form by a button like html reset button?
- Breadcrumb: How can I dynamically generate and add a set of links to a Breadcrumb on my jsf page?
- Hyperlink: How can I configure a hyperlink to download a file?
- Image: Why do my images fail when the url has MBYTE characters in it?
- Layout Components
- Page Fragment: Why can't I drag a page fragment into another component?
- Page Fragment: How can I do a dynamic include of a page fragment?
- Page Fragment: How do I use Virtual Forms within a Page Fragment?
- Page Fragment: How can I use Page fragments to layout a page with header,footer,Nav & body?
- Why do I get com.sun.rave.web.ui.appbase.ApplicationException when including a page fragment?
- TabSet: How do I change the styles of a TabSet?
- Group Panel: How can I dynamically add components to a group panel?
- Grid Panel: How do I add a header and footer facet to grid panel?
- Grid Panel: How can I pad grid panel columns with blanks?
- AJAX Sample Components
- How do I get import component libraries and add them to the Palette?
- Why can't I create a web application in NetBeans 6.x with Ajax Sample Components
- I can use the components of RichFaces (Ajax) integrated with the visual web JSF?
- Table Components
- How do I use POJOs with Table Component
- How do I use JPA with Table component
- How to create a JSF page wich filter a Table?
- How to Configure the Number of Rows displayed in a Table?
- How can I detect which radio button was clicked in a Table?
- How can I determine which checkbox has been checked in a table?
- How would I show multiple columns in a dropdown?
- How can I iterate through a table to create a sum for a column?
- How can I dynamically create a table component?
- How do I make a table work like a multi-column check box?
- How can I set the colors of the text of a particular row or column in a table?
- How can I set a different tooltip for each staticText field in a basic table?
- How do I align numeric keys to the right in a table?
- Is there a way to display a two dimensional array in a table?
- How do I create rowset for table in specific page, not in SessionBean?
- How can I create a table where only one row can be selected?
- How can I show different types of components in a column of a data table?
- Selection Components
- AddRemove: How do I change labels on Add Remove Component's buttons to something else?
- Checkbox: How can I determine which checkbox has been checked in a table?
- Checkbox: How can I report (JasperReport) only the checked rows from a table?
- Dropdown: How can I use a dropdown to navigate to another page?
- Dropdown:How do I set the width of the dropdown?
- Dropdown: How would I populate dropdown with a directory listing?
- Dropdown/Converter: How do I get dropdown to recognize my DateTime converter?
- RadioButtonGroup: How do I display a radioGroup in one row?
- RadioButton: How can I detect which radio button was clicked in a Table?
- How do I get the selected/highlighted values of the AddRemove component from the browser at runtime?
- Standard Components
- Converters and Validators
- Validator: How can I specify an internationalized validator message?
- How do I conditionally validate fields and ignore others on submit?
- Data Providers and Binding
- Using a Postgres DB I drag and drop a table onto a drop down box. The rowset and dataprovider are created, but the binding does not work correctly. It does not list the columns available to choose from. Why is that?
- How can I use a dataProvider to create a basic input form for saving user data?
- Processing and Lifecycle
- Why does my session reinitialize after navigating 20 pages on Internet Explorer 6/7?
- Which should I use - the Form component or Virtual Forms?
- Advanced Topics
- How can I build my own Visual Web Pack components?
- How can I use an applet in Visual Web Pack?
- How do I obtain a client identifier for components that can be used in JavaScript?
- How do I add an applet package to my VWP Web Application?
- Portlets and Portal Servers
Migrating From Previous Versions
- Should I use Sun Java Studio Creator or NetBeans Visual Web Pack?
- Tips for migrating to NetBeans Visual Web 6.0
Database Access
- How to provide my own name for a data source
- How do I remove a data source?
- How could I use Store Procedure in CachedRowSet?
- Database connection errors
- How do I rename a JNDI data source? - John Baker's blog on this topic
- How to resolve data sources (e.g. HTTP 500 error when executing a database application) - John Baker's blog on this topic
- How can I restore the Travel Schema in the sample database?
- How do I enable the sample Travel database for MySQL in NetBeans IDE 6.0?
- Why does my DB2-based web application return deployment errors?
- How can I resolve oracle.sql.TIMESTAMP exceptions?
- Why do data source references disappear when I change them?
- How can I force the IBM DB2 drivers to run as Type 4 when using Sun Java System Application Server/GlassFish?
- How can I access SQL DATE fields using the Oracle JDBC drivers?
- Attempt to connect to remote database on Macintosh gets "SOCKS server has bad version" error. How can I resolve this?
- Will any JDBC driver work with Visual Web projects?
- What are the standard JDBC type conversions for rowsets?
- How can I update a database automatically with databound components?
- How can I obtain the number of rows returned for a rowset?
- Table layout gets confused with same column names on multiple tables. Am I missing something?
- What type of SQL queries are supported by the Query Editor?
- Connecting to the Microsoft SQL Server database using the Instance Name works in the IDE, but fails in the deployed application. What's the workaround?
- Which JDBC drivers are included?
- Why is dataprovider put in page bean by default, while rowset is put in SessionBean?
- Is CachedRowSetDataProvider thread safe?
- How do I use CachedRowSet and CachedRowSetDataProvider?
- How can I enable logging of CachedRowSet statements?
- How can I execute SQL scripts against an existing data connection?
- When to use CachedRowSet, CachedRowSetDataProvider and SQL query?
- When is a CachedRowSet executed?
- What happens in a CachedRowSetDataProvider.refresh()?
- What happens in a CachedRowSetDataProvider.release()?
- What happens in a CachedRowSetDataProvider.close()?
- Using standard comparison operators for Date type in Java DB
- When might I want to create a rowset in the ApplicationBean?
- Is there a visual tool to work with JavaDB (Derby) database - create schema, tables and so on?
- Using Oracle 10g JDBC Drivers
- "How do I track JDBC calls with MySQL?
- How can a Visual Web application delete a row in an Oracle table that has a CLOB column?
Working with Deployment Servers
- How do I start and stop the deployment server?
- How do I administer the deployment servers?
- How will web applications developed with Visual Web be deployed to servers other than Java System Application Server 9 (GlassFish)?
- What version of the Sun Java System Application Server is supported with NetBeans Visual Web Pack?
- How do I get more information from the deployment server if there is a problem?
- What should I do if Visual Web Pack hangs when I'm redeploying my application to Sun Java System Application Server?
- What should I do if the application server fails to start?
- How do I deploy web applications developed with Visual Web Pack to the Tomcat Servlet/JSP Container?
- How do I implement servlets in Visual Web Pack?
- How to manage sessions (HttpSession) in NetBeans Visual Web Pack?
- How do I configure my NetBeans Visual Web Pack project to run with the JBoss MyFaces implementation?
- How do I configure a Java Persistence API web application to work in JBoss?
- How do I perform theme switching and remote deployment on Windows platforms?
- Why don't Visual Web Pack applications run on the WebSphere Application Server 6.0?
- Does Sun Java System Application Server (GlassFish) come bundled with Sun JDBC Drivers?
- Can I deploy web service client web applications to Jakarta Tomcat 4.x?
Troubleshooting
- How can I tune Visual Web to work with Large Applications?
- How to resolve missing library references for Embedded Component Libraries?
- Where do I look for log file information for the IDE or the deployment servers?
- Deployment fails with HTTP Status 500 error. What should I do?
- Running application deployed on the AppServer fails with Out of memory: PermGen space. What should you do?
- Cannot do clean and build project. What should I do?
- JavaScript Error running webapplication with AjaxZone components. How to resolve the problem?
- Bad version number in .class file running webapplication. How to resolve the problem?
Working with Java Source Code
- When I drag code from source code onto the clips palette, the code is cut rather than copied.
- How do I use code clips in managed beans?
- How does code completion work in NetBeans Visual Web Pack?
- There are red x's and wavy red lines in my source code. What should I do?
- How can I access the SessionBean1 property from within my Java class?
- How can I restrict access to a page to authorized users only?
- How do I add managed bean properties in NetBeans IDE 6.0