Cheers,

I found the culprit. It appears that T5.1 has changed the way java scripts are included in head.

I had included a javascript conditionally in my Layout.tml;
<head>
<t:conditionalcomment t:condition="lt IE 7">
<script type="text/javascript" src="/myapp/js/iehover- fix.js"></script>
</t:conditionalcomment>
</head>

This rendered a tag
<!--[if lt IE 7]>
        <script type="text/javascript" src="/myapp/js/iehover-fix.js"></script>
<![endif]-->

However all my included javascript references including tapestrys own was added inside this conditional... so it worked for IE6... but firefox obviously had rather poor js support for zones etc.


I.e :-) a minor gotcha that I should have noticed earlier.

Magnus




On 7. mai. 2009, at 16.23, Howard Lewis Ship wrote:

Yes: clean up your deployment to get rid fo the 5.0.18 JARs.

On Thu, May 7, 2009 at 4:27 AM, Magnus Rundberget <run...@mac.com> wrote:
Hi,

I have a 5.0.18 App i tried upgrading to 5.1.0.5.

Using zones extensively.

When I try to invoke anything using a zone I get the following error;

A component event handler method returned the value Block[Body of
report/ViewReportNodes:output, at
classpath:no/mil/ferdaball/web/pages/report/ViewReportNodes.tml, line 21]. Return type org.apache.tapestry5.internal.structure.BlockImpl can not be handled. Configured return types are java.lang.Class, java.lang.String,
java.net.URL, org.apache.tapestry5.Link,
org.apache.tapestry5.StreamResponse, org.apache.tapestry5.runtime.Component.


I´ve tried;
- FF 3.0.10
- Safari: 3.2.1

running with IE6 on WinXP seems to work fine.

any pointers ?

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





--
Howard M. Lewis Ship

Creator of Apache Tapestry
Director of Open Source Technology at Formos

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



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

Reply via email to