Beth Stearns

pageicon Monday Apr 30, 2007

Getting started with NetBeans Visual Web Pack

I've been writing reference articles and tech tips about Java Studio Creator for some time now. Several months ago I switched over to the NetBeans project and Visual Web Pack. Now I'm busy writing similar tips and articles specifically for developing visual web applications with NetBeans. I hope to be doing a set of articles that will cover visual web application design from beginning to end, maybe even turning them into a book.

Most of what I write is for those of you who are past the very novice stage. Even so, I try to include enough context in my articles so that no matter where you are on the NetBeans/Visual Web Pack learning curve you can still get something useful from these articles. That said, I've already got a few things out there that should be of interest.

If you are just getting started with NetBeans and visual web application development, you might want to look at the upcoming issue three of NetBeans Magazine, due out at the beginning of May, 2007. This issue includes an article highlighting the visual web application development features in NetBeans. When the magazine issue comes out, you can find it at http://www.netbeans.org/community/magazine/.

If you are already using the Visual Web Pack, you might also look at the recently completed tech tip (http://www.netbeans.org/kb/55/dropdowncomp.html) on using the Drop Down List component to display data. You can set up a Drop Down List to display data pulled in from a database table along with values either hard-coded or programmatically set by your application.

Comments:

I was amazing the power of VWP. But i have some questions, i couldnt find in any blog. I imported a Sun Java Creator 2 project into Netbeans 6.0. I can note that the imported project, all jsp pages includes <ui:???> tags, but if i create an all new project, it includes <webuijfs:???> tags. I am trying to convert my ui tags to webuijfs, just by replacing all tags. After doing this, and including jsf 1.2 libraries; the project dont work and i get the following error: The attributes for a standard action cannot be deferred expressions. i am attaching a copy of the code. Is there any tutorial to convert an <ui tags to <webui? I will thanks. sa<?xml version="1.0" encoding="UTF-8"?> <div style="-rave-layout: grid; width: 400px; height: 200px" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:webuijsf="http://www.sun.com/webwebuijsf/webwebuijsfjsf"> <f:subview id="Header"> <webuijsf:image binding="#{Header.image1}" id="image1" style="height: 68px; top: 0px; bottom: 0px; position: absolute" url="/resources/headerImage.gif" width="766"/> <webuijsf:image binding="#{Header.image2}" id="image2" style="height: 68px; left: 594px; top: 0px; position: absolute" url="/resources/headerImageRight.gif" width="358"/> <webuijsf:staticText binding="#{Header.staticText1}" id="staticText1" style="left: 731px; top: 32px; position: absolute; text-align: right; width: 216px" text="N_Intelligence DSoft Corp @ 2006"/> <webuijsf:button action="#{Header.btnLogout_action}" binding="#{Header.btnLogout}" id="btnLogout" immediate="true" style="left: 832px; top: 5px; position: absolute" text="logout"/> <webuijsf:button action="#{Header.btnProfile_action}" binding="#{Header.btnProfile}" id="btnProfile" immediate="true" rendered="#{SessionBean1.loggedInUser}" style="left: 749px; top: 5px; position: absolute" text="Profile..."/> <webuijsf:button action="#{Header.btnAbout_action}" binding="#{Header.btnAbout}" id="btnAbout" immediate="true" style="left: 894px; top: 5px; position: absolute" text="About"/> <webuijsf:staticText binding="#{Header.loggedUser1}" escape="false" id="loggedUser1" style="left: 672px; top: 51px; position: absolute; text-align: right; width: 274px" text="#{SessionBean1.loggedUser}"/> </f:subview> </div>

Posted by Roger Flores on August 06, 2007 at 03:14 PM PDT #

Post a Comment:
  • HTML Syntax: NOT allowed

« November 2009
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

Feeds

Search this blog

Links

Weblog menu

Today's referrers

Today's Page Hits: 0