aspose file tools
The moose likes JSF and the fly likes Managibility, Propagation, Form Validation, and getting rid of js Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "Managibility, Propagation, Form Validation, and getting rid of js" Watch "Managibility, Propagation, Form Validation, and getting rid of js" New topic
Author

Managibility, Propagation, Form Validation, and getting rid of js

Daniel Prene
Ranch Hand

Joined: Jul 15, 2005
Posts: 241
We have several pages with several forms on them, some are unique and some aren't. The problem with our current implimentation of JSP and Javascript is that there is a massive amount of code within each page and in order to make a common change you must edit every single page. We want to move to a model where the front end stuff is seperated from the back end; the designers don't have to scroll through text that doesn't concern them, but they can still do their job without bugging the programmers. We want to be able to edit one page, or one form, or one component, and have it propagate every where it is used. We currently have Javascript handeling form validation! Ewww!

An example of our current model: To kick things off a radio button is selected and then depending on the option more items appear... right now the forms/items are just hidden and then revealed by javascript... this is ugly for both client and programer. another problem with the current version is that if there is more then 5000 charecters in a text box a message the "form validation" we have set in place gives a error message... and then wipes out everything they have Which is NOT ideal.

Can jsf address some of these issues?
any thoughts, ideas, comments?

I'm in desprate need of help! any would be endlessly apreciated!
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56185
    
  13

Daniel, please don't cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place. Please either discuss this here, or in the JSP forum, but not both.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Gregg Bolinger
Ranch Hand

Joined: Jul 11, 2001
Posts: 15230

Since convo is already started in the JSP version of this thread, I am closing this one.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Managibility, Propagation, Form Validation, and getting rid of js
 
Similar Threads
Managibility, Propagation, Form Validation, and getting rid of js
Need a best messaging Solution
multiple forms, one action class, using validator
JSF 2 button doesn't work on the same form
Serious Problem with JDialog NOT A MODAL for ...