Yeah, that is more sinister.
Try dropping a lambdaprobe.war in your container and watching what
happens to your app as you serve up N pages.
It isn't as detailed as JProbe or anything like that, but you'll be up
and running in 5 minutes and it may give you a better overview of your
runtime enviro
We had the same thing, and in our case it was related to a small PermGen
Space setting in our Tomcat container.
My understanding of the Sun JVM is that it partitions up its allocated
memory into heap, perm gen, etc. chunks and that the Perm Gen space is
where all "meta data" about classes gets sto
Is your Table component inside a Form? If so, I think there's an open
bug about the TableFormPages not implementing informal parameters like
the non-form "TablePages" component does.
To fix this, we created a tapestry-contrib-4.0.2-patched.jar, with the
only change being a slightly different
org.
Hi Daniel,
Did you already set a binding for the "pagesClass" attribute in your
table component?
For example,
...
Then your style sheet can start talking about "pager", like so:
.pager {
display: block;
text-align: center;
margin-bottom: .25em;
}
.pager b, .pager a {
We do the same thing Holger does. Some code, below.
By the way, I heard a rumor that if you implement SSO via CAS, there's no
logout function. Has anyone had any experience with that?
@InjectObject("engine-service:restart")
public abstract IEngineService getRestartService();
/**
* Perform lo
Yeah, but Fannie Mae uses emacs to edit all their accounting files, and
look where that got 'em . . .
Vi would have never let that happen.
-Original Message-
From: Gentry, Michael (Contractor) [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 21, 2006 11:10 AM
To: Tapestry users
Subjec
Same thing happened to me, until I realized that the link he pasted
wrapped lines . . . the full link (the he *did* post) is:
http://sourcebeat.com/books/tapestrylive.html
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 05, 2006 9:54 AM
To: u
We do something similar; you can have your @Border *always* pull in a
single stylesheet that has a single line:
@import ("http://your.style.server/blah.css";)
You host blah.css off Apache (or Tomcat, or whatever) outside of the
context of your webapp and change at will. You can use nested @impor
I second that advice. After 30-45 minutes of following their online
demo, you can have JMeter up and running and simulating dozens of users
with form input, logins, etc.
http://jakarta.apache.org/jmeter/
http://jakarta.apache.org/jmeter/usermanual/index.html
-Original Message-
From: [E
Thanks, Shing.
I was hoping there'd be something a little more direct (like, a
meta/injected property on the getTable().getTableRow(), but oh well.)
So, to close the loop, this is the "most performant" means I can think
of to get the ordinal numbers displayed in a Contrib:Table *without*
actually
For a text field where we only wanted a certain set of ascii characters
allowed, one of our Tapestry guys played around with the following
component & validator pair...
'^[\'\"a-zA-Z0-9\\s|.\\/!# & <
>,?\\[\\]{}()-_*;:[EMAIL PROTECTED]'
I *hope* there's a really straightforward answer to this and that I'm
just a complete donkey for overlooking it, but. . .
If you want to have a table that iterates over a List and (for example)
spit out some properties of each element in the List, to wit:
---
|Aaron |
Ohhh...sorry 'bout that.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of James
Carman
Sent: Wednesday, November 01, 2006 9:08 AM
To: Tapestry users
Subject: Re: Re: tapestry-acegi questions
With Tapestry-Acegi, we're not using the Acegi servlet filter.
O
Acegi's AuthenticationProcessingFilter is, by default, coded to
intercept any web request to j_acegi_security_check. You can override
the actual name of the servlet with the filterProcessesUrl parameter of
that class.
So all you need to do to "link" Tapestry and Acegi is just throw a
RedirectExce
Try looking at the Table.reset() method...it just ends up making a call
to the TableView.reset() method anyway, so if you've "exploded" your
Table into its composite parts, find a way to call the reset method on
the TableView object.
HTH,
Tom
-Original Message-
From: Gareth [mailto:[EMAIL
Trying using this class in your service-id instead:
-Original Message-
From: Christian Haselbach [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 26, 2006 6:45 AM
To: Tapestry users
Subject: Upload file size limit in 4.0.2
Hello,
we wanted the set the file size limit for upload f
It sounds like you want to call the Table's .reset() method on the form
submission of the search parameters you have above the table...
-Original Message-
From: Didi Chow [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 25, 2006 9:34 AM
To: users@tapestry.apache.org
Subject: Paging wi
* Yes, the "StaleLink" "StaleSession" and "Exception" keys are 'magic'
* No, the "New" is just part of Andreas' class naming example
* No, no special interfaces needed in the backing .java classes
* Nothing needed in the hivemodule
For comparison's sake, here's my StaleLink configuration:
==
Try the .reset() method on the table.
I've got a page with something like this (in the .java):
@InjectComponent( "table" )
public abstract Table getTable( );
void resetFields( ) {
...
setItemsPerPage( DEFAULT_PAGE_SIZE );
// Reset table, so that on next rendering it begins at
Add a block like this in your web.xml (this is for 15 minutes):
...stuff...
15
...stuff...
Tom
-Original Message-
From: Bibek Shrestha [mailto:[EMAIL PROTECTED]
Sent: Monday, October 16, 2006 12:57 PM
To: users@tapestry.apache.org
Subject: Tapestry Sessio
Hi,
I'd like to use the Contrib:Table to display a collection of search
results, but I'm not sure it can provide me what I want...any
suggestions would be greatly appreciated.
Our GUI designer wants us to provide search results in a table format
like this:
---
I don't know of a clean way to do that (though my ignorance doesn't mean
it isn't possible)
I suspect what you'll need to do is extend whatever class provides the
TablePages output and manipulate it to stream a different batch of HTML
to the page.
In terms of the "pagesClass" not working for you
It's working for me.
Here's my html:
Inv Num
...snip...
123
...snip...
Here's my jwc:
...snip...
And my css:
#edisTable .pager {
Thanks for the info, Ben.
This is depressing, though. This means that the entire file needs to be
uploaded to the server before you can validate it is less than the max
allowed size, right?
Ugh.
-Original Message-
From: Ben Dotte [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 21,
I have a page that allows for file uploads, up to 10MB.
The limit is enforced in my hivemodule.xml with this snippet:
It works perfectly...if you upload a file larger than 10MB, you get a
big "ugly" error page (pasted below). We catch all other exceptions
with a configuration line in the
Hi - - before any flames, please know that I posted this on the hivemind
user's list first, but that thing is a ghost town, so I'm hoping I can
find some knowledge here...
Here's the situation:
I have a Tapestry 4 application with a hivemodule.xml file inside of
which is a "tempUploadDir" ASO Str
Ohhh. . . .this is *so* close to what I need!
I have a stand-alone HttpSessionListener impl class in my Tap 4 project
that needs access to an ASO.
As a hivemodule noob, how can I get access to the
ApplicationStateManager like shown in Barry's awesome example below?
I *assume* I can't define my H
Hi John,
Just curious. . . would that code need to be inserted in *every* page's
pageValidate() method considering that a user can bookmark or type in
any secured URL?
Acegi will intercept the request, throw up the Login page and then
redirect to the requested page (which in this example would
Hi,
I have a pretty simple Contrib:Table that nicely and automatically
displays the "<< < 1 2 3 > >>" paginator/linker thingy.
*Without* "blowing up" my Contrib:Table into a TableView, is there any
way to stylize the paginator section?
I know you can set the "pageSize" binding on the Table compo
CSS has a :first-letter meta style that could do what you want.
Besides, is deprecated anyway.
Something like this should work:
Properties file:
name.key=Name
CSS file:
p:first-letter {
text-decoration:underline;
}
HTML file:
Name value from props file
-Original Message-
From: P
Hi,
I've simplified this example code to make things (hopefully) clearer,
because what I think I'm trying to do shouldn't be too hard...
I have a page with a custom component that uses the Table component to
render a list of files that a user has uploaded to my system.
On one screen, I want to s
31 matches
Mail list logo