Skip to Content
author's profile photo
Former Member

binding UI element in a table

Hi

I have a table UI based on a context mapped to Adaptive RFC Model.

I would like to add another column with buttons and to be able to manipulate their 'enable' property based on values in the table.

I created new context node with attribute value of type Boolean and bind the button's property to it. This context node is filled before the table is displayed.

Well, this doesn't work.

Does anyone have better idea???

Thanks, Nachshon.

Add comment
10|10000 characters needed characters exceeded

2 Answers

  • Best Answer
    author's profile photo
    Former Member
    Posted on Dec 15, 2004 at 02:51 PM

    Hi Valery

    Thanks for the prompt replay.

    I tried your suggestion but it is impossible to add a value attribute (nor model attribute) to the model node, I get:

    "Adding attributes is currently not supported if the node or the model class (for context model nodes) has a dictionary structure binding."

    Or did I misunderstood???

    Nachshon

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Uwe Reeder

      Hi Uwe

      Thanks for the advice, it solved the problem (points are on the way).

      A good tutorial for this is :

      "Binding Tables to the Controller Context of a View"

      Nachshon

  • author's profile photo
    Former Member
    Posted on Dec 15, 2004 at 01:49 PM

    Just use plain regular (non-model) attributes in model node. If their value depends on other attributes set calculated flag to true and fill in code in "calculate" function.

    Hope this helps,

    VS

    Add comment
    10|10000 characters needed characters exceeded