Re: T5: How to persist component fields in cookies?

2008-02-18 Thread Filip S. Adamsen
Hi Chris, I don't know if it's feasible, but perhaps a custom PersistentFieldStrategy that uses cookies would do the trick? http://tapestry.formos.com/nightly/tapestry5/apidocs/org/apache/tapestry/services/PersistentFieldStrategy.html -Filip Chris Poulsen skrev: Hi, Josh Canfield wrote: H

Re: T5.0.10 DateField component broken ???

2008-02-18 Thread Hugo Palma
Ok, i've created an issue for this https://issues.apache.org/jira/browse/TAPESTRY-2172 so everyone can follow it Angelo Chen wrote: > I don't think so. > > > HugoPalma wrote: > >> Is there an issue in JIRA for this already ? >> >> Angelo Chen wrote: >> >>> Hi, >>> >>> I have the same p

Re: [4.1] Checkbox component updates value to false regardless of selection

2008-02-18 Thread Ulrich Stärk
Andy Pahne schrieb: Ulrich Stärk schrieb: it might be the right time now to post your complete page class and page template before we start doing wild guesses... Here you are: Unless you are calling setSearchForHotels() or setSearchForHolidayHomes() in your parent class your code should wo

Re: Can a page do something before actions are invoked on it?

2008-02-18 Thread Davor Hrg
for services (defined in AppModule) you get dependancies by declaring them in constructor for simple services, and you can declare any dependancy in AppModule methods as parameter. you use @Inject in pages and components, ant those are recognized by putting them into right packages: pages,compone

Re: T5: How to persist component fields in cookies?

2008-02-18 Thread Chris Poulsen
Hi, Josh Canfield wrote: Hi Chris, check out http://tapestry.apache.org/tapestry5/tapestry-core/guide/mixins.html You could implement the hypothetical "DefaultFromCookie" mixin. Josh Yes, that seems like it was intended for something similar to what I'd like to do. I haven't looked deeply i

Re: T5: How to persist component fields in cookies?

2008-02-18 Thread Josh Canfield
Hi Chris, check out http://tapestry.apache.org/tapestry5/tapestry-core/guide/mixins.html You could implement the hypothetical "DefaultFromCookie" mixin. Josh On Feb 18, 2008 11:52 AM, Chris Poulsen <[EMAIL PROTECTED]> wrote: > Hi, > > Thank you for the quick reply! > > Howard Lewis Ship wrote:

Re: Can a page do something before actions are invoked on it?

2008-02-18 Thread ryanskow
Ok, this apparently is not the right way to do things... ryanskow wrote: > > @ApplictionState > private User loggedInUser; > Taking the pattern from: http://wiki.apache.org/tapestry/Tapestry5HowToCreateADispatcher2 I am now able to use the ApplicationStateManager directly by passing it into t

Re: tapestry-hibernate conflicts hibernate-search

2008-02-18 Thread Josh Canfield
I ran into this problem over the weekend. FullTextSessionImplcasts the passed session to SessionImplementor

Re: Can a page do something before actions are invoked on it?

2008-02-18 Thread ryanskow
Filip S. Adamsen-2 wrote: > > If you implement PageRenderRequestFilter and ComponentEventRequestFilter > This looks very promising - I have two of the three needed elements available (page, event name). At what point does the session attach and my @ApplicationState get attached? Currently t

Re: T5: How to persist component fields in cookies?

2008-02-18 Thread Chris Poulsen
Hi, Thank you for the quick reply! Howard Lewis Ship wrote: On Feb 18, 2008 10:26 AM, Chris Poulsen <[EMAIL PROTECTED]> wrote: Hi, I've tried injecting "Cookies" and using the read method in beforeRender() and the write method called from page onSuccess(), but without success. That's so

Re: T5: How to persist component fields in cookies?

2008-02-18 Thread Howard Lewis Ship
On Feb 18, 2008 10:26 AM, Chris Poulsen <[EMAIL PROTECTED]> wrote: > Hi, > > I've been trying to persist a couple of page properties that are being > used by a couple of DateField's in a component, but without success so far. > > I would like to have the following: > > 1) The properties bound to th

T5: How to persist component fields in cookies?

2008-02-18 Thread Chris Poulsen
Hi, I've been trying to persist a couple of page properties that are being used by a couple of DateField's in a component, but without success so far. I would like to have the following: 1) The properties bound to the DateField's value parameter should be stored in a cookie upon successful s

RE: Tapestry 6

2008-02-18 Thread Jonathan Barker
Geez, did Howard pee in this guy's Corn Flakes back in college or something? > -Original Message- > From: Ted Steen [mailto:[EMAIL PROTECTED] > Sent: Monday, February 18, 2008 5:07 AM > To: Tapestry users > Subject: Re: Tapestry 6 > > Of course it's not true! > > Emmanuel Sowah and Jo

Tapestry spring integration

2008-02-18 Thread Wen, Zhichao
Hi: I'm doing a project with Tapestry 5.0.9 and Spring 2.0, but I suffer from a problem which is described just the same as this: http://www.mail-archive.com/users@tapestry.apache.org/msg11787.html It's a problem during doing these tasks when using Tapestry 5.0.5, I wonder if the bug fixed in 5.0.9

Re: [4.1] Checkbox component updates value to false regardless of selection

2008-02-18 Thread Andy Pahne
Ulrich Stärk schrieb: it might be the right time now to post your complete page class and page template before we start doing wild guesses... Here you are: Search2.java: --- public abstract class Search2 extends BaseBoo

Re: Tapestry 6

2008-02-18 Thread Pai911
I feel better now! It's not right that someone tries to spread this kind of errornous message!! Ted Steen wrote: > > Of course it's not true! > > Emmanuel Sowah and Joseph Kobe are the same schizophrenic troll. > Please just ignore. > > > 2008/2/18, Pai911 <[EMAIL PROTECTED]>: >> >> >> >> J

Re: [4.1] Checkbox component updates value to false regardless of selection

2008-02-18 Thread Ulrich Stärk
it might be the right time now to post your complete page class and page template before we start doing wild guesses... Uli Am Mo, 18.02.2008, 15:34, schrieb Andy Pahne: > > Nope > > > > Andreas Andreou schrieb: >> That's weird... >> I have so many checkboxes working here... >> >> Perhaps you're

Tapestry 5 applications works when compiled with eclipse 3.3.x but does not work when compiled with maven 2.0.8

2008-02-18 Thread Adriaan Joubert
Hi, as I mentioned previously on this list we've been having some issues with class transformation errors out of javassist. Recently we had a case where everything was running fine under eclipse, but the same code would not run on the server. Here a description from one of our guys: *Tapestry 5 a

Re: [4.1] Checkbox component updates value to false regardless of selection

2008-02-18 Thread Andy Pahne
Nope Andreas Andreou schrieb: That's weird... I have so many checkboxes working here... Perhaps you're binding the same object somewhere else? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [

Re: T5: display jpeg from a page class

2008-02-18 Thread Christian Gorbach
hi try content type: image/jpeg i guess you app-server doesnt know how to handle 'img/jpeg'. regards, c)hristian Hi, I'd like to have a URL like this: http://localhost:8080/myapp/ImageView/pict01.jpg so I make a page class as below, but when I use the above URL, Firefox will prompt user eithe

Re: [4.1] Checkbox component updates value to false regardless of selection

2008-02-18 Thread Andreas Andreou
That's weird... I have so many checkboxes working here... Perhaps you're binding the same object somewhere else? On 2/18/08, Andy Pahne <[EMAIL PROTECTED]> wrote: > > > I tried that, but the page property is updated to false, regardless of > the checkbox selection. > > Andy > > > > > Ulrich Stärk

Re: Firefox/Eclipse plugin for Tapestry

2008-02-18 Thread Andreas Andreou
There's a 4.8 KB js that you include, and then a custom @ExceptionDisplay that adds javascript onclick at each line of the exception messages I won't say more right now - but will write an update later tonight PS. Of course, T5 can easily include this as well On 2/18/08, Davor Hrg <[EMAIL PROTEC

T5: display jpeg from a page class

2008-02-18 Thread Angelo Chen
Hi, I'd like to have a URL like this: http://localhost:8080/myapp/ImageView/pict01.jpg so I make a page class as below, but when I use the above URL, Firefox will prompt user either to save or open the file instead of displaying directly the image, what is the proper way to do this? Thanks, A.

Re: [4.1] Checkbox component updates value to false regardless of selection

2008-02-18 Thread Andy Pahne
I tried that, but the page property is updated to false, regardless of the checkbox selection. Andy Ulrich Stärk schrieb: Bind the value property of your checkbox to a page property. E.g. in your page class: public abstract boolean isChecked(); public abstract void setChecked(boolean c

Re: [4.1] Checkbox component updates value to false regardless of selection

2008-02-18 Thread Andy Pahne
But iit does not work with 4.1.5, either. Andy Pahne schrieb: Also, which 4.1 version is this with? It's 4.1.3 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ---

Re: Firefox/Eclipse plugin for Tapestry

2008-02-18 Thread Davor Hrg
how much javascript is there for it to work? could you print it raw directly into template ? I'm very much interested in getting eclipse jump to error I click on tapestry error page... Davor Hrg On Feb 18, 2008 2:43 PM, Andreas Andreou <[EMAIL PROTECTED]> wrote: > I have this for T4.1 and Idea

Re: T5: 5.0.10 exception report has no detail

2008-02-18 Thread Davor Hrg
Alias, http://tapestry.apache.org/tapestry5/tapestry-core/guide/alias.html or decorate http://wiki.apache.org/tapestry/Tapestry5HowToDecorateService http://tapestry.apache.org/tapestry5/tapestry-ioc/decorator.html Davor hrg On Feb 18, 2008 2:34 PM, Geoff Callender <[EMAIL PROTECTED]> wrote: > T

Re: Firefox/Eclipse plugin for Tapestry

2008-02-18 Thread Andreas Andreou
I have this for T4.1 and Idea (via a pluggable exception page), but due to https://issues.apache.org/jira/browse/TAPESTRY-2115 it's not yet releasable... It probably works with eclipse as well if the teamcity plugin is installed On 2/18/08, Davor Hrg <[EMAIL PROTECTED]> wrote: > if you could make

Re: Tap 5.0.10 : Classpath assets no longer accessible In Jboss 4.0.5AG

2008-02-18 Thread Shing Hing Man
Sorry that I have not given a clear reply. Everything is fine now. Changing archiveClasses from true to false resolves the problem of not able to find assets in the classpath. Shing --- Howard Lewis Ship <[EMAIL PROTECTED]> wrote: > So ... are you back in operation or still blocked? > > On F

Re: T5: 5.0.10 exception report has no detail

2008-02-18 Thread Geoff Callender
Thanks again, but sorry - no cigar. 00:27:35,038 ERROR [RequestHandler] Construction of service RequestHandler failed: Error invoking service builder method org.apache.tapestry.services.TapestryModule.build(Logger, List, Dispatcher) (at TapestryModule.java:905) (for service 'RequestHandle

Re: T5: 5.0.10 exception report has no detail

2008-02-18 Thread Davor Hrg
binder.bind(MyRequestExceptionHandler.class); On Feb 18, 2008 12:00 PM, Geoff Callender <[EMAIL PROTECTED]> wrote: > Thanks for the quick response, but no joy. Now it fails when the > first page is requested because now there are 2 implementations of the > one service. > > 21:55:24,145 ERROR [Req

Re: [4.1] Checkbox component updates value to false regardless of selection

2008-02-18 Thread Andy Pahne
Also, which 4.1 version is this with? It's 4.1.3 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Firefox/Eclipse plugin for Tapestry

2008-02-18 Thread Davor Hrg
if you could make a plugin for eclipse/firefox to open line in eclipse when clicking tapestry stack trace... if you know enough on firefox plugins and eclipse plugin making, this would be a great feature to start with :) positioning elements on the page you mention is very problematic to automatic

Re: How to change the CSS styles in BeanDisplay

2008-02-18 Thread Davor Hrg
maybe this : DIV.t-beandisplay-row { text-align: center; color: black; font-family: arial } On Feb 18, 2008 1:10 PM, LakshithaS <[EMAIL PROTECTED]> wrote: > > Dear All, > Currently I'm developing a web application using tapestry 5 and wanna know > some technical stuff about components.

Re: [4.1] Checkbox component updates value to false regardless of selection

2008-02-18 Thread Ulrich Stärk
Bind the value property of your checkbox to a page property. E.g. in your page class: public abstract boolean isChecked(); public abstract void setChecked(boolean checked); and in your template: Hotels Uli Am Mo, 18.02.2008, 13:03, schrieb Andy Pahne: > > Hello, > > I have a problem with wha

Re: T5.0.10 DateField component broken ???

2008-02-18 Thread Angelo Chen
I don't think so. HugoPalma wrote: > > Is there an issue in JIRA for this already ? > > Angelo Chen wrote: >> Hi, >> >> I have the same problem, here is my >> http://www.nabble.com/T5%3A-JSCalender-popup-window-always-in-the-left-most-when-inside-a-layout-to15537707.html >> problem , the misp

Re: [4.1] Checkbox component updates value to false regardless of selection

2008-02-18 Thread Andreas Andreou
no - i dont see any problems... What happens if you update a simple property on your page? i.e. Also, which 4.1 version is this with? On 2/18/08, Andy Pahne <[EMAIL PROTECTED]> wrote: > > Hello, > > I have a problem with what I would consider a very basic use case: > > There's a component: > >

How to change the CSS styles in BeanDisplay

2008-02-18 Thread LakshithaS
Dear All, Currently I'm developing a web application using tapestry 5 and wanna know some technical stuff about components. in fact, this is regarding the BeanDisplay component I want to change default CSS styles of this component to suits with my application. I have tried in several ways. ex: DI

Re: Include Script for Component

2008-02-18 Thread DR_GLoPeL_BouCa
"The content of element Unique must match foreach|if|if-not|unique", thats the exception when put the include-script inside unique element. Filip S. Adamsen-2 wrote: > > Hi, > > Assuming you're using Tapestry 4, try putting your include-script tag > inside a unique tag like t

[4.1] Checkbox component updates value to false regardless of selection

2008-02-18 Thread Andy Pahne
Hello, I have a problem with what I would consider a very basic use case: There's a component: field="component:doHotelSearchCheckbox">Hotels Unfortunatly reservationQuery.searchForHotels is updated to 'false' in the rewind phase, no matter whether the checkbox was selected or not.

Firefox/Eclipse plugin for Tapestry

2008-02-18 Thread superoverdrive
I have just had the idea of combining Firefox plugins with Eclipse plugins in order to increase the speed of developing Tapestry applications. E.g. you could edit properties directly on the website and the Firefox plugin would then communicate with Eclipse and replace the properties in the proper

Re: T5: 5.0.10 exception report has no detail

2008-02-18 Thread Geoff Callender
Thanks for the quick response, but no joy. Now it fails when the first page is requested because now there are 2 implementations of the one service. 21:55:24,145 ERROR [RequestHandler] Construction of service RequestHandler failed: Error invoking service builder method org.apache.tapestr

Re: Event bubbling

2008-02-18 Thread Francois Armand
Steph wrote: Each time a piece of information is rendered several times in a page. Say for example in a contact list. Each contact is displayed by a component including 'remove', 'update', 'details' links. I already know what you will say ... "move the handler from the page to the component" ;-

Re: T5.0.10 DateField component broken ???

2008-02-18 Thread Hugo Palma
Is there an issue in JIRA for this already ? Angelo Chen wrote: > Hi, > > I have the same problem, here is my > http://www.nabble.com/T5%3A-JSCalender-popup-window-always-in-the-left-most-when-inside-a-layout-to15537707.html > problem , the misplaced popup happens only inside a layout component,

Re: T5: 5.0.10 exception report has no detail

2008-02-18 Thread Davor Hrg
binder.bind(RequestExceptionHandler.class, MyRequestExceptionHandler.class).withId("MyRequestExceptionHandler"); On Feb 18, 2008 11:42 AM, Geoff Callender <[EMAIL PROTECTED]> wrote: > I can't find the right way to configure AppModule. Latest attempt is > simply to do this: > > public sta

Re: Event bubbling

2008-02-18 Thread Steph
Each time a piece of information is rendered several times in a page. Say for example in a contact list. Each contact is displayed by a component including 'remove', 'update', 'details' links. I already know what you will say ... "move the handler from the page to the component" ;-) But, in th

T4 Upload component + EventListener issue

2008-02-18 Thread caarney
Hello everybody, is there any workaround for this "upload component disables EventListeners" bug? https://issues.apache.org/jira/browse/TAPESTRY-1128 I'm using Tap 4.1.2. My EventListeners are not fired anymore if I insert Upload component into the form. I don't want to move Upload to another for

Re: T5: 5.0.10 exception report has no detail

2008-02-18 Thread Geoff Callender
I can't find the right way to configure AppModule. Latest attempt is simply to do this: public static void bind(ServiceBinder binder) { binder.bind(RequestExceptionHandler.class, MyRequestExceptionHandler.class); } but it seems that's not legal. Stacktrace snippet is: 2

Re: Tapestry 6

2008-02-18 Thread Martijn Brinkers
You didn't believe that did you? It's probably a troll posting by the Dutch guy with the pretty common name :) ... the originating IP address X-Originating-IP: [83.83.134.143] indicates that the poster is from the Netherlands. Greets Martijn On Mon, 2008-02-18 at 01:30 -0800, Pai911 wrote: >

Re: Tapestry 6

2008-02-18 Thread Ted Steen
Of course it's not true! Emmanuel Sowah and Joseph Kobe are the same schizophrenic troll. Please just ignore. 2008/2/18, Pai911 <[EMAIL PROTECTED]>: > > > > Joseph Kobe wrote: > > > > Ok Howard, thanks for your private mail to me clarifying my concerns about > > Tapestry 6, upcoming in 4th quate

Re: DateField localization

2008-02-18 Thread Davor Hrg
date field format parameter is working for 5.0.9 however, changing to a apache license compatible calendar made that parameter temporarily unavailable in 5.0.10 browse mailing list archives for format examples On Feb 18, 2008 10:53 AM, Steph <[EMAIL PROTECTED]> wrote: > How do we set the format o

Re: Event bubbling

2008-02-18 Thread Davor Hrg
please say more about your use case, maybe a different approach can help :) Davor Hrg On Feb 18, 2008 10:47 AM, Steph <[EMAIL PROTECTED]> wrote: > Thanks Davor for the explanation. > I understand the event type is intact but can you confirm me that i > can't make a distinction between all the eve

DateField localization

2008-02-18 Thread Steph
How do we set the format of the DateField component ? I can't find any information or sample on that subject ... Thanks in advance ?

Re: Event bubbling

2008-02-18 Thread Steph
Thanks Davor for the explanation. I understand the event type is intact but can you confirm me that i can't make a distinction between all the events bubbling from B in my C component ? In practice, if i have 2 actionlinks A and A' in my B component. I don't know from which actionlink comes an

Re: Event bubbling

2008-02-18 Thread Davor Hrg
the event type is intact, but the source changes onSubmitFromA onSubmitFromB onActionFromA onActionFromB On Feb 18, 2008 10:26 AM, Steph <[EMAIL PROTECTED]> wrote: > Thanks Howard, > But if my event from A is seen as "FromB" in component C, all events > from components B are melted and one can'

Re: Tapestry 6

2008-02-18 Thread Pai911
Joseph Kobe wrote: > > Ok Howard, thanks for your private mail to me clarifying my concerns about > Tapestry 6, upcoming in 4th quater of 2008. I must be honest and open, > hence my reply via this medium, that I disagree with you about rewriting > Tapestry yet again from scratch and again not

Re: Event bubbling

2008-02-18 Thread Steph
Thanks Howard, But if my event from A is seen as "FromB" in component C, all events from components B are melted and one can't handle a specific event ! Shouldn't we be able to differ events from their id or at least from their type from Form, Links, ... ? Howard Lewis Ship a écrit : This si

Re: Tapestry 6

2008-02-18 Thread Robin Helgelin
LOL! On Feb 17, 2008 11:34 PM, Joseph Kobe <[EMAIL PROTECTED]> wrote: > Ok Howard, thanks for your private mail to me clarifying my concerns about > Tapestry 6, upcoming in 4th quater of 2008. I must be honest and open, hence > my reply via this medium, that I disagree with you about rewriting