Questions tagged [tapestry]

Apache Tapestry is a Java web application framework that is organized around building pages from reusable components. Tapestry is a component-based framework, attempting to structure web applications into small, manageable and re-useable parts. Components consist of a component class file and often a component template file; also, components can have their own JavaScript and CSS. Tapestry template files are XHTML files, so they can be edited in

Apache Tapestry is a Java web application framework that is organized around building pages from reusable components. It has some similarities to Apache Wicket (which it predates), but embraces a meta-programming approach to make end-user code as simple and concise as possible.

Tapestry is a component-based framework, attempting to structure web applications into small, manageable and re-useable parts. Components consist of a component class file and often a component template file; also, components can have their own JavaScript and CSS. Tapestry template files are XHTML files, so they can be edited in any XML editor and require no special IDE plugins.

Tapestry supports live reloading of components during development, so the need to restart the application server arises only seldomly.

Tapestry integrates rather nicely with Hibernate (through Tapestry-Hibernate) and Spring (via Tapestry-Spring).

Tapestry favors convention over configuration, so there are no XML files to maintain, but this unfortunately means that there are a quite a few non-obvious concepts a developer must understand to really be effective.

The getting started page on the Tapestry website is a good place to get started.

References:

978 questions
47
votes
8 answers

Difference between Apache Tapestry and Apache Wicket

Apache Wicket ( http://wicket.apache.org/ ) and Apache Tapestry ( http://wicket.apache.org/ ) are both component oriented web frameworks - contrary to action based frameworks like Stripes - by the Apache Foundation. Both allow you to build your…
KingOfCoders
  • 2,253
  • 2
  • 23
  • 34
15
votes
9 answers

Installing maven on windows 7 64bit

I want to create a Tapestry Skeletion Project. I follow to these guide: http://maven.apache.org/download.html#Installation, http://juanjoefe.com/tutoriales/instalar-maven-en-windows-7/ and other guides on the internet. But, when I type "mvn…
Gia Duong Duc Minh
  • 1,319
  • 5
  • 15
  • 30
14
votes
1 answer

Hibernate: No default constructor for entity Inner Class

I realize there are many similar questions, but none have helped me along on this. I'm using a CRUD framework called Tynamo, which in turn relies on Apache Tapestry and Hibernate. This all works fine, except for when I try to use it for CRUD on a…
liltitus27
  • 1,670
  • 5
  • 29
  • 46
11
votes
1 answer

Tapestry : Start page use english locale instead of default locale

We built a website with Tapestry 5.1.0.5 and we encounter, sometimes, a missing key problem when we hit the start-page. This problem appeared only 4 times, this is a random issue. Actual…
Fabien
  • 111
  • 3
11
votes
4 answers

Yui compressor StringIndexOutOfBoundsException on jboss

When minimising yui with 2.4.6, I get this problem: java.lang.StringIndexOutOfBoundsException: String index out of range: 232 at java.lang.String.substring(String.java:1934) at…
lukewm
  • 21,433
  • 6
  • 26
  • 28
10
votes
3 answers

Tapestry + REST

I want to add REST to my tapestry project, and so need to know how to implement it. What is the better way ? thx. [Edit, copied from answer:] I have to add GET, PUT, POST and DELETE services to my tapestry application. I see that Tapestry has…
Alex
  • 101
  • 1
  • 3
9
votes
1 answer

Tapestry loop through hashmap

I'm trying to loop through a hashmap and display a number checkboxes with id the key of the hashmap and label the value of the hashmap. Anyone knows how the tapestry syntax for that is? Cheers Dimitris
Sfairas
  • 932
  • 4
  • 13
  • 21
8
votes
2 answers

Tapestry - Passing Parameters to method from tml

Is it possible to pass a parameter to the method which is being defined in controller, and called by tml ? tml ${getDynamicFieldValue("Subject")} java public String getDynamicFieldValue(String fieldToCompare) { //Logic } Exception Could not…
Nirmal
  • 4,789
  • 13
  • 72
  • 114
8
votes
8 answers

Java Server Faces 2.0 or Tapestry 5.2?

Are there any up to date articles comparing JSF 2 and Tap 5? Everything I seem to find is comparing JSF 1.2 and Tap4. Does anyone have any experience with T5 or JSF2 and time to evangelize one or the other? I'm looking for a framework for rapid…
Instantsoup
  • 14,825
  • 5
  • 34
  • 41
8
votes
1 answer

How do I make eclipse format my tml files like I want them to be?

Using Eclipse Juno SR1: I have Tapestry Tools installed in my eclipse installation, and I've customized my XML Formatter too. However, regardless whether I open the tml file in the TML editor or the XML editor, when I let eclipse format the file,…
brandstaetter
  • 932
  • 3
  • 13
  • 30
7
votes
1 answer

Tapestry5 : handling multiple submit buttons with form validation event

In Tapestry5, I am having two submit buttons in the form and I want to perform Validation event as well, how can I achieve that ? This is what I am trying to do : In page.tml
Beginner
  • 855
  • 9
  • 21
  • 37
7
votes
6 answers

Tapestry5 vs Play framework

I know there are many questions here comparing one framework with another. I feel i have to add one more. What is the advantage of play framework over Tapestry5 framework? Which one would you recommend and why? Here are the similarities that i have…
joshua
  • 4,118
  • 3
  • 40
  • 53
7
votes
3 answers

Session Timeout AJAX Error in Tapestry Application

I'm building a webapp using Tapestry in combination with Spring Security and the jQuery-library besides Prototype. When a user clicks on a link after his session timed out, he is automatically redirected to the login page. This, of course, does not…
martin
  • 2,150
  • 1
  • 34
  • 48
7
votes
1 answer

What's the approach to add javascript to a Tapestry application?

I'm starting with an existing webapp built with Tapestry. I can't figure out where to put the Javascript I need. Basically this application has a single page capturing data into a text area, and I want to include a javascript library to do…
OscarRyz
  • 196,001
  • 113
  • 385
  • 569
7
votes
1 answer

How exactly does Tapestry mixin work?

I just realized after reading this article that I can not explain to myself how it works and what problems it can solve. Yes, It could be used to change the behavior of existing component. But how it is limitated? What can I do, and what I can not…
ZuzEL
  • 12,768
  • 8
  • 47
  • 68
1
2 3
65 66