Re: Antwort: T5: UploadedFile componet is not compatible with UTF-8

2007-09-17 Thread smithfox
After packaging new package, but occur NullPointer Exception: because request.getCharacterEncoding() == null so the line: fieldValue = item.getString(request.getCharacterEncoding()); throw exception. How to deal with the case. Christian Koeberl wrote: > >> Is this a bug of UploadFile or I shou

Tapestry 4.1.2 Multiple Select Component

2007-09-17 Thread Peter Stavrinides
Hi all, I am having some minor problems with this component. I need to render option tags with both an identifier and string value (value and text attributes), however the only option available for this component is the label parameter, the value parameter is reserved and seems to generate an

Re: Antwort: T5: UploadedFile componet is not compatible with UTF-8

2007-09-17 Thread smithfox
Thank your help. I check out the lastest tapestry code, tapestry5.0.6 snapshot. But found that the bug didn't fixed. So I manually change apply the patch. Christian Koeberl wrote: > >> Is this a bug of UploadFile or I should change the code? > This is a bug, see: https://issues.apache.org/jira/

Re: T5 Momentum

2007-09-17 Thread Jonathan Glanz
I've been using t5 religously on several projects for some massive conglomerites with great success...as howard stated there are a few pieces he's trying to complete before t5 goes ga, but we've simply implented several of our own components for ajax etc to enable that functionality. Bottom lin

Re: T5 Momentum

2007-09-17 Thread Joshua Jackson
On 9/17/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: > I've been hesitant to really push T5 until its just a notch more fully > baked. Ajax support, DateInput component, better Hibernate support and, I > think, Spring Web Flow integration are all important launch day items. Howard, I think a

Re: T5 Momentum

2007-09-17 Thread Joshua Jackson
On 9/17/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: > I've been hesitant to really push T5 until its just a notch more fully > baked. Ajax support, DateInput component, better Hibernate support and, I > think, Spring Web Flow integration are all important launch day items. > > The real push f

Re: T5: outputRaw and how to display html formated data?

2007-09-17 Thread Nick Westgate
> String : the data source should be a string, but the currentTime is a date > in my sample, still acceptable, why? Read about parameter type coercion here: http://tapestry.apache.org/tapestry5/tapestry-core/guide/parameters.html Cheers, Nick. Angelo Chen wrote: Hi Nick, Thanks, it works!, I

Re: T5: help needed with tapestry-acegi

2007-09-17 Thread Robin Helgelin
On 9/17/07, Thiago H de Paula Figueiredo <[EMAIL PROTECTED]> wrote: > After some hours trying to figure out what mistake I have been doing, I've > found it! Using the default configuration, Acegi only takes into account > roles prefixed with "ROLE_"!!! Acegi's Javadoc states that here: > http://www

Dynamic image for table column

2007-09-17 Thread David Yu
Hi, I am trying to create a table from a list and to display image based on the type of each row I encountered. Here is snippet code of my Home.page in the Home.java There is a method getAnimal which returns String i.e. dog, cat .etc. However, the page exception show

Re: tapestry5 security

2007-09-17 Thread T. Papke
I found only examples with username, password and group ... How could i extend this handling inside tapestry5-aecgi? In my application, the login (username, password) is always releated with to 1 to many domains / urls. So i will need a Authentationservice first looking for the "merchant" with

Re: T5: help needed with tapestry-acegi

2007-09-17 Thread Thiago H de Paula Figueiredo
On Mon, 17 Sep 2007 16:35:13 -0300, Robin Helgelin <[EMAIL PROTECTED]> wrote: No, you should be able to have an arbitrary length of roles. How does your public GrantedAuthority[] getAuthorities() from your user UserDetails look? I can't post the code here (and it wouldn't help much, as it's

Re: In T4.1.2 How to LinkTo NonTapestry URIs(link to my jsp page)

2007-09-17 Thread Renat Zubairov
You can send redirect to any page and/or URL you want via direct access to WebRequest or via RedirectException See http://tapestry.apache.org/tapestry4/tapestry/apidocs/org/apache/tapestry/RedirectException.html BR Renat On 17/09/2007, Doublel <[EMAIL PROTECTED]> wrote: > Hello > In t5 can redir

Re: Can't build from source

2007-09-17 Thread andyhot
The instruction there are for the 4.0 branch which is located at https://svn.apache.org/repos/asf/tapestry/tapestry4/branches/4.0/ The url specified in that page contains now the trunk of 4.1 which is maven2 based so, upon svn checkout you do mvn install Daniel Meza wrote: Hi everyone I've

Re: T5: help needed with tapestry-acegi

2007-09-17 Thread Robin Helgelin
On 9/17/07, Thiago H de Paula Figueiredo <[EMAIL PROTECTED]> wrote: > I have an user that has a number of roles (GrantedAuthority instances), > one of them named "Admin". When I annotate a page class with > @Secured("Admin"), Acegi denies access to the page. I have just tried the > same page, with

Re: T5: help needed with tapestry-acegi

2007-09-17 Thread Thiago H de Paula Figueiredo
On Mon, 17 Sep 2007 16:13:03 -0300, Thiago H de Paula Figueiredo <[EMAIL PROTECTED]> wrote: I have an user that has a number of roles (GrantedAuthority instances), one of them named "Admin". After some hours trying to figure out what mistake I have been doing, I've found it! Using the def

Can't build from source

2007-09-17 Thread Daniel Meza
Hi everyone I've been following the steps on the wik i"HowToSetupEclipseWtp" (http://wiki.apache.org/tapestry/HowToSetupEclipseWtp?highlight=%28eclipse%29) but unfortunately I'm stuck. In the prerrequisites section says "Install and build Tapestry 4.0. See BuildingTapestry" . After followin

T5: help needed with tapestry-acegi

2007-09-17 Thread Thiago H de Paula Figueiredo
Hi! I'm using the wonderful tapestry5-acegi integration but I need some help. I have an user that has a number of roles (GrantedAuthority instances), one of them named "Admin". When I annotate a page class with @Secured("Admin"), Acegi denies access to the page. I have just tried the same

Re: T5: A Hopefully Simple Question About Action Link Scope

2007-09-17 Thread Charles Mason
On 9/17/07, Davor Hrg <[EMAIL PROTECTED]> wrote: > The problem is that you must give action link something > to identify your object. > > in the page you mentioned you have only one instance of > the MatchInfo component that get's rendered multiple times with different > data. > So when your action

Re: T5 Momentum

2007-09-17 Thread Daniel Jue
I am supporting my family with Tapestry 5, and I don't know it half as well as some of the people on this list. It's also the only web framework I've ever used, so I didn't have to go through the "unlearning" stage. (That's not to say I don't swim against the current from time to time!) Daniel J

Re: @InjectPage in library -- Page 'XXX' not found in application namespace.

2007-09-17 Thread Renat Zubairov
Hello Carlos, Your assumptions are completely correct, you can address anything you want from the library (e.g. pages) inside the library namespace via namespace:BlahBlah format. Renat On 14/09/2007, carlos f <[EMAIL PROTECTED]> wrote: > > > carlos f wrote: > > > > I am working under the assumpt

Re: Problems with tapestry-spring while upgrading from 4.1.2-SNAPSHOT to 4.1.3-SNAPSHOT

2007-09-17 Thread mraible
I'm fine with dealing with it as is. I just think it's funny that I never had any GZip issues until I moved to using EhCache's GZipFilter. When I used my own, it worked great. Oh well, that's the nature of OS and trying to integrate so many things together. Matt Jessek wrote: > > Ah yes it is

Re: T5: A Hopefully Simple Question About Action Link Scope

2007-09-17 Thread Davor Hrg
The problem is that you must give action link something to identify your object. in the page you mentioned you have only one instance of the MatchInfo component that get's rendered multiple times with different data. So when your action is called, you have the last element passed as parameter. yo

Re: T5 Momentum

2007-09-17 Thread Charles Mason
On 9/17/07, Christian Gruber <[EMAIL PROTECTED]> wrote: > Well, so far I'm just learning T5, but have been having quite a bit of > success with the live class reloading. As stated, it only reloads > live for components/pages/mixins, and not model classes and others, > but given the incredibly shor

Re: T5: outputRaw

2007-09-17 Thread Marcelo Lotif
i saw it few minutes ago... try to write: 2007/9/16, Erik Vullings <[EMAIL PROTECTED]>: > > Hi Angelo, > > And how did you define currentuser? Any annotations? > > Cheers, Erik > > On 9/16/07, Angelo Chen <[EMAIL PROTECTED]> wrote: > > > > > > Hi, > > I use following code to output a html text, b

Re: T5: A Hopefully Simple Question About Action Link Scope

2007-09-17 Thread Charles Mason
On 9/17/07, Francois Armand <[EMAIL PROTECTED]> wrote: > Well, I'm not sure that I understand what you do correctly, may you > provide the actual code ? > As far as I can tell, you persists a field that is used as value for the > loop, and so it's always the last MacthInfo that is persists. > > You

Re: T5 Momentum

2007-09-17 Thread Jesse Kuhnert
I can't speak about T5 momentum as I and other devs are still waiting on a few finishing touches with things Howard already outlined needing more work on (the waiting is because to be really honest, no one but Howard is capable of designing things in the best way at that high a level) As for the

Re: T5 Momentum

2007-09-17 Thread Christian Gruber
Well, so far I'm just learning T5, but have been having quite a bit of success with the live class reloading. As stated, it only reloads live for components/pages/mixins, and not model classes and others, but given the incredibly short restart time on a T5 app with Jetty, even that's ok.

Re: T5 Momentum

2007-09-17 Thread Howard Lewis Ship
I've been hesitant to really push T5 until its just a notch more fully baked. Ajax support, DateInput component, better Hibernate support and, I think, Spring Web Flow integration are all important launch day items. The real push for T5 starts when the code is ready the community starts cranking

Re: T5 Momentum

2007-09-17 Thread Jan Vissers
For me one of the real concerns is whether T5 delivers on the promise of live class reloading and more generally how T5 behaves on different containers than Jetty. I ran into issues getting T5's tutorial to work on OC4J, and was directed

T5 Momentum

2007-09-17 Thread Christian Gorbach
Hi all, First, T5 ist imho the most elegant (java) web framework out there. kudos to howard et al. a great piece of software. I would love to choose T5 for my next big project. but - should I really? * T5 ist still alpha * T5 has a rather small community and only a few committers (..and I read t

Re: T5: A Hopefully Simple Question About Action Link Scope

2007-09-17 Thread Francois Armand
Charles Mason wrote: Hi All [..] Hi, [..] The method called by the action link uses the persistent field which stores the actual Match object which the component gets data from. However when ever I use the page and click the action link, its as though the action link is clicked on the last

T5: A Hopefully Simple Question About Action Link Scope

2007-09-17 Thread Charles Mason
Hi All I am currently experiencing a problem which seems to contradict the model of how action link works. I have a page called start.html. It has a for loop which for every iteration contains a custom component, called MatchInfo. This renders a box containing the info about the match. MatchInfo

JumpStart v2.0 - with Ajax, BeanForm, and lots of other examples

2007-09-17 Thread Geoff Callender
Hi all, JumpStart v2.0.0 is now available for Tapestry 4.1.2. New features include a host of new examples: * BeanForm * Ajax * Localization * Joda Time * Custom exception pages You'll find it in the usual place: http://files.doublenegative.co

Antwort: T5: UploadedFile componet is not compatible with UTF-8

2007-09-17 Thread Christian Koeberl
> Is this a bug of UploadFile or I should change the code? This is a bug, see: https://issues.apache.org/jira/browse/TAPESTRY-1723 You can checkout the code, apply the patch and build your own tapestry-upload.jar -- Chris

T5: UploadedFile componet is not compatible with UTF-8

2007-09-17 Thread smithfox
Hi, I wrote a web demo with UTF-8 filter, I could process Chinese character , and everything was in working order. However, when I add a UploadFile component into the page. all Chinese characters became unrecognizable. If I remove the UploadFile, everything returned to normal. Is this a bug of Up

Re: t:type="loop" problem

2007-09-17 Thread Nick Westgate
Michael has it right: in 5.0.5 the second will fail. I logged a JIRA earlier, but as Martin kindly points out this was fixed back in July! There doesn't seem to be a 5.0.6-SNAPSHOT available though. Cheers, Nick. Davor Hrg wrote: shouldn't it be: , ? On 9/17/07, Michael Gottschalk

Re: t:type="loop" problem

2007-09-17 Thread Michael Gottschalk
On Monday 17 September 2007 10:03:21 Davor Hrg wrote: > shouldn't it be: > > > , > Yes, exactly, this will work. I just wanted to make clear that the problem is not with expansions in general, but only when they are given to components as parameters. You are right, the solution to this p

Re: t:type="loop" problem

2007-09-17 Thread Davor Hrg
shouldn't it be: , ? On 9/17/07, Michael Gottschalk <[EMAIL PROTECTED]> wrote: > > On Monday 17 September 2007 08:42:46 Davor Hrg wrote: > > I had no problem using expansions in a loop, (T5.0.5) > > > > > > ${value}, > > > > Expansions in a loop are only a problem if they

Re: t:type="loop" problem

2007-09-17 Thread Michael Gottschalk
On Monday 17 September 2007 08:42:46 Davor Hrg wrote: > I had no problem using expansions in a loop, (T5.0.5) > > > ${value}, > Expansions in a loop are only a problem if they are given as parameters to components. E.g. your example will work, but the following will not: ,