5.4-alpha-9 preview release

2013-06-21 Thread Howard Lewis Ship
Available from Maven Repo: https://repository.apache.org/content/repositories/orgapachetapestry-055/ Improvements: - Better CSS for built-in components such as Tree and Grid - JavaDoc formatting improvements & fixes - Used Node to compile CoffeeScript, if available - Update dependencies, remove un

Re: Tapestry portal project

2013-06-21 Thread Lenny Primak
I would just go with JEE. It's super easy to use and nothing to be afraid of. It's also fully integrated with tapestry via the FlowLogix module. You just have to be careful not to stumble into the old documentation and idioms from the old And bad EJB 2.1 days while looking for documentation.

Re: best way of incorporating static pages?

2013-06-21 Thread John
I created a Static.java page class like this... public StreamResponse onActivate(String filename) { File file = new File("C://Temp//jetty-6.1.16//webapps/portal//static//help//"+filename); return new PageStreamResponse(file); } It serves the html content but for some of the static files ther

Re: best way of incorporating static pages?

2013-06-21 Thread John
I'm not sure how that would work. If the static content has been placed in a directory under the tapestry webapp directory then it is servable directly by the container and potentially not secure. It will also potentially invoke the tapestry filter and conflict. If the content is placed outside

Re: ClassCastEx / LinkageError

2013-06-21 Thread Jens Breitenstein
Yes, Lance this did the trick. Stupid me, a closer look at the Zone class should have told me it's not an interface... Thanks Jens Am 21.06.13 12:39, schrieb Lance Java: You can't reference a transformed class (component /page / mixin classes) directly from a service as the classloaders a

Re: Tapestry portal project

2013-06-21 Thread Lance Java
Also, checkout TapestryFilter.provideExtraModuleDefs(ServletContext) You may choose to extend TapestryFilter and override this method to lookup from your other app.

Re: Tapestry portal project

2013-06-21 Thread Lance Java
You can lookup the registry from the servlet context once the tapestry filter has been initialized http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/TapestryFilter.html#REGISTRY_CONTEXT_NAME

Re: ClassCastEx / LinkageError

2013-06-21 Thread Lance Java
You can't reference a transformed class (component /page / mixin classes) directly from a service as the classloaders are not compatible. Try referencing ClientBodyElement instead. The Zone component implements this interface and the interface is not a transformed class.

Tapestry portal project

2013-06-21 Thread John
Hi, I'm building a portal project. It provides a login page and some links to some static content. I'll be reusing quite a bit of the DAO and JPA gubbins from an existing base application, just giving it a different and cut down front end. Is there any way of the portal web app to bind up with

ClassCastEx / LinkageError

2013-06-21 Thread Jens Breitenstein
Hi All! I have a strange problem with Zone and maybe you have an idea... This works as expected in a page (injecting the required services and return a zone or body/block from an event handler): @Inject private AjaxResponseRenderer _arr; @Inject private Request _request; @InjectC

Re: Form with Upload loses context on FileUploadException

2013-06-21 Thread Massimo Lusetti
I think I've seen this before but currently I don't remember precisely. Please check if there's already a jira issue or fire a new if not. On Mon, Jun 10, 2013 at 3:59 PM, Christian Köberl < tapestry.christian.koeb...@gmail.com> wrote: > I encountered a Problem with the "Upload" component since

How to use checkbox with jquery/datatable

2013-06-21 Thread newbie newbie
Hi, I am currently using checkbox with grid in Tapestry. With grid, the t:row="rowData" parameter can be accessed during setCheckbox. But it seems that t:row="rowData" parameter is null with jquery/datatable. Anyone knows how to use checkbox with jquery/datatable?

Re: How to pass an Object using t:context

2013-06-21 Thread Lance Java
eventlink does not accept an "encoder" parameter. You will need to configure this globally by contributing a ValueEncoderFactory to the ValueEncoderSource service in your AppModule.