participate


JavaServer Faces - [ANNOUNCE] JSP 2.1 and Faces 1.2 Public Review now available
<<   Back to Forum  |   Give us Feedback
This topic has 19 replies on 2 pages.    1 | 2 | Next »
jayashriv
Posts:273
Registered: 8/5/02
[ANNOUNCE] JSP 2.1 and Faces 1.2 Public Review now available   
Apr 14, 2005 11:47 AM

 
Public Review release of JSR-245 and JSR-252 is now available for download. Here is the official announcement from the two expert groups:

We're pleased to announce the availability of the Public Review of the next versions of the specification for JavaServer Pages (JSP) and JavaServer Faces (Faces). JSP 2.1 is developed under JSR-245 and Faces 1.2 is developed under JSR-252. The two expert groups are working ogether to improve the alignment between these two powerful web presentation technologies. Building on the work that was accomplished with the Early Draft Review, this Public Review covers two additional areas that required better integration between JSP and Faces: - Tree Creation and Content Interweaving - Deferred expressions nested within iteration tags Please see Appendix E of the JSP spec and the Preface of the Faces spec to see details of what's changed.
To access the specifications: JSP 2.1 PR (JSR-245) http://jcp.org/aboutJava/communityprocess/edr/jsr245/
Faces 1.2 PR (JSR-252)
http://jcp.org/aboutJava/communityprocess/edr/jsr252/

Sincerely,
The JSR-245 and JSR-252 Expert Groups.
 
jayashriv
Posts:273
Registered: 8/5/02
Re: [ANNOUNCE] JSP 2.1 and Faces 1.2 Public Review now available   
Apr 14, 2005 2:36 PM (reply 1 of 19)  (In reply to original post )

 
Sorry, the above posted links were for EDR. Here are the correct links.

JSP 2.1 PR (JSR-245)
http://jcp.org/aboutJava/communityprocess/pr/jsr245/

Faces 1.2 PR (JSR-252)
http://jcp.org/aboutJava/communityprocess/pr/jsr252/

-Jayashri
 
dkrukovsky
Posts:417
Registered: 08.10.02
Re: [ANNOUNCE] JSP 2.1 and Faces 1.2 Public Review now available   
Apr 15, 2005 6:44 AM (reply 2 of 19)  (In reply to original post )

 
While it is perfectly acceptable to use Faces
without using JSP, many people find their
productivity increases when using these two
technologies together.

I believe most of those people are Java developers. Web designers want pure HTML. Our development workflow wants pure HTML. Business people want pure HTML. If you want us to consider JSF, give us pure HTML template handlers.


Denis Krukovsky
http://dotuseful.sourceforge.net/
 
.JohnReynolds.
Posts:6
Registered: 6/11/03
Re: [ANNOUNCE] JSP 2.1 and Faces 1.2 Public Review now available   
Apr 15, 2005 7:52 AM (reply 3 of 19)  (In reply to original post )

 
I'd like to raise an issue that may be beyond the scope of Faces 1.2, but I think it's important.

The current Faces validation support is component centric. This is good, but we also need a standard approach for dealing with form level validation (validation that requires evaluating relationships between the states of multiple components). The current "hack" is to add a hidden field that is rendered after the other components... but this feels like a kludge to me.

Perhaps this could be addressed by adding the ability to associate a validator with the "form" component.
 
.JohnReynolds.
Posts:6
Registered: 6/11/03
Re: [ANNOUNCE] JSP 2.1 and Faces 1.2 Public Review now available   
Apr 15, 2005 7:53 AM (reply 4 of 19)  (In reply to #2 )

 
I agree... a "Tapestry-like" alternative would be great.
 
dkrukovsky
Posts:417
Registered: 08.10.02
Re: [ANNOUNCE] JSP 2.1 and Faces 1.2 Public Review now available   
Apr 15, 2005 8:25 AM (reply 5 of 19)  (In reply to #3 )

 
Perhaps this could be addressed by adding the ability
to associate a validator with the "form" component.

Are there is no way to give Validator to a Form? This is sad! I was sure I can create my own CustomForm by extendind Form and give it the validator I need.

But what about creating my own validatable CustomComponent which will contain a group of other components and the validator I need for them?


Denis Krukovsky
http://dotuseful.sourceforge.net/
 
dkrukovsky
Posts:417
Registered: 08.10.02
Re: [ANNOUNCE] JSP 2.1 and Faces 1.2 Public Review now available   
Apr 15, 2005 8:32 AM (reply 6 of 19)  (In reply to #5 )

 
Another request. I have to describe my presentation JavaBeans in XML. It is hard. I want to be able to describe them in pure Java.

Denis Krukovsky
http://dotuseful.sourceforge.net/
 
vladperl
Posts:161
Registered: 4/11/99
Re: [ANNOUNCE] JSP 2.1 and Faces 1.2 Public Review now available   
Apr 15, 2005 9:30 AM (reply 7 of 19)  (In reply to #6 )

 
Another request. I have to describe my presentation
JavaBeans in XML. It is hard. I want to be able to
describe them in pure Java.

I'm not agree with this suggestion.
XML is perfect way to describe this kind of things.

Vladimir Perlov
 
dkrukovsky
Posts:417
Registered: 08.10.02
Re: [ANNOUNCE] JSP 2.1 and Faces 1.2 Public Review now available   
Apr 15, 2005 9:43 AM (reply 8 of 19)  (In reply to #7 )

 
Mr Perlov,

I am aware there are a lot of people who like XML configurations. So I'm not asking to close this way. I'm asking to open another possibility for us old men who are stick with Java and afraid of XML hell.


Denis Krukovsky
http://dotuseful.sourceforge.net/
 
ASand
Posts:2
Registered: 2005.04.15.
Re: [ANNOUNCE] JSP 2.1 and Faces 1.2 Public Review now available   
Apr 15, 2005 11:24 AM (reply 9 of 19)  (In reply to #3 )

 
Yes, agreed!

Form based validation is very usefull.

Also, is it possible to validate not single component, but, for example several linked ones? For example, if one check is selected, we validate component A and B, and if one is not selected, we validate components C and D?

Best regards,
Andrew Sazonov
http://www.softamis.biz
 
ASand
Posts:2
Registered: 2005.04.15.
Re: [ANNOUNCE] JSP 2.1 and Faces 1.2 Public Review now available   
Apr 15, 2005 11:26 AM (reply 10 of 19)  (In reply to #9 )

 
By the way, does anybody interested in adding support of layout managers to JSF?
Something like TableLayout or even GridBag?

As for me, controlling layout via tables is very annoying, and using CSS is not always convenient too....

Best regards,
Andrew Sazonov
http://www.softamis.biz
 
vladperl
Posts:161
Registered: 4/11/99
Re: [ANNOUNCE] JSP 2.1 and Faces 1.2 Public Review now available   
Apr 15, 2005 11:59 AM (reply 11 of 19)  (In reply to #8 )

 
I am aware there are a lot of people who like XML
configurations. So I'm not asking to close this way.
I'm asking to open another possibility for us old men
who are stick with Java and afraid of XML hell.

Denis, I have checked your profile and it shows I are younger than me :)
So I'm sure some day you will love XML.
I'm intentionally asking not to open the way to make configurations in Java.
I believed that everythings have to be in XML including programming language itself.
For example, I don't like annotations in java 5 just because it's not right to do this kind of things without using xml based syntax.

Vladimir Perlov
 
dkrukovsky
Posts:417
Registered: 08.10.02
Re: [ANNOUNCE] JSP 2.1 and Faces 1.2 Public Review now available   
Apr 15, 2005 12:11 PM (reply 12 of 19)  (In reply to #11 )

 
So I'm sure some day you will love XML.

I could love XML, or I could not. What I really don't love is to have my code splitted in .java and in .xml while I have no need to.

I believed that everythings have to be in XML
including programming language itself.

Than it will be another language and I could accept it while you will not to split your code in .xml and .java!


Denis Krukovsky
http://dotuseful.sourceforge.net/
 
deckerr
Posts:32
Registered: 3/22/00
Re: [ANNOUNCE] JSP 2.1 and Faces 1.2 Public Review now available   
Apr 15, 2005 7:56 PM (reply 13 of 19)  (In reply to #6 )

 
Why do you have to describe them in XML? At most you specify a manage-bean name and class. Anything more isn't really necessary unless you want to put default properties in the xml. But you don't have to.
 
sj_colebourne
Posts:6
Registered: 7/23/03
Re: [ANNOUNCE] JSP 2.1 and Faces 1.2 Public Review now available   
Apr 16, 2005 10:19 AM (reply 14 of 19)  (In reply to original post )

 
Can you confirm reports that the Unified EL is still not going to allow method calls on Java objects?

This has had a major impact on Joda-Time http://joda-time.sourceforge.net (a replacement for all the date and calendar classes in the JDK). The JSP and JSF specs expect to get all of their date objects as java.util.Date. However, our classes do not extend Date, but instead provide a toDate() method for easy conversion. However, with the EL being so restrictive it cannot call the toDate() method, causing no end of trouble.

The mailing list thread is here:
http://sourceforge.net/mailarchive/forum.php?thread_id=7037421&forum_id=8530

It really is incredibly narrow minded to block method calls from the EL. Joda-Time is just one of many projects that would benefit from allowing method calls. As it is, I will probably have to pollute the Joda-Time library by providing a getAsDate() method, which is frankly crap.
 
This topic has 19 replies on 2 pages.    1 | 2 | Next »
Back to Forum
 
Read the Developer Forums Code of Conduct

Click to email this message Email this Topic

Edit this Topic
  
 
 
Forums Statistics
    Users Online : 24
  • Guests : 134

About Sun forums
  • Sun Forums is a large collection of user generated discussions. It is here to help you ask questions, find answers, and participate in discussions.

    Check out our guide on Getting started with Sun Forums for a full walkthrough of how to best leverage the benefits of this community.

Powered by Jive Forums