Jeff Turner wrote:

On Fri, Jan 10, 2003 at 09:24:36AM -0500, Andy Lewis wrote:

I've been watching the extensive discussions about input modules for
some time now, and if I understand them corectly, it brings me to a
couple of questions... Is there / should there be / can there be a
transformer that allows access to data from input modules? Something
that allows values to be accessed and placed in the SAX stream?

There is a LinkRewriterTransformer which does this for certain
attributes:

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15611

(and Chris just committed.. thanks)

It would be simple to modify this to replace ${module:key} tokens in the
SAX characters() method,

If you do this - don't forget to buffer all characters() before doing replacements.

Vadim



rather than attribute values.


How does this compare to ro correlate with the session transformer that
originated with the portal component donation? Are they / should they
be the same?

Didn't know about it, hidden away in a block.. it looks quite powerful.
Anything based on InputModules can only do string->string conversion, so
I don't think there's too much overlap.

--Jeff


I have found the session transformer invaluable in many
cases, but it seems to me that extending it to use input modules would
REALLY be useful.... thoughts?

--
"The heights of genius are only measurable by the depths of stupidity."




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to