Skip to Content
author's profile photo Former Member
Former Member

information from different nodes to one table

Hi Guysm

I have created a webSerivce and using Adaptive web service model. The response is bind to a node like this

responseNode

-- InformationNode1

Attr A

Attr B

-- InformationNode2

Attr. A

Attr. B

How can I display the information from InformationNode1 and InformationNode2 in one table ??

Regards

Flo

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 14, 2009 at 05:37 PM

    Hi Flo,

    Try like this:

    Create the table and four columns with cell editors manually (without using any template).

    set the data source property of the table to responseNode

    Now bind each column cell editor to the respected attribute.

    Note: The no of records will be displayed = responseNode.size()

    Regards,

    Siva

    Edited by: Siva Rama Krushna on Jan 15, 2009 12:30 PM

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 15, 2009 at 05:19 AM

    Hi,

    You cannot have table columns populated from two different nodes.

    The 'datasource' property for the table UI Element can be bound to only one node so that the attributes chosen under this node come as the table columns.

    The concept behind this is that each context node has cardinality (say 1-n) associated with it, now the table bound to more than 1 node will result in multi-dimensional result set.

    Hope I have been clear.

    Kind Regards,

    Nitin

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.