HI

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

HI

Sekhar Mangipudi
HI. I have created one application. I enter the values for columns in the table through the dialog box and for each record , the particular dialog box should display  values in it . But it is  showing all the records in the dialog box ,  instead of  one record .
 
Please check my code in the attach ............
 


 

    ChandraSekhar Mangipudi "


Pinpoint customers who are looking for what you sell.

--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws

New Folder (2).zip (9K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: HI

Alessandro Vernet
Administrator
Sekhar,

On 8/2/07, Sekhar Mangipudi <[hidden email]> wrote:
> HI. I have created one application. I enter the values for columns in the
> table through the dialog box and for each record , the particular dialog box
> should display  values in it . But it is  showing all the records in the
> dialog box ,  instead of  one record .

This is because in the dialog you have a:

<xforms:repeat nodeset="instance('data-instance')/data1" id="friendsRepeat">

So you are iterating over all the records in your dialog, and hence
all the records a showing. Instead of using a repeat, you can use a
group, such as:

<xforms:group ref="instance('data-instance')/data1[index('data1-repeat')]"
id="friendsRepeat">

See attached your view.xhtml updated with this change. I hope this helps,

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
http://www.orbeon.com/


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws

view.xhtml (19K) Download Attachment