Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSF Tutorial: Part 2 - What Do You Want To See?

 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've been requested to provide a part 2 to my JSF tutorial for this months Javaranch Journal due about the middle of this month. In part 1 I ended with the following:


In Part 2 of my JSF tutorial series I will demonstrate how to perform custom validation and we will look at how we can easily bind data to form elements like select lists.


I was wondering if this is what you would like to see or is there something instead of or in addition that you would rather see in a JSF Tutorial. I would like to write one that is useful and not regergiate something that's already out there as a few JSF tutorials are popping up here and there.

Thanks.
[ September 02, 2004: Message edited by: Gregg Bolinger ]
 
Ko Ko Naing
Ranch Hand
Posts: 3178
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
custom validation is one of the famous topic of JSF, I feel...

What about the topics like Renderers and converters? I think they also are worth to stduy as well...

Anyway, I'm also lookig forward to read the second part...
 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I thought I would revive this since the promotion is bringing quite a bit of JSF traffic this week. Please tell me what you would like to see in a 2nd tutorial about JSF by me.

Thanks.
 
Pradeep bhatt
Ranch Hand
Posts: 8927
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1 . Event handlers.
2. Custom renderers
[ December 15, 2004: Message edited by: Pradeep Bhat ]
 
Yuri Sforza
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Best practices for custom components.

For example: how to reuse several standard components in one custom?
The following approach is often used to switch between view/edit modes
for the same page:

<h:inputText value="#{var.text}" rendered="#{var.editable}" />
<hutputText value="#{var.text}" rendered="#{not var.editable}"/>

How to combine the above in one custom component like

<x:myText value="#{var.text}" mode="#{var.editable}" />

and do it with minimum coding?

--
Y. Sforza
[ December 15, 2004: Message edited by: Yuri Sforza ]
 
Varun Khanna
Ranch Hand
Posts: 1400
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I liked your Part - 1,

I would recommend you to go a bit more in dept on part-2 to make it unique, mainly because you can get "n" number of articles over "Event handlers,Custom renderers Converters ... blah blah" and each of them teaches pretty well how to implement but most of them are missing how things are working behind the scenes,
i.e. apart from providing the syntax & flow if you can provide the extra information about the points. That's surely going to make your article "more" different from the one floating around on the net.
I believer everyone will prefer learning the technology rather than just learning the syntax.

[ December 15, 2004: Message edited by: K Varun ]
[ December 15, 2004: Message edited by: K Varun ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic