A lot of users want to be able to design their own Page Layouts, and  easily reuse the same across their application or even multiple applications. Basically designing  layouts once and then using them in many pages. In such a scenario it will be easy to have your own page layout design accessible through the wizard in the IDE.  I tried  the instructions which Winston Prakash  published in  his blog entry titled How to create NetBeans Visual Web Page Layout Plugin. It shows you how to add your own predefined Page Layout as a template, so that it appears in the New Visual Web Page Wizard. Now you can simply choose your own template and create your page based on that template.  A interesting observation in Winston's blog is that if you are using NB 6.1 (M1), you need not have to replace all component binding with template binding. This is so because the bindings are not inserted by default . In NB6.1(M1), the mandatory binding for every component in the page have been removed. This saves a lot of time !

Before you try this, you have to first of course create your Page Layouts. Here's the tutorial to do that
Creating a CSS-based Fixed Page Layout .

For those who would like to have some already predefined Page layout Templates accessible through the wizard, check out the the NB 6.0 plugin for Predefined Visual Web Page Layouts , which you can simply download and install in NetBeans. By installing this plugin you can access the different pagelayouts  through the wizard and resuse.

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed

This blog copyright 2008 by radhika