Hi Guys,
I want to apply some templates to my Xforms; what's the best way to do this? XSLT? -- Colin Seaman Senior Developer Tradocs Ltd, Tower Point, 44 North Road, Brighton, BN1 1YR email: [hidden email] skype: colin,seaman telephone: 0870-1417031 website: http://www.tradocs.net This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please contact Tradocs. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. Finally, the recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. This content of this email is without prejudice. -- 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 |
Colin,
Maybe you could elaborate a little on what you want to accomplish. I have an application which uses a template system to do the following: * Group elements and attributes under widget:tab controls * Control the order of elements (and permit re-ordering) * Manage the label, help and alert text The design is still in a bit of flux, but it makes use of XSL and XUpdate. If this is similar to what you want to accomplish I'm happy to share examples with you. Duane Gran On Oct 3, 2006, at 7:24 AM, Colin Seaman wrote: > Hi Guys, > > I want to apply some templates to my Xforms; what's the best way to > do this? XSLT? > > -- > Colin Seaman > Senior Developer > Tradocs Ltd, > Tower Point, > 44 North Road, > Brighton, > BN1 1YR > > email: [hidden email] > skype: colin,seaman > telephone: 0870-1417031 > website: http://www.tradocs.net > > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom > they are addressed. If you have received this email in error please > contact Tradocs. Please note that any views or opinions presented > in this email are solely those of the author and do not necessarily > represent those of the company. Finally, the recipient should check > this email and any attachments for the presence of viruses. The > company accepts no liability for any damage caused by any virus > transmitted by this email. > This content of this email is without prejudice. > > > > -- > You receive this message as a subscriber of the ops- > [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 -- 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 |
Hi Duane,
Currently my XForms are just in a raw, linear format down the page. I want to position form elements all about the page, but I don't want to have to code a HTML layout in each XForm page. I'm comfortable with both XSL and XSLT, but was rather unsure whether I could get away with just using a stylesheet for positioning without any HTML coding in the XForms. I suspect not. Colin Seaman Senior Developer Tradocs Ltd, Tower Point, 44 North Road, Brighton, BN1 1YR email: [hidden email] skype: colin,seaman telephone: 0870-1417031 website: http://www.tradocs.net This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please contact Tradocs. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. Finally, the recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. This content of this email is without prejudice. Duane Gran wrote: Colin, -- 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 |
Colin, I see more what you mean. I think you are referring to a template for laying out controls on the page, whereas what I'm using is a template for the instance itself. A truly robust solution would probably involve tight integration with a framework, such as tapestry. In fact, that would make for a very interesting project. Duane On Oct 3, 2006, at 9:05 AM, Colin Seaman wrote: Hi Duane, -- 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 |
In reply to this post by Colin Seaman
Colin,
have a look here: http://mail-archive.objectweb.org/ops-users/2006-08/msg00628.html Hope that helps. Henrik On 10/3/06, Colin Seaman <[hidden email]> wrote: > Hi Guys, > > I want to apply some templates to my Xforms; what's the best way to do > this? XSLT? > > -- > Colin Seaman > Senior Developer > > Tradocs Ltd, > Tower Point, > 44 North Road, > Brighton, > BN1 1YR > > email: [hidden email] > skype: colin,seaman > telephone: 0870-1417031 > website: http://www.tradocs.net > > This email and any files transmitted with it are confidential > and intended solely for the use of the individual or entity to > whom they are addressed. If you have received this email in > error please contact Tradocs. Please note that any views or > opinions presented in this email are solely those of the author > and do not necessarily represent those of the company. Finally, > the recipient should check this email and any attachments for > the presence of viruses. The company accepts no liability for > any damage caused by any virus transmitted by this email. > This content of this email is without prejudice. > > > > > > -- > 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 > > > -- 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 |
Administrator
|
In reply to this post by Colin Seaman
Colin,
> Currently my XForms are just in a raw, linear format down the page. I > want to position form elements all about the page, but I don't want to > have to code a HTML layout in each XForm page. I'm comfortable with > both XSL and XSLT, but was rather unsure whether I could get away with > just using a stylesheet for positioning without any HTML coding in the > XForms. I suspect not. I can only provide very generic answers, but the truth is that coming up with a generic layout mechanism, whatever language you write it in, is difficult. But you should certainly be able to accomplish a lot with XSLT. First ask yourself how you would like to write the XForms ideally, then what you would like the result to look like in XHTML, and then try to bridge the gap with code. You may reach the conclusion that it is feasible, or that you need for example to provide more hints in the XForms, etc. -Erik -- Orbeon - XForms Everywhere: http://www.orbeon.com/blog/ -- 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 |
Free forum by Nabble | Edit this page |