[nbusers] Re: Need an Help in JSP Page

  • From:
  • To:
  • Subject: [nbusers] Re: Need an Help in JSP Page
  • Date: Tue, 9 Mar 2010 08:32:06 -0600


I'm happy to add that VWP is back in 6.9 M1! I'm really happy about it!

Javier A. Ortiz Bultrón
Quality Assurance Engineer
B.Braun Medical, Inc.
972-466-5076 Phone




Futaleufu_John < >

     
     
     03/09/2010 07:00 AM
Please respond to

To
cc
Subject
[nbusers] Re: Need an Help in JSP Page






I'm not sure which version of NB you are using. VWP is not supported in NB
6.8 but is supported in NB 6.7.

For legacy reasons I do not use Woodstock but an older version of VWP.

To control the position and sizing of components, I use a Grid Panel as the
master layout panel. I add a Layout Panel to the Grid Panel then add the
Table to the Layout Panel. The Layout Panels can stretch or shrink based on
the table size. This keeps the tables from "overwriting" each other or other
components.

The following example is from one of my JSP pages.

<h:panelGrid id="masterGP" style="left: 12px; top: 120px; position:
absolute" width="912">
   <ui:panelLayout id="bidLocationsLP" panelLayout="flow" style="">
       <ui:table binding="#{Manage_Bids.propertiesTable}"
clearSortButton="true" id="propertiesTable" paginateButton="true"
paginationControls="true" title="Properties">
           <ui:tableRowGroup binding="#{Manage_Bids.propertiesRG}"
id="propertiesRG" rows="5" sourceData="#{Manage_Bids.contactsOADP}"
sourceVar="currentRow">
               <ui:tableColumn headerText="Property Name"
id="propertyNameColumn1" sort="organizationName" width="25%">
                   <ui:staticText id="propertyNameST"
text="#{currentRow.value['organizationName']}"/>
               </ui:tableColumn>
               <ui:tableColumn headerText="Address" id="addressColumn"
sort="address1" width="25%">
                   <ui:staticText id="addressST"
text="#{currentRow.value['address1']}"/>
               </ui:tableColumn>
               <ui:tableColumn headerText="City" id="cityColumn"
sort="city" width="17%">
                   <ui:staticText id="cityST"
text="#{currentRow.value['city']}"/>
               </ui:tableColumn>
               <ui:tableColumn headerText="St" id="stateColumn"
sort="stateCode" width="5%">
                   <ui:staticText id="stateST"
text="#{currentRow.value['stateCode']}"/>
               </ui:tableColumn>
               <ui:tableColumn headerText="Zip" id="zipCodeColumn"
sort="zipCode" width="10%">
                   <ui:staticText id="zipCodeST"
text="#{currentRow.value['zipCode']}"/>
               </ui:tableColumn>
           </ui:tableRowGroup>
       </ui:table>
   </ui:panelLayout>
   <ui:panelLayout id="bidsLP" style="width: 100%">
       <ui:table augmentTitle="false" clearSortButton="true" id="bidsTable"
paginateButton="true" paginationControls="true"title="Bids Linked to
Selected Property">
           <ui:tableRowGroup binding="#{Manage_Bids.bidsRG}" id="bidsRG"
rows="5" sourceData="#{Manage_Bids.bidsOADP}" sourceVar="currentRow">
               <ui:tableColumn headerText="Property Name"
id="propertyNameColumn" sort="propertyName" width="22%">
                   <ui:staticText id="propertyNameST1"
text="#{currentRow.value['propertyName']}"/>
               </ui:tableColumn>
               <ui:tableColumn headerText="Description" id="scopeColumn"
sort="bidDescription" width="22%">
                   <ui:staticText id="scopeST"
text="#{currentRow.value['bidDescription']}"/>
               </ui:tableColumn>
               <ui:tableColumn headerText="Estimator" id="estimatorColumn"
sort="estimatedByName" width="15%">
                   <ui:staticText id="estimatorST"
text="#{currentRow.value['estimatedByName']}"/>
               </ui:tableColumn>
               <ui:tableColumn headerText="Prepared By"
id="preparedByColumn" sort="preparedByName" width="15%">
                   <ui:staticText id="preparedByST"
text="#{currentRow.value['preparedByName']}"/>
               </ui:tableColumn>
               <ui:tableColumn headerText="Created" id="createdColumn"
sort="bidCreated" width="18%">
                   <ui:staticText
converter="#{Manage_Bids.dateTimeConverter}" id="createdST"
text="#{currentRow.value['bidCreated']}"/>
               </ui:tableColumn>
           </ui:tableRowGroup>
       </ui:table>
   </ui:panelLayout>
</h:panelGrid>



vinothkumarrvk wrote:
>
> [Rolling Eyes]
> I want an table with one row of height 200px and another row with relative
> height of the table or expandable height in JSP page.
>
> Is it possible to create like it?
>

--
View this message in context: http://old.nabble.com/Need-an-Help-in-JSP-Page-tp27834077p27835306.html
Sent from the Netbeans IDE Users mailing list archive at Nabble.com.


********************************************************************************
The information contained in this communication is confidential, may be
attorney-client privileged, may constitute inside information, and is intended
only for the use of the addressee. It is the property of the company of the
sender of this e-mail. Unauthorized use, disclosure, or copying of this
communication or any part thereof is strictly prohibited and may be unlawful.
If you have received this communication in error, please notify us immediately
by return e-mail and destroy this communication and all copies thereof,
including all attachments.
********************************************************************************






[nbusers] Need an Help in JSP Page

vinothkumarrvk 03/09/2010

[nbusers] Re: Need an Help in JSP Page

Futaleufu_John 03/09/2010

[nbusers] Re: Need an Help in JSP Page

Javier . Ortiz 03/09/2010

[nbusers] Need an Help in JSP Page

aybiss 03/09/2010

Project Features

About this Project

www was started in November 2009, is owned by jpirek, and has 21 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20140418.2d69abc). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close