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() {
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
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
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
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
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
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
Sure:
CSV
@SuppressWarnings("unused")
@Component(parameters = {"event=clicky", "defer=false"})
private LinkSubmit link;
@OnEvent(value="submit")
Object
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
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
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/
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
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
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
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
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
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
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
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
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
--
20 matches
Mail list logo