Search the web
Sign In
New User? Sign Up
struts-xsl · Struts for Transforming XML with XSL
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Model with repeat tag!   Message List  
Reply | Forward Message #2654 of 2669 |
Re: [struts-xsl] Re: Model with repeat tag!

Hi Don,
Thanks for your time to reply. Do you suggest any alternative which will help
me to model the submitted data as XML with the power of validataion ?

Thanks.

----- Original Message ----
From: Don Brown <mrdon@...>
To: struts-xsl@yahoogroups.com
Sent: Saturday, August 5, 2006 1:41:51 AM
Subject: Re: [struts-xsl] Re: Model with repeat tag!

To be honest, I kinda gave up working on that stuff,
as I didn't see as much
benefit as I had originally. If you have any improvements, post and patch and
I'll apply it.

Don

it_hari wrote:
>
>
> Atlast, myself found a way.....
> I created form fields like "/m:test/m:internet [1]/m:email" and
> "/m:test/m:internet [2]/m:email" which helped me to create the required
> DOM..i guess this is what Don was trying to tell us.
>
> But i still have getting this working with JDOM implementation of
> AbstractFactory - with DOMForm it works fine! Any ideas ?
>
> Thanks.
>
> --- In struts-xsl@yahoogro ups.com <mailto:struts- xsl%40yahoogroup s.com>,
> "it_hari" <it_hari@... > wrote:
> >
> > Adding to this, i found in one of the threads Don suggesting :
> >
> > "With a recent improvement in JXPath (included in the latest stxx
> > release believe), you now don't have to specify your model at at all
> > - JXPath will build the JDom/DOM element just by creating elements and
> > attributes if they don't already exist."
> >
> > Please let me know how to achieve the above. I have jxpath version 1.1.
> >
> > Thanks.
> >
> > --- In struts-xsl@yahoogro ups.com
> <mailto:struts- xsl%40yahoogroup s.com>, "it_hari" <it_hari@> wrote:
> > >
> > > Hi All,
> > > I wanted my form data to be transfered something like:
> > > <data>
> > > <user>
> > > <name>test1< /name>
> > > <age>20</age>
> > > </user>
> > > <user>
> > > <name>test2< /name>
> > > <age>20</age>
> > > </user>
> > > <user>
> > > <name>test3< /name>
> > > <age>20</age>
> > > </user>
> > > </data>
> > >
> > > In such a case, how shall i define my model layout in xmlforms-models
> > > file ? Is this achievable ?
> > >
> > > Thanks.
> > >
> >
>
>








[Non-text portions of this message have been removed]




Sat Aug 5, 2006 9:47 am

it_hari
Offline Offline
Send Email Send Email

Forward
Message #2654 of 2669 |
Expand Messages Author Sort by Date

Hi All, I wanted my form data to be transfered something like: <data> <user> <name>test1</name> <age>20</age> </user> <user> <name>test2</name> <age>20</age> ...
it_hari
Offline Send Email
Aug 3, 2006
4:47 pm

Adding to this, i found in one of the threads Don suggesting : "With a recent improvement in JXPath (included in the latest stxx release believe), you now...
it_hari
Offline Send Email
Aug 4, 2006
3:02 am

Atlast, myself found a way..... I created form fields like "/m:test/m:internet[1]/m:email" and "/m:test/m:internet[2]/m:email" which helped me to create the...
it_hari
Offline Send Email
Aug 4, 2006
6:15 am

To be honest, I kinda gave up working on that stuff, as I didn't see as much benefit as I had originally. If you have any improvements, post and patch and ...
Don Brown
mrdon42
Offline Send Email
Aug 4, 2006
8:11 pm

Hi Don, Thanks for your time to reply. Do you suggest any alternative which will help me to model the submitted data as XML with the power of validataion ? ...
Harish M
it_hari
Offline Send Email
Aug 5, 2006
10:20 am

No, I guess I'm not aware of a similar functionality elsewhere. What is the error you are getting? Are the JDom objects just not being created? Don...
Don Brown
mrdon42
Offline Send Email
Aug 8, 2006
9:08 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help