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, thi

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 ta

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; HttpServl

The best way/component to do this...

2006-07-19 Thread Blackwings
Hi, I followed some tutorials about the contrib:Table and yes, it is very powerful but my needs are a little bit more complex and in the documentation it says if I want to use specific TableRows or TableColumns the best way should be to use TableView instead of Table. Mainly, I have to render a

Adding onClick to PageLink

2006-07-19 Thread Tim Sawyer
Hi, I'd like to modify PageLink so that it calls a javascript function in onClick. This function would disable all of the links on the page before following the ultimate link to the page defined. I can write the function, and I've used it successfully with LinkSubmit, but I'm having trouble w

[OT] Tapestry Contracts

2006-07-19 Thread mike jones
Hi Sorry to spam the list *again* but... I am looking for 2 java programmers with Tapestry experience to work on a contract basis for 3 months on project based in Slough, Berkshire (UK). If you would be interested, or would like any further info please contact me off the list at [EMAIL PROTECTED]

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 http://www

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

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:

RE: RE: Re: JFly Application Framework is out

2006-07-19 Thread kiuma
Simply because I haven't committed all modules I have in my PC ;-P I have modified the directory structure, so it requires me a bit of time to modify the directory tree and document as well as I can all the classes, and... of course to give an understandable description of the modules ! So you

RE: RE: Re: JFly Application Framework is out

2006-07-19 Thread James Carman
Well, it would be nice to have some Hibernate stuff available in the source download if you actually claim that it's "an Open-Source set of tools that facilitate business web application development when you use Tapestry, Hivemind and Hibernate." I downloaded the source code and browsed through it

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 H

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 Applica

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 fi

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'" , > >"'kiuma'" <[EMAIL PROTECTED]> >Sent: Wed, 19 Jul 2006 08:41:59 > >With all this hype, it had better be some

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: RE: RE: JFly Application Framework is out

2006-07-19 Thread kiuma
Anyway I've submitted only about the 5% of what I have :) >- --- Original Message --- - >From: "James Carman" <[EMAIL PROTECTED]> >To: "'Tapestry users'" , > >"'kiuma'" <[EMAIL PROTECTED]> >Sent: Wed, 19 Jul 2006 08:50:09 > >Hehe. Kill is a strong word. How about >"deprec

Re: RE: RE: JFly Application Framework is out

2006-07-19 Thread Rui Pacheco
In that case why did you declare it as available? We'll be downloading an incomplete distribution. On 7/19/06, kiuma <[EMAIL PROTECTED]> wrote: Anyway I've submitted only about the 5% of what I have :) >- --- Original Message --- - >From: "James Carman" <[EMAIL PROTECTED]> >To:

Re: RE: RE: JFly Application Framework is out

2006-07-19 Thread Robin Ericsson
On 7/19/06, Rui Pacheco <[EMAIL PROTECTED]> wrote: In that case why did you declare it as available? We'll be downloading an incomplete distribution. Maybe by living in the paradigm of "release early, release often" which most OSS project doesn't follow and therefore get less attention from use

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.

RE: JFly Application Framework is out

2006-07-19 Thread kiuma
Robin, you got the point! kiuma >- --- Original Message --- - >From: "Robin Ericsson" <[EMAIL PROTECTED]> >To: "Tapestry users" >Sent: Wed, 19 Jul 2006 15:18:12 > >On 7/19/06, Rui Pacheco <[EMAIL PROTECTED]> >wrote: >> In that case why did you declare it as available? >We'll be d

Re: JFly Application Framework is out

2006-07-19 Thread Rui Pacheco
This just gives the impression that you rushed the work. On 7/19/06, James Carman <[EMAIL PROTECTED]> wrote: You know there is such a thing as releasing *too* early. :-) -Original Message- From: kiuma [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 19, 2006 10:05 AM To: users@tapestry.

RE: JFly Application Framework is out

2006-07-19 Thread James Carman
You know there is such a thing as releasing *too* early. :-) -Original Message- From: kiuma [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 19, 2006 10:05 AM To: users@tapestry.apache.org Subject: RE: JFly Application Framework is out Robin, you got the point! kiuma >- --- Orig

RE: JFly Application Framework is out

2006-07-19 Thread kiuma
Ok I got the point! Next release 0.0.2 will be more consistent ( I promise ;) ). kiuma >- --- Original Message --- - >From: "Rui Pacheco" <[EMAIL PROTECTED]> >To: "Tapestry users" >Sent: Wed, 19 Jul 2006 15:08:35 > >This just gives the impression that you rushed the >work. > >O

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=MyService&acco untID=1603272555&even

Problem using tapestry portlet with external components

2006-07-19 Thread Mitchell O'Brien
Hi all, I'm trying to deploy a tapestry portlet which uses components from an external library but I seem to get an error message when the portlet tries to load. It works fine when deployed as a regular tapestry app but just not as a portlet. The .jar files are in the "correct" location a

Drill down on a single page

2006-07-19 Thread Daniel Jue
Hello, 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 different tables. Right now I have a MainMenuComp

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 Hibernat

Re: How do I do a Servlet filter, or similar functionality... help please!

2006-07-19 Thread Malin Ljungh
Thank you all. It turns out my servlet filter does actually work! I had some other issues :[ I now use the filter from here: http://www.hibernate.org/43.html and it seems to satisfy my needs for now anyway :) Malin On 7/18/06, Pratibha Gopalam <[EMAIL PROTECTED]> wrote: This is what I did p

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 PRO

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: and in another module: the

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: Table with large data set

2006-07-19 Thread Chris Chiappone
James, You seem to always have the answers. If you could send me the code that would be great. I've seen others on the list asking for a HibernateTableModel so it may be a good thing to post here or wiki, if the code isn't that large. Thanks, ~chris On 7/19/06, James Carman <[EMAIL PROTECTED

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 o

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 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: > > Paramet

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: and for the service:

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. Then

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 Pi

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 fram

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

Poll: T4 Development Environment

2006-07-19 Thread Antonio
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" s

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 tr

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 7/19/0

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

2006-07-19 Thread Jesse Kuhnert
Did you ask the jetspeed people ? On 7/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: 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 success

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 comp

Re: Poll: T4 Development Environment

2006-07-19 Thread Jesse Kuhnert
I use eclipse 3.2 for IDE (not because intellij isn't better, just invested a lot of time into eclipse and feel too time constrained to try out a new ide yet). For plugins, these are the set that I just can't live without and follow every fresh eclipse install: -) wtp -) subclipse (using jni bin

RE: Poll: T4 Development Environment

2006-07-19 Thread Anton Nikitin
Sorry for double posting - newbie thing... -Original Message- From: Antonio [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 19, 2006 8:18 PM To: users@tapestry.apache.org Subject: Poll: T4 Development Environment Hi all, I'm new to Tapestry, doing mostly a lot of initial research atm. Re

Re: Poll: T4 Development Environment

2006-07-19 Thread Jesse Kuhnert
No it wasn't your fault. Your first posting got que'ed up in my moderate emails list and I didn't get around to approving it until a little while ago. Sorry for the late "approve", shouldn't checked the list before doing it. (most people send it twice ) On 7/19/06, Anton Nikitin <[EMAIL PROTECTED

Re: Javascript error when using XTile in T4

2006-07-19 Thread Jesse Kuhnert
Impossible to say without more contextually relevant information. Ie what are you doing onClick? The only thing barring 4.1 from being released is updated documentation now. (Conversion of old docs is done, just need to add my new stuff in.) On 7/19/06, Dan Adams <[EMAIL PROTECTED]> wrote: Whe