JSF Datatable - Any difference with JSF1.1 and JSF 1.2
In my project there are lot of Datatables, which retrieve data from the database and display it to the user. For each datatable, the columns are not fixed. I want to create some kind of component that can be reusable.
It is basically a JSF portlet. Now i have to use RAD 6. RAD 6 supports only JSF1.1. I have to migrate this to RAD7 in the near future. Are there any differences between the Datatable in JSF 1.1 and JSF 1.2?
I had this approach in mind.
a) Create the datatable programmatically and put the contents to panelgrid. This way the jsp code will be minimized. Is it a good option.? Are the APIs same in both the versions?
b) Is it possible to create a custom datatable which can take some key as input. Then based on the key the datatable can be populated with as many columns as desired.
Please let me know if there are any other good options.
~Anitha.
Doublepost. Please don't use the back button to edit a topic, you're going to repost it. Use the edit button. Continue here: [http://forums.sun.com/thread.jspa?threadID=5336694].
Similar Messages
-
JSF datatable - any difference with JSF 1.1 and JSF 1.2
Hi All,
In my project there are lot of Datatables, which retrieve data from the database and display it to the user. For each datatable, the columns are not fixed. I want to create some kind of component that can be reusable.
It is basically a JSF portlet. Now i have to use RAD 6. RAD 6 supports only JSF1.1. I have to migrate this to RAD7 in the near future. Are there any differences between the Datatable in JSF 1.1 and JSF 1.2?
I had this approach in mind.
a) Create the datatable programmatically and put the contents to panelgrid. This way the jsp code will be minimized. Is it a good option.? Are the APIs same in both the versions?
b) Is it possible to create a custom datatable which can take some key as input. Then based on the key the datatable can be populated with as many columns as desired.
Please let me know if there are any other good options.
~Anitha.Hi guys,
my code goes like this..
for (int j = 0; j < size; j++) {
UIColumn column = new UIColumn();
dataTable.getChildren().add(column);
HtmlOutputText header = new HtmlOutputText();
header.setValue(periodHeader[j]);
column.setHeader(header);
HtmlOutputText output = new HtmlOutputText();
output.setValue(new Double(periodLiability[j]));
ValueBinding vb1 = FacesContext.getCurrentInstance()
.getApplication().createValueBinding(
("#{liability.periodLiability["+j+"]}"));
output.setValueBinding("value", vb1);
column.getChildren().add(output);
this code gives me the number of headers i need. But, it doesnt render the columns. I have an array of Double (periodLiability) which stores few values of Double type. I want to show thesee values inthe dataTable Column.
Please help me.. -
What's the difference between jsp and jsf?
who can tell me what's the difference between jsp and jsf?
I'm puzzled when I found some of the technology in jsp is so similar to the ones in jsp( javaserver page)Hi,
Find the difference between JSP and JSF
1. A developer has more control with JSP, but (should) get easier development with JSF
2. Event handling is done differently in JSP (HTTP) and JSF (Java)
3. The UI is designed differently (or should be at least) with JSP (markup) and JSF (components).
4. The end product should also be defined differently - JSP page versus a JSF application.
Is this the only thing that is need to make a decision for either or? Probably not. There are other pieces that need to be taken in account when deciding which technology to use - tools support, enough components, type of application etc.... At this point there are not enough JSF components (although there are some interesting projects underway - Ajaxfaces, Myfaces, ADF Faces, and WebChart 3d) and enterprise tools support is still limited to a few tools vendor. Looking at our ADF Faces components they are currently available as early access (not production) and demands for these components are stacking up, literally, outside my office doorstep. Although I would love to make them production - now! - it is not a viable solution since we are still checking features and fixing critical bugs.
All this combined - not enough enterprise level components in production, lacking tools support etc... - leave customers in a vacuum where the decision is either to continue with JSP, since it is mature and has a wide developer base, or move forward with JSF not sure if the support, or the developers will be there. This is particularly sensitive to customers that need to get started now and be production by summer.
If you are in this vacuum here are some key points promoting JSF:
1. Fundamental unit is the Component
2. Built in event and state management
3. Component sets can be provided by any vendor
4. Closer to ASP.Net or Swing development
5. Choice of UI technology
6. Scale up (rich clients)
7. Scale down (mobile devices)
8. Built into J2EE containers in J2EE 5.0 (tentative) -
Difference between JSP and JSF
What is the difference between JSP and JSF?
Is it necessary to learn JSP before starting with JSF?JSP is a view technology providing a template to write plain HTML/CSS/JS in. JSP supports Java based taglibs to generate output and/or control the page flow dynamically. A well known example is JSTL. JSP also supports access to backend data with help of EL (Expression Language).
JSF is a component based MVC framework which provides taglibs for use in JSP, the JSF core tags in <f:xxx> and the JSF HTML tags in <h:xxx>. Those tags generate HTML output and are tied to JSF component tree in the server memory so that the FacesServlet can work on them to gather request parameters, validate/convert them, update the model values (javabean properties), invoke some actions (javabean action methods) and render the response.
You can use JSF on top of either JSP or Facelets. Facelets is another view technology. JSP is ancient and has its shortcomings when JSF comes into picture. Facelets is designed with JSF in mind and much more well-suited for it and provides great templating/composition capabilities to reuse specific groups of components without the need to wrap them in another custom component (so that you don't duplicate the same code over and over, e.g. label+input+message. -
Difference between JSTL and JSF
Hi
I am little bit confuse between JSTL and JSF. can one tell me what is difference between JSTL and JSF ?
Thanks & regards,
Benfrom suns site
The JavaServer Pages Standard Tag Library (JSTL) encapsulates as simple tags the core functionality common to many Web applications. JSTL has support for common, structural tasks such as iteration and conditionals, tags for manipulating XML documents, internationalization tags, and SQL tags.
http://java.sun.com/javaee/javaserverfaces/overview.html -
Any issues with PE7 and Windows 7?
Hi All,
I am considering purchasing a second computer. I have had great success with PE7 and Vista, But I can't get Vista on the new Alienware I want to buy. So, has anyone had any issues with PE7 and Windows 7? I have read many posts where there are issues with PE8 and Windows7.
Thanks, StanIt's a toshiba laptop.
4 gig DDR3
core duo
320 hard drive - partitioned
I also use a dual screen - 22" lcd monitor
I don't use it a lot, since I have a desktop. I've noticed having a
dedicated video card makes a world of difference in editing. This might be
your problem; a dedicated high end video card is the way to go.
If I do simple compilations I don't have any problems. I usaully am making
a DVD of soccer games. If there is a lot of special effects I'll use my
desktop that has XP. -
I'm about to buy a Macbook pro in Spain, with a spanish QUERTY keyboard.
Are there any differences with a UK Macbook Pro, other then a few keys on the keyboard.?Here’s a couple of links to get you started on your research...
OS X Lion Overview
iLife 11
http://www.apple.com/ilife/video-showcase/
http://www.apple.com/ilife/
Running Windows on a Mac
http://www.pcmag.com/article2/0,2817,2344661,00.asp
And just in case you didn't know... This is a User to User Forum -
is there any differences between black and white ipod touch ?? only the color or there are hardware differences?
You're welcome.
What?
Sorry, but no. The parts are identical with the only difference being a white housing or a black housing. -
Question
when i search via mozilla i now have to go via mystart incredimail, which i thought i had uninstalled long ago, do you have any association with incredimail and is is now part of mozilla firefox 4 ?Hmmm, Norton extensions are broken again in Firefox 4.0.1. It seems that Norton didn't allow for Firefox 4.0 security updates when they updated their Firefox extension for Firefox 4.0. Norton says they'll have a fix in two weeks. A Norton user posted a fix in this forum thread.
http://community.norton.com/t5/Norton-Internet-Security-Norton/Norton-Toolbar-not-compatible-with-FF-4-0-1/td-p/442788 -
Are there any magazines with articles and tips for Encore - English language
Are there any magazines with articles and tips for Encore - English language
The very best "chronicle" on Encore that I can come up with is Jeff Bellune's Focal Easy Guide to Adobe EncoreDVD 2.0, Focal Press. It was written for EncoreDVD 2.0, but everything in it applies to CS4. Now, as of CS4, Adobe Dynamic Link to PrPro has been greatly improved and strengthened, and that part will have to come from the Help files. The book is still the best resource for 99% of Encore, and I highly recommend it. You will not be disappointed. It is an invaluable reference, whether you have EnDVD 2.0, CS3 or CS4.
As for magazine articles, Encore is mentioned in some, but I do not recall any specific to the program. Same for books on DVD/BD authoring. I have several, that use Encore for some examples, and other authoring programs for others.
The closest thing that we have to the PrPRo-Wiki, mentioned in your thread in the PrPro forum, is the wonderful set of Encore FAQ's on this forum. Jeff Bellune and Neil Wilkes have done a great job of rebuilding those, and most were lost, when the forum underwent a major changeover about 1.5 years ago.
Next, just reading this forum will help one learn how to do much in Encore, and also how to solve any problems.
One other asset that needs to be pointed out is the link in this ARTICLE to Jim Taylor's DVD FAQ. His book, DVD Demystified, by McGraw Hill, will tell you everything that you would ever want to know about DVD/BD, and his FAQ site will cover most of the important info.
Great reading in each of those. That is not an all-inclusive list, but all that I can think of for now.
Good luck,
Hunt -
Are there any magazines with articles and tips for Photoshop
Are there any magazines with articles and tips for Photoshop - English language
steenmikkelsen wrote:
Are there any magazines with articles and tips for Photoshop - English language
I can think of about 10! And then there are all the digital photography magazines too.
But what's wrong with starting here:
http://www.adobe.com/support/photoshop/
(Save the forests!) -
Are there any magazines with articles and tips for Premiere - English language
Are there any magazines with articles and tips for Premiere - English language
I dont know of any regular magazines. There are occasional articles in video mags.
But heres some online stuff you can review:
http://forums.adobe.com/thread/424009
http://premierepro.wikia.com/wiki/Adobe_Premiere_Pro_Wiki
http://forums.adobe.com/thread/424418 -
Are there any magazines with articles and tips for AE - English language
Are there any magazines with articles and tips for AE - English language
I'm afraid not. Mags like Computer Arts and others have occasional articles interspersed or specials (Computer Arts Projects) but if you want my opinion: You can find much better resources online. Most of these print articles are really quite generic and aimed e.g. at 3D artists who only do the occasional piece of work in AE...
Mylenium -
Is there any difference between iPhotobooks and Aperturebooks
Hello,
Can someone tell me if there is any difference in paperquality and covermaterials between iPhotobooks and books via Aperture.
I did receive my first iPhotobook: it looks good in printing and coulor, but the paper is a bit thin(cheap look). It feels the same as the paper in the books of our warehouse. Apart from the design options will the quality be better if I print it vias Aperture?
Thanks for any comment
SuzanneNo, there is no difference. Instance name is the same as SID.
-
So yesterday I found out that my email address password had been changed. I don't remember doing this, but it is possible I changed it a while back and considering I keep my email constantly logged in. But at the same time, two of my apps were trying to access their "store". I play a game called League of Legends, which has an online store, and it randomly came up with the message "Could not connect to Maestro" (credit card). Then, Itunes (which I rarely use) came up with "sorry, we could not continue with your purchase". I think it's very strange that all of this happened at the same time, but hopefully it's a case of a forgotten password and two games bugging/crashing. I scanned my entire computer with iantivirus and it hasn't found anything, but I've heard keyloggers can be a bit hard to detect. Does anybody have any experience with keyloggers and if so, what program did you use to detect and destroy it?
If you think that a keylogger has been installed the only safe thing you can do is erase your drive and reinstall.
I don't think that is the case however.
Maybe you are looking for
-
BT email not working. Cannot send emails from btconnect SMTP after iOS upgrade. This is the only difference I am aware of. Apple iPad 3. Can anyone help me please.
-
Need to extract PDF form answers into an XML file
Hi Adobe gurus,we have a requirement like this. We have a Time Tracking and Project Monitoring System whose DB is a Oracle 10g R2. We want to automate our ''Meeting Minute'' processing. 1. The project lead will write minutes into a form PDF. i.e. a P
-
Save document from word into sharepoint library does not work !
Hi, I'm trying to resolve a problem that i have with word and my sharepoint website. Some of my users have to open and RDP session on a windows 2008 server and work from there. They open their session with their credential and they do everything they
-
Hi SDN, We enchanced the VBAP- EXART(sales) field into Billing item Datasource(2lis_13_vitm). Some fileds like "Discounts" coming from Billing condition data source(2lis_13_Vdkon) . These 2 datasources Assigned to Billing cube.
-
Lowest level planning ???
hi sir What is the lowest level of planning??? 2. Smoothing u2013 How do you do time period wise ???