Hi,
I'm trying to get the ajax tree implementation working in an app
recently ported over from Tapestry3 + old tacos components... Ran into
the following warnings (with the tree doing performing a fallback to
full page refreshes):
14:15:52.312 WARN!! [SocketListener0-3]
net.sf.tacos.ajax.impl.ResponseDelegateFactoryImpl.getResponseBuilder(ResponseDelegateFactoryImpl.java:46)
>42> Unable to find a ResponseBuilder to return, system not configured
for request.
14:15:52.313 WARN!! [SocketListener0-3]
net.sf.tacos.ajax.impl.AjaxDirectServiceImpl.service(AjaxDirectServiceImpl.java:198)
>39> Header with key X-Requested-With and expected value
XMLHttpRequest did not exist, performing non-ajax http response.
Looking into what could be the cause, I figured I need to add
<contribution configuration-id="tapestry.url.ServiceEncoders">
<encoder id="ajaxSrvEnc"
object="instance:net.sf.tacos.ajax.AjaxDirectServiceEncoder"/>
</contribution>
to my hivemodule.xml... This also mandated adding a servlet-mapping to
*.ajax... These should be part of the install doc, if they are in fact
needed... Alas, even adding these didn't do the trick, just back to
the same warnings again... What am I missing?
Thanks,
Viktor
ps. there was also this warning, perhaps a replacement with @If,
volatile=true would be good:
org.apache.tapestry.resolver.ComponentSpecificationResolverImpl.resolve(ComponentSpecificationResolverImpl.java:113)
>65> Component 'Conditional' (at
classpath:/net/sf/tacos/ajax/components/tree/Tree.html, line 4) is
deprecated, and will likely be removed in a later release. Consult its
documentation to find a replacement component.
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Tacos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tacos-devel