RE: Data access to/from JXTemplate
Derek, regarding the second issue. I have tested the situation with the sitemap matcher: Code in the jx template: The result is: So it should be correct. What version of cocoon are you using? Jeroen -Original Message- From: Derek Hohls [mailto:[EMAIL PROTECTED] Posted At: Thursday, September 09, 2004 8:41 AM Posted To: Cocoon User List Conversation: Data access to/from JXTemplate Subject: Data access to/from JXTemplate Hi There have been two recent posts on this topic, both unanswered and both, I think!, quite simple questions: http://archives.real-time.com/pipermail/cocoon-users/2004-September/055826.html http://archives.real-time.com/pipermail/cocoon-users/2004-September/055837.html If anyone has a few moments to address it, I would really appreciate it as I am sure JXTemplate can do what I need to, but I if I cannot get answers to the above quite soon I will have to adopt some really clunky way of solving things... Thanks Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Data access to/from JXTemplate
Jeroen Yes, I also thought it *should* work - I am using Cocoon 2.1.5. I will use your sample and see if I can figure it. Thanks for trying! Derek >>> [EMAIL PROTECTED] 2004/09/09 10:23:02 AM >>> Derek, regarding the second issue. I have tested the situation with the sitemap matcher: Code in the jx template: The result is: So it should be correct. What version of cocoon are you using? Jeroen -Original Message- From: Derek Hohls [mailto:[EMAIL PROTECTED] Posted At: Thursday, September 09, 2004 8:41 AM Posted To: Cocoon User List Conversation: Data access to/from JXTemplate Subject: Data access to/from JXTemplate Hi There have been two recent posts on this topic, both unanswered and both, I think!, quite simple questions: http://archives.real-time.com/pipermail/cocoon-users/2004-September/055826.html http://archives.real-time.com/pipermail/cocoon-users/2004-September/055837.html If anyone has a few moments to address it, I would really appreciate it as I am sure JXTemplate can do what I need to, but I if I cannot get answers to the above quite soon I will have to adopt some really clunky way of solving things... Thanks Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[SOLVED] RE: Data access to/from JXTemplate
Just for the record, I found the problem: if you try the example below it will work - but if you replace the parameter name with one that is hyphentated eg. file-ID, then it won't. I guess allowable syntax for parameter names is documented in that Cocoon Sitemap Schema I have never studied ;-) >>> [EMAIL PROTECTED] 2004/09/09 11:29:01 AM >>> Jeroen Yes, I also thought it *should* work - I am using Cocoon 2.1.5. I will use your sample and see if I can figure it. Thanks for trying! Derek >>> [EMAIL PROTECTED] 2004/09/09 10:23:02 AM >>> Derek, regarding the second issue. I have tested the situation with the sitemap matcher: Code in the jx template: The result is: So it should be correct. What version of cocoon are you using? Jeroen -Original Message- From: Derek Hohls [mailto:[EMAIL PROTECTED] Posted At: Thursday, September 09, 2004 8:41 AM Posted To: Cocoon User List Conversation: Data access to/from JXTemplate Subject: Data access to/from JXTemplate Hi There have been two recent posts on this topic, both unanswered and both, I think!, quite simple questions: http://archives.real-time.com/pipermail/cocoon-users/2004-September/055826.html http://archives.real-time.com/pipermail/cocoon-users/2004-September/055837.html If anyone has a few moments to address it, I would really appreciate it as I am sure JXTemplate can do what I need to, but I if I cannot get answers to the above quite soon I will have to adopt some really clunky way of solving things... Thanks Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [SOLVED] RE: Data access to/from JXTemplate
Derek Hohls wrote: Just for the record, I found the problem: if you try the example below it will work - but if you replace the parameter name with one that is hyphentated eg. file-ID, then it won't. I guess allowable syntax for parameter names is documented in that Cocoon Sitemap Schema I have never studied ;-) Code in the jx template: I don't think it has to do with the sitemap, but rather with the JEXL syntax used by JXTG. The hyphen is probably interpreted as a minus sign, which is perfectly understandable. If you want to keep that hyphen, you can probably do something like ${cocoon.parameters.getParameter("fileID")} Ugo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]