Skip to Content
avatar image
Former Member

add new value into table

Hello,

i want to make a small application that takes input value from the input field save it in the context and display it in a table.

The problem is that when i add a new data it is not added into context as a new data but the data stored in the context is overwritten and only one value is displayed in a table...

in the context i defined value node with value attribute and set the cardinality 1..n and selection 0..1

does anyone know what should i set to add new values in the context and then display them in a table?

Anyone can help?

Thanks!

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Nov 09, 2005 at 10:33 AM

    Please post the code where you add the new element into the node.

    Armin

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Does anyone have seen an example to download with two views with following scenario: On the first view there is an input form to insert datas and on the second table, that shows all data inserted by the user.

      Thanks for info!!

      Karol

  • avatar image
    Former Member
    Nov 09, 2005 at 12:02 PM

    Hi,

    It seems that you have to store all entered values in context.

    Whenever you want to add new data into context you have to create new node element and bind it to context node.

    It should automatically reflect in table if it is created from that node.

    NEx

    Add comment
    10|10000 characters needed characters exceeded