Giter Club home page Giter Club logo

listbuilder's People

Contributors

tepi avatar thisisbinh avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

listbuilder's Issues

ListBuilder with Valo and Vaadin 7.3.0.beta1

Hi,

I have tested Vaadin 7.3.0.beta1 and Listbuilder 0.7.3.v7BETA with the new Valo theme. Seems that up, down, remove, left and right button icons are rendered incorrectly in buttons. Seems to occur with Firefox 31 and Chromium 36 in Linux. Attached is a screencapture of the issue.

listbuilder_valo_7_3_0_beta1

Here is the code for simple test app:

@Theme("valo")
public class ListbuilderdemoUI extends UI {
    @Override
    protected void init(VaadinRequest request) {
        final VerticalLayout layout = new VerticalLayout();
        ListBuilder listBuilder = new ListBuilder("Test");
        listBuilder.addItem("Item1");
        listBuilder.addItem("Item2");
        listBuilder.addItem("Item3");
        listBuilder.addItem("Item4");
        layout.addComponent(listBuilder);
        setContent(layout);
    }
}

Allow subclassing VListBuilder

If it's possible, please make selectionsListBox and optionsListBox protected to allow extending VListBuilder.

I'm currently working on a project, and would like to utilize this amazing add-on and extend it, but I'm unable to do so because of the private modifiers of most elements.

Thanks for ListBuilder. It's truly a handy add-on.

Converter doesn't work properly

Hi,

First of all: Thanks for having developed ListBuilder and thanks for supporting it.

Yesterday, I used ListBuilder for my app and it works very well.

Nevertheless, I found an issue related to the usage of Converters. If you assign a Converter to the component (using setConverter()), it will be used, but the List that is being returned by convertToPresentation() will never appear.

I found that AbstractSelect is using setInternalValue() in order to set the converted value. ListBuilder however relies on setValue() being called (which is not the case in the described situation).

So I had to override setInternalValue() to call setValue() to make it work. Such things however should be managed in the ListBuilder class, I think.

Thanks,
Markus

isValid() returns false when [ setRequired(true) and setValue(something != null) ] without transferring at least 1 element

Steps to reproduce:

  1. add a ListBuilder and setRequired(true)
  2. add some items, and then setValue(some of the items)
  3. call isValid()

Although it should return true because a value != null was set, it returns false. I believe it's due to the method inherited from the superclass using it's internal object list instead of "orderedValue". As soon as 1 item is transferred, the internal state is updated and things work well.

Using 0.7.1.v7 with Vaadn 7.0.1

Cheers

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.