Menu

view janiculum

Developers
sna
2011-02-28
2013-04-29
  •  sna

    sna - 2011-02-28

    Hi i'm trying to use janiculum view aspect with the blog example but when i try to add a new blog the list that represents post field doesn't render the crud's buttons
    using  view-echo2 it works fine!
    anyone know bugs about that?
    Thanks

    sna

     
  • Nobody/Anonymous

    Hi,

    this is an known bug of janiculum, to solve it yo mast create the "selection field" for the list.

    By

     
  •  sna

    sna - 2011-03-02

    hi thanks for your help
    i've tryed but it doesn't work yet!
    In the Blog entity field posts has @ViewField(render=ViewConstants.RENDER_LIST)
    In the Post entity field title has@ViewField(selectionField="title", selectionMode = ViewFieldFeatures.SELECTION_MODE_VALUE)

    can you point me to the documentation of this bug?i haven't found that!
    thanks again
    sna

     
  • Nobody/Anonymous

    by,

    the code that run must be such this:

    class TryNow
    {
        @ViewField(render=ViewConstants.RENDER_LIST,selectionField="item")
        private List<ExampleItem> items = new ArrayList<ExampleItem>();
        @ViewField(visible=AnnotationConstans.FALSE) 
        private ExampleItem item;
    // Getter And Setter Here!
    }
    
     

Log in to post a comment.