Re: T5.3.5 candidate release dependency issue - yuicompressor

2012-08-23 Thread Denis Stepanov
YUICompressor generates invalid JavaScript for me, maybe because of the Rhino conflict I don't know. I have switched to the Google Closure compiler it has better compression rate, better api and can even detect some IE only errors, from the svn repo it looks like it is an active project. For

Dynamicly assign fixed symbolic root folders to the URL (Tapestry Tapestry 5.3.3)

2012-08-23 Thread pantera9
We are expanding an app som include areas (physical location) (instead of just one), and therefore we need these areas to be included in the url somehow. The areas must be dynamic and stored in the DB. Example: http://localhost:8080/appName/dynamicArea/.. In production it would of course be

How to make datefield input box readonly

2012-08-23 Thread karthi
Hi, I am using date field in my UI where I don't want the users to type anything in the box provided, I surely need that input box coming with the date field and I want it to be filled only by picking up the date using the date component not by directly keying in. Please help me to achieve

Re: How to make datefield input box readonly

2012-08-23 Thread Shing Hing Man
How about adding    onfocus=blur(); in  your DateField component as an informal parameter ? Shing Home page : http://www.lombok.demon.co.uk/ From: karthi rathinasamy@snovabits.net To: users@tapestry.apache.org Sent: Thursday, August 23,

Re: How to make datefield input box readonly

2012-08-23 Thread Bryan Lewis
Try setting the 'readonly' attribute on the datefield. Works for me. On Thu, Aug 23, 2012 at 6:44 AM, karthi rathinasamy@snovabits.netwrote: Hi, I am using date field in my UI where I don't want the users to type anything in the box provided, I surely need that input box coming with

Re: How to make datefield input box readonly

2012-08-23 Thread karthi
Thank you both, your solutions works perfectly... Thanks again!! -- View this message in context: http://tapestry.1045711.n5.nabble.com/How-to-make-datefield-input-box-readonly-tp5715744p5715747.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: Dynamicly assign fixed symbolic root folders to the URL (Tapestry Tapestry 5.3.3)

2012-08-23 Thread Thiago H de Paula Figueiredo
Use the LinkTransformer API. On Thu, 23 Aug 2012 07:35:20 -0300, pantera9 eibon.d...@gmail.com wrote: We are expanding an app som include areas (physical location) (instead of just one), and therefore we need these areas to be included in the url somehow. The areas must be dynamic and stored

Re: Problem With ValidationTracker - Different controlName after an ajax request

2012-08-23 Thread Thiago H de Paula Figueiredo
On Thu, 23 Aug 2012 05:52:24 -0300, Emmanuel DEMEY demey.emman...@gmail.com wrote: Hi everyone, Hi! Try t:select t:id=selection t:model=literal:choix1,choix2 t:zone=zoneTest clientId=selection/ (note the clientId parameter). -- Thiago H. de Paula Figueiredo

Re: Dynamicly assign fixed symbolic root folders to the URL (Tapestry Tapestry 5.3.3)

2012-08-23 Thread Lance Java
As I've mentioned before with these issues... I don't think the Link Transformer API is adequate. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Dynamicly-assign-fixed-symbolic-root-folders-to-the-URL-Tapestry-Tapestry-5-3-3-tp5715743p5715752.html Sent from the Tapestry

Re: Problem With ValidationTracker - Different controlName after an ajax request

2012-08-23 Thread Emmanuel DEMEY
I have already tested it, and the problem was the same. Tapestry use the clientId for generating the controlName. But I will test again ;). Manu 2012/8/23 Thiago H de Paula Figueiredo thiag...@gmail.com On Thu, 23 Aug 2012 05:52:24 -0300, Emmanuel DEMEY demey.emman...@gmail.com wrote: Hi

autocomplete mixin - li.selected event?

2012-08-23 Thread Vladimir Bauer
Good day everybody! Does autocomplete mixin fires a server side event after an option was selected from a popup list? If not any idea how to fire an event when option was selected? Regards, Vladimir Bauer - To unsubscribe,

StreamResponse for small cacheable images

2012-08-23 Thread Angelo C.
Hi, I have some very small jpegs that are kept in the file system, what is the right method to render them to client and it can also be cached in the browser? I'm looking at StreamResponse, is it the right way to go? Thanks, Angelo -- View this message in context:

Named translators

2012-08-23 Thread Alex Kotchnev
I would like to contribute a Translator for Long values that would allow me to translate between byte counts and human readable file sizes (e.g. 5000bytes ~ 5MB). Since around 5.2 , the Translator configuration switched to a Mapped configuration where each translator is contributed for a given

Re: Dynamicly assign fixed symbolic root folders to the URL (Tapestry Tapestry 5.3.3)

2012-08-23 Thread Thiago H de Paula Figueiredo
On Thu, 23 Aug 2012 09:55:11 -0300, Lance Java lance.j...@googlemail.com wrote: As I've mentioned before with these issues... I don't think the Link Transformer API is adequate. The old URL rewriter API is making a comeback soon . . . -- Thiago H. de Paula Figueiredo

Re: StreamResponse for small cacheable images

2012-08-23 Thread Thiago H de Paula Figueiredo
On Thu, 23 Aug 2012 11:04:07 -0300, Angelo C. angelochen...@gmail.com wrote: Hi, Hi! I have some very small jpegs that are kept in the file system, what is the right method to render them to client and it can also be cached in the browser? I'm looking at StreamResponse, is it the

Re: Problem With ValidationTracker - Different controlName after an ajax request

2012-08-23 Thread Emmanuel DEMEY
Yes the problem is still there. In fact the problem do not come from the first select (t:id=selection), but the second one (t:id=selection2) I added a clientId to selection2, and Tapestry use it for generating the controlName. So when i refresh all the page, I have this DOM : select

Re: StreamResponse for small cacheable images

2012-08-23 Thread Lance Java
If the images are static and you can build them into the jar or war, I'd avoid using StreamResponse and instead use the asset: or context: binding prefixes. For jpegs on the classpath ${asset:path/to/image.jpg} For jpegs in the web context ${context:path/to/image.jpg

Re: StreamResponse for small cacheable images

2012-08-23 Thread Angelo C.
it's not static, but some small photos that are kept just for a short time. -- View this message in context: http://tapestry.1045711.n5.nabble.com/StreamResponse-for-small-cacheable-images-tp5715755p5715762.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: StreamResponse for small cacheable images

2012-08-23 Thread Angelo C.
here is the code I'm trying to come out, ImageResponse derived from StreamResponse, the issue now is, the img url is always the same for every photo: http://localhost:8080/test123.memimg:image tml: img t:type=MemImg image_name='literal:image1' / java: @SupportsInformalParameters public class

Re: Named translators

2012-08-23 Thread Lance Java
This might work: TML: t:textField t:id=myField value=... translate=prop:myTranslator / JAVA: @InjectComponent private Field myField; @Environmental private FormSupport formSupport; @Inject private Message messages; public FieldTranslator getMyTranslator() { Translator translator = new

Re: StreamResponse for small cacheable images

2012-08-23 Thread Lance Java
If you want the image name as a parameter Link getImage(String imageName) { return resources.createEventLink(Image, imageName); } private StreamResponse onImage(String imageName) { return new ImageResponse(imageName); } If you

Re: autocomplete mixin - li.selected event?

2012-08-23 Thread William Lopes
You would can put an onchange event in text input, don't? 2012/8/23 Vladimir Bauer vba...@slb.com Good day everybody! Does autocomplete mixin fires a server side event after an option was selected from a popup list? If not any idea how to fire an event when option was selected? Regards,

RE: autocomplete mixin - li.selected event?

2012-08-23 Thread Vladimir Bauer
I've found multiple field autocomplete: https://github.com/argoyle/tapestry-mfautocomplete this one satisfied my needs. -Original Message- From: William Lopes [mailto:williamlopes@gmail.com] Sent: Thursday, August 23, 2012 9:16 PM To: Tapestry users Subject: Re: autocomplete mixin -

Re: Named translators

2012-08-23 Thread Alex Kotchnev
Lance, this approach definitely works; however, I was looking for a way to declare this field translator somewhere globally as I use it in a few different places. Cheers, Alex K On Thu, Aug 23, 2012 at 11:20 AM, Lance Java lance.j...@googlemail.comwrote: This might work: TML:

Re: StreamResponse for small cacheable images

2012-08-23 Thread Angelo C.
that works, thanks. the component approach generates different urls for the same photo depending on which page the component is used, maybe some other approach that can create a unique url regardless pages? http://localhost:8080/test123.memimg:image/image1

Tapestry service with extended shared interface

2012-08-23 Thread George Christman
Hello, I have yet another t5 service / interface question. So I have some ScrubberImpl services that implement Scrubber interface, the Scrubber interface extends DataScubber. example Service Interface ScrubberOneImpl implements ScrubberOne |

Re: How to tell which page is being requested?

2012-08-23 Thread Thiago H de Paula Figueiredo
On Thu, 23 Aug 2012 17:29:13 -0300, Michael Prescott michael.r.presc...@gmail.com wrote: Hey there, Hi! This approach clearly isn't correct, however, because for asset requests, it returns my Index page. (Though, not always!) I think implementing RequestFilter or using Tapestry

Re: Tapestry service with extended shared interface

2012-08-23 Thread George Christman
nvm guys, I figured out my issue. At least I now know to share interfaces though. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-service-with-extended-shared-interface-tp5715776p5715779.html Sent from the Tapestry - User mailing list archive at Nabble.com.