Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa JSF-Questions panelGrid header

Have Programming Question? Ask it here!
 
 
 


Samuel
panelGrid header
1 Answer(s)      a year and 5 months ago
Posted in : Java Server Faces Questions


Hi,

I am reading through the introduction from the following two link regarding the panelGrid tag.

http://www.roseindia.net/jsf/panelGrid.shtml

http://roseindia.net/jsf/apache-myfaces-tomahawk/tomahawkpanelGridtag.shtml

I have question how we can generate data table in the following output with the panelGrid? Thanks.

Month Balance
1 Jan $100
2 Feb $80

Advertisement
View Answers

June 11, 2013 at 12:45 PM


hi friend,

you can use the tag instead. You may use the dataTable tag as the following code snippet. Hope this will be helpful for you.

<h:form>
<h:dataTable value="" border="1" title="dataTable">
<f:facet name="header">
<h:outputText value="JSF dataTable example" />
</f:facet> 
<h:column>
<f:facet name="header">
<h:outputText value="Name" />
</f:facet> 
<h:outputText value="Deepak"/>
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="Address" />
</f:facet> 
<h:outputText value="Rohini"/>
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="Ph.No" />
</f:facet> 
<h:outputText value="9328888888"/>
</h:column>
</h:dataTable>
</h:form>

Thanks.



Related Tutorials/Questions & Answers:
panelGrid header
panelGrid header  Hi, I am reading through the introduction from the following two link regarding the panelGrid tag. http://www.roseindia.net/jsf... output with the panelGrid? Thanks. Month Balance 1 Jan
jsf: generate another panelGrid
generate another panelgrid with the same number of columns and rows (Each time I
Advertisements
JSF panelGrid Tag
JSF panelGrid Tag      ...:form>    <h:panelGrid columns="3" border="1" rules="all" title="This is panelGrid demo">  
JSF h:panelGrid - Java Server Faces Questions
JSF h:panelGrid  Hi Sir, When using in JSF, is there an option where we can display the table generated by this panelGrid in the center of a page... on JSF panelGrid Tag visit to : http://www.roseindia.net/jsf
table header
table header  how set the header to the TableModel
header files
header files   do you have a all header files of java
header() in php
header() in php  hello, Use of header() in php?   hello, header() is used for redirect the page.if you want to redirect one page to another we can use
Header file
Header file  when we use, Scanner input=new Scanner(System.in); this statement in a java program,which header filemust be imported to the program?   Hi Friend, Import the package java.util.*; Thanks
swings header
. i need logic for this program . i want to apply this to window header part
php header syntax
php header syntax  What is the correct syntax of PHP Header
http header content length
http header content length  How to check the request header content length in HTTP
alignment for header and footer
alignment for header and footer  header and footer alignment is not fit like footer is not fit in bottom some white space is there in jsf, what to do
E-Mail header extractor
E-Mail header extractor  i want to extract email header with using of java so please show the code of email extractor as result all the field show different color and or it extract ip where the email came
E-Mail header extractor
E-Mail header extractor  i want to extract email header with using of java so please show the code of email extractor as result all the field show different color and or it extract ip where the email came
PHP header IE - PHP
PHP header IE  I tried the given code in PHP which is working for firefox header('Content-type: '.$theMimeType); ob_clean(); // clean output buffer flush(); // flush output buffer readfile($thePath); exit
Resize Header in CSS
Resize Header in CSS  Hi all, Please let me know if we can resize the Header tags in HTML for example H1,H2 and so on... Actually, it looks very...;We can resize header tags in CSS .. and further call that class into you HTML
Removal of XML header
Removal of XML header  I need to retrieve a few records from the file at a time to generate xml.But each time while retrieving the records from the file, I dont want the XML header to appear again..How do I achieve this?What
swings window header
for this program . i want to apply this to window header part. Thanks
regarding header files - Spring
regarding header files  i am working on linux platform. i a using spring framework 2.5.4.while comlinig the client program i.e from demo which given in tutorial. error is these two package does not exist import
Header Tag:
Header Tag:       bean:header Tag... request header. This tag retrieve the value of the specified request header (may... scope attribute of type String or String[]. If no header with the specified
request header and response - Java Beginners
request header and response  count the hits of a user on a site
request header and response - JSP-Servlet
request header and response  Create aservlet that redirects a client to a.html if its morning ,to b.html if its a afternoon else to c.html.
Javah -  Header File Generator
Javah -  Header File Generator   ... Machine. To implement these methods Javah generates C header and source files... source code. The name of the header file and the structure declared within
request header and response - JSP-Servlet
request header and response  Create a html form that accept user name and password ,if the user name and password is admin it redirects it to adminhome.html,if the user name and password is guest and guest it redirects
request header and response - JSP-Servlet
request header and response  hi sir, i have facing some problem in this qustion:- Create a servlet that accept a name and a phone number and contain 4 buttons add,update,delete and view .On clicking on the any of the button
List out different arguments in PHP header function?
List out different arguments in PHP header function?   List out different arguments in PHP header function
how to create a header in jtable using java swing
how to create a header in jtable using java swing  how to create a header in jtable using java swing   d
Excel Sheet Header
Excel  Sheet Header In this section, you will learn how to create header on a sheet using Apache POI. In the given below example, we will create...;Take Print Preview to View Headers")); Header header = sheet.getHeader
Return the MIME Header
Return the MIME Header   ... to retrieve the MIME header. MIME is stands for Multipurpose Internet Mail Extensions... a connection we use getContentType() which display the value of the content-type header
Create Security header in web services - WebSevices
Create Security header in web services  How we can create a security header in the web services.Please provide me the code if anyone available thanks in advance
Adding Image to Header and footer at generating Itext PDF
Adding Image to Header and footer at generating Itext PDF  i want to add Image to Header , am generating the PDF letter am able to add the text as showing below : HeaderFooter header = new HeaderFooter(new Phrase
Fixed Header - Design concepts & design patterns
scrolling down data in the table the header gets lost.While analysing data one cant identify the coloumns to respective name.I want that header to be fixed,even after am scrolling 20000 data.But header with the name should be fixed and data
VB 6 Read Web Page Header
. wbrWebSite.Navigate txtUrl.Text wbrWebSite.Refresh Set doc = wbrWebSite.Document Header = LTrim(RTrim(doc.head.innerText)) I was trying to read the header of a webpage... it is returning the header even at the first time. Please suggest a solution. Thanks
Read Header/Footer Margin size using Java
Read Header/Footer Margin size using Java  Hi, Is it possible to read the "Header from Top" and "Footer from bottom" properties of a MS word document in Java? I have been searching the web for hours now, POI's and several other
Read Header/Footer Margin size using Java
Read Header/Footer Margin size using Java  Hi, Is it possible to read the "Header from Top" and "Footer from bottom" properties of a MS word document in Java? I have been searching the web for hours now, POI's and several other
Return the MIME Header
Return the MIME Header   ... to retrieve the MIME header. MIME is stands for Multipurpose Internet Mail Extensions... a connection we use getContentType() which display the value of the content-type header
make header and footer and attache it with excel sheet.
 make header and footer and attache it with excel sheet... header and footer and attaché it with excel sheet.  Code description ...; class is used to create the header and footer. We create the object of header
Header Information available from the client in Servlet
Header Information available from the client in Servlet... to display the header information in servlet. When a HTTP client sends a request...() is called  to get an Enumeration of all header names received on this particular
JSF imple using menus,header,body - Java Server Faces Questions
JSF imple using menus,header,body  Hi All, Could you please provied an examples of JSF implementation of Menus(alist two menusitmes),header,body and footer.   Hi Friend, Please visit the following link
Request header display in a jsp page
Request header display in a jsp page  ... to display request header information in a jsp page. When user request... to a jsp. In this example, request_header_jsp.jsp is used to display header
Javascript Fixed Header in A table - Design concepts & design patterns
Javascript Fixed Header in A table  Dear Sir, Thank you for your... the header gets lost.While analysing data one cant identify the coloumns to respective name.I want that header to be fixed,even after am scrolling 20000 data.But
Tomahawk panelGrid tag
Tomahawk panelGrid tag   ...; <title>t:panelGrid example</title> <style type="text...:form id="form1" > <t:panelGrid id="dt1" bgcolor
How to set the border in header and footer from login page using swings/awt
How to set the border in header and footer from login page using swings/awt  Hi, How to set the border in header and footer from login page using swings/awt
we can create our own header file in java?n how to create?
we can create our own header file in java?n how to create?  we can create our own header file in java?n how to create
How to show all header information of message using Java Mail api
How to show all header information of message using Java Mail api... you how to show all header of any message using javamail api. All messages... will use method given below to retrieve all header information, this method
How to show header of any message using Java Mail api
How to show header of any message using Java Mail api... to show header of any message using javamail api. All messages are stored in Folder... we have used some methods to retrieve header information of the message. Some
How to set the pdfptable as pdf page header when generating the pdf from jsp page. - JSP-Servlet
How to set the pdfptable as pdf page header when generating the pdf from jsp page.  how to set the pdfptable column headers as a header of the documet.i need to display the column headers for every pdf page if pdf documt is 20
SOAP Header
SOAP Header       Project Requirement... the code for Header Make Compilation of the file Build the project Run the project SOAP Header is the optional Element
 

 

 

DMCA.com