ivaynberg / bindgen-wicket

Automatically exported from code.google.com/p/bindgen-wicket
0 stars 1 forks source link

Class Bindings is missing #4

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
BindingModel's javadoc mentions "import static 
org.bindgen.wicket.Bindings.model;" but there is no class 
org.bindgen.wicket.Bindings.

Here is what I think left uncommitted in r6:

package org.bindgen.wicket;

import org.apache.wicket.model.IModel;
import org.bindgen.BindingRoot;

public class Bindings {

    public static <R, T> IModel<T> model(IModel<R> root, BindingRoot<R, T> binding) {
        return BindingModel.of(root, binding);
    }
}

Would be nice to be provided by the library.

Original issue reported on code.google.com by martin.g...@gmail.com on 22 Mar 2011 at 12:28