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
7
votes
2 answers

Video streaming to ipad does not work with Tapestry5

I want to stream a video to my IPad via the HTML5 video tag with tapestry5 (5.3.5) on the backend. Usually the serverside framework shouldn't even play a role in this but somehow it does. Anyway, hopefully someone here can help me out. Please keep…
Wulf
  • 393
  • 2
  • 10
6
votes
2 answers

Tapestry 5 user authentication

I was following the very slim tutorial on the Tapestry website for Tapestry 5 and was introduced to very basic database interactions but not how to do user authentication. Where do I go for more comprehensive guidance in tapestry 5? I went to the…
JPC
  • 8,096
  • 22
  • 77
  • 110
6
votes
2 answers

Testing Tapestry pages and components with JUnit

I usually try to minimize testing with Selenium and maximize the usage of plain old back-end testing (JUnit, mocking). With Tapestry I am finding it hard to test pages and components in the latter way due to the "magic" that occurs with the callback…
ponzao
  • 20,684
  • 3
  • 41
  • 58
6
votes
2 answers

How to migrate from Tapestry 4 to 5?

I have an legacy application written with Taspestry 4. How can I upgrade it from Tapestry 4 to Tapestry 5.3.8? Unfortunately I have never had experience before with Tapestry. I can't find any migration guide. All what I can find on Internet is…
Sergey Ponomarev
  • 2,947
  • 1
  • 33
  • 43
6
votes
3 answers

Apache Tapestry - IF with several conditions

I need to get 2 java fields in the one Tapestry table column. Every of my fields can be null. Can I write if condition in single line (2 fields in one IF operator), or I must write inner condition for second field? Now I have this:
Denys
  • 133
  • 2
  • 7
6
votes
2 answers

Tapestry 5.3 tutorial and Eclipse Kepler : RegistryStartup service can't be loaded

I am trying to follow the official Tapestry tutorial Following steps were fine : launching mvn jetty:run (from command line) launching mvn eclipse:eclipse -DdownloadSources=true importing the project inside Eclipse configuring a new Jetty…
loloof64
  • 5,252
  • 12
  • 41
  • 78
6
votes
8 answers

Should one use Tapestry 5 for a production release?

We're starting a large web project, mostly green field. I like the Tapestry framework for java/web solutions. I have concerns about starting a Tapestry 5 project since T5 is still in beta. However, if I understand the documentation correctly, T4…
markinmason
6
votes
1 answer

How can I import external JavaScript file?

I need to import a JS file that is hosted on another server and is not part of my application's assets. How can I import it from within the component?
Eleeist
  • 6,891
  • 10
  • 50
  • 77
6
votes
2 answers

Encoder with component in Tapestry

I have one Page which is displaying details of some Client. I am using t:loop to display some data. In t:loop I am just passing source and value. So far so good, my page is working fine. But when I try to submit the Page it suddenly give me the…
Mahendra Athneria
  • 1,203
  • 3
  • 16
  • 32
6
votes
3 answers

Tapestry Web App on Tomcat occasionally spits out garbage

We have a Tapestry-Spring-Hibernate webapp running on Tomcat 6, handing about a few 1000 requests a second. Randomly, for no apparent reason, a page just displays a bunch of random characters on the browser. However, when the page is refreshed, it…
Jeshurun
  • 22,940
  • 6
  • 79
  • 92
6
votes
2 answers

Integrating Grails with existing web application

We have a large, unwieldy but fairly stable web application written with Tapestry 4.1, which we're looking to gradually move off of. To that end we're looking at developing some new functionality in Grails instead. Our customers should never know…
David Moles
  • 48,006
  • 27
  • 136
  • 235
5
votes
2 answers

Tapestry: default value for a dropdown component

I use the following code for a select-component: Java-class: @Component(parameters = {"blankOption=AUTO", "model=someModel", "value=someId", "zone=someZone"}) private Select demoSelect; Template: