[T5] A small CMS in Tapestry

2008-03-31 Thread Max Scheffler
Hi, I want to create a small CMS. The main purpose is to make a limited number of pages configurable. Configurable means that I use a template with placeholders in which components out of a set can be filled in. For example the template: SimpleSkeleton.tml !DOCTYPE html PUBLIC -//W3C//DTD XHTML

Re: T5: Custom asset locator?

2008-03-31 Thread Andreas Pardeike
Robert, It's not about security and only partial about pretty url's. The thing is that I am building a meta site which will host a bunch of sites that other companies can design. Since this will be a portal, I provide basic functions like login, basket, search etc as components which then will

RE: t5: properties file location

2008-03-31 Thread Cordenier Christophe
Hello, I think it is always preferable to refer to the root pat : / A good way to access root class path may be something like this : getClass().getResource(/resources/m2.properties), there is also a getResourceAsStream(/resources/m2.properties) method to get and input stream from classpath.

T5: Custom (conditional) validation

2008-03-31 Thread Inge Solvoll
Hi! I'm reading the examples on TextField validation, which use validate=required,regexp for specifying validation rules. A lot of my pages use more sophisticated validation, examples here: - Field1 is only required if Field2 is empty - This is a temp save (save draft), so none of the fields

RE: T5: Custom (conditional) validation

2008-03-31 Thread Cordenier Christophe
Hello You may take a look at the ValidationTracker mechanism. Form uses this objects to follow form errors. The form component has the tracker attribute to substitute the default one by yours. Hope this helps Christophe -Message d'origine- De : Inge Solvoll [mailto:[EMAIL PROTECTED]

Re: How is T5 tutorial?

2008-03-31 Thread Davor Hrg
Your every post is an insult, you propose moving to another framework without any grounds to do so, you are neither a Tapesrty, GWT, or Wicket user. I've asked you plenty of questions and haven't mentioned the word troll in the last message, and you havent answered that part at all, you just kept

Re: [T5] Tapestry evaluation + questions

2008-03-31 Thread Michael Gerzabek
Hi Rob or however you are! Nice to see you spicing up this list ;) Your comments are always very thoughtful so everybody on this list can feel how you from your deepest heart care about people on this list as well as the evolution of Tapestry. Thank you for your invaluable contribution!

RE: t5: properties file location

2008-03-31 Thread Angelo Chen
Hi Cordenier, Thanks, root path works. there is a 'resources' under src/main, but when package with maven, there is no resources in the final jar, log4j.properties and m2.properites all go to the root. Angelo Cordenier Christophe wrote: Hello, I think it is always preferable to refer

Re: [T5] Tapestry evaluation + questions

2008-03-31 Thread Andy Blower
Thanks for your concern Rob, but I'm pretty comfortable evaluating things myself and have already read that discussion. The backward compatibility history of Tapestry will certainly be taken into consideration. (that was the distraction I mentioned) Sometimes it's better to break backwards

Re: t5: properties file location

2008-03-31 Thread Christian Edward Gruber
Yeah, you have to think of not /src/main as the root, but as /src/main/ */ as multiple roots which, in the case of jars, for example, are merged into one location. That's generally true of maven project layouts. Christian. On 31-Mar-08, at 05:50 , Angelo Chen wrote: Hi Cordenier,

moving to tapestry4.1

2008-03-31 Thread abhilash
Hi, I am in the process of upgrading from tapestry 4.0 to 4.1 In my page @tacos:FloatingPane is not working. I know that we can't use tacos in tapestry4.1. But i don't know how i can make my floating pane working in tapestry4.1 unable to find FloatingPane class in org.apache.tapestry.dojo.html

Re: moving to tapestry4.1

2008-03-31 Thread Igor Drobiazko
Tacos 4.1 is build with Tapestry 4.1.x. Try it out. http://tacos.sourceforge.net/tacos4.1/ On Mon, Mar 31, 2008 at 2:43 PM, abhilash [EMAIL PROTECTED] wrote: Hi, I am in the process of upgrading from tapestry 4.0 to 4.1 In my page @tacos:FloatingPane is not working. I know that we can't use

Ant based T5 application

2008-03-31 Thread HHB
Hi. T5 prefers Maven as the building tool, do know any on line sample T5 application that uses Ant instead of Maven? I can write one by hand but I'm looking for Ant script that is production aware. Thanks. -- View this message in context:

Re: Ant based T5 application

2008-03-31 Thread 宁德辉
What about tapestry jumpstart? http://files.doublenegative.com.au/jumpstart/. It uses Ant to build. DH - Original Message - From: HHB [EMAIL PROTECTED] To: users@tapestry.apache.org Sent: Monday, March 31, 2008 10:36 PM Subject: Ant based T5 application Hi. T5 prefers Maven as the

Retrieving an instance of a component in code [WAS Re: [T5] A small CMS in Tapestry]

2008-03-31 Thread Max Scheffler
Max Scheffler schrieb: Hi, I want to create a small CMS. The main purpose is to make a limited number of pages configurable. Configurable means that I use a template with placeholders in which components out of a set can be filled in. For example the template: SimpleSkeleton.tml

Re: Form with a Zone - ComponentEventException

2008-03-31 Thread Howard Lewis Ship
The question is: does this Modalbox send a request via XmlHttpRequest? And does it use Tapestry's handling of the JSON response? The error you are getting appears to be because it's not recognized as an XHR request, i.e., not an Ajax request and is being treated as a traditional request, for

Re: kein Betreff

2008-03-31 Thread Josh Canfield
What you are trying to do goes against Principle 1 -- Static Structure, Dynamic Behavior, which you can read about on http://tapestry.apache.org/tapestry5/ towards the bottom of the page. This question has been asked before and if you search the list (try nabble.com) you'll find more discussion.

Re: T5: Custom (conditional) validation

2008-03-31 Thread Marcus Schulte
Hi Inge, I've done similar conditional validation using T4-1's ajax - @EventListener stuff. This is certainly not the tersest possible solution, but it's very powerful. And, most importantly, client-side validation works. So you might have something like: ... input jwcid=[EMAIL PROTECTED]

T4 - Autocompleter without doing a full page re-render

2008-03-31 Thread Paul Stanton
Hi all, I'm using the @Autocompleter component and have noticed that at each interaction (lookup and selection) it essentially re-processes the whole wrapping page at the back end. In this case, I have a couple of sometimes large database lookups that are being re-queried and as a result the

Re: T4 - Autocompleter without doing a full page re-render

2008-03-31 Thread Marcus Schulte
You can distinguish between a normal render and an ajax-render via getRequestCycle().getResponseBuilder().isDynamic(), hth, Marcus On 01/04/2008, Paul Stanton [EMAIL PROTECTED] wrote: Hi all, I'm using the @Autocompleter component and have noticed that at each interaction (lookup and

Re: T4 - Autocompleter without doing a full page re-render

2008-03-31 Thread Marcus Schulte
You can distinguish between a normal render and an ajax-render via getRequestCycle().getResponseBuilder().isDynamic(), hth, Marcus On 01/04/2008, Paul Stanton [EMAIL PROTECTED] wrote: Hi all, I'm using the @Autocompleter component and have noticed that at each interaction (lookup and