• How to customize the renderType of xe:dynamicViewPanel

    By Patrick Chaumeil 1 decade ago

    Hi,

    I creaded in NSF WebContent a java Class "DynView" that extends from DominoViewCustomizer. I use "customizerBean" from xe:dynamicViewPanel.

    Now i want to customize the rendering control. But i don't find the Rendered class for this control xe:dynamicViewPanel.

    The first question is :

    - where is the source of control redering xe:dynamicViewPanel ?

    The second question is :

    - How can i use the property rendererType ? I want create a renderer class that extends from rendered class of xe:dynamicViewPanel.

     

    Thank you in advance,

    Patrick

     

     

    • like this

      By Philippe Riand 1 decade ago

      - where is the source of control redering xe:dynamicViewPanel ?
      The class is the regular view rendering control, which is in the core runtime code. The source is not redistributed and this code is very complex, plus not designed to be overridden. What do you want to achieve?

       

      - How can i use the property rendererType ? I want create a renderer class that extends from rendered class of xe:dynamicViewPanel.
      The renderType should point to a name of a renderer declared in your faces-config.xml file. You'll find many examples of this in the extlib.

       

       

      • Thanks and explanations

        By Patrick Chaumeil 1 decade ago

        Hello,
        I work for a company editor of software using Lotus Notes.
        As part of the evolution of the interface of our software we want to use XPages technology.
        In the distributed views in our software, we use HTML to open attachments, but also colored columns, hidden columns ...
        The use of "customizerBean" allowed me to take the colors and "twisties".
        In addition, I want to use a "colspan" on columns "response only". But I want to add a column to select the attachments without having to modify the structure of views.
        Initially I created a custom control to allow me to convert a view in XPages. I used a repeat control on view columns and another repeat control on view. But I was not able to consider all options of a view.
        My idea was to use the existing control on the dynamic view to add to my column and my style.

        Thank you for your explanations

        (You will find attached the database with the different tests)