Re: How to Use Image as Form Submit Button That Has OnSelectedFrom Handler in Page Class

2014-06-05 Thread Nathan Quirynen
Hi, As you can see in the Tapestry documentation of the Submit component: http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/corelib/components/Submit.html and what your stacktrace is teeling you is that the "image" parameter expects an object of the type " org.apache.tapestry5.Asset"

How to Use Image as Form Submit Button That Has OnSelectedFrom Handler in Page Class

2014-06-05 Thread Net Dawg
I have the following submit button that works great: with an onSelectedFromPdf() method in page class that references component id "pdf". Question:  How can this submit button be changed from just "Run Report" to an image?  I tried: which gives the error that "id Pdf does not exist".

Re: Does Tapestry and Tomcat work together?

2014-06-05 Thread Daniel Jue
Kalle is right, and this can be a stumbling block to those who are new to web application development in general. It really has nothing to do with Tapestry in and of itself, but little problems can cause newcomers to be discouraged, for the wrong reasons. Assuming you are using Maven: If you are

Re: Does Tapestry and Tomcat work together?

2014-06-05 Thread Kalle Korhonen
Yes, Tapestry most certainly works well with Tomcat. Very likely, you have an additional servlet-api in your classpath, remove it and it should work. Kalle On Thu, Jun 5, 2014 at 4:49 PM, jeremias.epp...@web.de < jeremias.epp...@web.de> wrote: > Hi, > > does Tapestry and Tomcat work together? >

Does Tapestry and Tomcat work together?

2014-06-05 Thread jeremias.epp...@web.de
Hi, does Tapestry and Tomcat work together? Because I get that error message: rg.apache.catalina.core.StandardContext.filterStart Exception starting filter app java.lang.ClassNotFoundException: org.apache.tapestry5.TapestryFilter at org.apache.catalina.loader.WebappClassLoader.loadClass(Weba

Re: Simple and small working example for tapestry 5.4

2014-06-05 Thread jeremias.epp...@web.de
Sorry, i did not see that their is an jumpstart page for the upcoming tapestry 5.4 Regards Jeremias On Fri 06 Jun 2014 12:19:48 AM CEST, jeremias.epp...@web.de wrote: > Hello, > > i need a really simple tapestry-5.4 sample, only an helloWorld example > or something without the use of maven. > >

Simple and small working example for tapestry 5.4

2014-06-05 Thread jeremias.epp...@web.de
Hello, i need a really simple tapestry-5.4 sample, only an helloWorld example or something without the use of maven. Please if you have some small sample please send it to me. Regards Jeremias - To unsubscribe, e-mail: users-un

Re: How to customize the Tree component

2014-06-05 Thread Erich Gormann
Hi Geoff, I already saw it and will give a try. Thanks Regards Eric On Thu, 5 Jun 2014 22:05:32 +1000, Geoff Callender wrote: > In the following example the text of the leaves has been made clickable, > but I'm pretty sure the modes could be made clickable in exactly the same > way. > >

Re: How to customize the Tree component

2014-06-05 Thread Geoff Callender
In the following example the text of the leaves has been made clickable, but I'm pretty sure the modes could be made clickable in exactly the same way. http://jumpstart.doublenegative.com.au/jumpstart7/examples/ajax/treefromdatabasewithzones Does that help? Geoff On 5 Jun 2014, at 9:

Re: 2 simple examples required!

2014-06-05 Thread Muhammad Gelbana
I vote for that requirement. But I'd like to ask for elaborated examples. Identifying multiple approaches to solve a single problem is always handy to a developer. Geoff's application is my first resource for Tapestry examples and knowledge, and I believe that enriching it definitely helps Tapestry

How to customize the Tree component

2014-06-05 Thread Erich Gormann
Dear all, I stuck in customizing the tree component for my project. We have a two level structure in our tree source, whihc contains at first level an entity "A" and a collection of type entity "B" as subentities of "A". They are type compatible. The problem is: only the second level links are

2 simple examples required!

2014-06-05 Thread Geoff Callender
Hi, I've been asked to add 2 examples to JumpStart, but I just don't have the time to invent them. Can anyone reply with a simple example of either of the following components? SubmitNotifier FormInjector Cheers, Geoff

Re: [T5.4 Alpha-15] constructAssetPath() changes

2014-06-05 Thread Christian Riedel
I’m just started the migration to T5.4. TAP5-2170 is still open and I wondered if there’s any non-internal interface that I could use to migrate to the new API. Am 07.09.2013 um 20:23 schrieb Lenny Primak : > It worked... Also, I may have found an easier way, > just use Asset.toClientURL() and

[T5.4] Autocomplete mixin replacement

2014-06-05 Thread Ilya Obshadko
I have created a replacement for Tapestry Autocomplete mixin based on latest Twitter typeahead.js. I don't have time to publish it as a separate project, so there's a public gist: https://gist.github.com/xfyre/5a235a2ff95df7609194 Key improvements & fixes: * fixed broken CSS which leads to incorr