Is there any method while inside onComponentTagBody to append values to the
contents of the body rather than replacing? I'd like to ensure that if we're
committing to the body on this custom tag, we don't remove what the user has
put inside.
thanks!
To our success!
Mystic Coders, LLC |
in oncomponenttagbody you have access to the markup stream. you can
use the stream to retreive the RawMarkup element that represents the
current body, tostring() it, append to it, and
replaceComponentTagBody(mystring)
-igor
On Sun, Jan 31, 2010 at 5:44 PM, Andrew Lombardi
and...@mysticcoders.com
awww, I see. would doing something like getResponse().write(myNewText) be
incorrect? it seems to append how i'd like and a call to super puts in the
users contribution
On Jan 31, 2010, at 10:03 PM, Igor Vaynberg wrote:
in oncomponenttagbody you have access to the markup stream. you can
knock yourself out.
-igor
On Sun, Jan 31, 2010 at 10:23 PM, Andrew Lombardi
and...@mysticcoders.com wrote:
awww, I see. would doing something like getResponse().write(myNewText) be
incorrect? it seems to append how i'd like and a call to super puts in the
users contribution
On Jan 31,