I have a project using these technologies and I'm getting a number of issues. The first is this error:-
org.apache.tapestry5.ioc.internal.util.TapestryException: Exception constructing service 'ValueEncoderSource': Error invoking service builder method org.apache.tapestry5.services.TapestryModule.buildValueEncoderSource(Map, Invalidatio...
What is the best way to refresh a Tapestry zone on a regular basis to pull changes of a dataset from a server?
...
I'm trying to work through the Tapestry tutorial.
I think I got everything set up right and so far so good but I get to the part where the tut rather glibly states:
Change into the newly created
directory, and execute the command:
mvn jetty:run
Again, the first time, there's a
dizzying number of downloads, but
before...
Hi, I'm adding Internationalization to a tapestry app.
Is there a standard tapestry-3 technique to Internationalize strings that appear as Javascript literals?
For example:
<input jwcid="submitBtn" type="submit" accesskey="U" value="Update" class="actionBtn" onclick="return confirm('Are you sure that you want to do that?');"/></td>
...
I'm not at all familiar with Tapestry 4.0.1 and need to update a legacy application to display a formatted tooltip for a few links within a @For loop. What is the easiest/best way to go about accomplishing this? Should I be using the @Script component or is there a simpler way?
By the way, upgrading to a newer version of Tapestry is ou...
Hi all,
Is it possible to use a @Script component to render a script tag pointing to a js file hosted on a different server?
Basically, I need to inject a script tag such as:
<script src="http://otherserver.com/script.js"></script>
but I need to have it render in the head, or at least before other tapestry scripts are rende...
I want to use an EJB3 from within my Tapestry Page class, I can do JNDI lookup for it, but it will me much convenient to use EJB injection or Tapestry IoC. Is that possible?
...
This question goes out to those who have used Tapestry as a web framework and then either gave it up or switched to something else, or even ported their application from Tapestry to something else.
The question is why? What led you to make this change?
EDIT: Also, what framework (if any) did you change to?
...
Also, if there are, which would you recommend?
...
I have an error being thrown on deleting an entity. I have users in only one group at a time, so it's a ManyToOne relationship on the User class. In the page class I have a property group:
@Property @Persist private Group group;
that is populated on page activation:
public void onActivate(Group g) {
group = g;
}
When the dele...
I have one layout component for all my pages, I want to switch this component based on the user desire. I don't want to add a property to each page to return the current layout component.
...
Hi All,
I have images stored in a database I need to serve within a tapestry page.
I was about to write a servlet (simple enough) to serve the image like I always have but I figured using an asset or a service was more tapestry oriented.
What would be the simplest/tidiest way to include a dynamic image within a tapestry page?
Bare in...
Hi,
I had a project that requires the use of Extjs as the frontend of my program and tapestry on the backend.
I am new with both, but still able to create the panels of forms on the frontend, however can anyone advise how would it be possible to link/integrate with the backend java side of tapestry such that the Extjs form panel would ...
public void pageValidate(PageEvent event) {
//how to use pageEvent to sendRedirect to google.com ?
...
I'd like to insert a link (as an -Tag) and/or an Asset (as an -Tag) into localized Messages in Tapestry 5. Is there any way to generate the HTML so that I can insert it into the message, possibly via
messages.format("message", link);
...
I need to implement a multiple select in tapestry 4.1.
The example supplied in the component docs is pretty lame as it requires multiple components/properties to do one simple thing. I especially don't like the reliance on a @For component and its properties, or the need to map a boolean array back to the original options to derive the ...
Using the 3rd party tapestry-upload component, I can upload a File from the client on the server.
Using the chenillekit's thumbnail component, a can make a thumbnail from an Asset.
How can I convert my File into an Asset in order for the Thumbnail component to provide me the image thumbnail ?
...
public IBasicTableModel getModel() {
return new IBasicTableModel() {
public int getRowCount() {
System.out.println("called many times....");
return getServiceLayer().countTotalCategoryRow(getKeyword());
}
}
when i tried this and printout on console, it showed this metho...
is it possible to generate valid XHTML in tapestry 4.1.x ?
i specifically need the shell to generate the proper XHTML headers and can work around the actual body content - ie only use specific components that render valid tags/structure.
thx.
...
Is it possible to have more than one tapestry5 module in one web application? Every Tapestry module has an AppModule.java file, which if i'm correct, is supposed to handle only one context, is it possible to have multiple of these AppModule.java.
...