Re: Securing files on the classpath/webapp context (was: Re: Running Tapestry 5.0.18 on Google App Engine)

2009-08-27 Thread Michael Gerzabek
I must say I was a little bit shocked when I heard about this security hole and found an easy way within httpd (mod_rewrite) to circumvene this problem at first. Thinking about how it should be I would prefer the 'blacklist everything'-approach. This way a dev never has to worry about what's

Re: T5.1: Get block by (page and block) names?

2009-08-27 Thread ThirstyCrow
Thiago H. de Paula Figueiredo wrote: > > t:context="[property1, property2]" > This is just what I want. Thanks again, Thiago. -- View this message in context: http://www.nabble.com/T5.1%3A-Get-block-by-%28page-and-block%29-names--tp25151389p25183100.html Sent from the Tapestry - User mailin

Re: Running Tapestry 5.0.18 on Google App Engine

2009-08-27 Thread Robert Zeigler
Ah, right... blackbird was introduced in 5.1. I could probably check for the symbol in the module and provide it if it doesn't otherwise exist. Robert On Aug 27, 2009, at 8/2712:44 AM , Alex Kotchnev wrote: @Robert, thanks for releasing the 1.0.0 version. I added it, it seems to work OK

Re: t5: archetype create for 5.1.0.5

2009-08-27 Thread John Owen Atala
The problem is Your First Application on Tutorial1 is still using the wrong one. http://tapestry.apache.org/tapestry5.1/tutorial1/first.html Ulrich Stärk wrote: > > http://tapestry.apache.org/tapestry5.1/quickstart/ > > Am 13.05.2009 10:31 schrieb Angelo Chen: >> Hi, >> This creates a project

Re: T5.1: Get block by (page and block) names?

2009-08-27 Thread Thiago H. de Paula Figueiredo
Em Thu, 27 Aug 2009 21:41:27 -0300, ThirstyCrow <5451vs5...@gmail.com> escreveu: But how to express "a list of strings" in the template? Two ways, and they work for other types besides String: t:context="[property1, property2]" or t:context="context" public List getContext() { Li

Re: T5.1: Get block by (page and block) names?

2009-08-27 Thread ThirstyCrow
Thiago H. de Paula Figueiredo wrote: > > Em Thu, 27 Aug 2009 02:35:55 -0300, ThirstyCrow <5451vs5...@gmail.com> > escreveu: > >> it works. However, the solution is still a little ugly. As you see, I >> have to manually split the parameter to get the page and block names. I >> tried the

Re: Problems with FormFragment and Zone update

2009-08-27 Thread Thiago H. de Paula Figueiredo
Em Thu, 27 Aug 2009 15:11:20 -0300, Stefan escreveu: Thanks Thiago, You're welcome! Do you have still any idea? Unfortunately, no. Remote debugging is quite hard . . . :P -- Thiago H. de Paula Figueiredo Independent Java consultant, developer, and instructor http://www.arsmachina.com.br/

[Tapestry Central] Return to Independent Consulting

2009-08-27 Thread Howard
I'd like to announce to the Tapestry community that I've returned to independent consulting. As an independent consultant, I'll have more opportunities to pursue training, mentoring, and project work that did not fit with Formos' overall goals. Formos continues to be committed to Tapestry, and to m

Re: Problems with FormFragment and Zone update

2009-08-27 Thread Stefan
Thanks Thiago, but unfortunately no improvement. Anyway, you need to add zone="addEditFormZone" to I have changed that. My event handler returns "qTypeZone.getBody()" Do you have still any idea? Am 27.08.2009 um 19:00 schrieb Thiago H. de Paula Figueiredo: Em Thu, 27 Aug 2009 13:44:

Re: how to enable default js and css stack?

2009-08-27 Thread Alfonso Quiroga
Thanks! I think a nice way is using IncludeJavascript annotation, now is working fine On Thu, Aug 27, 2009 at 1:34 PM, Howard Lewis Ship wrote: > Inject @Environmental RenderSupport > > Invoking any of its JavaScript related functions will automatically > trigger the inclusion of the client infras

T5.1: Nested/indrect message: values

2009-08-27 Thread Michael Gentry
Hi everyone, I'm trying to use the message catalog to look up values in a loop. I have a List of enums and bind the loop's source to contentAreas and the value to contentArea. I'm then trying to extract a value from the message catalog with: ${message:${contentArea}-name} I was hoping ${conten

Chenillekit which jira

2009-08-27 Thread Sebastian HennebrŸüder
Hello, the chenillekit website names the google issue tracking http://www.chenillekit.org/issue-tracking.html whereas Tapestry360 has a tracker as well. Which one should be used? -- Best Regards / Viele Grüße Sebastian Hennebrueder - http://www.laliluna.de Laliluna.de, Berliner Strasse

Re: T5Eclipse patch

2009-08-27 Thread akira
I think the project home is here: http://tapestry.formos.com/wiki/display/t5eclipse/Home On Aug 27, 2009, at 11:32 PM, users-digest-h...@tapestry.apache.org wrote: From: Erik Putrycz Date: August 27, 2009 4:38:52 AM JST To: users@tapestry.apache.org Subject: T5Eclipse patch Is someone s

Re: Problems with FormFragment and Zone update

2009-08-27 Thread Thiago H. de Paula Figueiredo
Em Thu, 27 Aug 2009 13:44:25 -0300, Stefan escreveu: Sorry, it gives me the same error: No object of type org.apache.tapestry5.services.FormSupport is available from the Environment. ... And here is what i have changed: ... same as in first post Are you

Re: Problems with FormFragment and Zone update

2009-08-27 Thread Stefan
Sorry, it gives me the same error: No object of type org.apache.tapestry5.services.FormSupport is available from the Environment. ... And here is what i have changed: ... same as in first post Am 27.08.2009 um 18:26 schrieb Thiago H. de Paula Figueire

Re: how to enable default js and css stack?

2009-08-27 Thread Howard Lewis Ship
Inject @Environmental RenderSupport Invoking any of its JavaScript related functions will automatically trigger the inclusion of the client infrastructure (all that JS and CSS). Using @InlcudeJavaScriptLibrary does the same (under the covers, its a call to the RenderSupport.addScriptLink(). ).

Re: Problems with FormFragment and Zone update

2009-08-27 Thread Thiago H. de Paula Figueiredo
Em Thu, 27 Aug 2009 13:03:46 -0300, Stefan escreveu: I tried the workaround and surrounded the whole form with a zone, but it does not work. How does it not work? You didn't describe the error, so we cannot help you here. -- Thiago H. de Paula Figueiredo Independent Java consultant, devel

Re: t5: Dynamic Forms & Grids

2009-08-27 Thread Thiago H. de Paula Figueiredo
Em Thu, 27 Aug 2009 13:06:14 -0300, Sparqle escreveu: Hi Thiago, Hi! Based on your post, I am thinking that this type of behavior is not supported by T5. I would say that it is supported, but out-of-the-box you would be way better supported if not using this modeling you're using. I

Re: t5: Dynamic Forms & Grids

2009-08-27 Thread Sparqle
Hi Thiago, Thanks for reviewing my long post and responding. I understand your concerns about the database schema not being ideal, but creating separate Java classes for each one of the "itemtypes" is not acceptable as we are planning to create a site where end-users can define their own categori

Re: Problems with FormFragment and Zone update

2009-08-27 Thread Stefan
Thank for the fast reply. I think i understand the problem. If i replace the nested form fragment with an static text, it works. But it does not with the form fragment. I tried the workaround and surrounded the whole form with a zone, but it does not work. Am 27.08.2009 um 17:43 schrieb Thiag

Re: Problems with FormFragment and Zone update

2009-08-27 Thread Thiago H. de Paula Figueiredo
Em Thu, 27 Aug 2009 12:06:16 -0300, Stefan escreveu: Hi, Hi! Render queue error in BeginRender ... : No object of type org.apache.tapestry5.services.FormSupport is available from the Environment. Tapestry requires a Form to be rendering to render a field. While rendering your zone, ther

Re: T5Eclipse patch

2009-08-27 Thread Juan Miguel Salamanca
Hi Erik T5Eclipse is hosted in tapestry.formos.com. If you get an account I will give you access to the project so that you can make SVN changes. I have been very busy recently and have not managed to fix some issues that prevent continuous integration to work. By the way, I am using Tycho which

Re: Expansions, projections and arrays

2009-08-27 Thread Sebastian Hennebrueder
Kalle Korhonen schrieb: Sebastian, I appreciate the try. But I needed an avg of a field and considering that I don't know how to write it in plain sql either without the avg being used in the result, I think it cannot be done with Criteria either. Kalle In that case, there is no other way. O

Testify and Tapestry 5.0.18

2009-08-27 Thread Szemere Szemere
Excuse my ignorance, does Testify work with Tapestry 5.0.18? The current version of Testify seems to require Tapestry 5.1.05. Is there a version that works with 5.0.18> Szemere

Problems with FormFragment and Zone update

2009-08-27 Thread Stefan
Hi, i have some trouble with a zone update. A nested formFragment (within a zone) should be switched in/visible dependend on a -selection Below i have included a snippet from the source: : Updatet:actionlink>

Re: Expansions, projections and arrays

2009-08-27 Thread Kalle Korhonen
Sebastian, I appreciate the try. But I needed an avg of a field and considering that I don't know how to write it in plain sql either without the avg being used in the result, I think it cannot be done with Criteria either. Kalle On Thu, Aug 27, 2009 at 1:38 AM, Sebastian Hennebrueder wrote: > I

Re: How to inject component of the layout component into the page

2009-08-27 Thread Thiago H. de Paula Figueiredo
Em Thu, 27 Aug 2009 05:39:51 -0300, Sebastian HennebrŸüder escreveu: Hello, Hi! my page uses a layout component. The layout has my self made t:messages component to display messages. I need this component injected into the page as I want to return it as zone update. Tapestry keeps telling

Re: T5.1: Get block by (page and block) names?

2009-08-27 Thread Thiago H. de Paula Figueiredo
Em Thu, 27 Aug 2009 02:35:55 -0300, ThirstyCrow <5451vs5...@gmail.com> escreveu: it works. However, the solution is still a little ugly. As you see, I have to manually split the parameter to get the page and block names. I tried the two-parameter method: Object onAction(String page, String

Re: t5: Dynamic Forms & Grids

2009-08-27 Thread Thiago H. de Paula Figueiredo
Em Wed, 26 Aug 2009 21:14:01 -0300, sparqle escreveu: Hi, Hi! I would like to understand how to create dynamic forms and grids in T5. T5 is all about static structure, dynamic behaviour. Now I would like to store all of item types (book, car, tv etc.) in 1 database table called "itemt

Re: Testify and Injecting Services from IOC Registry

2009-08-27 Thread Paul Field
"Mark W. Shead" wrote on 26/08/2009 15:58:05: > I am using the Selenium testing so I'm subclassing from > AbstractIntegrationTestSuite in tapestry-test. Ahhh The key thing about the TapestryTest superclasses in Testify is that they orchestrate the annotation processing and test scope quite

Re: actionliks and XHR response problem

2009-08-27 Thread Janko Muzykant
i did a few more investigations and there is one thing i can't understand. this is how problematic requests look like: Host: localhost:8080 User-Agent: Mozilla/5.0 (X11; U; Linux i686; pl; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1 Accept: text/javascript, text/html, application/xml, text/xml, */

Re: How to inject component of the layout component into the page

2009-08-27 Thread Kristian Marinkovic
have you tried returning the zone from a getter method within the layout component. this way any page that uses this layout should be able to return the desired zone. i think this could work with a block as well. g, kris Sebastian HennebrŸüder 27.08.2009 10:39 Bitte antworten an "Tapestry

How to inject component of the layout component into the page

2009-08-27 Thread Sebastian HennebrŸüder
Hello, my page uses a layout component. The layout has my self made t:messages component to display messages. I need this component injected into the page as I want to return it as zone update. Tapestry keeps telling me, that the messages component is not included in the page template. How

Re: Expansions, projections and arrays

2009-08-27 Thread Sebastian Hennebrueder
I am just hitting for the bonus. You don't need projections for ordering just order on a field. if the ordering takes place in a relation, then create an alias and use it in the order condition. Best Regards / Viele Grüße Sebastian Hennebrueder - Software Developer and Trainer for Hiber

Re: how to enable default js and css stack?

2009-08-27 Thread Inge Solvoll
Check the tapestry sources, I fond this now in Autocompleter mixin: @IncludeJavaScriptLibrary({"${tapestry.scriptaculous}/controls.js", "autocomplete.js"}) On Thu, Aug 27, 2009 at 9:39 AM, Alfonso Quiroga wrote: > I have a little problem, if I use some t5component that needs the full > js stack

how to enable default js and css stack?

2009-08-27 Thread Alfonso Quiroga
I have a little problem, if I use some t5component that needs the full js stack (declared in ClientInfrastructure), it writes in the libs, and no problem. But if I have a plain page with no t5 components, so none of that js-libs are (prototype, etc) My problem is that I created a component that NE