Re: Grid mixin: grid datasource get instancied on each use

2015-05-19 Thread Nicolas Bouillon
Thank you for your response. But grid.getDataSource() returns null. I guess it's because I'm in a event handler method (grid.getDataSource() is not null in the AfterRenderTemplate method). 2015-05-15 10:49 GMT+02:00 Lance Java : > I'm not entirely sure the problem but it's likely caused by @Bi

Re: assets:context location in war file

2015-05-19 Thread Geoff Callender
In 5.4, I no longer use “context:” because 5.4 has a new location that works much better. If you put all your assets in src/main/resources/META-INF/assets/, eg. src/main/resources/META-INF/assets/layout/layout.css then they will end up in the WAR’s WEB-INF/classes/META-INF/assets/, wher

Re: how to access client id of the component rendered later than the current one

2015-05-19 Thread Ilya Obshadko
Interesting - I'm still receiving the same exception: java.lang.IllegalStateException: Unable to provide client id for component MyPage:component.name as it has not yet rendered. at org.apache.tapestry5.corelib.components.Any.getClientId(Any.java:135) at com.xdance.components.ScoreField.advised$de

Re: assets:context location in war file

2015-05-19 Thread Christine
On 18-05-15 14:39, Thiago H de Paula Figueiredo wrote: That's your error. The context asset path root folder is the root of the WAR. In the sources, if you follow the Maven folder conventions, the context root folder is /src/main/webapp. Thanks. But somehow, it now seems to find the layout

Re: how to access client id of the component rendered later than the current one

2015-05-19 Thread Ilya Obshadko
Ah, thanks! That's what I was looking for, just forgot the name of annotation. On Tue, May 19, 2015 at 10:39 AM, Lance Java wrote: > Take a look at the Label component which uses @HeartbeatDeferred > -- Ilya Obshadko

Re: how to access client id of the component rendered later than the current one

2015-05-19 Thread Lance Java
Take a look at the Label component which uses @HeartbeatDeferred