On Sun, 2002-07-21 at 09:16, Christian Haul wrote: > On 20.Jul.2002 -- 04:28 PM, Ramsés Morales wrote: > > Hi. > > > > I tried to do a sitemap substitution using the new > > RequestParameterModule, but didn't work: > > > > <map:transform type="sql"> > > <map:parameter name="use-connection" value="whatever"/> > > <map:parameter name="substitute_this" value="{request:substitute_this}"/> > > </map:transform> > > > > I modified that class, to add some getLogger().debug("") messages and > > watch what was going on, but it looks like the class is never called > > from the sitemap (no messages on the logs). > > You need to associate a logger with the module which is IMO not done in > standard xconf. Otherwise the debug messages are discarded. You can put > System.out.println()s if you want to make sure to see something... > (Will show up in catalina.out)
Wow, why didn't I think of println??? :-) I'll do that. > > > The input modules came configured on cocoon.xconf. Do I have to add > > something to my sitemap in order to use them?????? > > No. It should work this way. Which version are you using? The above > is only available in dev snapshots (2.1) since 4 weeks or so. > Well, I'm using cocoon 2.0.3, and the classes are there, under scratchpad, both on the binary distribution, and on the source distribution. (like modular database actions, which I finally got working (I'll send a summary to the list)). > Chris. > > Please follow up summarizing your problem and which suggested solution > / information worked for you when you consider your problem > solved. Add "SUMMARY: " to the subject line. This will make FAQ > generation and searching the list easier. In addition, it makes > helping you more fun. Thank you. I'll do that, hopefully today :-) Thanks. > > -- > C h r i s t i a n H a u l > [EMAIL PROTECTED] > fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08 > > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> > > To unsubscribe, e-mail: <[EMAIL PROTECTED]> > For additional commands, e-mail: <[EMAIL PROTECTED]> --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>