[
http://issues.apache.org/jira/browse/TAPESTRY-1153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12461675
]
Andreas Andreou commented on TAPESTRY-1153:
-------------------------------------------
Oops, disregard the last comment... the problem seems to be what Howard
feared...
The copied Exception.html uses ExceptionDisplay which (for whatever reason) is
considered as an
application component, gets tapestry-prop as default binding prefix and fails!
If @framework:ExceptionDisplay is used (instead of @ExceptionDisplay)
everything works.
> tapestry-prop as application default-binding-prefix - exception thrown from
> ExceptionDisplay component
> ------------------------------------------------------------------------------------------------------
>
> Key: TAPESTRY-1153
> URL: http://issues.apache.org/jira/browse/TAPESTRY-1153
> Project: Tapestry
> Issue Type: Bug
> Components: Core
> Affects Versions: 4.0.2, 4.0.1, 4.0, 4.1, 4.1.1
> Reporter: Grzegorz Mrowka
> Assigned To: Jesse Kuhnert
> Priority: Minor
> Fix For: 4.1.2
>
>
> When I use tapestry-prop as the default binding prefix
> <meta key="org.apache.tapestry.default-binding-prefix" value="prop"/>
> in the application specification, then Exception page throws Exceptions
> before displayed
> org.apache.hivemind.ApplicationRuntimeException: Unable to add method void
> writeProperty(java.lang.Object) to class
> $$ExceptionDisplay_117$access_exceptions_10ef6d7fc06: [source error] syntax
> error
>
> org.apache.hivemind.service.impl.ClassFabImpl.addMethod(ClassFabImpl.java:295)
>
> com.javaforge.tapestry.prop.PropertyAccessorClassFactoryImpl.addWriteProperty(PropertyAccessorClassFactoryImpl.java:151)
>
> com.javaforge.tapestry.prop.PropertyAccessorClassFactoryImpl.constructClass(PropertyAccessorClassFactoryImpl.java:116)
>
> $PropertyAccessorClassFactory_10ef6d7fab2.constructClass($PropertyAccessorClassFactory_10ef6d7fab2.java)
>
> com.javaforge.tapestry.prop.PropertyAccessorSourceImpl.createNewAccessorClass(PropertyAccessorSourceImpl.java:139)
>
> com.javaforge.tapestry.prop.PropertyAccessorSourceImpl.getCachedPropertyAccessorClass(PropertyAccessorSourceImpl.java:87)
>
> com.javaforge.tapestry.prop.PropertyAccessorSourceImpl.getAccessor(PropertyAccessorSourceImpl.java:55)
>
> $PropertyAccessorSource_10ef6d7fab0.getAccessor($PropertyAccessorSource_10ef6d7fab0.java)
>
> com.javaforge.tapestry.prop.PropertyAccessorBindingFactory.createBinding(PropertyAccessorBindingFactory.java:36)
>
> $BindingFactory_10ef6d7faa2.createBinding($BindingFactory_10ef6d7faa2.java)
>
> org.apache.tapestry.services.impl.BindingSourceImpl.createBinding(BindingSourceImpl.java:77)
>
> $BindingSource_10ef6d7f95a.createBinding($BindingSource_10ef6d7f95a.java)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]