WebDSL now provides input components that validate the inputs using ajax.

built-in value types:

inputajax(String/Secret/URL/Email/Text/WikiText)
inputajax(Int/Bool/Float/Long)

reference types:

inputajax(Entity/List<Entity>/Set<Entity>)
selectajax(Entity/Set<Entity>)
radioajax(Entity)

provide selection options:

inputajax(Entity/List<Entity>/Set<Entity>,List<Entity>)
selectajax(Entity/Set<Entity>,List<Entity>)
radioajax(Entity,List<Entity>)

Selection options can also be provided using the allowed annotation on an entity property.
Example:

entity Person{
  parent -> Person (allowed=from Person as p where p != this)
} 
Submitted by Danny Groenewegen on 1 June 2011 at 14:25

On 1 June 2011 at 14:25 Danny Groenewegen tagged 1.2.8

On 1 June 2011 at 14:25 Danny Groenewegen closed this issue.

Log in to post comments