Re: Weird bug

2009-01-25 Thread Thiago HP
On Sat, Jan 24, 2009 at 8:01 PM, wrote: > The following code: > > public Object onActivate(int domainID) { > domain = (Domain)sessionManager.getSession().load(Domain.class, new > Integer(domainID)); > return this; > } One advice: some very subtle and hard-to-find @Persist-related bugs may hap

Re: [DISCUSS] Should the quickstart archetype include tapestry-hibernate?

2009-01-23 Thread Thiago HP
On Thu, Jan 22, 2009 at 10:50 PM, Howard Lewis Ship wrote: > I'm of the opinion that it's easier to remove unwanted stuff than add > it in. Tapestry-hibernate, when it is in the classpath, tries to create a SessionFactory. So, if someone wants the Tapestry archetype without Hibernate, at first he

Re: T5: how to invalidate session on logout?

2009-01-23 Thread Thiago HP
I would create an EventLink (the logout link) that, when clicked, invalidates the session. Logout @Inject private Request request; @OnEvent("logout)" void logout() { request.getSession().invalidate(); } -- Thiago - To uns

Re: Doubts in Tapestry

2009-01-22 Thread Thiago HP
Read http://tapestry.apache.org/tapestry5/guide/appstate.html and you find out what's wrong. :) On Thu, Jan 22, 2009 at 12:12 PM, Sid Ferreira wrote: > Seen today your mail and followed your words. A lot of changes later I just > have an ASO problem... > My dispatcher > (http://wiki.apache.org/t

Re: [ANN] JumpStart 4.0 released - uses Jetty!

2009-01-22 Thread Thiago HP
On Thu, Jan 22, 2009 at 2:23 AM, Christian Edward Gruber wrote: > The ability to change your .tml and .java classes (for components and pages) > and have them take effect without a restart. That's what Tapestry 5 calls "live class reloading". It is a huge productivity boost. -- Thiago ---

BeanEditor/BeanEditForm: getting the edited object

2009-01-21 Thread Thiago HP
Hi! I've been learning how to write property edition/visualization blocks for BeanEditor and BeanEditForm. Using @Environmental private PropertyEditContext editContext; I'm able to get the property being edited and it's value. How could I get the object being edited? (The one passed to the object

Re: Table and carriage return

2009-01-21 Thread Thiago HP
On Wed, Jan 21, 2009 at 8:40 AM, Cathy_123 wrote: > I set these values on the java code and I try to add ' \n\r' or '\r\n' or > '' on the string but tapestry > doesn't understand this carracters. Do you know how to do it ? HTML completely ignores newline (\n, \r) characters unless they're surro

Re: Enhancing docs

2009-01-20 Thread Thiago HP
On Tue, Jan 20, 2009 at 9:14 AM, Sid Ferreira wrote: > http://wiki.apache.org/tapestry/Tapestry5HowToControlAccess > Im following the docs, but many times the aren`t clear, like the @Private > annotations and imports. >From the linked page: "Our first task is to create a @Private annotation . . .

Re: change grid table row background color based on column data

2009-01-20 Thread Thiago HP
On Tue, Jan 20, 2009 at 1:29 AM, wesleywj2 wrote: > hi there, Hi! > i 've wondered how to change the background color of the element based > on data? > normally we just override the css, but on my case, when my data is > populated; one of my column is a fixed string. based on this column value

Re: Complex Component Tutorial

2009-01-19 Thread Thiago HP
On Mon, Jan 19, 2009 at 10:56 AM, Sid Ferreira wrote: > Well, I used them much more as an example... Also, I was looking for more > detailed articles. The steps I suggested in my last message to this thread are still valid. Instead of asking for generic things like "how to build a complex compone

Re: [T5] improve documentation

2009-01-19 Thread Thiago HP
On Mon, Jan 19, 2009 at 10:51 AM, Otho wrote: > Jumpstart is great, especially for looking some techniques up and see how > certain details are done. But does it really suit as a single Tutorial > application where you go from nil to something useable? I think both are very important: a cookbook

Re: Complex Component Tutorial

2009-01-19 Thread Thiago HP
On Mon, Jan 19, 2009 at 7:48 AM, Sid Ferreira wrote: > Didn't checked yet, but, I meant build a beanEdit... I mean, make my own > grid... Step 1: learn how to build simple components. Step 2: if step 1 was not enough to do what you want, read the Grid, BeanEditor, etc sources as a source of inspi

Re: Redirect and Forward

2009-01-19 Thread Thiago HP
On Mon, Jan 19, 2009 at 8:38 AM, Sid Ferreira wrote: > Im trying to forward or redirect the page programatically, for instance: > Opens Start.tml, if the ID is TRUE, it goes to List.tml, else it goes to > Login.tml. How to redirect? Put this method in your Start class: Object onActivate() {

Re: Strange ClassNotFoundException: org.slf4j.Logger

2009-01-18 Thread Thiago HP
On Fri, Jan 16, 2009 at 6:36 PM, Martijn Brinkers wrote: > But I'm using run-jetty-run successfully for a long time already. I only > had to add -Dorg.mortbay.jetty.webapp.parentLoaderPriority=true to the > VM-arguments box in the run-jetty-run debug configuration (in Eclipse) It still doesn't wo

Re: Where to check that the user is logged in when rendering a page

2009-01-16 Thread Thiago HP
On Fri, Jan 16, 2009 at 2:14 PM, Jonathan O'Connor wrote: > Thiago, > thanks very much. You're welcome! > b) I feel (due to the examples in the documentation) that activate should > take a parameter as the id of some object I want to resurrect. onActivate is a method that handles (is invoked) t

Re: T5 AJAX

2009-01-16 Thread Thiago HP
On Fri, Jan 16, 2009 at 2:02 PM, Alan Chaney wrote: > Hi Hi! > I'm considering to move to T5 for a major new project. I evaluated T4 at > some length a couple of years ago but went a different way for my needs at > the time. We have experience with JQuery. I understand that T5 comes with > proto

Re: [T5] creating event links without the page activation context being encoded into the URL

2009-01-16 Thread Thiago HP
On Fri, Jan 16, 2009 at 8:13 AM, Jochen Kemnade wrote: > Hello, Hello! > I've got a problem with creating "stateless" event links. I've got a page, > which has an activation context. On the page, there's a component, that > displays > images. These images are rendered by a service, which I ha

Re: Where to check that the user is logged in when rendering a page

2009-01-16 Thread Thiago HP
On Fri, Jan 16, 2009 at 1:42 PM, Jonathan O'Connor wrote: > Hi, Hi! > I have been reading the documentation, and I haven't seen what I need to > find out: How can a page finding that the user is not logged in, it should > jump to a login page, and optionally jump back to the requested page? Use

Re: Mapping Bean For View Layout

2009-01-14 Thread Thiago HP
On Wed, Jan 14, 2009 at 11:24 AM, Gutemberg A. Da Silva wrote: > how do I map 'bean' using the view layout? What do you mean by view layout? By the way, take a look at the Tapestry forms tutorial: http://tapestry.apache.org/tapestry5/tutorial1/forms.html -- Thiago -

Re: Strange ClassNotFoundException: org.slf4j.Logger

2009-01-14 Thread Thiago HP
On Wed, Jan 14, 2009 at 9:19 AM, Martijn Brinkers wrote: > Have you tried setting parentLoaderPriority? Hi! Thanks for your answer, but it didn't work. That wiki page talks about @Inject'ng a Logger, but in my case the problem happens when instantiating (or getting) a Logger for a Form component.

Strange ClassNotFoundException: org.slf4j.Logger

2009-01-14 Thread Thiago HP
Hi! I'm having a very strange exception when trying to run a T5 application (www.arsmachina.com.br/project/example): Error obtaining injected value for field org.apache.tapestry5.corelib.components.Form.logger: java.lang.ClassNotFoundException: org.slf4j.Logger It seems to be a Tapestry classloadi

Re: Does the onActivate method can't return a Page?

2008-12-26 Thread Thiago HP
Have you tested your Index page separately? Your code looks correct. On Wed, Dec 24, 2008 at 12:59 PM, d0ng wrote: > Hi, > I have a page that's used to redirect request to other page in some > case,but I don't make it work well. > For example,in the test code the Index page can't be render and th

Re: IE html/css problem

2008-11-24 Thread Thiago HP
On Mon, Nov 24, 2008 at 1:45 PM, Joachim Van der Auwera <[EMAIL PROTECTED]> wrote: > Hi, Hi! > (indeed, only adding a newline) the styling is correct in IE7 as well. > Now I obviously have the additional problem that tapestry removes > unnecessary whitespace, making the "obvious" solution not work

Re: Multiple file upload

2008-08-28 Thread Thiago HP
On Thu, Aug 28, 2008 at 3:27 PM, Chris Lewis <[EMAIL PROTECTED]> wrote: > The tricky part unfortunately is dealing with T5. I don't know how you > can create new components on the fly. You just cannot do that. Tapestry 5' mantra is "Static Structure, Dynamic Behavior". One way to do it would be pu

Re: Tap 5.0.11 : How to get page instance from page

2008-06-02 Thread Thiago HP
On 6/2/08, raulmt <[EMAIL PROTECTED]> wrote: > No, I need to do this in a service... but even in a page, i have the page > class in a String at runtime, so I can't declare a property and use the > InjectPage like that Why don't you try to pass a page instance as a parameter to your method

Re: T5 Creating a Library of Custom Components

2008-05-29 Thread Thiago HP
On 5/28/08, Marcus <[EMAIL PROTECTED]> wrote: > Hi Thiago, > > You are right, LibraryModule was not loaded. Hi! Check your JAR's MANIFEST.MF. If it is OK, try putting your JAR in the classpath through Eclipse project settings instead of just dropping your JAR in WEB-INF/lib. -- Thiago ---

Re: T5 Creating a Library of Custom Components

2008-05-28 Thread Thiago HP
It looks like your LibraryModule was not loaded. To ensure it is, put a System.out.println("Module loaded!") in your contributeComponentClassResolver() method. Also check the generated JAR to ensure everything is in the proper place. -- Thiago

Re: Layout Attributes Shared

2008-05-23 Thread Thiago HP
On 5/22/08, zack1403 <[EMAIL PROTECTED]> wrote: > Yea I've tried multiple different combinations of @Persist to get something > to work on my pages and component with no luck. Thanks anyways for your > help Filip. Why not @ApplicationState, as the information does not belong to a single page

Re: Tapestry 5 validation for cross site scripting

2008-05-23 Thread Thiago HP
On 5/23/08, Peter Stavrinides <[EMAIL PROTECTED]> wrote: > The data in our database is shared by other apps, so its integrity is most > important and requires extensive validation... therefore I would have to take > a more > defensive approach and filter out unwanted markup upfront. What about us

Re: T5 assets and trailing slash on urls

2008-05-22 Thread Thiago HP
On 5/22/08, Toby Hobson <[EMAIL PROTECTED]> wrote: > Yes, that works! > Thanks Thiago - I should have read your earlier post! You shouldn't, as it was a little unrelated to yours, and my suggestion didn't help in the other thread. :) -- Thiago --

Re: T5 assets and trailing slash on urls

2008-05-22 Thread Thiago HP
On 5/22/08, Toby Hobson <[EMAIL PROTECTED]> wrote: > type="text/css" /> > This works fine when I access the app at http://localhost/app/start for > example. > But when I try http://localhost/app/start/ the css and images are screwed. > I've > noticed that in the generated html, T5 creates rela

Re: T5: resources unavailable from JAR lib

2008-05-22 Thread Thiago HP
On 5/22/08, Adam Zimowski <[EMAIL PROTECTED]> wrote: > Thanks for all the input Thiago. I tried it with force-absolute-uris > symbol, and it generated absolute paths with the effect of just "/" > being prefixed to paths. So it took effect, but didn't help - still no > resources. I've been fight

Re: T5: resources unavailable from JAR lib

2008-05-22 Thread Thiago HP
On 5/22/08, Adam Zimowski <[EMAIL PROTECTED]> wrote: > >rel="stylesheet" type="text/css"> (my own) It seems to me that Tapestry is generating wrong relative URLs for your assets. Try setting the tapestry.force-absolute-uris symbol to true in your AppModule. Maybe it helps. -- Thiago -

Re: T5: resources unavailable from JAR lib

2008-05-22 Thread Thiago HP
>href="${asset:classpath:resources/css/layout.css}" /> Try ${asset:classpath:/resources/css/layout.css} (note the slash after 'classpath:'). -- Thiago - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-m

Re: T5 Services with diferent Implementation

2008-05-20 Thread Thiago HP
On 5/20/08, Christian Edward Gruber <[EMAIL PROTECTED]> wrote: > Wouldn't it be rather normal to create a tapestry-tx that provided > transaction wrappers around existing services, much the way tapestry-spring > and tapestry-hibernate do? Especially now that there's a bit more AOP going > on in T5

Re: T5 Services with diferent Implementation

2008-05-20 Thread Thiago HP
On 5/20/08, Zheng, Xiahong <[EMAIL PROTECTED]> wrote: > I would use Spring to configure the type of services you are trying to > provide to your pages. I am wondering if using Tapestry services has any > advantages in this case. 1) Tapestry-IoC has a nicer way to describe services (even compared

Re: Grid Source Persist and Paging

2008-05-20 Thread Thiago HP
On 5/19/08, Todd Orr <[EMAIL PROTECTED]> wrote: > I have a Form and a Grid on my search page. The Form's success handler > populates a List results variable using an expensive query that I'd > like to not run on every Grid page navigation. To prevent unnecessary > query hits I use the @Persist a

Re: Instability in Tapestry 5.0.12-SNAPSHOT

2008-05-19 Thread Thiago HP
+1 org.apache.tapestry5. Less margin for confusion, as the difference between package names wouldn't be hust a 's' letter. The more explicit, the better. Thiago - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: T5: Exception Handling

2008-05-19 Thread Thiago HP
On 5/19/08, Filip S. Adamsen <[EMAIL PROTECTED]> wrote: > Now why hadn't I thought of that... :D Sometimes, a solution is so simple that we unconciously search for more complicated ones . . . :) > Thanks! You're welcome! -- Thiago -

Re: T5: Exception Handling

2008-05-19 Thread Thiago HP
On 5/19/08, Peter Stavrinides <[EMAIL PROTECTED]> wrote: > To configure: > You would simply use a standard JSP / HTML error page, and wire it in your > web.xml. I am using Tomcat and it works great... works on Jetty too. Something I've done once is to setup a 404.html page that redirects to a Ta

Re: how can I call a web url from actionlink

2008-05-17 Thread Thiago HP
Return an URL object: @OnEvent (component="quitGame") Object onQuit() throws MalformedURLException { memory.quit(); // more things to do before quitting return new URL("http://www.someOtherWebspace.com";); } -- Thiago ---

Re: T5 @Persist with hibernate objects

2008-05-10 Thread Thiago HP
On 5/10/08, Toby Hobson <[EMAIL PROTECTED]> wrote: > But now I'm getting LazyInitialization exceptions from hibernate because the > results have been detached from the session. I guess I'm going to have to re- > attach the object to the session inside my getResults() method but this seems > like a

Re: @Persist("flash") question

2008-05-09 Thread Thiago HP
Try this: @Persist("flash") private String importRequestSearch; public List getImportRequests() { return importDAO.findImportRequests(importRequestSearch); } This way, you store less information in the session (just the search criteria, not the search result). And you mus

Re: Form event handler not being called

2008-05-04 Thread Thiago HP
On Sun, May 4, 2008 at 10:44 AM, Toby Hobson <[EMAIL PROTECTED]> wrote: > public void onSubmitFromEditPhoto() { > ... > } > @OnEvent(value="submit", component="editPhoto") > public void update() { > ... > } The form component does not fire a "submit" event, firing a "success" one instead.

Re: T5: Persistence pains

2008-05-04 Thread Thiago HP
On Sun, May 4, 2008 at 3:03 AM, Ivan Dubrov <[EMAIL PROTECTED]> wrote: > Right. Most annoying things for us about "session" and "flash" scopes was > that they don't work in several tabs. And "client" can't hold too much data. Maybe you're having an issue with the statelessness of HTTP, not with

Re: T5: Persistence pains

2008-05-02 Thread Thiago HP
On 5/2/08, Joel Wiegman <[EMAIL PROTECTED]> wrote: > Quite simply, "the back button". When loading a page with an activation > context, say: I noticed what you described in it is not a problem with Tapestry (at least most of the time), it's a browser cache or browser prefilling forms issue. Ta

Re: Tapestry users declined for the first time in 3 years, says this researh site ...

2008-05-02 Thread Thiago HP
On 5/2/08, Rob Smeets <[EMAIL PROTECTED]> wrote: > Hi Lance, > > If you contact me off list, I'll make my address available to you. But then > when coming prepare yourself because I can assure you you won't go back home > whole. Is this guy a Uwe Boll fan? :-) If you don't know what I'm talking

[T5.0.10] Form submission character encoding issues when using ISO-8859-1

2008-04-28 Thread Thiago HP
Hi! I'm working on a project that uses an already existent MySQL database. It's using ISO-8859-1 as its character encoding and, then, I want the full application to run in ISO-8859-1. Changing the templates and response encoding to ISO-8859-1 was easy (as everything related to T5 :). Everything wo

Re: T5: question about onValidate and form reset

2008-04-23 Thread Thiago HP
On 4/23/08, Thiago HP <[EMAIL PROTECTED]> wrote: > You can use the @OnEvent(component = "componentName", > value="eventName") annotation > > (http://tapestry.apache.org/tapestry5/apidocs/org/apache/tapestry/annotations/OnEvent.html) > instead of meth

Re: T5: question about onValidate and form reset

2008-04-23 Thread Thiago HP
On 4/22/08, Kevin C. Dorff <[EMAIL PROTECTED]> wrote: > NOW, to help with some future questions: With T3/T4 it was pretty easy to > determine what methods to use for what, just look at the objects I was > extending or implementing and I could see what method to implement or > override to get w

Re: Re: [T5] Sending Email from Tapestry

2008-04-18 Thread Thiago HP
On 4/18/08, nille hammer <[EMAIL PROTECTED]> wrote: > Hi Thiago, Hi, Nille! > thanks for the advice that makes perfect sense! What is left is my first > question, where does Tapestry how to choose the right message catalogue? If I > injected the ConfirmationMailSender in my BookingSummary Pa

Re: [T5] Sending Email from Tapestry

2008-04-18 Thread Thiago HP
On 4/18/08, nille hammer <[EMAIL PROTECTED]> wrote: > And secondly as far as I understand only services can be parameters to build > methods. Am I wrong or do I have to make my Booking class a service? I suggest you a slightly different approach: create a ConfirmationMailSender service. It will

Re: Getting Answers on the User List

2008-04-18 Thread Thiago HP
On 4/18/08, Angelo Turetta <[EMAIL PROTECTED]> wrote: > And why your hypothetical 1.0 need not to be compatible with 2.0, whereas > just because Tapestry 4.0 is not compatible with 5.0 you feel like defending > someone deliberately insulting Howard? In my humble opinion, Yura is not defending Rob

Re: AW: AW: Getting Answers on the User List

2008-04-17 Thread Thiago HP
On 4/17/08, Chris Lewis <[EMAIL PROTECTED]> wrote: > > Rob Smeets wrote: > > Chris, > > 1. Every Tapestry major release is backward incompatible with previous > > releases. > > > > This is public knowledge and documented on the Tapestry website (5 not > compatible with 4). Howard has stated

Re: T5: BeanForm, processSubmission, AppPropertyEditBlock help

2008-04-17 Thread Thiago HP
On 4/17/08, Bill Holloway <[EMAIL PROTECTED]> wrote: > Ok, below are the flexdateeditor template and class. Below that is the use > of FlexDateEditor in TestPage.tml. What is below works just fine -- however > note the appending of a "_0" to the element name in processSubmission. Tapestry appe

Re: T5: Now to generate page with binary output

2008-04-14 Thread Thiago HP
On 4/14/08, Sven Homburg <[EMAIL PROTECTED]> wrote: > but how do i return a binary stream, that generated at render phase. Return your StreamResponse, just like in the wiki example cited earlier, in an onActivate() method. ;) -- Thiago ---

Re: T5 - what happend to the 'state:' binding

2008-04-14 Thread Thiago HP
Try this in your component: @ApplicationState private YourASOClass object; @ApplicationState private boolean objectExists; // tells if your ASO objects has already been created As your login information is an application state, you don't need to access it from the page, AFAIK. -- Thiago -

Re: Controlling acccess to different users by profile

2008-04-11 Thread Thiago HP
On 4/11/08, Marcelo Lotif <[EMAIL PROTECTED]> wrote: > There are two nice articles by Chris Lewis regarding this, and i think it's > the best approach out there. Maybe you should give a try: > > http://wiki.apache.org/tapestry/Tapestry5HowToCreateADispatcher > http://wiki.apache.org/tapestry/Tap

Re: T5 property file for enum

2008-04-10 Thread Thiago HP
On Thu, Apr 10, 2008 at 6:10 AM, Michael Gerzabek <[EMAIL PROTECTED]> wrote: > Is there a way to customize labels for enums in only one file per locale so > that those properties get read whenever the enum is used on a Page? ? In my humble opinion, the best approach is to put all the messages in

Re: JOB: Tapestry developer

2008-04-09 Thread Thiago HP
On 4/9/08, Alexander Lamb <[EMAIL PROTECTED]> wrote: > Well, I didn't mean to offend anyone with the nationality preferences! > It is > just that for a small startup in Switzerland, it is not easy to get work > permits for people outside of the EU. I'm not offended nor I was talking about national

Re: JOB: Tapestry developer

2008-04-09 Thread Thiago HP
On 4/9/08, Alexander Lamb <[EMAIL PROTECTED]> wrote: > Since we are in Switzerland, applicants must either be of Swiss > nationality, holder of Swiss C permit or European Union nationals. I have been developing a site in Tapestry 5 (already in production) and I'm looking for a job, specially in E

Re: 答复: Why it convert my path

2008-04-08 Thread Thiago HP
On 4/8/08, Chris Lewis <[EMAIL PROTECTED]> wrote: > If I'm understanding you, it seems that your problem is getting the path > (url) for asset files like JS and CSS. DO NOT hard code these in > templates! Use the @IncludeJavaScriptLibrary and @IncludeStylesheet > annotations on the page class, a

Re: Does Tapestry have something like Converter in JSF?

2008-03-30 Thread Thiago HP
On 3/30/08, Yura Tkachenko <[EMAIL PROTECTED]> wrote: > Does Tapestry 5 have something like converters? Yes. Take a look at the Translator interfade (http://tapestry.apache.org/tapestry5/apidocs/org/apache/tapestry/Translator.html) and the translate parameter of the TextField component (http://ta

Re: Tap 5.0.9: Why can't Grid column header has blank label

2008-03-30 Thread Thiago HP
On 3/29/08, Thiago HP <[EMAIL PROTECTED]> wrote: > Adding the following to your app.properties will do the trick: > rowNo= Ooops, that should be rowNo-label= -- Thiago - To unsubscribe, e-mail: [EMAIL PR

Re: Tap 5.0.9: Why can't Grid column header has blank label

2008-03-29 Thread Thiago HP
On 2/2/08, Shing Hing Man <[EMAIL PROTECTED]> wrote: > beanModel.add("rowNo", null).label(" "); > > This resulted in the following exception. > I could use css to make the label non-visible. > Is there a more elegant way of having a blank column > header. Adding the following to your app.pro

Re: T5 (5.0.11) - ready for production deployment

2008-03-27 Thread Thiago HP
In the company I worked for until two weeks ago, I developed an internal application with T5 and it's already in production. That was a very successful experience, so the same company is now developing another one in T5. There is another public website, thedailytube.com, developed with T5 by some

Re: T5: File generation

2008-02-29 Thread Thiago HP
On 2/29/08, Chris Lewis <[EMAIL PROTECTED]> wrote: > I'm fuzzy on your goal. What 'files' do you want to make? You want the > generated markup of a component? A page? Maybe (X)HTML documents, XML, HTML e-mails, other text formats, I guess. Am I right, Joel? -- Thiago --

Re: t5: BeanEditForm and column label

2008-02-29 Thread Thiago HP
A simple workaround is to add a line like this in you app.properties: edit-label= -- Thiago - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: T5: Assets, resources and file path

2008-02-29 Thread Thiago HP
Have you tried ? -- Thiago - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [FAQ] common design

2008-02-28 Thread Thiago HP
A little suggestion . . . On 2/28/08, Jesper Zedlitz <[EMAIL PROTECTED]> wrote: > All pages of the application look like: >xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";> > content > I prefer ... . It looks more similar to ordinary HTML than . :) -- Thiago --

Re: T5: 5.0.10 new features

2008-02-17 Thread Thiago HP
On 2/17/08, Davor Hrg <[EMAIL PROTECTED]> wrote: > You can instead just accept string > and call TypeCoercer your self in the meanwhile That's a very nice and clever way to do that, but that would not be very elegant in my structure. I defined an ActivationContextContext interface to encapsulate a

Re: T5: 5.0.10 new features

2008-02-17 Thread Thiago HP
Hi, everybody! This generics support introduced in Tapestry 5.0.10 is awesome. I was already developing an in-house Tapestry 5-related library, including a BaseEditPage and BaseListPage that does validation using Hibernate Validator, object saving (using our in-house DAO and service libraries), de

Re: [T5] triggering multiple Zone component updates

2008-02-13 Thread Thiago HP
On 2/13/08, Corin Lawson <[EMAIL PROTECTED]> wrote: > Hi, Hi! :) > I'm just a newbie so I have a perfectly naive question: Why not nest them > all into a single zone? Because it defies the AJAX goal of only rendering and downloading the info needed to update the parts of the page that were real

Re: Tapestry and Article at Theserverside.com

2008-02-01 Thread Thiago HP
On 2/1/08, Robin Helgelin <[EMAIL PROTECTED]> wrote: > > Not going to feed that troll on that one, but what's the problem? T4 > and T5 live happily together where T4 still is maintained. And Emmanuel is not even a good troll. He praised Gavin King for implementing a backward-compatible framework,

Re: T5 - BeanEditForm and ASO

2008-01-30 Thread Thiago HP
On 1/29/08, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: > Not required. > > However, you will generally want the property to be @Persistent if it > is not an ASO, otherwise the data provided in a form submission can be > lost during the redirect to the render of the page. I would suggest flash pe

Re: Basic queries about Tapestry

2008-01-30 Thread Thiago HP
Emmanuel can have some good points, but, looking at this mailing list history, he is a troll, citing Wicket (which seems to me to be a very good framework, with a lot in common with Tapestry and, obviously, some philosofy differences) in almost any message he posts. What about letting his pure tro

Re: Tapestry[5] - Select Drop Down in a Grid Component

2008-01-29 Thread Thiago HP
On 1/29/08, Anteneh Bayouh <[EMAIL PROTECTED]> wrote: > It is not working! My guess is there might be a conflict between the two > models (employeeModel, which is a BeanModel, and jobClasses model, which is > a SelectModel). How exactly is it not working? Some exception? The dropdown is not being

Re: bidirectional dom interface

2008-01-17 Thread Thiago HP
On Jan 17, 2008 12:12 PM, DR_GLoPeL_BouCa <[EMAIL PROTECTED]> wrote: > > Hello people, I've the similar problem, the browser not display the > response > of ajax submit, I've form with submit async="true" and > updateComponents="ognl:customerTable", when the ajax response come browser > don't disp

Re: Tapestry 6

2007-12-06 Thread Thiago HP
On 12/6/07, Emmanuel Sowah <[EMAIL PROTECTED]> wrote: > > I think this habit of yours of breaking things you think should be done > differently is bad indeed. It is this habit that had endured sufferings > and > almost an impossible task for anyone trying to migrate from any pre T5 to > T5. Tapest

Re: Can't get component inside a component

2007-12-06 Thread Thiago HP
Try replacing @Component(id="couleur1") Couleur couleur1; by @Component(id="couleur1") private Couleur couleur1; AFAIK, @Component and @Inject only works in private fields. Thiago - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Problems Deploying T5 Apps with Component Modules in Jetty

2007-12-05 Thread Thiago HP
On 12/5/07, Steve Eynon <[EMAIL PROTECTED]> wrote: > > To clarify, I only have the one component module (the > WebsiteTagsModule) and it is only in that .jar that I specify the > Tapestry-Module-Classes property in the MANIFEST.MF. So take a look at your environment. Once I ran into a similar prob

Re: Problems Deploying T5 Apps with Component Modules in Jetty

2007-12-05 Thread Thiago HP
On 12/5/07, Steve Eynon <[EMAIL PROTECTED]> wrote: > > java.lang.RuntimeException: > Service id 'AssetFinder' has already been defined by > com.alienfactory.websitetags.WebsiteTagsModule.buildAssetFinder > (AssetSource) > (at WebsiteTagsModule.java:28) > and may not be redefined by > com.alienfacto

Re: Nightly docs fixed - and some general notes

2007-12-04 Thread Thiago HP
On 12/4/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: > > My hatred of Maven is growing quickly. You may not be aware of this, > but Jesse "fixed" the Surefire plugin for Maven almost two years ago > and that STILL isn't the default version (i.e., the non-snapshot > version). Is it hatred of Ma

Re: T3: session length

2007-12-04 Thread Thiago HP
On 12/4/07, James Sherwood <[EMAIL PROTECTED]> wrote: > > So there is no way to have it last the length of the browser being open? No way unless you use some Javascript hack that keeps requesting something to the server. You must remember the nature of HTTP. The browser connects to the server, rec

Re: T3: session length

2007-12-04 Thread Thiago HP
On 12/4/07, James Sherwood <[EMAIL PROTECTED]> wrote: > > What is the downfall to this? Each user session will last forerever even when the user is not using the application, leading to an always increasing server memory usage. Of course you could release the session (session.invalidate()), but I

Re: [T5.0.6] Bug with requests to non-existent URLs with extensions

2007-11-30 Thread Thiago HP
Viva! What about https://issues.apache.org/jira/browse/TAPESTRY-1874 (provide annotation-based decorator matching in T5-IoC) now? :) Thiago

Re: [T5.0.6] Bug with requests to non-existent URLs with extensions

2007-11-30 Thread Thiago HP
Filed: https://issues.apache.org/jira/browse/TAPESTRY-1947 Thiago

Re: T5: Is Persist("conversation") planned? Please?

2007-11-28 Thread Thiago HP
On 11/28/07, Francois Armand <[EMAIL PROTECTED]> wrote: > > I completely agree with your remarks, and it's a kind of pity that T5 is > such in advance in so many areas, and in the same time have to deals by > hand with that. Let's not forget that Tapestry 5 is still alpha and there are other are

Re: 5.0.5-SNAPSHOTS

2007-05-18 Thread Thiago HP
Regarding localization, what about the possibility of a single properties file for the application? Thiago