The value you gave for the symbol
de.zedlitz.tapestry.acegi.FormProcessingFilter, is that a service id
or a class name (I guess it could be both)? It definitely needs to be
a service id, though.
On 11/1/06, Jesper Zedlitz [EMAIL PROTECTED] wrote:
James Carman wrote:
I haven't implemented form
You can use Tapernate (www.carmanconsulting.com/tapernate) if you
want, but I'd recommend against the persistence strategies as I think
I have a better idea how to do it and it'll be changing soon. The
hibernate configuration, open-session-in-view, data squeezer, and POJO
rollback features are
Hi, Robin. I haven't implemented form-based authentication in
tapestry-acegi, yet. But, I don't think it's that difficult, really.
Your need to use the AuthenticationProcessingFilter (I don't define it
in my hivemodule.xml, but it would be easy to do so in yours) and your
form has to have two
the RegistryBuilder.constructDefaultRegistry() is not
the
correct way to get access into Hivemind registry, when Tapestry is
starting
up.
So, how do I get access to Hivemind registry ... whether it is from inside
hivemind.Startup or tapestry.init.ApplicationInitializers.
On 10/24/06, James Carman [EMAIL
Is your webapp deployed in a .war file? What application server are you
using?
On 10/27/06, andyhot [EMAIL PROTECTED] wrote:
Dear ken, please do not cross-post.
I just got this email 3 times...
And i can't even find what the question is...
Cause it's sure that your
I don't think it matters where you define it within the HTML. Quite often,
the field label will come before the field it labels. I've never had to
resort to a .page/.jwc file in this case.
On 10/24/06, Patrick Moore [EMAIL PROTECTED] wrote:
your FieldLabel's field parameter is wrong, it
There is a configuration point called hivemind.Startup where you can
register Runnable objects to be run at HM registry startup time (which is
the same as Tapestry startup time).
On 10/22/06, KEGan [EMAIL PROTECTED] wrote:
Hi,
I need to do some tasks when my Servlet web application is
You can use a @Script component to set up some JavaScript to run onload, I
believe.
On 10/24/06, Dennis Sinelnikov [EMAIL PROTECTED] wrote:
Thank you for your reply, Roberto. That is what I figured as well.
-Dennis
Roberto Ramírez Vique wrote:
About the onLoad, not sure but i don't know
Is there really a space at the end of your page-class-packages setting in
your .application file? I don't know if that matters (Tapestry may be
trimming the string first), but that might be your problem.
-Original Message-
From: Davor Hrg [mailto:[EMAIL PROTECTED]
Sent: Wednesday,
no, :( there is no space :(
key=org.apache.tapestry.page-class-packages
value=hr.hrg.ponpon
On 10/18/06, James Carman [EMAIL PROTECTED] wrote:
Is there really a space at the end of your page-class-packages setting in
your .application file? I don't know if that matters (Tapestry may be
trimming
tomcat\webapps\ponpon\WEB-INF
si it's in WEB-INF if looked relatively
On 10/18/06, James Carman [EMAIL PROTECTED] wrote:
Well, I know that it works in 4.0, since I'm using that setting. Where is
your ponon.application file located within your webapp?
-Original Message-
From: Davor
I don't think that makes a difference. Here's my .application file (with
package names changed to protect the innocent):
!DOCTYPE application PUBLIC
-//Apache Software Foundation//Tapestry Specification 4.0//EN
http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd;
application
and it didnt work
I moved it back into context
and it worked
I restarted tomcat each time
finaly, my web app is not packed as .war,
it is a folder in webapps in tomcat.
another problem is when Home.html is in context dir
the source of it can be downloaded via url
Davor Hrg
On 10/18/06, James Carman
-nameponpon/servlet-name
url-pattern/app/url-pattern
/servlet-mapping
/web-app
On 10/18/06, James Carman [EMAIL PROTECTED] wrote:
The servlet engine won't allow the source to be downloaded via URL,
because
your tapestry servlet will intercept the request (assuming you've
mapped
So, this has nothing to do with the location of the component spec/template
itself (not anymore). It's not finding your component class. Make sure
that it's in the WEB-INF/classes directory. You should have a
WEB/INF/classes/proto/component/ShowMessages.class file in there. Do you?
The class=proto.component.ShowMessages part of your component
specification (ShowMessages.jwc) says that there has to be a class called
proto.component.ShowMessages.
-Original Message-
From: Ken nashua [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 17, 2006 1:56 PM
To:
Where are your .jwc/.html files located now?
-Original Message-
From: Ken nashua [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 17, 2006 2:32 PM
To: users@tapestry.apache.org
Subject: RE Component ApplicationRuntimeException... Tap-4.1.1 help please
(thanks)
Well i went into the
As I said, Tapestry can't find your page class. It doesn't know that
Login.html is supposed to use the Login class you've defined. Have you told
it the default package to look for page classes? Are your templates/page
classes in the right places?
-Original Message-
From: Ken nashua
that Tapestry isn't finding his page class.
He may have changed something in the meantime, though.
-Original Message-
From: Robert Zeigler [mailto:[EMAIL PROTECTED]
Sent: Friday, October 13, 2006 11:41 AM
To: Tapestry users
Subject: Re: @Component whoas... Tap-4.1.1 help please (thanks)
James
James Carman wrote:
The fact that (from his previous email) Tapestry was saying that it can't
find an emailAddress property on the generated page class BasePage_4
means that it's not using his Login page class or else the generated page
class name would be something like Login_x. So, that leads
The 4.0.x versions were ripe enough for that. I don't use page spec files
at all in my applications, especially with Tapestry-Autowire.
-Original Message-
From: Ken nashua [mailto:[EMAIL PROTECTED]
Sent: Friday, October 13, 2006 1:10 PM
To: users@tapestry.apache.org
Subject: RE
You're defining your component in both places. Take it out of the page spec
file and see what happens.
-Original Message-
From: Ken nashua [mailto:[EMAIL PROTECTED]
Sent: Friday, October 13, 2006 1:17 PM
To: users@tapestry.apache.org
Subject: RE @Component whoas... Tap-4.1.1 help
1. Autowire is a feature that I implemented as a separate library and was
integrated into the 4.1 branch. Basically, it allows you to declare an
abstract getter for a type of a HiveMind service. For example, you can do
this:
public abstract HttpServletRequest getHttpServletRequest();
And,
por minuto.
http://es.voice.yahoo.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
James Carman, President
Carman Consulting, Inc
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
James Carman, President
Carman Consulting, Inc.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
]
James Carman, President
Carman Consulting, Inc.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
help
Denis
James Carman wrote:
Denis,
The hivemodule.xml file for Tapestry-Captcha will take care of wiring
in
the
linkFactory and imageCaptchaService.
James
-Original Message-
From: Denis McCarthy [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 04, 2006 11:08 AM
) But I get the same
exception in CaptchaEngineService when I try it with 4.0.
If anyone knows of any error that would cause hivemind not to wire up
services properly I'd be more than grateful - I know this is something
small
TIA
Denis
James Carman wrote:
HiveMind doesn't require you
Denis,
The hivemodule.xml file for Tapestry-Captcha will take care of wiring in the
linkFactory and imageCaptchaService.
James
-Original Message-
From: Denis McCarthy [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 04, 2006 11:08 AM
To: Tapestry users
Subject:
You can either build up your registry by hand using the RegistryBuilder (do
not call constructDefaultRegistry) or you can test your service
implementations outside the registry and plug in the dependencies (perhaps
using mock objects) by hand. I usually like to test outside the registry if
at all
Look at the bottom of the generated source. It will spit out the processing
time automatically for you. For example:
!-- Render time: ~ 0 ms --
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 26, 2006 1:19 PM
To:
processing time of a page
James,
Does this need to be enabled somehow? I don't see it in the HTML source.
tap 4.
Thanks,
Greg
-Original Message-
From: James Carman [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 26, 2006 1:25 PM
To: 'Tapestry users'
Subject: RE: Timing processing
(StrictErrorHandler.java:39
)
--- James Carman [EMAIL PROTECTED] wrote:
You can put it in your WEB-INF folder or in
WEB-INF/classes/META-INF.
Tapestry (actually HiveMind) will find it in either
case.
-Original Message-
From: Dobrin Ivanov
[mailto:[EMAIL PROTECTED]
Sent: Friday, September
Can't you categorize based on the recipient? Gmail offers that as an option
when filtering.
-Original Message-
From: Karthik N [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 21, 2006 10:01 AM
To: Tapestry users
Subject: OT - [Tapestry-Users] - prefix in mail subject?
Is there any
://mail.yahoo.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
James Carman, President
Carman Consulting, Inc
Could you override that default behavior if you wanted and tell it not to
submit the form?
-Original Message-
From: Jesse Kuhnert [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 20, 2006 12:47 PM
To: Tapestry users
Subject: changes to @EventListener
I was thinking that it makes a
With this approach, you don't need a custom engine. It really works just
like a servlet filter.
I have used a custom engine for displaying images as is described in
Enjoy
Web development with Tapestry. Is there an alternative (better) way of
doing this?
Cheers,
On 9/20/06, James Carman
One reason folks like it is because it makes it easy to debug. The
launchers will launch with debugging enabled. Of course, it's easy to
configure your Tomcat instance to launch with remote debugging enabled.
-Original Message-
From: Konstantin Ignatyev [mailto:[EMAIL PROTECTED]
Sent:
It's a HiveMind object provider.
http://tapestry.apache.org/tapestry4/tapestry/hivedocs/service/tapestry.serv
ices.EngineServiceObjectProvider.html
-Original Message-
From: Hajaansh [mailto:[EMAIL PROTECTED]
Sent: Friday, September 01, 2006 7:21 AM
To: Tapestry users
Subject: Re:
And, you can see where it's contributed as an object provider here:
http://tapestry.apache.org/tapestry4/tapestry/hivedocs/config/hivemind.Objec
tProviders.html
-Original Message-
From: James Carman [mailto:[EMAIL PROTECTED]
Sent: Friday, September 01, 2006 7:24 AM
To: 'Tapestry users
: Friday, September 01, 2006 7:36 AM
To: Tapestry users
Subject: Re: DirectArea component in Tapestry 4
I meant the direct part not the engine-service: part.
Cheers,
On 9/1/06, James Carman [EMAIL PROTECTED] wrote:
It's a HiveMind object provider.
http://tapestry.apache.org/tapestry4/tapestry
services. This is to stop any
circular depencecies being created. Could this cause a problem for TA?
I guess I'm kind of working in the cark at the moment, but the concept of TA
looks very, very promising!
Rob Cole
James Carman [EMAIL PROTECTED]
31/08/2006 18
You can't use an interceptor to inject dependencies reliably. Just adding
an interceptor to a service shouldn't prohibit it from being autowired
properly or make it stop working. Are you sure you've added your
interceptor properly? Did you write your own interceptor factory to do it?
Yes, we use Tapestry-Acegi at work and it works just fine for us. You have
to make sure you get all of the dependencies. A lot of the work is done by
the hivemind-acegi module (also available at JavaForge) and the
hivemind-acegi-dao module (if you want to use it).
-Original Message-
Oh, as for the @Secured annotation not being present, you have to add the
acegi-security-tiger.jar file (tiger = JDK5) to your classpath.
Tapestry-Acegi uses the built-in @Secured annotation available from Acegi to
secure page classes and listener methods.
For the build to work, you will have to
This conversation isn't heading in the right direction. As the Tapestry
community, we need to focus on trying to make Tapestry better. Personal
attacks against people that you don't agree with are not going to help the
situation (not blaming either party here, but I've seen a similar thread in
: Populating Tapestry ASO after successful Acegi Auth
James:
I can't get access to the svn repo. Can you send the jars?
Thanks,
-jason
-Original Message-
From: James Carman [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 30, 2006 10:41 AM
To: 'Tapestry users'
Subject: RE: Populating Tapestry
Have you tried setting the raw property to true?
-Original Message-
From: Teofilus Maximillian
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 29, 2006 10:56 PM
To: tapestry-user@jakarta.apache.org
Subject: Anyone ever use StringEscapeUtils.unescapeHtml
Hi guys, I tried to use
like the existing. All you need is a servlet filter to
commit close the current session. It's very few lines of code saved by
using Spring ORM.
Henrik
James Carman [EMAIL PROTECTED] skrev i en meddelelse
news:[EMAIL PROTECTED]
The main reason that I use the Spring stuff is for the transaction
and
java.sql.BatchUpdateException.
I am writing an application that has two fields that can violate the same
contraints. The lost of HibernateException won't allow me to figure out
the
which field is duplicated.
Xiaoshu
-Original Message-
From: James Carman [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 16
Are you talking about searching for text within the page that you're
reading?
-Original Message-
From: Peter Dawn [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 17, 2006 1:39 AM
To: tapestry-user@jakarta.apache.org
Subject: Search Text
guys,
is there a component which allows text
Hitting Ctrl-F on your browser won't do it? If it's the currently-displayed
HTML document, your browser can do the searching for you, no?
-Original Message-
From: Peter Dawn [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 17, 2006 8:53 AM
To: Tapestry users
Subject: Re: Search Text
Okay, cool. I am one of those guys who try to use the simplest solution
that works. I was just checking if Ctrl-F applied. :-)
-Original Message-
From: Peter Dawn [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 17, 2006 5:50 PM
To: Tapestry users
Subject: Re: Search Text
i will try
), but it seems not doing anything.
How to hook with ExceptionPresenter?
Xiaoshu
-Original Message-
From: James Carman [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 15, 2006 9:09 PM
To: 'Tapestry users'
Subject: RE: tapernate question
You can put in a hook
won't allow me to figure out the
which field is duplicated.
Xiaoshu
-Original Message-
From: James Carman [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 16, 2006 6:05 AM
To: 'Tapestry users'
Subject: RE: tapernate question
If you want more fine-grained control over what's going
We've (the HiveMind team) had a lot of trouble with OC4J. So, I feel your
pain!
-Original Message-
From: Vinicius Carvalho [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 16, 2006 1:46 PM
To: Tapestry users
Subject: Re: Xerces version
Hello folks, thanks for all the help. Well I'm
Do you want to iterate the keys or the values?
-Original Message-
From: Mark Stang [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 16, 2006 3:36 PM
To: Tapestry users; Tapestry users
Subject: Tapestry 3 Iterating over a map.
Can I treat it like a list? Anyone know what the syntax is?
the values.
-Original Message-
From: James Carman [mailto:[EMAIL PROTECTED]
Sent: Wed 8/16/2006 1:39 PM
To: 'Tapestry users'
Subject: RE: Tapestry 3 Iterating over a map.
Do you want to iterate the keys or the values?
-Original Message-
From: Mark Stang [mailto:[EMAIL PROTECTED
Subject: RE: Tapestry 3 Iterating over a map.
That sounds great, do you have any syntax?
-Original Message-
From: James Carman [mailto:[EMAIL PROTECTED]
Sent: Wed 8/16/2006 1:45 PM
To: 'Tapestry users'
Subject: RE: Tapestry 3 Iterating over a map.
You can iterate over the entries
.
This will work with a Foreach?
-Original Message-
From: James Carman [mailto:[EMAIL PROTECTED]
Sent: Wed 8/16/2006 1:53 PM
To: 'Tapestry users'
Subject: RE: Tapestry 3 Iterating over a map.
Well, you'd have to call map.entrySet() and for each entry in there, you'd
call entry.getKey
But, the parameter is based on a form field (a drop-down). So, wouldn't he
have to submit the form to get the currently selected value?
-Original Message-
From: Chris Chiappone [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 15, 2006 3:13 PM
To: Tapestry users
Subject: Re: how can i
There is a workaround for this. I don't remember it off the top of my head,
but many have encountered this. Just search this list for the answer. It
has something to do with the Jetty launcher in Eclipse setting up duplicate
classpaths or something.
-Original Message-
From: news
Isn't there some sort of ExpressionEvaluator service in HiveMind now? Is
that where you'd plug in another expression language?
-Original Message-
From: Ben Eng [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 08, 2006 3:33 PM
To: Tapestry users
Subject: Re: Tapestry 5 Discussions
Are you looking to only query for the rows that you need? Are you using
Hibernate? If so, then I need to get my HibernateTableModel out there
somewhere. OR, you can use the one that's becoming available in Trails.
Chris IMed me this morning and said that he's done with it! Chris, I hope I
...
On 8/1/06, James Carman [EMAIL PROTECTED] wrote:
So, you suggest waiting until the product is completely finished/usable
before worrying about backward compatibility at all? I don't know about
that. It might be wise to consider backward compatibility issues while
architecting it. I don't
Mark, you also have to consider a different type of user. For me, a
component/framework extension developer (Tapernate, tapestry-acegi, etc.), I
am not going to want to rewrite all of my cool stuff each time a new version
of Tapestry comes out. No way will I maintain a version of my components
are currently
the two most active developers I think it has to count for something.
We do this because we enjoy it, please don't try and take that away. If you
think you can do a better job the door is always open. It ~is~ open source
after all :)
On 7/29/06, James Carman [EMAIL PROTECTED] wrote:
Again
FYI, the HiveMind mailing lists have been moved. We are moving to an Apache
top-level project, but we haven't moved the website yet. Anyway, have you
tried this:
service-point id=pooledObjectProvider
interface=org.apache.hivemind.ServiceImplementationFactory
20
different object ids :)
g,
kris
James Carman
[EMAIL PROTECTED]
ulting.com
my mistake
i've seen it in org.apache.tapestry.ApplicationServlet but had no
clue what it was for :)
it works fine now
thank you
James Carman
Components can be autowired too! :-)
-Original Message-
From: Martin Strand [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 27, 2006 3:21 PM
To: Tapestry users
Subject: Re: Any news on Tap 4.1?
I just changed to 4.1 in pom.xml and everything still works. :)
Nice to see autowiring for
-spring.jar), do components from spring get autowired as
well?
Thanks,
Matt
-Original Message-
From: James Carman [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 27, 2006 3:27 PM
To: 'Tapestry users'
Subject:RE: Any news on Tap 4.1?
Components can be autowired too
there...
Where? Check HiveMind Utilities hivelock module for example. I know there
are other existing code for this as well.
Cheers
Jean-Francois
-Original Message-
From: James Carman [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 26, 2006 8:23 PM
To: 'Tapestry users'
Subject: RE: global
and it sounds from your discussion that making it
larger will just delay the OOM condition anyway.
Anybody else have any ideas?
-Original Message-
From: James Carman [mailto:[EMAIL PROTECTED]
Sent: Sunday, July 23, 2006 6:03 AM
To: Tapestry users
Subject: Re: PermGen space
Actually, Tapestry
I am doing exactly as you are and it works just fine for me.
-Original Message-
From: Rui Pacheco [mailto:[EMAIL PROTECTED]
Sent: Monday, July 24, 2006 7:44 AM
To: Tapestry users
Subject: Re: Are components treated as pages?
I am looking at another project where I defined the form
Kris,
The create-instance is a very simplistic mechanism. All it does is
instantiate that class. It does no configuration or wiring of the
instantiated object. If you want dependency injection, use invoke-factory
instead, which by default uses the BuilderFactory to instantiate and
configure
]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
James Carman, President
Carman Consulting, Inc.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
locale for testing.
This is somewhat time consuming. I would rather have links on the web page
that override the locale sent by the browser ('Click here for German',
'Click here for English').
Does anyone know how to do this?
Sincerely,
Daniel Trebbien.
James Carman, President
Carman
On 7/19/06, Jonathan Barker [EMAIL PROTECTED] wrote:
+1 for wiki or SVN
Jonathan
-Original Message-
From: James Carman [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 19, 2006 4:38 PM
To: 'Tapestry users'
Subject: RE: Table with large data set
I have a HibernateTableModel
I wrote a HiveMind module that allows you to inject HiveMind
services/configurations into AspectJ aspects. It works similar to the way
Spring does it.
-Original Message-
From: Adam Zimowski [mailto:[EMAIL PROTECTED]
Sent: Friday, July 21, 2006 10:30 AM
To: users@tapestry.apache.org
You can use whatever you want for the module id (usually your application
name, though) and the version has to have the format 1.0.0 (three
dot-separated version numbers) .
-Original Message-
From: Blackwings [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 20, 2006 7:34 AM
To: Tapestry
Have you tried using a StateObjectFactory?
-Original Message-
From: Blackwings [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 20, 2006 9:07 AM
To: Tapestry users
Subject: Re: ASO and hivemind.xml
The situation is :
I create class that extends ApplicationServlet and I specify it as the
Why do you even have Hibernate in the description of your project? It
doesn't use Hibernate at all. At least your build.xml doesn't download any
Hibernate library jars:
target name=get-ext-libs
ibiblio-dependency artifact=commons-codec version=1.3
group=commons-codec
With all this hype, it had better be something really cool! :-)
-Original Message-
From: kiuma [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 19, 2006 8:40 AM
To: users@tapestry.apache.org; users@tapestry.apache.org;
users@tapestry.apache.org; [EMAIL PROTECTED]
Subject: Re: JFly
me :-D
- --- Original Message --- -
From: James Carman [EMAIL PROTECTED]
To: 'Tapestry users' users@tapestry.apache.org,
'kiuma' [EMAIL PROTECTED]
Sent: Wed, 19 Jul 2006 08:41:59
With all this hype, it had better be something
really cool! :-)
-Original Message
I have a HibernateTableModel (an IBasicTableModel impl) if you're
interested. There's only one issue which I couldn't really overcome nicely.
It has to do with the sorting of the columns. I didn't want to give up the
ability to easily define my columns in the HTML (using the columns attribute
of
Ron,
Are you sure there are no other error messages above that? The resulting
exception sounds like something that might happen with an invalid schema.
Can you check the logs for other error/warn messages?
James
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Ron
If you can get to the HiveMind registry, you can lookup the ExternalService
and use it.
-Original Message-
From: Valdemaras Repšys [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 18, 2006 8:27 AM
To: Tapestry users
Subject: Re: external link to a tapestry page
Thanks for the answer,
All code within one request can easily just use one connection. That's what
we do with Tapernate.
-Original Message-
From: Rui Pacheco [mailto:[EMAIL PROTECTED]
Sent: Monday, July 17, 2006 10:13 AM
To: Tapestry users; Tapestry users
Subject: A bit OT: how to manage database connections
a monster elsewhere slowing
everything down. Plus you need to take into account how often the index page
is actually invoked.
- Original Message -
From: James Carman [EMAIL PROTECTED]
To: 'Tapestry users' users@tapestry.apache.org
Sent: Monday, July 17, 2006 11:36 AM
Subject: RE: A bit OT: how
heavy loads, how feasible will that be?
On 7/17/06, James Carman [EMAIL PROTECTED] wrote:
Oh, if you're worried about simultaneous connections to the database, you
don't have to worry. You can set the maximum size of your pool to some
reasonable number. Then, have your components wait until
simultaneously.
I am using a connection pool.
My problem is, if each one of those 9 components retrieve a connection from
the pool for each page rendered, multiplied by the number of users, this
could lead to a quick exhaustion of resources.
On 7/17/06, James Carman [EMAIL PROTECTED] wrote:
Yes
transaction per HTTP request. So I thought I'd do it like
a
servlet filter - is this the wrong way?
Then I thought maybe I could use my border component which wraps all pages
-
would that be possible? Better?
Any help appreciated.
Malin
James Carman, President
Carman Consulting, Inc
have expected pageValidate should only get
called when visiting only the enclosed page.
--
~chris
James Carman, President
Carman Consulting, Inc.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
Maybe you could mock the Messages object?
-Original Message-
From: spamsucks [mailto:[EMAIL PROTECTED]
Sent: Sunday, July 16, 2006 3:56 PM
To: Tapestry users
Subject: Retrieve hivemind messages from plain old java program
Hi everyone,
I am trying to create some tests that depend upon
. I'm surprised if
HiveMind lacks this feature common to most IoC containers.
Thanks,
Ezra Epstein
-Original Message-
From: James Carman [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 13, 2006 5:28 PM
To: 'Tapestry users'
Subject: RE: Inject and the infrastructure namespace
Take a look
Take a look at the Infrastructure interface. Any property from the
interface is available via the infrastructure: prefix.
-Original Message-
From: Epstein, Ezra [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 13, 2006 7:07 PM
To: Tapestry users
Subject: Inject and the infrastructure
No, you can't do that. The object providers use locator strings (the
stuff after the ':' to find/create objects). It is entirely up to the
object provider how it wants to interpret them. Here's a description of the
canned object providers that come with HiveMind. For a listing of all
object
Don't put a listener on the form itself and put one on the submit button (or
@LinkSubmit or whatever). That's what I'm doing. I am implementing my own
validation delegate which only displays error message indicators if its
validated flag is set (which I do in my submit button listeners).
Is there any way to specify, via JavaScript what listener method to call
upon form submit? That'd be just as good as having an EventSubmit
component.
-Original Message-
From: Jesse Kuhnert [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 13, 2006 10:32 PM
To: Tapestry users
Subject: Re:
101 - 200 of 340 matches
Mail list logo