[jboss-dev-forums] [Design of POJO Server] - Re: Datasource Connection Properties using CollectionMetaTyp

bytor99999 do-not-reply at jboss.com
Tue Feb 5 16:43:27 EST 2008


Yep, for some properties it will be like that. Where there isn't a finite or known set of values.

In those cases, JON doesn't need to know the valid value, the UI will allow the user to enter name-value pairs to their content. :)

We definitely have the ability and do set properties to only accept certain valid values for a property, when needed. 

In each Property definition we have an xml tag for constraints on the property (Integer, Float, and Regex constraints) and there can be more than just one on a property.

So for connection properties there is no constraints set on it in JON.

Does the MetaTypes need to always have the valid values, or can the Composite type be more open ended if needed?

Mark

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4126773#4126773

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4126773



More information about the jboss-dev-forums mailing list