appending to the componentTagBody

2010-01-31 Thread Andrew Lombardi
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 |

Re: appending to the componentTagBody

2010-01-31 Thread Igor Vaynberg
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

Re: appending to the componentTagBody

2010-01-31 Thread Andrew Lombardi
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

Re: appending to the componentTagBody

2010-01-31 Thread Igor Vaynberg
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,