Re: Documentation Request/Suggestion

2010-03-22 Thread Igor Drobiazko
Why is the javadoc insufficient? All the services are located in few packages depending on the module they were created. Some of them are: http://tapestry.apache.org/tapestry5.1/apidocs/org/apache/tapestry5/ioc/services/package-frame.html http://tapestry.apache.org/tapestry5.1/apidocs/org/apache/t

Re: "dynamic" tml

2010-03-22 Thread Alfonso Quiroga
You mean "might" choose between different .tml files in the webapp dir? On Tue, Mar 23, 2010 at 12:04 AM, Angelo Chen wrote: > > delegate might work. also Velocity with outraw component can somehow > achieve > that. > > > Alfonso Quiroga wrote: > > > > Hi! I just want to know something.. I used

Re: "dynamic" tml

2010-03-22 Thread Angelo Chen
delegate might work. also Velocity with outraw component can somehow achieve that. Alfonso Quiroga wrote: > > Hi! I just want to know something.. I used layouts in T5 ( > http://wiki.apache.org/tapestry/Tapestry5SimpleAndPowerfulLayouts) and it > works OK. My layout-tml has 3 o 4 IF and renders

"dynamic" tml

2010-03-22 Thread Alfonso Quiroga
Hi! I just want to know something.. I used layouts in T5 ( http://wiki.apache.org/tapestry/Tapestry5SimpleAndPowerfulLayouts) and it works OK. My layout-tml has 3 o 4 IF and renders fine. But what happens if I want really dynamic layout-tml? I mean, if a page uses layout "peter", it should search

Re: Cross Site Request Forgery (CSRF) for T4

2010-03-22 Thread Andreas Andreou
Assuming you just want to protect form submits and that you want to implement the cookie + hidden field solution it's possible to do this: 1) Create a CSRFValidator that implements org.apache.tapestry.form.validator.Validator (or extends BaseValidator) and that uses the renderContribution method t

Re: Silly port conflict

2010-03-22 Thread Pierce T. Wetter III
On Mar 22, 2010, at 4:57 PM, Pierce T. Wetter III wrote: > > On Mar 22, 2010, at 3:22 PM, Michael Gentry wrote: > >> I don't know what container you are using, but with Jetty, I do something >> like: >> >> mvn -Djetty.port= jetty:run > > It's the self tests in the tapestry T5.2 build, b

Re: Silly port conflict

2010-03-22 Thread Pierce T. Wetter III
On Mar 22, 2010, at 3:22 PM, Michael Gentry wrote: > I don't know what container you are using, but with Jetty, I do something > like: > > mvn -Djetty.port= jetty:run It's the self tests in the tapestry T5.2 build, but I'll try that... Cool. my hudson build now builds and deploys into n

Re: Documentation Request/Suggestion

2010-03-22 Thread Michael Gentry
Created: https://issues.apache.org/jira/browse/TAP5-1070 I'm not sure if what I meant by Injectables makes sense, but basically I meant all things supplied by T5 that you can @Inject (such as ComponentResources). I had been using T5 for 2-3 months and had no idea ComponentResources even existed a

Cross Site Request Forgery (CSRF) for T4

2010-03-22 Thread Matthew Cordes
Hi all, I'm looking for a little information about CSRF for Tapestry 4. I found this page which explains how to add CSRF preventative code to tapestry 5 ( http://wiki.apache.org/tapestry/Tapestry5CSRF). Can anyone recommend a similar solution for Tapestry4? If you're familiar with a document that

Re: Documentation Request/Suggestion

2010-03-22 Thread Geoff Callender
+1 On 23/03/2010, at 7:11 AM, Thiago H. de Paula Figueiredo wrote: > On Mon, 22 Mar 2010 16:48:31 -0300, Michael Gentry > wrote: > >> Hello everyone, > > Hi! > > For annotations, > >> All I'm imagining here is a table for each that lists all of the >> annotations and injectables that ship w

Re: javascript not working in updated zone ( IE only)

2010-03-22 Thread Josh Canfield
Thiago is right. What is happening is the single quotes in your javascript are getting html encoded and IE doesn't like it. When prototype goes to update the div using innerHTML you get two syntax errors for the ' characters in the onclick attributes (the line number being 1 tells you that it's goi

Re: [T5.2] Deprecated public API of RenderSupport removed without replacements?

2010-03-22 Thread Otho
Issue entered as *TAP5-1068 * In my case it is specifically a link to the Google maps API, where I have to conditionally set the sensor parameter to true or false and later on maybe even the API key depending on the user. It would be neat, if Javas

Re: Silly port conflict

2010-03-22 Thread Michael Gentry
I don't know what container you are using, but with Jetty, I do something like: mvn -Djetty.port= jetty:run mrg On Mon, Mar 22, 2010 at 4:44 PM, Pierce T. Wetter III wrote: > > >  So my Hudson build of Tapestry can't run the unit tests because I already > have something running on port 80

Silly port conflict

2010-03-22 Thread Pierce T. Wetter III
So my Hudson build of Tapestry can't run the unit tests because I already have something running on port 8080. Is there an easy way to change the port? Pierce - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.o

Re: javascript not working in updated zone ( IE only)

2010-03-22 Thread Thiago H. de Paula Figueiredo
On Mon, 22 Mar 2010 18:16:33 -0300, peter ricke wrote: id="info1b" >/\ Use RenderSupport.addScript() to add JavaScript to the page instead of adding it inside the HTML, specially inside zones. -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate

Re: javascript not working in updated zone ( IE only)

2010-03-22 Thread peter ricke
Hi Josh, thanks for the very wellcome help, i created a small page reproducing the error (again only in IE) Tapestry Version is 5.1.0.5 Thanks, Peter _ErrorPage.tml:_ http://www.w3.org/1999/xhtml"; xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_0.xsd"; xmlns:p="tapestry:paramet

Res: [T5.1] How to set validation constraints dinamically into values

2010-03-22 Thread Everton Agner
Thank you! It's exactly what I need. :) De: Thiago H. de Paula Figueiredo Para: Tapestry users Enviadas: Segunda-feira, 22 de Março de 2010 17:43:14 Assunto: Re: [T5.1] How to set validation constraints dinamically into values On Mon, 22 Mar 2010 17:37:49 -03

Re: [T5.1] How to set validation constraints dinamically into values

2010-03-22 Thread Thiago H. de Paula Figueiredo
On Mon, 22 Mar 2010 17:37:49 -0300, Everton Agner wrote: Hi, Hi! It seems like a pretty common task, but I'm clueless about it. I have a simple component with some components, but some of them could be Required or not based in some Runtime information. How can I do that? I've @Inje

[T5.1] How to set validation constraints dinamically into values

2010-03-22 Thread Everton Agner
Hi, It seems like a pretty common task, but I'm clueless about it. I have a simple component with some components, but some of them could be Required or not based in some Runtime information. How can I do that? I've @InjectComponent the Form and the Field components but none of them allowed

Re: Documentation Request/Suggestion

2010-03-22 Thread Thiago H. de Paula Figueiredo
On Mon, 22 Mar 2010 16:48:31 -0300, Michael Gentry wrote: Hello everyone, Hi! For annotations, All I'm imagining here is a table for each that lists all of the annotations and injectables that ship with Tapestry, a short description as to what they do, and perhaps links to examples/detai

Better EJB3.1 integration?

2010-03-22 Thread Pierce T. Wetter III
Has anyone done any work on doing better EJB3.1 integration with Tapestry? I know that the Jumpstart does it by using a context lookup, and I'm copying that pattern right now (though without the service) but I thought I'd ask if anyone has gone one better. Pierce ---

Documentation Request/Suggestion

2010-03-22 Thread Michael Gentry
Hello everyone, I've been working with some developers who were new to Tapestry 5 (and I had only worked with it a few months before them). One thing that has come out of that process is I think it would be nice for new and even experienced users to have a couple more reference pages in the docum

Re: [T5.2] Deprecated public API of RenderSupport removed without replacements?

2010-03-22 Thread Howard Lewis Ship
You are right this was sloppy on my part. Please add an issue and I'll put together a fix (which will have the ugliness of a new interface that starts with a deprecated method, but such is life). On Mon, Mar 22, 2010 at 3:58 AM, Otho wrote: > Hi all! > > I migrated a project to Spring 3. To make

Re: Failure writing parameter 'value' of component core/PropertyEditBlocks:textfield

2010-03-22 Thread Josh Canfield
> try { >_class = > Class.forName(getClass().getGenericSuperclass().toString().split("[<>]")[1]); >} catch (ClassNotFoundException e) { >log.error(e.getMessage(), e); >throw new RuntimeException(e.getMessage()); >} >} This really doesn't have

Re: javascript not working in updated zone ( IE only)

2010-03-22 Thread Josh Canfield
My guess is it has something to do with code you aren't showing us... I'd love to help but I don't have the time to try all the variations that might be causing your problem. If you can create a small sample page that reproduces the problem I'll be glad to help you figure out what's wrong. It'd al

Re: Possible memory leak in zone update?

2010-03-22 Thread Massimo Lusetti
On Mon, Mar 22, 2010 at 5:28 PM, Andreas Andreou wrote: > Chrome's Developer Tools (ctrl+shift+i) have a "profiles" tab. > Once selected, you'll find a "Take heap snapshot" at the bottom... > press it once at the start, then again at the end of the activity > you want to perform and it'll show yo

Re: Possible memory leak in zone update?

2010-03-22 Thread Andreas Andreou
Chrome's Developer Tools (ctrl+shift+i) have a "profiles" tab. Once selected, you'll find a "Take heap snapshot" at the bottom... press it once at the start, then again at the end of the activity you want to perform and it'll show you what changed On Mon, Mar 22, 2010 at 17:36, Jochen Berger wrot

Failure writing parameter 'value' of component core/PropertyEditBlocks:textfield

2010-03-22 Thread Daniel Henze
Hi there, I am a newbie with Tapestry (and JAVA) and maybe missing something obvious while trying to save the value of an embedded class. Scenario is as follows. User class has embedded property ContactInfo that stores address, email, website and so on. I managed to embed the email field into

Possible memory leak in zone update?

2010-03-22 Thread Jochen Berger
Hi, I am currently writing a webapp with tapestry 5 and have come to a point where I want a zone to be updated regularly. That works quite well using just a small amount of custom JavaScript. However, I noticed that the browser's memory seems to fill up over the time. The application updates two z

javascript not working in updated zone ( IE only)

2010-03-22 Thread peter ricke
Hello, I`m writing a component wherein a zone is used for displaying various content via blocks. One of this blocks contains the following code ${playingAct.title} \/ id="info1b" >/\

Re: tapestry.formos.com down. any other maven repo for 5.2?

2010-03-22 Thread Massimo Lusetti
On Mon, Mar 22, 2010 at 1:35 PM, Andreas Andreou wrote: > or http://tapestry.apache.org/tapestry5.x-dev/ > > Anyway, it's also supposed to be in line with the website rework (which > however > also lacks a clear direction - or at least i'm not aware of one) - but > no reason for > not decoupling

Re: tapestry.formos.com down. any other maven repo for 5.2?

2010-03-22 Thread Andreas Andreou
or http://tapestry.apache.org/tapestry5.x-dev/ Anyway, it's also supposed to be in line with the website rework (which however also lacks a clear direction - or at least i'm not aware of one) - but no reason for not decoupling those... we just need a profile in the pom that alters the default sit

Re: tapestry.formos.com down. any other maven repo for 5.2?

2010-03-22 Thread Ulrich Stärk
You should ask on in...@. Why not just use http://tapestry.apache.org/nightly/tapestryX/? Uli On 22.03.2010 11:42, Andreas Andreou wrote: At some point, i was waiting for http://www.sonatype.com/people/2009/11/nexus-tips-and-tricks-publishing-maven-sites-to-nexus-14/ to be enabled for http://r

Re: how to set focus on form component

2010-03-22 Thread peter ricke
Thanks Joachim, i thought i read somewhere, that autofocus would be disabled by default, what was wrong of cause, so i did not try to manually switch off but tried anything else... Check the documentation for the rules taspestry uses for the focus in forms. If you want to control this yoursel

[T5.2] Deprecated public API of RenderSupport removed without replacements?

2010-03-22 Thread Otho
Hi all! I migrated a project to Spring 3. To make it work with Tapestry I had to upgrade to 5.2-Snapshot. Now I use RenderSupport.addScript(String scriptSnippet) and RenderSupport.addScriptLink(String) quite a lot. Both of them are deprecated and removed but the latter doesn't have a direct count

Re: tapestry.formos.com down. any other maven repo for 5.2?

2010-03-22 Thread Andreas Andreou
At some point, i was waiting for http://www.sonatype.com/people/2009/11/nexus-tips-and-tricks-publishing-maven-sites-to-nexus-14/ to be enabled for http://repository.apache.org/ Otherwise, we can have a custom profile that deploys to the appropriate place @ tapestry's website (though not clear wha

Re: how to set focus on form component

2010-03-22 Thread Joachim Van der Auwera
Check the documentation for the rules taspestry uses for the focus in forms. If you want to control this yourself, you should switch of the autofocus on the form. Kind regards, Joachim peter ricke wrote: No suggestions? Hello all, i have a form with various elements. When displaying the form

Re: how to set focus on form component

2010-03-22 Thread peter ricke
No suggestions? Hello all, i have a form with various elements. When displaying the form,the focus allways is gained by the first which is not the first element in the form. A user trying to make his way through the form starting at the top, allways gets a confusing client-side validation-mes

Re: tapestry.formos.com down. any other maven repo for 5.2?

2010-03-22 Thread Ulrich Stärk
I guess we can have them generated by Hudson as well when doing an integration build and published somewhere... Uli On 22.03.2010 09:46, Massimo Lusetti wrote: On Mon, Mar 22, 2010 at 4:10 AM, Howard Lewis Ship wrote: Should we switch the POM around? Do we still need builds on tapestry.for

Re: tapestry.formos.com down. any other maven repo for 5.2?

2010-03-22 Thread Massimo Lusetti
On Mon, Mar 22, 2010 at 4:10 AM, Howard Lewis Ship wrote: > Should we switch the POM around?  Do we still need builds on > tapestry.formos.com? Well, the online updated docs/javadocs are handy indeed but... -- Massimo http://meridio.blogspot.com ---

Re: Live service reloading in 5.2

2010-03-22 Thread Christophe Cordenier
Hi Wooki will move to Tapestry 5.2 for next release, we will provide our feedback after upgrade. Thanks for this great feature. Best Regards, Christophe Cordenier. 2010/3/13 Howard Lewis Ship > As you may have seen from my blog posting, I just added live service > re

Re: tapestry.formos.com down. any other maven repo for 5.2?

2010-03-22 Thread Andreas Andreou
we had a similar talk about dependencies here: http://www.mail-archive.com/d...@tapestry.apache.org/msg16091.html So, i'm all in for removing external dependencies and repositories - ideally, we'd just need central. I'm glad that formos exists and that it has helped so much in tapestry's developm

Re: [Announce] Wooki - Collaborative Writing - version 0.2.0 is here!

2010-03-22 Thread Robin Komiwes
Link for the war is corrected. Thanx! On Thu, Mar 18, 2010 at 12:44 PM, abangkis wrote: > hi, just wan't to point out that your download link still point to > > http://static.spreadthesource.com/wooki-0.1.war > > > cheers, > > abangkis > > On Thu, Mar 18, 2010 at 2:37 PM, Christophe Cordenier >