Skip to Content
avatar image
Former Member

Elements getting disabled by default

Hello

I am creating a view with certain input fields and binding the same with one Value Node and value attributes. When I try to run the sample application all my input fields are input disabled. Infact I have noticed that if i bind my inputfield to value attribute which is not a part of the node it renders it as input enabled but else input disabled.

We can't bind inputfields to value attributes with value nodes?

Thanks in advance.

Regards

Rajeev

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Best Answer
    avatar image
    Former Member
    Dec 14, 2006 at 06:06 AM

    Hi,

    Check the cardinality of the value node. If it's 0...n change it to 1...n.

    Regards,

    Satyajit.

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 14, 2006 at 06:08 AM

    Hi Rajeev,

    If a input field is binded to some attribute or node and that node is not initiailized the UI element is always disabled. Please check if you are initializing the node and attribute at right time.

    Regards,

    Ashwani

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 14, 2006 at 06:07 AM

    Hi Rajeev,

    You can bind the inputfields to a valueattribute inside a valuenode.

    But check the cardinality of the node. Make it as 1..n so that inputfields will enabled at runtime.

    If the cardinality is 0..n then you need to create the elements of the node in your code,

    Regards, ANilkumar

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 14, 2006 at 06:08 AM

    Hi,

    To enable this field is necessary binding the inputfield to a attribute context. If this attribute context is inside a node value, the node value has to set the cardinality 1..1, where you have one node to one view.

    Regards, Suresh KB

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 14, 2006 at 06:26 AM

    Hai Raajeev,

    Check this .

    1)I guess Even if u r not Initialize any value to an attribute in a node should be enabled so Check ur Node Binding with ur Input Field.

    2)Ensure that Ur node have the Cardinality 1..n.

    3)Or Set some Value to ur Node and check It.

    Thankyou,

    Ramganesh.

    Add comment
    10|10000 characters needed characters exceeded