T5Components help - RatingField exception

2008-04-29 Thread algirdas
If no star is selected and form is submitted, I get an exception org.apache.tapestry.runtime.ComponentEventException Failure writing parameter 'value' of component Index:ratingfield1.radiogroup: Failure writing parameter 'value' of component Index:ratingfield1: org.apache.tapestry.ioc.internal.u

Re: T5Components help - RatingField exception

2008-04-30 Thread algirdas
Understood. Thank you very much! -- View this message in context: http://www.nabble.com/T5Components-help---RatingField-exception-tp16970977p16987402.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To

URL parameters or context?

2008-07-30 Thread Algirdas
I'm writing custom grid component with paging, sorting, etc. (also migrating from Tapestry 4.0.2 to T5). I need to pass page number, page size, sorting order and so on in url. There is this new "context" thing and wonder if I should use it. That is, my old implementation was myapp/product?id=1

Re: URL parameters or context?

2008-07-31 Thread Algirdas
ink object on some action, but rather rendering a valid link in html). Algirdas Renat Zubairov wrote: > > IMHO passing page number as page activation context is not RESTFull :) > depends on the use cases off course. > I think you would better use parameter for that. > >

Redirect not from onActivate

2010-02-24 Thread Algirdas
(BufferedGZipOutputStream.java:77) org.apache.tapestry5.internal.gzip.BufferedGZipOutputStream.checkForCutover(BufferedGZipOutputStream.java:70) org.apache.tapestry5.internal.gzip.BufferedGZipOutputStream.write(BufferedGZipOutputStream.java:116) Algirdas -- View this message in context: http://n2.nabble.com

Re: Redirect not from onActivate

2010-02-24 Thread Algirdas
ctURI()); altho I did not tried calling this from exception handler in AppModule, but rather only from any routine in page code. Algirdas -- View this message in context: http://n2.nabble.com/Redirect-not-from-onActivate-tp4627871p4628555.html Sent from the Tapestry Users mailing list archi

Re: Redirect not from onActivate

2010-02-24 Thread Algirdas
Well, because I want to redirect from other places in code, not from onActivate() method. But I see now it should be possible to redesign a bit to achieve required redirect from onActivate(). -- View this message in context: http://n2.nabble.com/Redirect-not-from-onActivate-tp4627871p4629010.h

How to create absolute URL?

2010-03-17 Thread Algirdas
For registration process, I need to send user an email with an absolute link to my site, which finalizes the registration, that is, full URL with protocol (may be https), site name, page & parameters: http://www.somemysite.com/register/p=RTWE343434dsfdf3435353sfsdfsdfdsf Is there a way from Tap

RE: [T5] loading tapestry configuration from properties file?

2009-01-18 Thread Algirdas
I had some problems with deploying my project and reading properties with this example (developed on Jetty - OK!, but deployed on Tomcat, and reading properties failed). Solution was in Tapestry source code: InputStream in = Thread.currentThread().getContextClassLoader().getResourceAsStream(re

Injecting Logger into non-component classes

2010-07-26 Thread Algirdas
Just to confirm that there is no other way - I have DB access objects as separate XYZOperation classes. They are just classes, not pages or components. How to inject Logger into them? The only logical solution would be to build special service, say ContextService, which has logger, inject it