× 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.



Joe Pluta wrote:
Aaron Bartell wrote:
The ease-of-use statements have until now had nothing to do with JSF validation. Frankly I could do the entire development cycle without using JSF validation. Yes, it will be nice if some of those features can be used, but as I've said all along, the real validation has to be done on the host, anyway.
As it turns out, it was quite easy. And in fact, my code is getting cleaner. I did this:

completed string;
function onPrerender()
imageUrl = "http://www.radile.com/rdweb/temp/"; :: myPet :: ".jpg";
end
function onSubmit()
completed = "You successfully ordered " :: bid.quantity :: " " ::
myPet :: "(s)" :: ".";
end
function onCancel()
completed = "You cancelled this order.";
end


Then I added a Cancel button with immediate=true and then bound onSubmit to the Submit button and onCancel to the Cancel button (that was done with drag and drop on the WYSIWYG design screen). Done.

The one downside is that I had to manually code the immediate=true flag; it didn't show up on the property sheet for the h:command tag. I'll submit that to the EGL team.

Joe

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.