× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



At the same time, though, being able to simply specify "InputRequired =Yes"
on a field definition and have the UI take care of the editing is a nice
capability. But even there I still have one major question: is there a
"Command Attention" feature? That is, can you set an attribute
on a command button that effectively skips all editing? Otherwise, you end
up with pages where the user can't even use the Cancel button,
because it never gets back to the program.

Excellent question and another "bummer" that I ran across and had to work
through (and another reason I don't use JSF validation :-). On a JSF button
you can specify the "immediate" attribute to basically tell it to skip the
validation portion of the JSF cycle. Here's an example:

<h:commandButton value="UPLOAD" action="#{DocumentCtl.uploadDocument}"
styleClass="button"/>
<h:commandButton value="CANCEL" action="#{DocumentCtl.cancelDocumentUpload}"
styleClass="button" immediate="true" />

I am not trying to poke fun at EGL, but I have been using JSF for about four
years and have been through many mud puddles with it. That is why I have
been so skeptical of the ease-of-use statements being made about EGL. I am
waiting until somebody actually develops a medium sized application (let's
say 100+ JSF pages) to see if EGL addressed some of those "bummers" and to
see if that person developing a medium app still uses the same
out-of-the-box features at that point or strayed away from them because they
could save more time by "spinning their own wool" for certain portions
(which is what I have done).

Good discussion.

Aaron Bartell
http://mowyourlawn.com

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.