scrollableDataTable Related issue

scrollableDataTable Related issue

Earlier Dynamic Data Table is created by using HtmlDataTable object and it is used in xhtml by using attribute binding. I have replaced HtmlDataTable object with HtmlScrollableDataTable object in my java class to fix the header and primary key column in datatable. And in xhtml, I have used following code

<div id="scrollbar"
     style="overflow:scroll;
     min-height:100px;
     max-height: 375px;
     width:1215px;
     border:1px #EEEEEE solid;
     border-top:1px #EEEEEE solid;
     border-bottom:1px #EEEEEE solid;
     border-left: 1px #EEEEEE solid;
     border-right: 1px #EEEEEE solid;">
     <rich:scrollableDataTable binding="#{UserMetadatabean.dynamicDataTable}"
    id="dynamictableList" />
    </div>

With HtmlDataTable the application is running fine but while using the HtmlScrollableDataTable, It is giving the following exception.

com.sun.facelets.FaceletViewHandler handleRenderException SEVERE: Error Rendering View[/pages/metadata.xhtml] java.lang.NullPointerException

Please suggest why this exception is coming and what is the solution. What are the differences between HtmlDataTable and HtmlScrollableDataTable class.

View Answers

June 24, 2011 at 11:36 AM

Please go through the following link:

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









Related Tutorials/Questions & Answers:
scrollableDataTable Related issue
scrollableDataTable Related issue  Earlier Dynamic Data Table is created by using HtmlDataTable object and it is used in xhtml by using attribute...-right: 1px #EEEEEE solid;"> <rich:scrollableDataTable binding
Database related issue - Development process
Database related issue  I have view in db2 database and i am firing a select query on this view with two timestamps which fetches all the rows in between these timestamps. Now my issue is i want to restrict the rows already
Advertisements
StringBuffer related.
StringBuffer related.  how to make StringBuffer as immutable
related to database
related to database  how to override existing values in table? when user enters his updated data through query
Related to Histogram
Related to Histogram  hi this is srinivasrao. In my project i have to display using chart for that i want to use histogram. k chart displayed but the values given by me is not related display chart so please give the code if u
related to java
related to java  what is mean of }); in java.i know that } is used to close a block of statement,) is used to close a statement and ";"is used after close a statement but i can not usderstood the use of }); together in a java
issue on jcombobox
issue on jcombobox  i have JTextfield and JComboBox. there are several values in combobox.when i select a value from combobox how to make textfiled as a combobox.only few values in the combobox need this functionality. need
jdialogbox issue.
jdialogbox issue.  i have one button.when clicked on it has to show a dialog box.but even click on it several times it has to open dialog box only once. if it is already not opened atleast once,then only it has to open dialog
JTABLE Issue
to go back for another search. Now issue is -- when I put some input data
Issue with Javascript
Issue with Javascript  Hi I created arrays in javascript in following way var myimages= new Array(); myimages[0]="iphone_pushups.png"; myimages[1]= "cricket.png"; myimages[2]= "july.png"; myimages[3]= "matrix.png
Related Questions
Related Questions  Hi, I am beginner in Data Science and machine learning field. I am searching for the tutorials to learn: Related Questions... "Related Questions". Also tell me which is the good training courses
Related to Project
Related to Project  how speech to text project can be make in java? Please tell me the coding part therapeutically i know i have to use java speech api which offer two technology 1. speech recognization 2. speech syenthesis
Related to XML
Related to XML  I have made a web application which send the SMS, i have provided the url in which i have to save the msg and the number's(to whom the message to be send).After fetching the message and numbers i was keeping
Related to XML
Related to XML  I have made a web application which send the SMS, i have provided the url in which i have to save the msg and the number's(to whom the message to be send).After fetching the message and numbers i was keeping
ModuleNotFoundError: No module named 'related'
ModuleNotFoundError: No module named 'related'  Hi, My Python... 'related' How to remove the ModuleNotFoundError: No module named 'related... to install padas library. You can install related python with following command
Dumps related to weblogic certification
Dumps related to weblogic certification   I want to perform the weblogic certification exam code 1z0-110. Can anybody please provide me the dumps related to 1z0-110 Thanks in advance
Java and jvm related question
Java and jvm related question  What is difference between java data types and jvm data types
question related to overloading
question related to overloading  what is difference between function overloading & method overloading
question related to overloading
question related to overloading  what is difference between function overloading & method overloading
Question related to Hibernate
Question related to Hibernate  Why do we use Set in child class in 1:many hibernate ,why can't we use Directly HashSet
Server Related exception
Server Related exception  How will write code to handle serverside exceptions in our projects.Earlier we dont know which exception the code will throw
liferay related query
liferay related query  can you suggest me how to get all the session ids of different users logged in to liferay
Java Related Question
Java Related Question  hi, Why java doesn't has primitive type as an object,whats an eligibility to have a primitive type as an object by the languages
JDBC related query
JDBC related query  How to merge two resultset of two different queries, wherein both the resultset(after query execution)gives an integer value as its column
string related question
string related question  *q.1>how i dispaly the reference of string variableS ? eg:-String s1="my name"; Sring s2="your name"; here what is address of variable s1 and s2
project related question
project related question  1- how to insert a date through hibernate 2- how to insert exact time ,date separetly in the data base for current time date
problem related to onSubmit() method
problem related to onSubmit() method  Hello, I am developing application.when i submit form at that time formBacking() method is call...Instead of that onSubmit() should have to call .... please help me
iphone property list related
iphone property list related  question related to iphone application...... how to retrieve data from plist and again check the condition if data is found in plist then go to next view and print those value in table
database related query
database related query  i have created database in phpmyadmin of wampserver ! but i can't see it in mysql command line ! Can anybody please help me
query related to jdbc
query related to jdbc  hello, i have done my database connection successfully ie db2 with RAD. but while running my application i am not able to fetch the data so please suggest and help me
Struts related Question
Struts related Question  Hi All, I have a one question on validation framework for client side validation please help me on that. suppose i don't want to put required=true in our JSP then what will happen. what error will come
data science related jobs
data science related jobs  Hi, I am beginner in Data Science... related jobs Try to provide me good examples or tutorials links so that I can learn the topic "data science related jobs". Also tell me which
data related courses
data related courses  Hi, I am beginner in Data Science and machine learning field. I am searching for the tutorials to learn: data related... the topic "data related courses". Also tell me which is the good training
jobs related to data science
jobs related to data science  Hi, I am beginner in Data Science... related to data science Try to provide me good examples or tutorials links so that I can learn the topic "jobs related to data science". Also tell me
courses related to data analytics
courses related to data analytics  Hi, I am beginner in Data Science...: courses related to data analytics Try to provide me good examples or tutorials links so that I can learn the topic "courses related to data analytics"
ai related courses
ai related courses  Hi, I am beginner in Data Science and machine learning field. I am searching for the tutorials to learn: ai related courses... the topic "ai related courses". Also tell me which is the good training
courses related to artificial intelligence
courses related to artificial intelligence  Hi, I am beginner... to learn: courses related to artificial intelligence Try to provide me good examples or tutorials links so that I can learn the topic "courses related
Decimal Format Issue Java
Decimal Format Issue Java  Decimal Format Issue Java
ModuleNotFoundError: No module named 'issue'
ModuleNotFoundError: No module named 'issue'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'issue' How to remove the ModuleNotFoundError: No module named 'issue'
ModuleNotFoundError: No module named 'issue'
ModuleNotFoundError: No module named 'issue'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'issue' How to remove the ModuleNotFoundError: No module named 'issue'
java question related to objects
java question related to objects  what is the output of the following code? public class objComp { Public static void main(String args[]) { Int result = 0; objComp oc= new objComp(); object o = oc; if( o==oc) result =1; if(o
Window.open Method Related.
Window.open Method Related.  sir, i use to window.open method to popup window its works easily but when windows popped up at that time i want to disabled part, except popup window look like when alert(), prompt(). or other site
java related question
java related question  How can we make a program in which we make mcqs question file and then make its corresponding answer sheet....like if we make 15 mcqs then java should generate it answer sheet of 15 mcqs with a,b,c d
query related to uploading file
query related to uploading file  hello friends i am doing my project in servlet and i want to upload a file and store file in local hard drive and file name and path in oracle database.with name file name and path i also want
semantic issue xcode 4.2
semantic issue xcode 4.2  I have updated xcode 4.0 to 4.2 .. but once i open any application in this new version of xcode ..it throws lots of semantic issue. Can anyone please explain why it occurs and how to resolve
Resultset Issue in SQL
Resultset Issue in SQL  when i call rs.next() in my code it is returning false, though im having valid query to execute and fetch a row from database.how can i resolve this issue. My code is: SELECT JOBDESCRIPTION,CATEGORY
Reloading issue in jsp
Reloading issue in jsp  I wrote one jsp page with one submit button. If we click on button it will execute business logic, but I want to stop reloading page if user refreshed the link. how we do
Issue in JSF and Richfaces.
Issue in JSF and Richfaces.  Hi,I am with a issue in JSF and Richfaces.I have one add user page.In which i have fields Firstname,LastName,SecretID(which has Validate/suggest as links beside tat) ,Email address,city,state,country
Login issue using Servlet
Login issue using Servlet  Hi all, I need a code for login using servlet where in I want to check and validate user name and password from database also I want to check candidate's class (for ex. FY, SY, TY) if candidate's class
Grid rows delete issue
on onchange of dropdown then because of rows indexing issue,they can't get middle row

Ads