• com.ibm.xsp.extlib.builder.ControlBuilder and removing a control

    By Michael Bourak 1 decade ago

    Hi,

    using com.ibm.xsp.extlib.builder.ControlBuilder() we can add custom control programmaticaly

    but is there a way to programmatically remove a custom control ?

    PS : I'm looking into a solution working with partial refresh. Basically a partial refresh should change the rendered custom control so I need to remove the previouly rendered one then add the new one.

    Thanks

    • There is a method in the JSF component

      By Philippe Riand 1 decade ago

      Have you tried getChildren().remove(xx)? That should just work.

      For more examples of dynamic UI, I would advise you to look at the XPages Bazaar.

      • Works ! thanks ! <eom>

        By Michael Bourak 1 decade ago