RE: Custom field, fckEditor, rendering order

2011-04-19 Thread Jim O'Callaghan
Thanks Thiago - working now - simple when you know how!

Regards,
Jim.


-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Custom field, fckEditor, rendering order

2011-04-19 Thread Thiago H. de Paula Figueiredo
On Tue, 19 Apr 2011 08:27:00 -0300, Jim O'Callaghan  
 wrote:



In the custom field beginRender method I have:
boolean beginRender(MarkupWriter writer) {
   .
   .
   .
} else if (useFCKEditor){
writer.element("textarea",
"t:type", "easyfck/fckeditor",


A component can only be declared in a component or page template, never  
through MarkupWriter. Any content generated by MarkupWriter is passed as  
is. Don't forget that you can mix template and MarkupWriter-generated HTML  
in the same component.


--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,  
and instructor

Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org