Re: T4.0.2: Shell component, and what is $content$ ?

2008-01-25 Thread Alejandro Scandroli
Hi Leonel > So, it there a correct way to use component Shell ? What is $content$ and how > should it be used ? Both options are correct. Here is the $component$ documentation: http://tapestry.apache.org/tapestry4.1/UsersGuide/template.html#$content$%20jwcid I highly recommend you read the whole

Re: T5: Eclipse unhappy with TML file that has DOCTYPE

2008-01-25 Thread Geoff Callender
Weird. That's exactly what I use and it's fine (Eclipse 3.2.2, tml files opened with HTML editor, with WST feature (Web Standard Tools) project 1.5.4). On 26/01/2008, at 3:49 AM, Franz Amador wrote: That's annoying. I actually do have an "html" tag just like you suggest, but my emailer a

Re: T5: Service and thread

2008-01-25 Thread Angelo Chen
Hi Davor, getAll is not async, it will not return immediately, how to make a service async? thanks. Davor Hrg wrote: > > are you sure > fileService.getAll(); > is async and returns immediately ? > > Davor Hrg > > > > On Jan 25, 2008 4:36 PM, Angelo Chen <[EMAIL PROTECTED]> wrote: >> >> Hi

Re: T41: dojo form validation on submit problem, Firefox

2008-01-25 Thread MarkoRI
I'm using 4.1.3 ... Jessek wrote: > > Which version of 4.1.x are you using? > > On Thu, Jan 24, 2008 at 6:16 PM, MarkoRI <[EMAIL PROTECTED]> wrote: >> >> Hi, >> >> I have a problem with form validation i T41. >> I have one simple login with username/password (required >> validators >> on

Re: T5: dynamic form fields - again

2008-01-25 Thread Davor Hrg
oh, not that I've explored it... but good source for that kind of problem is in the framework it self. Look at the source of the Form component and you'll find how are form fields mapped and generated. Also take a look at the BeanEditor and BeanEditForm for a more high level custom forms... Dav

T5: dynamic form fields - again

2008-01-25 Thread Chris Lewis
Hello all, I know this has been talked about here and there but I still haven't seen a clear example or explanation of how to implement it. In general, my question is how can I process input from dynamically generated fields (like textfields generated by a loop)? Specifically, it's a bit more

Re: T41: dojo form validation on submit problem, Firefox

2008-01-25 Thread Jesse Kuhnert
Which version of 4.1.x are you using? On Thu, Jan 24, 2008 at 6:16 PM, MarkoRI <[EMAIL PROTECTED]> wrote: > > Hi, > > I have a problem with form validation i T41. > I have one simple login with username/password (required validators > on them) and one simple Submit button. > So, in IE, when

Re: T4.1.3 Page rewind

2008-01-25 Thread Ulrich Stärk
Page rewinding is a necessary mechanism to map HTML attribute names and their values to the corresponding page properties. When the page is rendered, Tapestry generates HTML attribute names and values for each element inside your form. When the form is submitted the same mechanism makes sure th

Re: T5: Formatting date inside loop on template

2008-01-25 Thread Marcus
Hi Joshua, try OutputLocale. http://wiki.apache.org/tapestry/Tapestry5OutputLocaleNumber Marcus

T4.0.2: Shell component, and what is $content$ ?

2008-01-25 Thread Gayard, Leonel
Hi. [Newbie here]. In the quick-start guide, howard presents component Shell inside the HTML tag. But in the documentation of component Shell, it is advised to use the normal HTML tag, and use Shell inside a span tag, and wrap this last one in another span tag, with a $content$ attribute. So,

Re: T5: Eclipse unhappy with TML file that has DOCTYPE

2008-01-25 Thread Franz Amador
That's annoying. I actually do have an "html" tag just like you suggest, but my emailer apparently stripped it from the message. I'll try again but use a character entity for the left angle bracket of the open "html" tag. Here's my Layout.tml file, which Eclipse says is bad XML. It's the "xm

Re: T5: Service and thread

2008-01-25 Thread Davor Hrg
are you sure fileService.getAll(); is async and returns immediately ? Davor Hrg On Jan 25, 2008 4:36 PM, Angelo Chen <[EMAIL PROTECTED]> wrote: > > Hi Davor, > > the service downloads files from remote server which takes quite long time, > the code is: > > @Inject private FileService fileServic

Re: T 5.0.9 ClassNotFoundException

2008-01-25 Thread Marcelo Lotif
Issue added: https://issues.apache.org/jira/browse/TAPESTRY-2088 2008/1/24, Howard Lewis Ship <[EMAIL PROTECTED]>: > > Please add an issue with all relevant code and stack traces. > > On Jan 24, 2008 10:34 AM, Marcelo Lotif <[EMAIL PROTECTED]> wrote: > > I found the solution to the 2nd problem mys

Re: Mixin nudge

2008-01-25 Thread Robert Zeigler
Hi Kevin, I wonder if you could use mixin parameters for this? Since the value to be operated on is likely to have different names for different components (certainly no guaranteed name), it seems like specifying a mixin parameter which tapestry will "autobind" is perhaps the way to go? Th

Re: T5: Service and thread

2008-01-25 Thread Angelo Chen
Hi Davor, the service downloads files from remote server which takes quite long time, the code is: @Inject private FileService fileService; Class onActionFromTest() throws Exception { try { fileService.getAll(); } } catch (CodeExi

Mixin nudge

2008-01-25 Thread Kevin Menard
Hi, After writing my "newlines" binding, I got to thinking that it might be nice if it were just a mixin. I started digging in, but couldn't really wrap my head around modifying the parent component's bound value. What I'm looking to do is is basically a value filter. I'd like the mixin to take

Re: T5: Output raw values in label

2008-01-25 Thread Kevin Menard
Ahh . . . I hadn't noticed the history. I just happened across it while checking out the source code for the Label component. Nifty. -- Kevin On 1/24/08 8:36 PM, in article [EMAIL PROTECTED], "Howard Lewis Ship" <[EMAIL PROTECTED]> wrote: > On Jan 24, 2008 4:52 PM, Kevin Menard <[EMAIL PROT

T4.1.3 Page rewind

2008-01-25 Thread Grigoris Ioannou
Good evening all, I have a question regarding Tapestry 4.1.3 and page rewinding. So, in my page, there is a @For component: I implemented the IPrimaryKeyConverter interface and at first pass it works fine. But when the form is submitted, i see that the page tries to ren

Re: T5: Formatting date inside loop on template

2008-01-25 Thread Chris Lewis
Joshua, You may have already found a solution to this, but in case you haven't I'll point out the DateFormat component (http://code.google.com/p/gc-tapestry-components/wiki/DateFormat). In your case you'd use it like: format="dd/MM/"/> The "format" parameter takes a format as accepted

Re: T5: Service and thread

2008-01-25 Thread Davor Hrg
hm.. I'm not following you ... you say you download sth ... does your service download sth from some server to yourown or is browser downloading from your server ... could you say more about your case ... some ceode mybe ... Davor Hrg On Jan 25, 2008 11:08 AM, Angelo Chen <[EMAIL PROTECTED]> wr

Re: [T5] Spring and T5

2008-01-25 Thread Mohammad Shamsi
Hi, you can see some sample here for Spring+Tapestry http://code.google.com/p/shams/ On 1/24/08, Andreas Andreou <[EMAIL PROTECTED]> wrote: > We've been using spring since T3. That's already been ... a few years! > > On Jan 24, 2008 5:45 PM, Mahen Perera <[EMAIL PROTECTED]> wrote: > > I have al

Re: T5: Service and thread

2008-01-25 Thread Angelo Chen
Hi Davor, Andy, Thanks for the reply, what I do now is, just start the service, and i can go to other pages as well, but if I stay in the same page where i start the service, the cursor will be in the 'wait' state, i have to leave the page first, any idea? A.C. Davor Hrg wrote: > > Tapestry-

Re: [ANN]: Seam for T5

2008-01-25 Thread Igor Drobiazko
Hm, I've never used jBPM. So I have no idea how tough it would be. But you could try to configure jBPM in a Tapestry/Seam app and report the result. Seam provides to much stuff. I can't check it all alone. On Jan 24, 2008 4:30 AM, Andreas Pursian <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED