ListBuilder Add-On

Hello!
I’m running into an issue where I can’t get .setEnabled(false) to work with the addon. As soon as I switch it back to TwinColSelect (keeping the remainder if my codebase the same), the method works. I’ve verified both ListBuilder and TwinColSelect are calling the same super method AbstractComponent .setEnabled(boolean), but the ListBuilder refuses to disable. Has anyone else seen this?

I have seen that aswell.

Hello,

When i use the theme valo, the icons are not displayed on the related buttons(See the picture).
Any idea?

22113.jpg

Hi,

First of all thanks for the addon, it’s great. Secondly I see that you solved the layout issue brought forward by David (https://github.com/tepi/ListBuilder/commit/813127c5088e506587da75c30e42cbcb41d188a4) but you did not publish a new version.

Can you publish the last version?

Thanks.

alex

This is exactly the component I needed, but like the two posts above, I was experiencing layout issues as well (I’m using 7.6.4) and realized that the version with the changes had not been updated in the add-on directory. I went ahead and built the project and made a few changes to the icons so they could utilize the Font Awesome icons that are already used extensively throughout my app. Ideally it would be nice to set the icons on the server side, but having not dealt with the client side before, I was not sure how to expose that option. Utimately, I just hard-coded the code in VListBuilder:

...
        add = new VCustomButton(Integer.toHexString(0XF178));
        add.addStyleName(CLASSNAME + "-button-add");
        add.addClickHandler(this);
...
        public VCustomButton(String htmlCodePoint) {
            super();
            
            /* Replace default caption element with a DIV */
            Element e = DOM.createSpan();
            e.setClassName("v-button-caption");
            wrapper.replaceChild(e, captionElement);
            Element i = DOM.createSpan();
            i.addClassName("v-icon");
            i.addClassName("FontAwesome");
            i.setInnerHTML("&#x"+htmlCodePoint+";");
            wrapper.insertBefore(i, e);
        }

I would love to know how we could add this option from the server side component. I attached the screenshot.

Thanks,
Scott
28905.png

Invalid rebel.xml: Invalid ‘dir’ defined in class path of rebel.xml Directory ‘/Users/tepi/Work/cf-projects/cf-git/ListBuilder/listbuilder-addon/target/classes’ does not exist.

Can you please remove rebel.xml from 1.0.0-v8-compatibility ?