Problem with <xforms:group>....

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Problem with <xforms:group>....

Sathish K Mittapelli
Hai All
 
I am trying to develop a Smartkit for my Project.I am able to delete the data from Instance by using <xforms:delete> on Client side.I am added <xforms:insert> for adding the data to my page .When i clicks add button it will add a templete to my original instance as in Book-cast example.But the problem is entering the field values to that.I have written some code like this by using the index property.But when i am using this ,at index one only it making all fields editable,at other indexes it making it non editable.
i have tried with <xxforms:when> and <xxforms:choose> but i am getting error like invalid data element xxforms:if and xxforms:when.
 
Please give me a solution for this.
Thanks in advance.
 
My code is

<xforms:repeat ....................................... id="emp-repeat">

 

<xforms:group ref=".[index('emp-repeat') != position()]">

<xforms:output ref="code"/>

</xforms:group>

<xforms:group ref=".[index('emp-repeat') = position()]">

<xforms:input ref="code"/>

</xforms:group>

..................

.

.

.

.

.

.

Like this i am trying to edit the selected index elements.


 
THANKS & REGARDS
SATHISH K MITTAPELLI  


Bollywood, fun, friendship, sports and more. You name it, we have it.

--
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
OW2 mailing lists service home page: http://www.ow2.org/wws