Re: script component for tap5

2011-09-01 Thread Robert Zeigler
Typically, something like: myfile.js: var MyObj = ...;//some javascript object, with an initialization function that would take topLeftText and index. .java: @Import(library="path/to/myfile.js") public class MyComponent { ... @Inject JavaScriptSupport jsSupport; void afterRender() {

Re: tapestry-security securing EJB container objects

2011-09-01 Thread Lenny Primak
I think I am running into a more general problem with this. Security is just not getting invoked. Perhaps I have to declare shiro filter separately in web-inf? Would that interfere with tap security? On Aug 29, 2011, at 12:42 PM, Lenny Primak wrote: > Great! I'll try 1.2 and will do the shir

Implications of putting Tapestry JARs into common ClassLoader

2011-09-01 Thread Lenny Primak
We have many applications running on the app server. Many use same dependencies (JARs) and now many are starting to use Tapestry. We decided to put all dependencies under the AppServer (Glassfish) lib directory which shares them among all apps. Why waste resources having the same JAR files in 10

script component for tap5

2011-09-01 Thread Ken in nashua
Hi All, My old tap 4 code... is there a script component for tap5 ? How would you convert this span to operate this logic? Thanks Best regards and thanks... KEN

ExtJS Direct Implementation

2011-09-01 Thread Omar Carvajal
Hey all, I am looking at integrating ExtJS's Direct RPC framework (http://www.sencha.com/products/extjs/extdirect) with a Tapestry service. In other words, I need to expose certain methods from the Tapestry service to the browser which is already setup with Ext Direct. Does anybody have any ex

Re: StreamResponse onSuccess does not stream back data

2011-09-01 Thread cqasker
CSV Sorry had some formatting issues, this is the tml missing in my [revious post. Just a simple link. -- View this message in context: http://tapestry.1045711.n5.nabble.com/StreamResponse-onSuccess-does-not-stream-back-data-tp4759347p4760327.html Sent from the Tapestry - User mailing list arc

Re: StreamResponse onSuccess does not stream back data

2011-09-01 Thread cqasker
sorry, had some weird formatting issue, here is whats between the li: csv -- View this message in context: http://tapestry.1045711.n5.nabble.com/StreamResponse-onSuccess-does-not-stream-back-data-tp4759347p4760322.html Sent from the Tapestry - User mailing list archive a

Re: StreamResponse onSuccess does not stream back data

2011-09-01 Thread cqasker
Sure: CSV @SuppressWarnings("unused") @Component(parameters = {"event=clicky", "defer=false"}) private LinkSubmit link; @OnEvent(value="submit") Object

Re: StreamResponse onSuccess does not stream back data

2011-09-01 Thread hese
Thanks, I tried that and now the content length in the return headers shows the file size, but still I get the '302 Moved Temporarily' error :( Can u show me a sample of your tml file? Wonder if i am doing anything wrong there. Here is mine: Upload URL File (Pl

StreamResponse and inPlace Grid question

2011-09-01 Thread cqasker
Basically I have a inPlace=true grid and some linksubmits to various exporting options. When the submits are hit, some data from the grid is exported. That works great. However once things are exported and downloaded, the paging and other partial page submits on the page don't work for the grid. Fr

Re: StreamResponse onSuccess does not stream back data

2011-09-01 Thread cqasker
I don't know about the weird response code but...your stream response code looks pretty much the same as mine except I set the content length ie: arg0.setContentLength(getStream.available()); in your prepareResponse method -- View this message in context: http://tapestry.1045711.n5.nabble.com/

Re: AjaxFormLoop/AddRowLink + Client-Side Callback?

2011-09-01 Thread Joakim Olsson
Hi, I did something along those lines when I wanted to get focus on the first field of the added row. See the thread here: http://tapestry.1045711.n5.nabble.com/Focus-on-first-field-in-added-row-in-AjaxFormLoop-td3401558.html Maybe it's the same solution that you are already using? Regards, Joa

AjaxFormLoop/AddRowLink + Client-Side Callback?

2011-09-01 Thread Michael Gentry
Hi everyone, I have an AjaxFormLoop with an AddRowLink in it. I was wondering if anyone had an elegant way to do a client-side callback when a row is added? I currently have a hack in place, but was wondering if there were better ideas around. Also, would it make sense for AddRowLink to have a

Re: StreamResponse onSuccess does not stream back data

2011-09-01 Thread hese
These are the response headers of the POST...seeing 302 Moved status. Any idea why this is happening? HTTP/1.1 302 Moved Temporarily Server: Apache-Coyote/1.1 Content-Disposition: attachment; filename=test1.txt_scored.csv Location: http://localhost:8080/urlanalysis Content-Type: text/csv;charse

StreamResponse onSuccess does not stream back data

2011-09-01 Thread hese
Hi, I have a form with a file upload control. When the user clicks submit, the file is posted. I read the file, process it and return results back in a file. I am facing a problem streaming back the results. No file is getting streamed back, instead the page reloads again (I see onActivate of

Re: Tapestry 5.3 and JQuery

2011-09-01 Thread Julien Martin
thanks Magnus. 2011/8/31 Magnus Kvalheim > No, you just need to call it once after jquery itself has loaded. > > jQuery plugin authors (should) define the plugin in an capsuled > function/closure in order to avoid issues with other libraries - like > prototype. > see - http://docs.jquery.com/Plu

[T5.2.6] Submit "selected" event not fired when t:disabled attribute used

2011-09-01 Thread Steve Eynon
Hi, Okay, this isn't nearly as silly as it sounds and this email is actually just a call to have the documentation clarified and updated. The "disabled" attribute for a Submit button is currently loosely documented as : " ... Further, a disabled field ignores any value in the request when the fo

Re: Override numericformat error message

2011-09-01 Thread nillehammer
Sorry for posting too quick. In fact after a reload of my app it worked. - http://www.winfonet.eu -- View this message in context: http://tapestry.1045711.n5.nabble.com/Override-numericformat-error-message-tp4755753p4757748.html Sent from the Tapestry - User mailing list archive at Nabble.com

Re: Override numericformat error message

2011-09-01 Thread nillehammer
I have surfed through T5 source code and found out that the message "You must provide an integer value for %s." is defined in /org/apache/tapestry5/internal/ValidationMessages.properties having the key "integer-format-exception" so I tried to add such a key to my app.properties, without success tho

Re: Chenillekit 1.3.2 Window Component on Tapestry 5.2.5

2011-09-01 Thread Massimo Lusetti
On Thu, Sep 1, 2011 at 8:52 AM, Nicola Buso wrote: > Anyone encountered the same problem? Just to say that the Chenillekit library will have a complete whirl to support the next 5.3 release... Cheers -- Massimo http://meridio.blogspot.com --