I missed the rest of this thread, but if you're looking for an editor
component t5components provides one (based on FCK):
http://87.193.218.134:8080/t5components/t5c-commons/ref/org/apache/tapestry/commons/components/Editor.html

maxthesecond wrote:
> Thanks nicholas I'll give it a try...any way I'm not very disconforted with
> the script being in the parent after all parent and childs they form the
> whole component, but I'm glad to see there's a general solution. Thanks
>
>
>
> nicholas Krul wrote:
>   
>> Hi... Sorry it took so long, tonight is the first free (ish) nigh I've had
>> for a while.
>>
>> for point 4... try this:
>>
>>
>> @Environmental
>>     private PageRenderSupport pageRenderSupport;
>>
>>     @Inject
>>     @Path("tiny_mce/tiny_mce.js") //CLASSPATH ref (relative for me)
>>     private Asset mceEditor;
>>
>>
>> void setupRender() {
>>         pageRenderSupport.addScriptLink(mceEditor);
>>     }
>>
>>
>>
>>
>> the script is only included once, and is handled in the component (where
>> it
>> should be), not the wrapper.
>>
>>
>>
>>     
>
>   

-- 
http://thegodcode.net

Reply via email to