Re: AjaxStatus not working when not using @Shell?

2007-12-27 Thread Kaspar Fischer
On 26.12.2007, at 18:18, Andreas Andreou wrote: It should work, but I can try and look it up a bit... what Tapestry version? That would be great. The version is 4.1.3. By the way, I have a very basic question: What is the relation between Tapestry 4.x and the current version of Tacos

Re: [T5] using nbsp; in template

2007-12-27 Thread Steve Eynon
See the Template Doctypes section at http://tapestry.apache.org/tapestry5/tapestry-core/guide/templates.html for more info. Steve. On 16/12/2007, Arve Klev [EMAIL PROTECTED] wrote: I put this line at the top of the template: !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN

Re: why special position for pages, components and ...?

2007-12-27 Thread Angelo Turetta
Mohammad Shamsi wrote: but you can see some mechanism in JPA (Java Persistence API). here you just Annotate a class with @Entity for using it as a Entity in application. i think number of entities in a application is not much less then number of pages.but i have no performance problem in my

[T4]: Execute arbitrary JS from EventListener

2007-12-27 Thread Kevin Menard
Hey all, I have the need to call arbitrary JS after updating components from an EventListener. The use case is the following: If client-side validation is disabled I show a div that display the error message. When a form is submitted asynchronously, I can update the contents of the div, but

Re: [T4]: Execute arbitrary JS from EventListener

2007-12-27 Thread Martino Piccinato
I think you are looking for http://tapestry.apache.org/tapestry4.1/jsdoc/index.html in particular for http://tapestry.apache.org/tapestry4.1/jsdoc/files/fx-js.html On Dec 27, 2007 6:39 PM, Kevin Menard [EMAIL PROTECTED] wrote: Hey all, I have the need to call arbitrary JS after updating

Re: T5: A web flow idea on T5

2007-12-27 Thread jeffrey ai
Be careful that the problem might not just be having 2 flows at a time for the same session but also managing interrupted flows. I think allowing one flow interrupted by another will introduce lots of complexity and consume more resources. I don't think our users need it, so I don't want to

Re: [T4]: Execute arbitrary JS from EventListener

2007-12-27 Thread Jesse Kuhnert
You can always call any of the various addFOoScript methods available on ResponseBuilder(IScriptProcessor). This was previously broken if called within a listener method but has since been fixed in at least the 4.1.4-SNAPSHOTs. On Dec 27, 2007 12:39 PM, Kevin Menard [EMAIL PROTECTED] wrote:

Re: why special position for pages, components and ...?

2007-12-27 Thread Howard Lewis Ship
There are a number of reasons. Convention over configuration. Your @Page annotation is just another bit of configuration that is obviated by putting classes in a known directory. Although the layout mandated by T5 is required, it is also the layout that I recommended for T4, even though more

T5.0.7 still can't resolve encoding.

2007-12-27 Thread yuan gogo
I got t5.0.7 this morning. As I'm a Chinese user, I use utf-8 encoding for my application. But, while upload file and some text, I got this: java.lang.NullPointerException: charsetName java.lang.String.init(String.java:442) java.lang.String.init(String.java:516)

T5: How to use the Autocomplete component?

2007-12-27 Thread Joshua Jackson
Dear all, I already try to follow what's written on the document regarding how to use Autocomplete component, but still can not get it working. Here's what I've done: Template: input t:type=TextField t:value=prop:clientName t:mixins=autocomplete / Page: private String clientName;

Re: T5: createActionLink, delimiter : and .

2007-12-27 Thread Howard Lewis Ship
Your method is named incorrectly. It should be onSend() or onSendFromFoo() (where Foo is the component id). On Dec 25, 2007 11:34 PM, Foror [EMAIL PROTECTED] wrote: When I call a createActionLink(send, false, 2050) in page then link is message:send/2050. And it does not work

Re: T5: createActionLink, delimiter : and .

2007-12-27 Thread Davor Hrg
while speaking of ActionLink... is there a strong reason why action name is not parametrized ? default value should be of course action Davor Hrg On Dec 28, 2007 8:00 AM, Howard Lewis Ship [EMAIL PROTECTED] wrote: Your method is named incorrectly. It should be onSend() or onSendFromFoo()