Using Quartz is not very difficult. I did it in the following steps
- write a HivemindServiceJobFactory which takes HiveMind-Services
implementing "Job" or "Runnable" and wrap them into an adapter taking care
of calling setupThread and cleanupThread on the registry. The service-id is
taken from
I managed to get the Registry by overriding the ApplicationServlet and i'm
able to get the external service.
However, it is not clear, when it is correct to invoke
externalService.getLink(). If it is invoked just after
ApplicationServlet.init() it fails with exception:
org.apache.hivemind.Applicat
+1 on quartz
On 7/19/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:
I would use quartz. It took me about half an hour to integrate with
hivemind.
On 7/18/06, Martin Strand <[EMAIL PROTECTED]> wrote:
>
> Hi guys.
> How can I schedule a task with Hivemind? I want something similar to
crond
> in Li
I would use quartz. It took me about half an hour to integrate with
hivemind.
On 7/18/06, Martin Strand <[EMAIL PROTECTED]> wrote:
Hi guys.
How can I schedule a task with Hivemind? I want something similar to crond
in Linux - a service should be notified every n minutes. Ideally the
service wou
I've built a Border component using only annotations. I would like
to put the .html template in /context/basic/Border.html. And in
general I would like to organize my components in various directories
as I expect them to grow pretty quickly. Is there an option for
specifying the template
1) To have 9 pages rendering simultaneously you need to have very very high
traffic.
2) We have systems with 500 connections to the database running just fine.
It is easier to throw hardware on a well-known problem (at least to some
extent) than to spend cycles over-engineering.
3) Think of cach
A possibility is to store the parameters (that are
needed to construct the data set) in a session ASO.
You can inject the above session ASO into your
service.
So that the data set can be constructed in your
service when the service is called.
Shing
--- Julian Wood <[EMAIL PROTECTED]> wrote:
Hi guys.
How can I schedule a task with Hivemind? I want something similar to crond
in Linux - a service should be notified every n minutes. Ideally the
service would implement Runnable and the scheduler would invoke run().
I've heard of Quartz, but I've never used it before and I'm not sure h
Still, if the components were all rendered at the same time, you would be
tying up 9 connections simultaneously, and that would kill your response
times.
On 7/18/06, kranga <[EMAIL PROTECTED]> wrote:
Yes I would be fine with opening/closing 9 connections to the database if
they are from a conne
Yes I would be fine with opening/closing 9 connections to the database if
they are from a connection pool because then I would be opening/closing 0
connections in reality!
- Original Message -
From: "James Carman" <[EMAIL PROTECTED]>
To: "'Tapestry users'"
Sent: Monday, July 17, 2006
I did that by passing ognl expression (as string) that specifies the dataset as
parameter to the service, so the service simply evaluates the OGNL expression
and uses its result as source.
Konstantin Ignatyev
PS: If this is a typical day on planet earth, humans will add fifteen million
t
I finally got back to this. I wrote up a service to send the csv
files (using http://lombok.demon.co.uk/serviceHowTo/app - thanks
Shing for the example - well done), which all works fine, but I have
one question (which could easily be addressed by using the
"unsanctioned" approach mentioned
Actually I think you were referring to servlet Tapestry rather than portlet.
And for servlets, you are correct. Tapestry 3 did not, however, support
portlets (at least not directly). And for the portlets one doesn't actually
specify page names, rather they are implicit.
The sub-folder idea d
Thanks Shing, that did the trick!
-Amir
--- Shing Hing Man <[EMAIL PROTECTED]> wrote:
> I think you have to do it indirectly by injecting the
> ApplicationManager into your service.
> Then in your service, retrieve the desired ASO using
> the ApplicationManager.
> There is a how-to on this at t
I'm a "moderator" of the forum, but if it won't un-subscribe you when
sending an email to [EMAIL PROTECTED] there's not much
more I can do about it.
Could it be that the actual email address you are signed up to the list with
is different than the return address the list sees? This might be the c
You're on the right track by using an External link. Make sure your page
implements IExternalPage.
We do something similar with one page that we wanted to be "bookmarkable" and
the URL Format is quite similar to what you're trying.
You'll still have to workaround problems of interdependency
I think you have to do it indirectly by injecting the
ApplicationManager into your service.
Then in your service, retrieve the desired ASO using
the ApplicationManager.
There is a how-to on this at the following.
http://lombok.demon.co.uk/tapestry4Demo/Inject.html
Shing
--- [EMAIL PROTECTED
Hi,
I have a application object defined in my hivemodule.xml:
I have a new engine service that I am trying to create:
So, the bot is dead...
Try to contact directly the main site.
2006/7/18, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
I have been trying to unsubscribe for awhile, too. No luck.> Date: Tue, 18
Jul 2006 15:08:06 +0200> From: [EMAIL PROTECTED]> To:
users@tapestry.apache.org> Subject: Re: Administrator
We take Frame output and create a set of HTML pages. These are linked-in via a
popup.
-Original Message-
From: Konstantin Ignatyev [mailto:[EMAIL PROTECTED]
Sent: Tue 7/18/2006 9:47 AM
To: Tapestry users
Subject: Re: help content implementation
Overlib doing Ajax calls does the trick
Overlib doing Ajax calls does the trick and it does not matter what king of
technology produces the pages
http://www.bosrup.com/web/overlib/
Peter Dawn <[EMAIL PROTECTED]> wrote: has anybody tried to implement a help
system using tapestry. within my
web app i want to implement a help manual and
I have been trying to unsubscribe for awhile, too. No luck.> Date: Tue, 18 Jul
2006 15:08:06 +0200> From: [EMAIL PROTECTED]> To: users@tapestry.apache.org>
Subject: Re: Administrator of this forum ?> > It is an automatic process
normally. You just have to send an email to> [EMAIL PROTECTED]> the
Many thanks for all your help. This was extremelly valuable!
On 7/18/06, Bernard Lange <[EMAIL PROTECTED]> wrote:
Rui Pacheco wrote:
> And this is another very good idea. But if I stick with the abstract
> authenticated class, I'll have to update code in one single place, while
> the component
Rui Pacheco wrote:
> And this is another very good idea. But if I stick with the abstract
> authenticated class, I'll have to update code in one single place, while
> the component will force me to copy/paste it accross all the templates.
Yes indeed. Decision is up to you, what's more convienient
Another approach is to create simple non-html component, lets call it
AuthenticationRequired and place it in pages which does require
authentication.
And this is another very good idea. But if I stick with the abstract
authenticated class, I'll have to update code in one single place, while the
Rui Pacheco wrote:
> I implement a class called AbstractWebPage that extends BasePage and I
> store
> all functionality common to webpages there.
>
> I guess, as Geoff sugested, I'll created another abstract web page that
> deals uniquely with pages that need authentication.
This is what I sugges
Rui Pacheco wrote:
> I implement a class called AbstractWebPage that extends BasePage and I
> store
> all functionality common to webpages there.
>
> I guess, as Geoff sugested, I'll created another abstract web page that
> deals uniquely with pages that need authentication.
This is what I sugges
I implement a class called AbstractWebPage that extends BasePage and I store
all functionality common to webpages there.
I guess, as Geoff sugested, I'll created another abstract web page that
deals uniquely with pages that need authentication.
On 7/18/06, Bernard Lange <[EMAIL PROTECTED]> wrote
Contained within my Border I have a navigation component that contains a
number of @DirectLinks. It appears that any DirecLink in that border calls
the PageValidate method on the current page, I assumed that pageValidate
would only get called on the page you are forwarding to, not on the page
tha
It is an automatic process normally. You just have to send an email to
[EMAIL PROTECTED]
the content is not important I think. The goal is for the bot to receive a
mail from an adress and remove the adress from the list
BW
2006/7/18, Frank Misa <[EMAIL PROTECTED]>:
Hi,
Are there any administr
Bernard Lange wrote:
> redirects him to Login page. Login page does have pageValidate
Correction: Login page *DOES NOT* have such pageValidate authentication
listener. Forgive me this important typo :)
Cheers,
Bernard
-
To unsub
Rui Pacheco wrote:
> Hi all
Hi,
> My problem is, pageValidate, the natural place to check whether the user
> has
> permissions to load that page or not, is being called before doLogin and
> this makes it impossible for the user to login.
You mean that the form does not start rewinding cause lis
Hi,
Are there any administrators monitoring this forum ?
I'd greatly appreciate someone forwarding the email contact of any
administrator for this forum.
My repeated submissions to be removed from the mailer are being ignored.
Would appreciate some help.
Thanks
Frank
-
I'd suggest using pageValidate on every page EXCEPT the login page.
Do the login validation in the doLogin method and set your Visit or
similar object there before activating the next page. You could have
a look at JumpStart for an example. http://tapestry.apache.org/
tapestry4.1/QuickSta
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, Alekse
Thanks for the answer, Aleksej.
The problem is, this URL must be generated on a java thread (or class) that
is not an instance of BasePage and is not a tapestry page. That means i have
no access to ExternalService, right?
Also, I can't use @Any component because this url will be sent as an email
Hugo Palma wrote:
> I think the fastest way to achieve what you need would be to use
> declarative
> security(in the web.xml) together with friendly URLs.
Ok. I've done it differently. As I don't want to rely on page urls
(whether friendly or not) I've implemented simple authentication page
valida
Hi all
I have a chicken and egg problem.
I included a login component in my page. That component is supposed to
receive the username and password from the user and process it in its form
listener in order to check whether the user is valid or not. The way I see
it, the user would fill the userna
Valdemaras Repšys wrote:
Hi,
i need my application to send emails with the link to the specific
tapestry
page. How would i generate a link?
I tried extending a page with IExternalPage and using the address:
http://localhost:8080/BioJazz/app?service=external/HitList
What i get is RuntimeExcepti
Good day!
I've writed portlet application with tapestry 4.0.2 (using
TapestryApplicationPortlet). I have deployed it to our jetspeed-2 portal
server. Sometimes exception is rised when some users navigates to my
portlet (exception is described bellow).
Any ideas why this would happen? Please, hel
Thanks a lot!
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
This is what I did
public class MyFilter implements WebRequestServicerFilter{
public void service(WebRequest request, WebResponse response,
WebRequestServicer servicer)
throws IOException
{
try
{
//do whatever u want
servicer.servi
Tapernate uses a Tapestry WebRequestServicerFilter to implement the
open-session-in-view pattern.
> Thank you James.
>
> Maybe Tapernate is a good idea... it's just that my project is really
> small
> and I would rather avoid another dependency. And I have not introduced
> Hivemind yet. But I'll s
Hugo Palma wrote:
> I think the fastest way to achieve what you need would be to use
> declarative security(in the web.xml) together with friendly URLs.
Thanks, I'll take a look at it.
> There's problably an example of this in the wiki(sorry, don't have much
> time to search it myself)
Ok. I wil
I think the fastest way to achieve what you need would be to use declarative
security(in the web.xml) together with friendly URLs.
There's problably an example of this in the wiki(sorry, don't have much time
to search it myself)
Hope this helps.
On 7/18/06, Bernard Lange <[EMAIL PROTECTED]> wrot
Hi,
i need my application to send emails with the link to the specific tapestry
page. How would i generate a link?
I tried extending a page with IExternalPage and using the address:
http://localhost:8080/BioJazz/app?service=external/HitList
What i get is RuntimeException: No engine service named
Hello all,
My production system still runs on Tapestry 3.0.4/Hibernate/Spring.
I would like to setup Basic HTTP Authentication scheme for some
non-critical, but administrator-only pages (ie. usage stats etc.).
For normal user pages we currently use authentication mechanism, but
what I need is fas
Hi all
As I said yesterday, I have my pages broken into modules. Today I just
noticed that what were valid special characters when the file was one pure
.html page, turns into garbage when I break it into components and include
them in one master page.
For example, I populated a select box with
Please have a look at the following post in the
archive.
http://article.gmane.org/gmane.comp.java.tapestry.user/39168/match=aso
It might help.
Shing
--- Mika Tammilehto <[EMAIL PROTECTED]> wrote:
> Hi!
>
> I have to access an Application State Object in a
> Servlet filter - so I
> can't use
The following is a simple CRUD web application example
written in Hibernate and Tapetsry 3 (no HiveMind nor
Spring) using servlet filter to avoid
LazyInitilisationException.
http://lombok.demon.co.uk/folders/welcome
There is another version of the above for Tapestry 4
using the approach describ
Hi!
I have to access an Application State Object in a Servlet filter - so I
can't use tapestry's injection mechanism.
What's the preferred way to access an ASO? I thought about access via
Hivemind... but I can't find doco about this rather special case.
Thanks in advance for your help!
mika
---
Thank you James.
Maybe Tapernate is a good idea... it's just that my project is really small
and I would rather avoid another dependency. And I have not introduced
Hivemind yet. But I'll sure check it out carefully.
And I'm still curious for the answer to my question - anyone? :)
Malin
On 7/1
52 matches
Mail list logo