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

[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

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

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:

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

Re: a bit of history

2007-08-01 Thread Daniel Jue
aside I remember some tidbit saying Tapestry development started before Struts, not that it matters much beyond trivia. /aside 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.

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

[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 succeeds, I'd

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

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:

[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 body element and embedded components but not sure if that's the way to go. Any help is much

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

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 t:component/pagecontentt:component/page) within the wrapping component template you specify a t:body/ component. This directs the template as to

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 needed to

[t5] how to read nested properties

2007-08-01 Thread ra
input type=text t:type=TextField value=customer.firstName/ 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:

[T5] Any component Bis

2007-08-01 Thread David Avenante
Hi, The Any component is gone and now div t:type=any class=prop:someProperty.../div is now just: div class=${someProperty}.../div but is it possible since it's gone to add a mixin to and element like div t:mixins=myLayoutMy layout/div When I try this case tapestry throw me this error : You

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 Ljungh

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.

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

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 orbase 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 session or