Re: @InjectService problems

2011-03-29 Thread coriolisguy
I want the services to auto start when the server powers up. I use eagerload for that. -- View this message in context: http://tapestry.1045711.n5.nabble.com/InjectService-problems-tp4266460p4268841.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: How to locate streamresponse of jasper in a page ?

2011-03-29 Thread ronizedsynch
Thank ael, Does pdf display within new tab ? I want to locate streamresponse of button Submit in this case is pdf display as look as above picture.. when I using JRPdfExporter, its response is open new tab in my browser.. ThanksRegards Rony -- View this message in context:

Re: dynamically changing event link context on client side using js

2011-03-29 Thread Joel Halbert
Hi Thiago, Using this approach, if I was to invoke this ajax URL I'd have to process the zone response myself manually. What I'd like to be able to do is update the context or params on an event link so that when the clicks on it the response and corresponding zone update is automatically taken

[ANNOUNCEMENT] tapestry-routing 0.0.1 released!

2011-03-29 Thread Alejandro Scandroli
From the same guys that brought you tapestry-exceptionpage, tapestry-model, tapestry-resteasy, tapestry-security, tynamo-federatedaccounts and other beautiful little modules, here comes yet another beautiful little module called tapestry-routing. In a nutshell, tapestry-routing allows you to

Tapestry FileUploader Integration

2011-03-29 Thread Taha Hafeez
Dear all, I had a requirement for a FileUploader and found this https://github.com/valums/file-uploader Integration with Tapestry5 was as usual very easy... Am sharing the code, you might find it useful package somepackage.components; import java.io.File; import java.io.FileNotFoundException;

Re: Dynamic combo box - Tapestry 5.2.2

2011-03-29 Thread robnangle
Yohan Yudanara-2 wrote: (http://jumpstart.doublenegative.com.au/jumpstart/examples/javascript/ajaxselect1) With the above ajax, i get the following error: org.apache.tapestry5.internal.services.RenderQueueException Render queue error in SetupRender[ajax/Select1:carmake]: Unable to locate

Re: Dynamic combo box - Tapestry 5.2.2

2011-03-29 Thread Yohan Yudanara
Look carefully on the error message.. With the above ajax, i get the following error: org.apache.tapestry5.internal.services.RenderQueueException Render queue error in SetupRender[ajax/Select1:carmake]: Unable to locate asset 'classpath:FantasyGaa/mixins/zone_updater.js' (the file does not

Re: Dynamic combo box - Tapestry 5.2.2

2011-03-29 Thread robnangle
Yohan Yudanara-2 wrote: Look carefully on the error message.. gt; With the above ajax, i get the following error: gt; gt; org.apache.tapestry5.internal.services.RenderQueueException gt; Render queue error in SetupRender[ajax/Select1:carmake]: Unable to locate gt; asset

Re: dynamically changing event link context on client side using js

2011-03-29 Thread LLTYK
I have a mixin that does this. It doesn't have to be a mixin though. I used the urlencoder from TAP5-637 since space characters and such tend to make things break. Basically you encoder a bunch of unique characters as the context of the url server side, then replace it with whatever value you want

Re: Dynamic combo box - Tapestry 5.2.2

2011-03-29 Thread Yohan Yudanara
hmm.. strange error :) just want to make sure, do you already put ZoneUpdater.java and zone_updater.js on the same folder (on package-name/mixins) ? On Tue, Mar 29, 2011 at 5:45 PM, robnangle robnan...@gmail.com wrote: Yohan Yudanara-2 wrote: Look carefully on the error message.. gt; With

Re: Dynamic combo box - Tapestry 5.2.2

2011-03-29 Thread robnangle
Ye it should be straight forward copying the example.. Yes they are both in the mixins package.. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Dynamic-combo-box-Tapestry-5-2-2-tp3379129p4269174.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: Dynamic combo box - Tapestry 5.2.2

2011-03-29 Thread Yohan Yudanara
hmm sorry, I can't help you further because I never use that jumpstart code with tapestry 5.2.2. I've use that tapestry jumpstart code with tapestry 5.1.0.5 btw, why don't you upgrade to tapestry 5.2.4 ? I've used T 5.2.4 and creating dynamic combobox is very simple. Don't need to use zoneupdater

Re: ascii code 153 (tm) not displaying properly

2011-03-29 Thread Yohan Yudanara
standar value in unicode for trademark symbol is not #169;. 169 is trademark character on windows-1252 encoding. The standard unicode value for trademark symbol is #8482; (decimal) or #x2122; (hexa) Source: http://en.wikipedia.org/wiki/Letterlike_Symbols On Mon, Mar 28, 2011 at 1:58 PM, Paul

Re: ascii code 153 (tm) not displaying properly

2011-03-29 Thread Ulrich Stärk
btw, trade; should work as well. Uli On 29.03.2011 13:15, Yohan Yudanara wrote: standar value in unicode for trademark symbol is not #169;. 169 is trademark character on windows-1252 encoding. The standard unicode value for trademark symbol is #8482; (decimal) or #x2122; (hexa) Source:

Re: Dynamic combo box - Tapestry 5.2.2

2011-03-29 Thread LLTYK
The js file needs to be in the same package directory, but in the resources directory instead of the java directory. -- View this message in context: http://tapestry-users.832.n2.nabble.com/Dynamic-combo-box-Tapestry-5-2-2-tp6011286p6218845.html Sent from the Tapestry Users mailing list archive

Re: How to locate streamresponse of jasper in a page ?

2011-03-29 Thread Thiago H. de Paula Figueiredo
On Tue, 29 Mar 2011 04:08:15 -0300, ronizedsynch saipiahm...@yahoo.com wrote: Thank ael, Does pdf display within new tab ? PDF displaying inside a tab, instead of a different one, is something not supported by HTML IMHO. This seems to be a combination of browser + plugin. -- Thiago H.

Re: Dynamic combo box - Tapestry 5.2.2

2011-03-29 Thread robnangle
lltyk wrote: The js file needs to be in the same package directory, but in the resources directory instead of the java directory. -- View this message in context: http://tapestry-users.832.n2.nabble.com/Dynamic-combo-box-Tapestry-5-2-2-tp6011286p6218845.html Sent from the Tapestry

Re: How to locate streamresponse of jasper in a page ?

2011-03-29 Thread Joost Schouten (ml)
If you want to do this well cross browser, generate an image from your pdf and display that in your web-app. IText [1] can help you achieve this. Good luck, Joost [1] http://sourceforge.net/projects/itext/ On 29/03/11 9:08 AM, ronizedsynch wrote: Thank ael, Does pdf display within new tab

Rebinding/advising/intercepting component parameters in a mixin

2011-03-29 Thread Jochen Berger
Hi there, I'm trying to write some mixins for the Grid component, e.g. one to make it filterable using the respective PropertyEditors for the Grids BeanModel's properties. Therefore, I created an interface that extends GridDataSource and has an additional method void applyFilters(MapString,

Re: Dynamic combo box - Tapestry 5.2.2

2011-03-29 Thread Everton Agner
Hi! I haven't used T5.2.x yet, and I saw that you've mentioned the improvements on combos's chaining. Do the out of the box process of chaining combos has the problem (like T5.1 + zoneupdater) of clearing the other fields on the form? That made us set them as @Persist'ent? Thanks!

Re: Tapestry FileUploader Integration

2011-03-29 Thread Angelo C.
very nice component, also your modalbox, how about putting all those into github? this will be easier for us to follow. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-FileUploader-Integration-tp4268987p4269518.html Sent from the Tapestry - User mailing list

Re: Runtime configurable Validators in T5... this was easy in T4

2011-03-29 Thread Chris Norris
Ah, thank you for pointing out the obvious. I was still thinking in terms of Validators, and was trying to make a validator to provide to a FieldValidatorImpl rather than just implementing FieldValidator myself. I cannot believe how entrenched in that line of thinking I was. On Fri, Mar 25, 2011

Re: Rebinding/advising/intercepting component parameters in a mixin

2011-03-29 Thread Thiago H. de Paula Figueiredo
On Tue, 29 Mar 2011 09:42:51 -0300, Jochen Berger foober...@googlemail.com wrote: Hi there, Hi! I'm aware of the @BindParameter annotation but it does not do exactly what I want, as I want the changes to be applied only down the rendering path, i.e. I want to write to the field without

Re: Tapestry FileUploader Integration

2011-03-29 Thread Taha Hafeez
Hi Angelo I know I should be more organized but am working on an office project with a tough deadline and also on my PhD, so it is very difficult to manage. Will surely do it whenever I get some spare time and I have a lot to contribute especially from the crud library I have created for my

Re: [ANNOUNCEMENT] tapestry-routing 0.0.1 released!

2011-03-29 Thread Howard Lewis Ship
I've never put a feature such as this into Tapestry core, because it seems to me that you have to, at start up, locate and load all page classes to find the @At annotation (something I'd rather not do, because a Tapestry application might have hundreds of pages, and I don't want to pay that

How do I set the anchor of the current page?

2011-03-29 Thread LLTYK
So someone clicked something on my page, and whatever event handler returns null/is void. Is there a way to set the anchor in this case? I know there's a setAnchor on a Link, but that doesn't seem to be the easiest way (since all these event handlers weren't returning anything to begin with). --

Notification of login

2011-03-29 Thread David Uttley
Hi There, I am trying to get spring security to notify me of a successful logon using the Spring ApplicationListener. However, the ApplicationListener doesn't seem to be notified of the events. Any help or pointers will be appreciated. I am using t5.2 Spring 3.0 and the 3.0.0-snapshot of

Re: ascii code 153 (tm) not displaying properly

2011-03-29 Thread Paul Stanton
trade; works fine thanks Ulrich. On 29/03/2011 10:42 PM, Ulrich Stärk wrote: btw,trade; should work as well. Uli On 29.03.2011 13:15, Yohan Yudanara wrote: standar value in unicode for trademark symbol is not#169;. 169 is trademark character on windows-1252 encoding. The standard unicode

Setting contenttype of T5 form

2011-03-29 Thread Fernando Benjamin
Hi everybody, I am trying to upload a file to GAE by using a tapestry form, but I can't use tapestry 5 Upload component because it depends on a class writing to the filesystem! I need to set the contenttype of the form to multipart/form-data so I can retrieve the file on the servlet(filter).

Re: Setting contenttype of T5 form

2011-03-29 Thread Howard Lewis Ship
Look at the Upload component source; you'll see how it does it. On Tue, Mar 29, 2011 at 2:07 PM, Fernando Benjamin fernandobenja...@gmail.com wrote: Hi everybody, I am trying to upload a file to GAE by using a tapestry form, but I can't use tapestry 5 Upload component because it depends on a

Re: T5: built-in numeric validator

2011-03-29 Thread Howard Lewis Ship
Seems like a bug to me! Surprising, though. Is this server-side or client-side validation? On Tue, Mar 29, 2011 at 2:49 PM, Adam Zimowski zimowsk...@gmail.com wrote: For numeric fields, Tapestry validates correctly non-numeric input. However, input such as: 1k 1\ etc.. passes the

Re: T5: built-in numeric validator

2011-03-29 Thread Adam Zimowski
It is server side. Looks like if input starts with a digit, Tapestry is happy :) Adam On Tue, Mar 29, 2011 at 5:05 PM, Howard Lewis Ship hls...@gmail.com wrote: Seems like a bug to me!  Surprising, though. Is this server-side or client-side validation? On Tue, Mar 29, 2011 at 2:49 PM, Adam

Re: [ANNOUNCEMENT] tapestry-routing 0.0.1 released!

2011-03-29 Thread Alejandro Scandroli
You are absolutely right Howard. That's the case. All the pages are scanned at startup time to look for the @At annotation and to build the routes map. If you want to avoid the scanning phase you can, but you will need to contribute, one by one, all your @At annotated pages to the Dispatcher. I

Re: [ANNOUNCEMENT] tapestry-routing 0.0.1 released!

2011-03-29 Thread Howard Lewis Ship
How well does it handle a change to the @At annotation once the application is loaded? Or the addition of new pages with @At annotations? I hope I didn't come off as dismissive ... but I am curious about how other people approach these problems and whether they take in the big picture. I'm

Re: [ANNOUNCEMENT] tapestry-routing 0.0.1 released!

2011-03-29 Thread Thiago H. de Paula Figueiredo
On Tue, 29 Mar 2011 19:36:18 -0300, Howard Lewis Ship hls...@gmail.com wrote: I hope I didn't come off as dismissive ... but I am curious about how other people approach these problems and whether they take in the big picture. I haven't thought much on different implementations for the same