Hello,
I want to create a
instance with multiple nodes dynamically in xform using JSP
example:
<tags>
<tag>
<tag-subtype>Categories<tag-subtype>
<tagid>1</tagid>
<tag-name>Animals
</tag-name>
</tag>
<tag>
<tag-subtype>Categories<tag-subtype>
<tagid>2</tagid>
<tag-name>Sports
</tag-name> </tag>
</tags>
in JSP i have
written following code
-------------------------------------------------------------------------------------------
<xforms:instance>
<tags xmlns=""> <% RMITagsEntryService rmits=new RMITagsEntryService(null); List
<TagsEntry>tags= rmits.getCat();
for(TagsEntry t:tags) {%> <tag> <tag-sub-type>Categories </tag-sub-type> <tag-name> <% t.getName();%></tag-name> <tagid><% t.getEntryId();%></tagid> </tag> <% } %> </tags> </xforms:instance>
-----------------------------------------------------------------------------------------------
when i try to
display the tag values with xf:output
its displaying [no
error message provided]
Thanks,
Srikanth
-- 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 |
I'm getting the values into the instance
I have binded
wrongly in xf:repeat tag
thanks
Srikanth From: Srikanth A [mailto:[hidden email]] Sent: Tuesday, December 16, 2008 5:26 PM To: [hidden email] Subject: [ops-users] Xforms Instance In JSP Hello,
I want to create a
instance with multiple nodes dynamically in xform using JSP
example:
<tags>
<tag>
<tag-subtype>Categories<tag-subtype>
<tagid>1</tagid>
<tag-name>Animals
</tag-name>
</tag>
<tag>
<tag-subtype>Categories<tag-subtype>
<tagid>2</tagid>
<tag-name>Sports
</tag-name> </tag>
</tags>
in JSP i have
written following code
-------------------------------------------------------------------------------------------
<xforms:instance>
<tags xmlns=""> <% RMITagsEntryService rmits=new RMITagsEntryService(null); List
<TagsEntry>tags= rmits.getCat();
for(TagsEntry t:tags) {%> <tag> <tag-sub-type>Categories </tag-sub-type> <tag-name> <% t.getName();%></tag-name> <tagid><% t.getEntryId();%></tagid> </tag> <% } %> </tags> </xforms:instance>
-----------------------------------------------------------------------------------------------
when i try to
display the tag values with xf:output
its displaying [no
error message provided]
Thanks,
Srikanth
-- 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 |
Free forum by Nabble | Edit this page |