Problem Solved. thank u i modified my appmodule.java , according to joosts instructions , and it worked.
my appmodule.java ...... public static void contributeRegexAuthorizer(Configuration<String> conf) { conf.add("^.*png$"); conf.add("^.*jpg$"); conf.add("^.*jpeg$"); conf.add("^.*js$"); conf.add("^.*css$"); conf.add("org/chenillekit/.*\\.((css)|(js)|(jpg)|(jpeg)|(png)|(gif)|(html)|(ico)|(swf)|(xml))$"); } ...... I didnt want to use easy-fcke , as chenillekit libraries were already in our web app. Using easy-fcke was a backup option. 2009/12/10 Joost Schouten (ml) <joost...@jsportal.com> > I too had this problem and it was caused by the new (and very necessary) > asset authorisation which prevents web access to your context root through > your tapestry app. The default is fairly strict, and as it seems too strict > for the FCKeditor in the chenillekit-tapestry package. I added the following > [1] to my AppModule which fixed it. It tells T5 to allow requests to the > chenillekit assets with the specified extensions (especially the html and > xml once are needed as the images are already allowed I think). > > I think you should not need to do this as chenillekit should add this > itself, but I assume it will in the next release. But maybe raise this issue > in the chenillekit mailing list to be sure. > > Hope it helps, > Joost > > [1] > public static void contributeRegexAuthorizer( > Configuration<String> configuration) { > //should actually not be needed > > configuration.add("org/chenillekit/.*\\.((css)|(js)|(jpg)|(jpeg)|(png)|(gif)|(html)|(ico)|(swf)|(xml))$"); > > } > > Boban Stojanovski wrote: > >> Hi >> can someone tell me how to implement a fckeditor in a tapestry webapp. >> >> i use maven. >> The Pom.XML is a bit large so ill paste just the fckeditor part >> >> <dependency> >> <groupId>org.chenillekit</groupId> >> <artifactId>chenillekit-core</artifactId> >> <version>1.2.0</version> >> <type>jar</type> >> <optional>false</optional> >> </dependency> >> <dependency> >> <groupId>org.chenillekit</groupId> >> <artifactId>chenillekit-tapestry</artifactId> >> <version>1.2.0</version> >> <type>jar</type> >> <optional>false</optional> >> </dependency> >> >> Chenillekit has a FCKeditor. >> >> I tried to use it in my web app but i have a problem. >> >> the *.java page >> .... >> import org.chenillekit.tapestry.core.components.Editor; >> .... >> @Property >> @Persist >> private String testValue; >> @Component(parameters = {"value=testValue", "width=100%"}) >> private Editor editor; >> .... >> the *.tml part of the page >> .... >> <form action="#" t:type="Form"> >> <textarea t:id="editor"> >> this is a test input >> </textarea> >> </form> >> <div id="test1">${testValue}</div> >> ..... >> >> >> i get an error >> >> HTTP ERROR: 403 >> >> org/chenillekit/tapestry/core/components/fckeditor/editor/fckeditor.html >> >> >> RequestURI=/assets/classpath/959ef68b8f100eee/org/chenillekit/tapestry/core/components/fckeditor/editor/fckeditor.html >> >> Powered by Jetty:// >> >> can anyone give me some advice about fixing the problem? >> >> >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- Boban Stojanovski PMF - Institute of informatics , Skopje