incubator-isis-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Meyer - KMZ" <ke...@kmz.co.za>
Subject Wicket viewer not picking up action choices?
Date Thu, 14 Apr 2011 18:24:32 GMT
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


Mime
View raw message