Re: T5 Component Info Passing

2007-08-01 Thread Francois Armand
Todd Orr wrote: [...] This is where I found Environment to be deficient. It seems that no matter what combination of phases of rendering I use I cannot get the data back to the tabnavigation before it is finished rendering and therefore cannot alter it's display. Not sure that it matches what you

[T5] The pattle doesn't work fine with IE!

2007-08-01 Thread Donyee
I use the pattle component in my pages, it works fine in the firefox, but in the IE the (select)buttons were disabled! Does anyone meet this problem? 徐 依伟

RE: [T5] Grid totals

2007-08-01 Thread Joost Schouten
Daniel, In our current solution we disregarded the paginator and always show the total of all lines as showing page totals doesn't make sense in our situation. But implementing this should not be a big problem as you can just obtain the current page, the rows per page and thus generate your totals

Re: [T5] The pattle doesn't work fine with IE!

2007-08-01 Thread 小司
Yes, My pallete does not work ,Button is disabled.only submit button works well 2007/8/1, Donyee <[EMAIL PROTECTED]>: > I use the pattle component in my pages, it works fine in the firefox, > but in the IE the > (select)buttons were disabled! > Does anyone meet this problem? > > > 徐 依伟 > --

a bit of history

2007-08-01 Thread ra
Where versions 3 and 4 were released ? I found news from april 2004 but I belive I was reading about tapestry earlier -- View this message in context: http://www.nabble.com/a-bit-of-history-tf4198864.html#a11942088 Sent from the Tapestry - User mailing list archive at Nabble.com. -

[T5] preview mode

2007-08-01 Thread ra
What does it mean "preview" mode for pages. That I can open the page in the browser couse it's xhtml complainant ? It's one of the goal -- View this message in context: http://www.nabble.com/-T5--preview-mode-tf4198934.html#a11942232 Sent from the Tapestry - User mailing list archive at Nabble.c

Re: a bit of history

2007-08-01 Thread Nick Westgate
Not quite sure what you're asking, but if it's history you want ... You might have first heard about it at OnJava. Earliest article is 2001: http://www.onjava.com/pub/a/onjava/2001/11/21/tapestry.html Tapestry 4 & 3 were released via Apache. Tapestry 2 was released via SourceForge: http://sourc

Re: T5 layout

2007-08-01 Thread Chris Lewis
Thanks Howard - its quite a nice feature. Godspeed with the rest of Tap5. Chris Howard Lewis Ship wrote: It is not yet possible; it is a feature to be added. Not sure of the JIRA number. On 7/31/07, Chris Lewis <[EMAIL PROTECTED]> wrote: Hello all, I've seen several threads about T5 and l

Re: a bit of history

2007-08-01 Thread Daniel Jue
I remember some tidbit saying Tapestry development started before Struts, not that it matters much beyond trivia. On 8/1/07, Nick Westgate <[EMAIL PROTECTED]> wrote: > Not quite sure what you're asking, but if it's history you want ... > > You might have first heard about it at OnJava. Earliest

Conditional async?

2007-08-01 Thread Malin Ljungh
I've created a login component to add to my pages. If validation fails I'd like to use async="true" to display validation messages - works fine! But - if login succeeds, I'd like to refresh the whole page... how do I perform this? In this case I'd like to have async="false" or possibly use some o

[T5] Problem with special characters and forms

2007-08-01 Thread Marcelo lotif
Hi all, when i submit a form with a special character i get a crazy character on the java class (like "Ã(c)" for "é" and "ç" for "ç"). This is a problem or there is something to solve this? Thanks in advance! -- Atenciosamente, Marcelo Lotif

Re: Conditional async?

2007-08-01 Thread Andrea Chiumenti
if login succeeds just write a conditional js that refresh the page On 8/1/07, Malin Ljungh <[EMAIL PROTECTED]> wrote: > I've created a login component to add to my pages. > > If validation fails I'd like to use async="true" to display validation > messages - works fine! > > But - if login succee

Re: [T5] Problem with special characters and forms

2007-08-01 Thread Ulrich Stärk
This has been discussed a dozen times before. Please search the list archives for UTF-8 related topics. Have a look at http://wiki.apache.org/tapestry/Tapestry5Utf8Encoding. Uli Marcelo lotif schrieb: Hi all, when i submit a form with a special character i get a crazy character on the java cl

Re: [T5] Problem with special characters and forms

2007-08-01 Thread Nick Westgate (Work)
Did you read the page Ulrich linked to? "The Utf8Filter changes are still needed to decode form submissions." Cheers, Nick. Marcelo lotif wrote: > > sorry, but i search and did not seen nothing about forms and the UTF-8 > encoding... > thank you for the response :) > > 2007/8/1, Ulrich Stärk

Re: [T5] Problem with special characters and forms

2007-08-01 Thread Marcelo lotif
sorry, but i search and did not seen nothing about forms and the UTF-8 encoding... thank you for the response :) 2007/8/1, Ulrich Stärk <[EMAIL PROTECTED]>: > > This has been discussed a dozen times before. Please search the list > archives for UTF-8 related topics. > > Have a look at http://wiki.

T5 Strategy for redirecting due to any error

2007-08-01 Thread Daniel Jue
Hi, this is more a question of technique than an actual problem. Some use cases: Lets say I have code that throws a NPE. I'd get a Tapestry error page that spills it's guts. It must use some technique for redirecting to another page at any point (might be too deep in the framework to harness tha

Re: T5 Strategy for redirecting due to any error

2007-08-01 Thread Nick Westgate (Work)
Yes. Resurrect the idea of throwing a RedirectException. (Or a Link, page class ... ?) Cheers, Nick. Daniel Jue wrote: > > Is there a way to redirect to another page at any point in the render > process of a component or page? > -- View this message in context: http://www.nabble.com/T5-St

[T5] ValueEncoder <=> TypeCoercer?

2007-08-01 Thread Ognen Ivanovski
Hello again, I'm trying to write a CheckboxGroup / Checkbox pair of components for my project based on the RadioGroup / Radio components in the corelib. While doing so I stumbled upon the ValueEncoder / ValueEncoderSource and I keep wondering why are they introduced and why isn't the type

Tap5 - integrate several templates

2007-08-01 Thread Anujith Amaratunga
Hi, How do I integrate several templates into one page? i.e I have a header and a footer which needs to go into all the pages, but I don't want to duplicate code in all pages. I've looked at the element and embedded components but not sure if that's the way to go. Any help is much appreciated.

T5 : bug : no way to throw runtime exceptions within service interfaces

2007-08-01 Thread Evan Rawson - Work
i have some utilites running in my application via a custom Util Interface certain classes call. I need some way to redirect the user to a custom error page which a pregenerate error id. Even a way to throw a runtime exception (T3: ApplicationRuntimeException / RedirectException). This would be

Re: Tap5 - integrate several templates

2007-08-01 Thread Evan Rawson - Work
all pages and components are technically consider the same thing within t5. all components/pages wrap there content (what is between the tags content) within the wrapping component template you specify a component. This directs the template as to where to insert the body content. ex: b

Re: [T5] Problem with special characters and forms

2007-08-01 Thread Marcelo lotif
you misunderstood me... the Ulrich tip solve my problem, what i tried to say was that i did not search so well on the mailing list before i ask. sorry again... 2007/8/1, Nick Westgate (Work) <[EMAIL PROTECTED]>: > > > Did you read the page Ulrich linked to? > "The Utf8Filter changes are still nee

[t5] how to read nested properties

2007-08-01 Thread ra
It seems it's not possible to get customer.firstName. Of course there's defined getter getCustomer in the page class. I read that ognl is not supported. Is it final decision ? -- View this message in context: http://www.nabble.com/-t5--how-to-read-nested-properties-tf4201615.html#a11950505

[T5] Any component Bis

2007-08-01 Thread David Avenante
Hi, The Any component is gone and now ... is now just: ... but is it possible since it's gone to add a mixin to and element like My layout When I try this case tapestry throw me this error : You may not specify mixins for element because it does not represent a component (which requires ei

Re: [T5] Any component Bis

2007-08-01 Thread Evan Rawson - Work
after some more research it seems that mixins have to be applied to a specific component type of specific instance of a component type. i dont think you can mixin for generics. i think a component minus a template is more what your looking for. ~evan - Original Message - From: "David

Re: Conditional async?

2007-08-01 Thread Malin Ljungh
Thanks Andrea - it works! ... well, almost anyway :) If the page is reached through a post I will get the POSTDATA confirm dialog... :'( Malin On 8/1/07, Andrea Chiumenti <[EMAIL PROTECTED]> wrote: > > if login succeeds just write a conditional js that refresh the page > > > On 8/1/07, Malin Lj

Re: [T5] Any component Bis

2007-08-01 Thread David Avenante
Yes, after investigation you're right. So I think I need to re-implement an Any component ;) Thank you for your input.

Re: [T5] Eclipse WTP - conflict between class reloading and context reloading

2007-08-01 Thread Evan Rawson - Work
tomcat has memory issues when it comes to context loading. hence outta memory errors it has been plaqued with. you should use jetty for development and tomcat for production enviroments. When you deploy to production you should create either a ant task to collect together your war and deploy it

T5 CSS positioning of errors.

2007-08-01 Thread Daniel Jue
Not sure why this is here in the default CSS: div.t-error li { margin-left: -20px; } For me (in Firefox) it makes my form validation errors appear outside the pretty red box they come in. I overrode it in my own CSS, to be div.t-error li { margin-left: 20px; } Now my disc (the

T4.0.2: Is compatible Tacos(Dojo) with any Browser??

2007-08-01 Thread César Augusto Mateus
Hi, I need a guide about of compatibility of Tacos (or Dojo) with browsers. I made a page that works in IE6 and IE7, but it does not in Firefox. In particular, the page is a component tacos:Tree whose links throws a tacos:Dialog where things are edited and saved, finally go back to refreshed tree

RE: T5 Strategy for redirecting due to any error

2007-08-01 Thread Joost Schouten
Daniel, I just setup a system where I have an ApplicationScoped bean hold a String authenticationDeniedMessage (could obviously be any error message). On my GenericPage which all my pages extend, I check on the @CleanupRender if this String != null and if so, redirect to my AuthetnicationDenied pa

Re: [T5] Any component Bis

2007-08-01 Thread Nick Westgate
May as well use the original. I've put it here: http://wiki.apache.org/tapestry/Tapestry5AnyComponent Please update or add examples of its use. I think Any was prematurely deprecated. Cheers, Nick. David Avenante wrote: Yes, after investigation you're right. So I think I need to re-implement

Re: T5 Strategy for redirecting due to any error

2007-08-01 Thread Daniel Jue
Ah! CleanupRender is a place I had not thought of! As long as the "errors" wouldn't cause actual runtime exceptions (which I may not catch because catching RTE is not enforced), I could just set this "flag" and I can redirect/display something meaningful. A couple questions: Your generic page

RE: T5 Strategy for redirecting due to any error

2007-08-01 Thread Joost Schouten
>A couple questions: Your generic page -- I just got back into >extending pages (the T4 way). I am putting my abstract or"base" pages >in the /base directory. This seems like the proper place to put them, >right? That's what I do as well >2nd: With an ApplicationScoped bean, is that per sessi

Absolute URLs

2007-08-01 Thread Josh Canfield
Part of my application needs to pass absolute urls for my pages to 3rd party services (adding a google bookmark for instance). I've hunted around in the source, mailing lists etc but have only found the feature in tapestry 4 ( ILink.html#getAbsoluteURL() )

Re: [T5] Absolute URLs

2007-08-01 Thread Josh Canfield
I'm working with Tapestry 5... On 8/1/07, Josh Canfield <[EMAIL PROTECTED]> wrote: > > Part of my application needs to pass absolute urls for my pages to 3rd > party services (adding a google bookmark for instance). I've hunted around > in the source, mailing lists etc but have only found the feat