Hi Chris, thanks for your answer.
I suppose I should have mentioned that I'm a Cocoon NEWBIE, unfortunately also a Java NEWBIE. I've been doing my projects in PHP sofar ;-) I've seen other replies of yours and you seem to be deep inside Cocoon, congratulations. I hope to get there someday too. Thanks again, Guenther Christian Haul wrote: > On 07.Mar.2003 -- 10:04 AM, Guenther Schmidt wrote: >> Hi all, >> >> I need to generate random numbers or a random string sequence for use as >> primary keys in a database app. >> >> How do I generate them within cocoon? > > Use your favourite java pseudo random number generator. > In case you need it from sitemap, there's an input module that uses > the stock prng that can be used e.g. "{random:randomNumber}" > > Chris. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]