VWP Tips for JSC Users

Here are some tips for Sun Java Studio Creator IDE users who are new to the NetBeans Visual Web Pack

  • Install NetBeans and Application Server 9u1 first. Configure NetBeans to use the Application Server, then install the Visual Web Pack. If you do it in that order, then the Travel database will automatically be available. You need the Travel database to do the tutorials. If you didn't do it in that order, then configure NetBeans to use the Application Server, shut down the NetBeans IDE, and restart the IDE. The Travel database should appear.

  • You have to connect to the database every time you start the IDE (if your project uses a database). The password for the Travel database is "travel".

  • The server and database nodes are in the Runtime window.

  • Use F6 instead of Ctrl-F5 to run the project.

  • Use F9 to compile a file instead of Shift-F9.

  • The editor macros are different. See http://www.netbeans.org/kb/55/vwp-intro.html#06.

  • The Add > Property menu item is not available from the pop-up menu for the managed beans in the Projects window. However, they are available in the pop-up menu for the managed beans in the Outline window. When you add the properties, they don't show up in the Outline window right away. If you open the Java source for the bean and then close it, the property appears in the Outline window.

  • The Java source is in src > java instead of just src.

  • The JSF 1.2 components have a validatorExpression property instead of validator.

  • Dropping a validator on a component adds the validator to the page but does not set the validatorExpression property for the component. You still have to choose it from the dropdown list for the validatorExpression.

  • There are no API references in dynamic window. Instead choose Help > Javadoc References to choose from list of available Javadoc. Or use Tools > Javadoc Index Search. The Javadoc for the application model is in install-dir/rave2.0/docs.

  • The mini property for the Button component has no effect. Nor does the type property for the Inline Help component. You have do make your own CSS styles now.

  • For JSF 1.2, the component's id (or label if the labes is set) by default shows up in the messages sent to the Message and Message Group components. There are ways to customize the validator messages. See Ed Burn's blog.

  • For information on importing JSC projects into Visual Web Pack, see James' October 31 blog on "Studio Creator to Visual Web Pack: Making the Move."
Comments:

Post a Comment:
Comments are closed for this entry.
About

divas

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today