commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 16394] - [validator] Enhance the IndexedListProperty to handle nested lists.
Date Mon, 19 Dec 2005 16:26:33 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=16394>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=16394


tomasz.bech@bull.com.pl changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO




------- Additional Comments From tomasz.bech@bull.com.pl  2005-12-19 17:26 -------
Finally all came to the point that this enhancement is badly needed for our new
project. I would like to make a proposal and discuss about implementation of
this feature, so as outcome we will be able to implement it in the best possible
way and give back the code. As we don't know the Validator code and principles,
it will be easier if we can have feedback and some help from commiters.

My current idea is to add following possiblity to validation.xml (dtd):
<form name="ComplexForm">
  <field property="value" depends="byte"/>
  ....
  <nested property="x" type="formNestedX"/>
  <nested indexedListProperty="y" type="formNestedY"/>
</form>
<form name="formNestedX">
normal validation here....
</form>

<form name="formNestedY">
normal validation here....
</form>

Of course, there can be unlimited nested levels.
It is straghtforward OOD approach, but I have no idea currently how complex is
to implement it. Also if there is simpler/other/better way to achieve the goal
let discuss it...

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message