Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

Action Handler not being called component

$
0
0
Hi Folks,

Can anyone explain this stack trace ?

I am implementing a select component within my template.

<td width="10%" align="center" nowrap="NOWRAP">
<t:Label for="itemsPerPageSelect">Items Per Page</t:Label>
<select t:type="Select" t:id="itemsPerPageSelect" t:clientId="itemsPerPageSelect" id="itemsPerPageSelect"
t:model="literal:5,10,15,25,50,100,250,500,1000,5000,10000"
t:value="itemsPerPage"
onchange="galleryForm.submit()"
/>
</td>

and here is my handler
@Component(id = "tableColumnsSelect", parameters =
{ "value=tableColumns", "clientId=tableColumnsSelect" })
private Select tableColumnsSelect;

@OnEvent(value = EventConstants.VALUE_CHANGED, component = "tableColumnsSelect")
public Object onActionFromTableColumnsSelect()

logger.info("In tableColumnsChangeListener : ");
onActionFromItemsPerPageSelect(itemsPerPage);
return homePage;

I cannot get eclipse to hit my breakpoint and this stack trace results

I am basing my premise on the notion that components have parameters and pages have properties.

This is a GalleryWidget I designed and handler is failing.

Am happy to share this component after. Its a nice one... my handlers are in hiccup right now.

Thanks

----- cut here -----

HTTP ERROR 500
Problem accessing /psi/home.galleryform/player. Reason:

org.apache.tapestry5.ioc.internal.OperationException: Error invoking constructor public org.apache.tapestry5.internal.services.ClientPersistentFieldStorageImpl(org.apache.tapestry5.services.Request,org.apache.tapestry5.services.ClientDataEncoder,org.apache.tapestry5.services.SessionPersistedObjectAnalyzer): java.lang.NullPointerExceptionCaused by:org.apache.shiro.subject.ExecutionException: org.apache.tapestry5.ioc.internal.OperationException: Error invoking constructor public org.apache.tapestry5.internal.services.ClientPersistentFieldStorageImpl(org.apache.tapestry5.services.Request,org.apache.tapestry5.services.ClientDataEncoder,org.apache.tapestry5.services.SessionPersistedObjectAnalyzer): java.lang.NullPointerException
at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:385)
at org.tynamo.security.services.impl.SecurityConfiguration.service(SecurityConfiguration.java:54)
at $HttpServletRequestFilter_29b933e9b867.service(Unknown Source)

Viewing all articles
Browse latest Browse all 5648

Trending Articles