Re: Scheduling tasks

2006-07-19 Thread Schulte Marcus
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 the

Re: $template option using annotations

2006-07-19 Thread Andrei Chiritescu
Use : @Asset( value = /context/basic/Border.html ) public abstract IAsset get$template(); Regards, Andrei Chiritescu Rowland Smith wrote: 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

Re: external link to a tapestry page

2006-07-19 Thread Aleksej
Maybe I didn't understand something. You want to send email from the same webapp or from totally different application? In other words, can you access and work Hivemind registry of webapp where your targeted page is? Valdemaras Repšys wrote: Thanks for the answer, Aleksej. The problem is,

Re: external link to a tapestry page

2006-07-19 Thread Valdemaras Repšys
I can access the hivemind registry, i'm sending emails from the same application where the page is (a separate thread). I accessed the externalService on a mailsender thread, thou sometimes i get exceptions when invoking externalService.getLink: tapestry.url.LinkFactory: Error building service

Re: external link to a tapestry page

2006-07-19 Thread Shing Hing Man
You could trying setting the property webRequest in requestGlobals manually before invoking externalService.getLink(). // The following few lines of code set up the property // webRequest and webResponse in requestGlobals. // HttpServletRequest req =(HttpServletRequest)request;

JFly Application Framework is out

2006-07-19 Thread kiuma
Hello everybody, I have the pleasure to inform you that JFly Application framework is out. You can find it at http://www.jfly.org JFly is an Open-Source set of tools that facilitate business web application development when you use Tapestry, Hivemind and Hibernate. kiuma

Re: JFly Application Framework is out

2006-07-19 Thread Hugo Palma
You've probably noticed but the site doesn't seem to be working. I'm getting: File does not exist: /home/groups/w/ww/www/htdocs/ On 7/19/06, kiuma [EMAIL PROTECTED] wrote: Hello everybody, I have the pleasure to inform you that JFly Application framework is out. You can find it at

RE: Re: JFly Application Framework is out

2006-07-19 Thread kiuma
Sorry from where I am it works, I'll test it more when I'll be back to home. Anyway for now you can access JFly From here http://tapestry-jfly.sourceforge.net/ - --- Original Message --- - From: [EMAIL PROTECTED] To: users@tapestry.apache.org, [EMAIL PROTECTED] Sent: Wed, 19 Jul

RE: Re: JFly Application Framework is out

2006-07-19 Thread James Carman
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

Re: JFly Application Framework is out

2006-07-19 Thread kiuma
Ok next commit will be the Hibernate things asap! I'll post a news here when I'm ready. kiuma - --- Original Message --- - From: users@tapestry.apache.org To: users@tapestry.apache.org, [EMAIL PROTECTED] Sent: Wed, 19 Jul 2006 08:33:33 Well, it would be nice to have some

RE: JFly Application Framework is out

2006-07-19 Thread James Carman
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

contrib:Table column not sorting

2006-07-19 Thread Murray Collingwood
Hi all If the displayed text comes from the current table the sorting is working fine. If however the displayed text comes from an object referenced from a connected table it doesn't work at all. In the following example if my variationText refers to 'option.desc' then the sorting works

RE: RE: JFly Application Framework is out

2006-07-19 Thread kiuma
LOL! I hope too, if not I think you'll come here to kill 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

RE: RE: JFly Application Framework is out

2006-07-19 Thread James Carman
Hehe. Kill is a strong word. How about deprecate? -Original Message- From: kiuma [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 19, 2006 8:47 AM To: users@tapestry.apache.org Subject: RE: RE: JFly Application Framework is out LOL! I hope too, if not I think you'll come here to kill

Re: Scheduling tasks

2006-07-19 Thread Barry Books
I looked at Quartz but decided to schedule a wget from a cron job instead. I think it's better to schedule via an external event since it makes it easier to turn them off when things go bad. Also cron is simple and reliable.

Why portlet's header doesn't display in jetspeed?

2006-07-19 Thread baranovsky
Good day! I've developed portlet. I've deployed it in jetspeed-2.0. But portlet's header is empty in jetspeed. I've deployed this portlet in pluto 1.0.1, and portlet displays it's portlet header successfully. Any ideas why this would happen? Please, help me! Thanks! Sorry for my bad English.

link to Service gettting ampersands encoded and fouling up my query parameters

2006-07-19 Thread John Menke
I create a url string which i use as src to an IFrame. This url points to a Tapestry service. I have been having problems with the parameters being encoded incorrectly intermittently. Ampersands end up getting encoded like this: http://mysite.com?service=MyServiceamp;acco

Drill down on a single page

2006-07-19 Thread Daniel Jue
Hello, Using Tapestry 4, Tomcat 5.5, new to Tapestry I am trying to write a simple menu screen, with main menu items and one list of sub menu items for each main menu item. I am duplicating the look and feel of an existing system, where the main and sub menus are on the same screen, but in

Table with large data set

2006-07-19 Thread Chris Chiappone
I was wondering what the best approach would be for creating a contrib:Table with a large data set. My dataSet my contain thousands of entry's and loading the page using contrib:Table would take forever not to mention consume large amounts of memory. Currently I am getting the data from

Re: Table with large data set

2006-07-19 Thread Shing Hing Man
You can set your source parameter (in component contrib:table or contrib:tableview) to an implmentation of org.apache.tapestry.contrib.table.model.IBasicTableModel. In your implementation of IbasicTable, you just retrieve the rows for the current page. Shing --- Chris Chiappone [EMAIL

OT: hivemind help

2006-07-19 Thread Ron Piterman
hi - I try to pass a parameter to a serviceIMplementationFactory but get an exception from hivemind: Parameter parameters must not be null. here is the xml: service-point id=ViewControllerFactory interface=org.apache.hivemind.ServiceImplementationFactory parameters-occurs=0..1

RE: Table with large data set

2006-07-19 Thread James Carman
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

Re: Scheduling tasks

2006-07-19 Thread Martin Strand
Thanks Marcus, that was pretty straighforward. Instead of overriding ApplicationServlet, I injected WebContext and got the Hivemind Registry from there. Since I'd like to start the scheduler on application startup, I also added it to hivemind.EagerLoad. But, at that time the servlet hasn't

RE: Table with large data set

2006-07-19 Thread Jonathan Barker
+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 (an IBasicTableModel impl) if you're interested. There's only

Re: OT: hivemind help

2006-07-19 Thread Shing Hing Man
I do not have an answer to your problem. But you might like to make sure parameters-schema works by testing it as a normal configuration. Shing --- Ron Piterman [EMAIL PROTECTED] wrote: hi - I try to pass a parameter to a serviceIMplementationFactory but get an exception from hivemind:

Re: handling file downloads

2006-07-19 Thread Julian Wood
Okay, this seems like the ticket. I now have an ASO, which I can successfully inject into pages and access when needed, but I can't figure out the right syntax for getting it into my service. In hivemodule.xml, here's my ASO: contribution

Re: handling file downloads

2006-07-19 Thread Shing Hing Man
To access an aso in your service, it is easier to inject the ApplicationManager into your service. Then, in your service, you use the ApplicationManager to retrieve the desired aso. There is a how-to on this at http://lombok.demon.co.uk/tapestry4Demo/Inject.html Shing --- Julian Wood [EMAIL

Re: handling file downloads

2006-07-19 Thread Julian Wood
Yet another great page. I hope these pages make it into the tapestry contributed docs, in one form another, at some point. Thanks Shing. J On 19-Jul-06, at 4:08 PM, Shing Hing Man wrote: To access an aso in your service, it is easier to inject the ApplicationManager into your service.

RE: hivemind help

2006-07-19 Thread James Carman
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

Javascript error when using XTile in T4

2006-07-19 Thread Dan Adams
When I try to call an xtile javascript method in a submit button onclick I get the following error in firefox: Error: [Exception... Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIXMLHttpRequest.status] nsresult: 0x80040111 (NS_ERROR_NOT_AVAILABLE) location: JS frame ::

Poll: T4 Development Environment

2006-07-19 Thread Anton Nikitin
Hi all, I'm new to Tapestry, doing mostly a lot of initial research atm. Really impressed with the framework so far, and I'd like to start diving deeper. I think it would be a good discussion to see what kind of dev. setups everybody uses out in the wild, and motivation behind why they chose one

Re: Adding onClick to PageLink

2006-07-19 Thread Jesse Kuhnert
I did something similar yesterday but chose the cowardly way out and just flashed up a progress dialog instead using a dojo modal dialog widget. ie onClick=somefunction.you.defined.showProgress() It seemed to do everything I needed it to do cross-browser, which was: -) present a loading sort

Re: external link to a tapestry page

2006-07-19 Thread Jesse Kuhnert
The LinkFactory service is completely reliant on the servlet container it is running in. It's really not intended to be used outside of a specific http request. For your use-case friendly urls sure would make a huge difference. On 7/19/06, Shing Hing Man [EMAIL PROTECTED] wrote: You could

Re: Scheduling tasks

2006-07-19 Thread Jesse Kuhnert
Oh cron is the path of ev-il. I used to use it as well but found the dependency on physical machine setup to be very annoying and easy to forget. Quartz has proven very reliable for me so far. (Probably even more so than cron, since it has all manner of built-in error handling tactics ) On

Re: Drill down on a single page

2006-07-19 Thread Jesse Kuhnert
I just built a dojo tab component for tapestry 3 today and had the same feature request. (Being that someone can change the tab dynamically via javascript on the html page and have that state remembered on the server so it is displayed as-is on next page refresh) It's pretty easy. Create the