Hi Kevin,
Yeah, the wicket viewer isn't completely finished. The tasks that I had still to do are in source form [1].

Still to do is choices for values (though choices for references should work).

You're welcome to help me finish it off if you want...!

Cheers
Dan


[1] https://svn.apache.org/repos/asf/incubator/isis/trunk/viewer/wicket/src/site/apt/todo.apt


On 14/04/2011 19:24, Kevin Meyer - KMZ wrote:
Dan,

Is this a known issue: In class Employee, there are:

     public Employee someActionWithParameterChoices(final Integer param0, final 
Integer param1) {
         setLimit(param0 - param1);
         return this;
     }

     public List<Integer>  choices0SomeActionWithParameterChoices() {
         return Arrays.asList(1, 2, 3);
     }

In the Wicket viewer, the choices0* values are not being picked up and
offered.


In:

     public Employee someActionWithParameterDefaults(final int param0, final 
int param1) {
         setLimit(param0 + param1);
         return this;
     }

     public int default0SomeActionWithParameterDefaults() {
         return 5;
     }

The default value *is* picked up.

Regards,
Kevin


Reply via email to