Re: Is there any way to render the "get" method of form?

2010-10-04 Thread Peter Stavrinides
Point us to the Jira Lutz, the HTML 2 specification details the following: "If the processing of a form is idempotent (i.e. it has no lasting observable effect on the state of the world), then the form method should be GET. Many database searches have no visible side-effects and make ideal applic

Re: T5: Easy FckEditor in Form with associated Zone

2010-10-04 Thread peter ricke
Ville, thank you. Ticket opend : http://kenai.com/jira/browse/T5_EASY_FCKEDITOR-4 Peter Hi, I will take a look at the old FCK editor (The main effort has been put to the newer CK integration.) to make it compatible with 5.2. I'll take a look at this also, but unfortunately it will take 2-4 wee

Re: Early steps getting Tapestry and Hibernate working via DAO

2010-10-04 Thread Michal Gruca
https://bitbucket.org/mgruca/tjug_tapestry_30.09.10/downloads That should run in eclipse with m2 plugin. Check it out, maybe it will help to find solution. In case if revision 9 wouldn't work, try previous one. Rev 9 are changes that I made during presentation, they should not affect anything, bu

Re: [T5.2] Principle 1, Static Structure Dynamic Behaviour

2010-10-04 Thread iberck
Hi, thank you for the response So I don't understand the principle 1. What happend if I add a html element in the tree dom and I get the value from the request after submit ? I'm violating the principle? Is there a problem if I do that? -- View this message in context: http://tapestry.1045

Re: Dynamically loading a component

2010-10-04 Thread Omar Carvajal
This is horrible news since I have no way of knowing the components that needs to be called at design time (other wise I would use a ). There is no magic that can be done to achieve this at all? Even if I have to use the internal services. Thanks for your quick response. Omar On Oct 4, 2010,

Re: Dynamically loading a component

2010-10-04 Thread Thiago H. de Paula Figueiredo
On Mon, 04 Oct 2010 19:35:38 -0300, Omar Carvajal wrote: Hey all, Hi! I am trying to dynamically load a component which must be determined at run time, I figured I must use a t:delegate to render the component. On the Java side of things I cannot figure out how to instantiate the actual c

Dynamically loading a component

2010-10-04 Thread Omar Carvajal
Hey all, I am trying to dynamically load a component which must be determined at run time, I figured I must use a t:delegate to render the component. On the Java side of things I cannot figure out how to instantiate the actual component. I saw the @Component annotation with the "type" parameter b

Re: [T5.2, Google Application Engine] Can't get a method to be realized (i.e. invoke a method)

2010-10-04 Thread Thiago H. de Paula Figueiredo
On Mon, 04 Oct 2010 18:29:26 -0300, Muhammad Mohsen wrote: Hi All, Hi! I strongly suggest you to try to make your application work on Jetty or Tomcat first, specially if you're still learning Tapestry, and after that try the GAE, as it is a different environment. -- Thiago H. de Paul

Re: [T5.2] Principle 1, Static Structure Dynamic Behaviour

2010-10-04 Thread Josh Canfield
The documentation is in flux, but I actually just re-wrote that section of the docs... feedback is welcome. https://cwiki.apache.org/confluence/display/TAPESTRY/Principles Static structure referred to page pooling a lot, but it's really more than that. Josh On Mon, Oct 4, 2010 at 1:29 PM, iberc

Re: [T5.2] Principle 1, Static Structure Dynamic Behaviour

2010-10-04 Thread Thiago H. de Paula Figueiredo
On Mon, 04 Oct 2010 17:29:36 -0300, iberck wrote: Hi forum, Hi! I have a question, since T5.2 does't use a pages pool, what happend with Tapestry principle 1? It stays the same. The difference is that there's only one instance for every page. Now, can we have a more flexible compon

[T5.2] Principle 1, Static Structure Dynamic Behaviour

2010-10-04 Thread iberck
Hi forum, I have a question, since T5.2 does't use a pages pool, what happend with Tapestry principle 1? Now, can we have a more flexible component framework? :) -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-2-Principle-1-Static-Structure-Dynamic-Behaviour-tp3198

Re: @Cached method called multiple times

2010-10-04 Thread Thiago H. de Paula Figueiredo
On Mon, 04 Oct 2010 14:18:19 -0300, Tobias Marx wrote: Hello everyone! Hi! I am using Tapestry 5.1.5 and I noticed that a method annotated as @Cached is executed several times for a single pageview. I am using a "BaseComponent" class that contains this method. It is called from component

@Cached method called multiple times

2010-10-04 Thread Tobias Marx
Hello everyone! I am using Tapestry 5.1.5 and I noticed that a method annotated as @Cached is executed several times for a single pageview. I am using a "BaseComponent" class that contains this method. It is called from component that extends this. Or is it possible @Cached is not working when

Re: absolute asset url

2010-10-04 Thread Josh Canfield
Have you looked into BaseURLSource? http://tapestry.apache.org/tapestry5/apidocs/org/apache/tapestry5/services/BaseURLSource.html Overriding it is documented along with https but you can @Inject and use it elsewhere. http://tapestry.apache.org/tapestry5/guide/secure.html Josh 2010/9/30 Christian

Re: T5: Easy FckEditor in Form with associated Zone

2010-10-04 Thread 9902468
Hi, I will take a look at the old FCK editor (The main effort has been put to the newer CK integration.) to make it compatible with 5.2. I'll take a look at this also, but unfortunately it will take 2-4 weeks, as I'm a bit busy now. I suspect that the AJAX submit breaks the editor default logic

[t5] Problems with grid in a loop

2010-10-04 Thread peter ricke
Hi, On a page i have a grid in a loop. When inPlace="true" clicking on a grids Pager-link always results in displaying the content of the last edited grid on the page, so i`m not able to move through the pages of the grids, and all grids display same information after clicking eachs grid-page

Re: Custom coercion from String to Long

2010-10-04 Thread Howard Lewis Ship
Actually, you can't decorate TypeCoercer, so you are basically out of luck. However, since you are talking about encoding and decoding data in URLs and query parameters, you can work with the ValueEncoderSource instead! It has a more flexible, more forgiving configuration. On Mon, Oct 4, 2010 at

Re: Custom coercion from String to Long

2010-10-04 Thread Christian Köberl
The problem is that Tapestry itself is already adding this Coercion: TapestryIOCModule: add(configuration, String.class, Long.class, new Coercion() { public Long coerce(String input) { return new Long(input); } }); So, t

Re: absolute asset url

2010-10-04 Thread Christian Köberl
The best thing is to have a setting (e.g. a Symbol) with the server url in it. Because with some configurations (e.g. with a load balancer in front) you cannot get the real server url via the HttpRequest. So your code would look something like this: @Inject @Path("context:/img/logo.gif") privat

T5: Easy FckEditor in Form with associated Zone

2010-10-04 Thread peter ricke
Hi all, We are using t5-easyFckEditor quite a while and it runs very well. But now we try to use it within a form with an associated zone. As soon as Zone="xyZone" is included in the - tag the content of the editorfield is not submitted (or not associated to the value-field) when the user su

absolute asset url

2010-10-04 Thread Christian Koller
I have to use an external image scale service and this service needs an absolute url, the service can't work with a relative url. On 02.10.2010, at 04:33, Jonathan Barker wrote: > What is your use case? > > I need to have absolute URL's for an application and I contribute an > override for the