Re: T5: Quartz and the IoC Registry?

2008-05-02 Thread Michael Lake
Any example of this somewhere? On Dec 18, 2007, at 8:41 PM, Andy Huhn wrote: Thanks, Howard...ServiceResources did the trick! On Sat, 2007-12-15 at 06:53 -0800, Howard Lewis Ship wrote: The Registry is not exposed, a service may be passed its ServiceResources via a constructor parameter. Thi

Re: [T5] Tapestry evaluation + questions

2008-03-29 Thread Michael Lake
Andy, you should take a look at tapestry jumpstart by geoff callender: http://files.doublenegative.com.au/jumpstart/ I only wish there were a demo server of this somewhere because the webapp itself will show its template + class in the browser. -mike On Mar 29, 2008, at 5:44 AM, Andy Blow

Re: Re : [T5] How to add JavaScript in a component used in a layout

2008-03-29 Thread Michael Lake
Are you sure that the page you're outputting has proper body> tags? I've been burned by forgetting my tags which I believe are needed for tapestry to add scripts, but tapestry doesn't give you any warning that the scripts haven't been added. I think I made a Jira for this a couple months a

Re: T5: Client-side Execution before form submission

2008-02-28 Thread Michael Lake
. By observe, I mean all the Protoype stuff: $(form).observe("form:prepareforsubmit", function() { ... }); On Tue, Feb 26, 2008 at 10:45 AM, Michael Lake <[EMAIL PROTECTED]> wrote: I've got some javascript that I want to execute AFTER the client-side validation has passed

T5: Client-side Execution before form submission

2008-02-26 Thread Michael Lake
I've got some javascript that I want to execute AFTER the client-side validation has passed but BEFORE the actual form submission. I've tested out adding my own Tapestry.Validator so that I could simply have a hidden form element that executes last(being placed before the tag), but I have

Re: Howard deserves praise

2008-02-25 Thread Michael Lake
Extending an existing form on the fly with AJAX? That's precisely what I need right now. Unfortunately I need to have my project done by the end of the month (luckily it's leap-year, right?) Patrick Moriarty wrote: Nice one, I'm looking forward to getting my hands on it! On 25/02/2008, How

Re: T5: Multiple File Upload

2008-02-21 Thread Michael Lake
list isn't behaving as expected? -Filip Michael Lake skrev: I'm working on a project where I need multiple files (40 - 50) to be uploaded from a single page. The "tapestry-upload" module is unsuitable because the "t:upload" component only allows you to selec

T5: Multiple File Upload

2008-02-20 Thread Michael Lake
I'm working on a project where I need multiple files (40 - 50) to be uploaded from a single page. The "tapestry-upload" module is unsuitable because the "t:upload" component only allows you to select one file at a time. Selecting 50 files from the "browse for file" dialog one at a time would

Re: Improving Component Reference

2008-02-06 Thread Michael Lake
The docs look great! I've been helping people on IRC ( #tapestry @ freenode.net) and at least one user found it extremely helpful when I pointed out the integration test app located in the following folder(to see working examples): tapestry-core/src/test/java/org/apache/tapestry/integration/ap

T5: Returning JSON from an event method

2008-02-05 Thread Michael Lake
According to the docs (scroll down to the bottom) http://tapestry.formos.com/nightly/tapestry5/tapestry-core/guide/ajax.html I should be able to return a JSONObject from an event method, but it throws an exception telling me all the possible return types..none of them appear to be JSONObject

Re: Maven Support

2008-01-31 Thread Michael Lake
n JIRA. Every release since the first introduction of it has had a bug fixed that I've noticed. On Thu, Jan 31, 2008 at 1:42 PM, Michael Lake <[EMAIL PROTECTED]> wrote: For those of you IDEA users, i did a little roundup of information regarding maven2 integration: I was thinkin

Re: Maven Support

2008-01-31 Thread Michael Lake
For those of you IDEA users, i did a little roundup of information regarding maven2 integration: I was thinking of trying out IDEA's EAP release of 7.0.3 found here: http://www.jetbrains.net/confluence/display/IDEADEV/Selena+EAP But then I dug into the Jetbrains' JIRA for maven integration:

T5: How easy/hard is it to use tapestry-test (Jetty) with JNDI?

2008-01-28 Thread Michael Lake
Anyone have any ideas about how someone should go about doing this? thanks, -mike - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [T5] Spring and T5: A match made in heaven

2008-01-24 Thread Michael Lake
Emmanuel - Spring is brain-dead simple to integrate with tapestry 5. If you need help Emmanuel, you may email me relevant bits of your code and I would be more than happy to help you. Really though, there's great documentation on the site to show you exactly how to do this, Emmanuel. I, a

Re: T5 Proposal: Provide a Mechanism to Force Cache Flushing

2008-01-18 Thread Michael Lake
This is precisely the stuff I've been working on for the past few weeks. I too am successful with pulling templates from a DB and so far, so good. I'll need to dive back into the code to see if there's a way to do a template parse and be able to catch an exception if there's an error. in

Re: Tapestry & IDEA

2008-01-16 Thread Michael Lake
For T5, in lieu of jettyLauncher you might try looking into extending the following class somewhere in your test sources: org.apache.tapestry.test.JettyRunner make a wrapper around it with a class that has a static main function. there's an example of it in "tapestry-core" sources org.apac

T5+IDEA: Suggestions for getting .tml files copied to the target/test-classes folder of a maven project

2008-01-16 Thread Michael Lake
I've got my component library set up in the same fashion as the "tapestry-core" project. I really like this approach of having an integration test app in the /src/test/app1 folder. The problem is when I use IDEA to make the module before running a test. some non-.java files(.tml, .css, etc) u

T5: How to influence the order JavaScript libraries are loading

2008-01-15 Thread Michael Lake
I've got a page with two Js Libraries included using the @Inject @Path("..."), etc. The one .js library immediately depends on variables defined the the other .js library(meaning that it's not waiting until page ready/DOM is loaded) but the order in which tapestry is outputting the

T5: Packaging 3rd Party Javascript Libraries

2008-01-11 Thread Michael Lake
Let's say Sven, Chris, and I each are creating component libraries for re-use and each of us are using the ExtJs library. And supposing that a T5 project used all of our libraries, then there could potentially be a conflict on the client side because multiple javascript files of the same li

Re: JSR-168/JSR-286 revisited --- what's happening at the 'neighbours'

2008-01-09 Thread Michael Lake
Rather than posting to the list, it'd probably be more helpful to vote on the issue here: https://issues.apache.org/jira/browse/TAPESTRY-1304 -m Mark Horn wrote: I would be interested in portlet support in T5 On 1/9/08, Jan Vissers <[EMAIL PROTECTED]> wrote: Seems like my question/thread

T5: Component Documentation

2008-01-01 Thread Michael Lake
I love the maven plugin to generate component documentation, I think it's great for people who know how to read it. I see a problem though; a change from T4, where the online component reference doesn't have examples of TML and the relating java for each component. Currently, to see how

Re: T5: Is the tml-extension configurable?

2007-12-30 Thread Michael Lake
Ohno - you almost had it, except the PageTemplateLocatorImpl takes some constructor arguments to set it up. The following snippet should work in your AppModule. Note how the method name "buildMyLocator" automatically gives that service the name "MyLocator". --- p

Re: T5: Is the tml-extension configurable?

2007-12-29 Thread Michael Lake
if your designers are only designing "pages" and not "components" that will end up in your app's context root (not packaged away in a jar) then you could probably get away with just contributing a PageTemplateLocator in your AppModule. i reckon the odds of that impl changing soon are re

Re: Does Tapestry5 support Portlets specs JSR168 and 286

2007-12-28 Thread Michael Lake
would it be completely ridiculous for a T5 component to house a portlet? is that at all feasible? -mike On Dec 28, 2007, at 2:06 PM, Howard Lewis Ship wrote: Currently there are not plans to support Portlets in T5 for the initial release. If there is enough interest, it will be added as a

Re: T5.0.7 still can't resolve encoding.

2007-12-28 Thread Michael Lake
I'm also having this issue and i'm not even chinese.I did find this though: http://wiki.apache.org/tapestry/Tapestry5Utf8Encoding i'll give it a shot with 5.0.8-SNAPSHOT though On Dec 28, 2007, at 11:03 AM, Howard Lewis Ship wrote: Thanks, will look into this. On Dec 27, 2007 6:59 PM, yu

Re: [T5] : tapestry + spring

2007-12-26 Thread Michael Lake
an advantage to NOT having tapestry built on spring is that we can drop in our legacy spring contexts where we don't want to upgrade from 1.x I really think tapestry-ioc was designed in such a way to allow maximum refactorability and ease of testing from the developer's standpoint. In

Re: components collection release 0.5.0

2007-12-24 Thread Michael Lake
Sven - There are a lot of difficulties in getting your components working. specifically, I'm trying to get rounded corners to work. It appears that your page classes/templates which are outputting the documentation are being packaged along with the distributed jar. This seems somehow poll

Re: T5: Tapestry 5.07 released?

2007-12-24 Thread Michael Lake
I believe 5.0.7-SNAPSHOT is available the tapestry maven repository. if you're using maven, all you need to do is add the repository and to your .m2/settings.xml or the pom of the project itself(and also change the dependency to 5.0.7-SNAPSHOT. Because it is a snapshot, any time they make c

Re: components collection release 0.5.0

2007-12-24 Thread Michael Lake
Sven, just looking at these components and they look really great. Is there anyway these could get submitted to ibiblio and put into a maven repository? maybe on the tapestry project's maven repository? I know I can install them in my local repository myself...but other could benefit from

Re: components collection release 0.5.0

2007-12-24 Thread Michael Lake
There seems to be something wrong with the test app at http://213.160.23.119:8080/testapp/ is there some way to fix this? Thanks, Mike On Dec 22, 2007, at 2:40 PM, Sven Homburg wrote: Hi there, components collection release 0.5.0 is accessable now (requiers tapestry 5.0.7) at http://c

Re: [T5] Tapestry 5 and IntelliJ IDEA

2007-12-19 Thread Michael Lake
Filip, make sure your encapsulating tags define the "t" namespace. http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";> MAIN BODY HERE also, in your settings under "file types", make sure you've got .tml under the XML file type. if the reference to the .xsd is red, put the cursor on it

Re: Web Content Management Systems

2007-12-07 Thread Michael Lake
I believe I'm working on what you seek. I'm working on a project which extends tapestry 5 to pull page/ component templates from an external data store. Where Tapestry pages are normally pulled from the classpath: or the context:, I've added another option(http:) which pulls page/component

T5: How can I inject a different resource type?

2007-10-31 Thread Michael Lake
eone point me in the right direction? I'm not afraid of editing tapesty base code if I have to, although I'd rather not (perhaps I can inject a custom implementation?) I'm scared I might be limited to providing the .tml content via URL..is that so? Thanks Michael Lake

Tapestry 4.1 portlet support

2007-06-20 Thread Michael Lake
Is portlet support for 4.1 still supported? if so could someone send me an example portlet to get me started? thanks mIke - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

5.0.4 release

2007-05-08 Thread Michael Lake
how come this isn't up on the repository? there's mixed use of 5.0.4 and 5.0.3 on this page: http://tapestry.apache.org/tapestry5/quickstart/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL P

Re: getting spring services inside my custom service ( IEngineService) using hivemind

2006-06-29 Thread Michael Lake
rvice implementation. -Original Message- From: Michael Lake [mailto:[EMAIL PROTECTED] Sent: 29 June 2006 04:46 To: Tapestry users Subject: getting spring services inside my custom service ( IEngineService) using hivemind Hello folks, I've tried bouncing around the usual spots f

getting spring services inside my custom service ( IEngineService) using hivemind

2006-06-28 Thread Michael Lake
Hello folks, I've tried bouncing around the usual spots for getting information on what i'm trying to do. no luck. For those of you familiar with Tong's book, I've implemented his chapter which demonstrates a custom service for displaying an image. now to get the bytes from a REAL database..

Re: Tapestry to generate mails ?

2006-05-16 Thread Michael Lake
I'm *very* interested in seeing such a service. I want to keep in line with using all of tapestry's i8n and be able to send multi-part mime messages which have html and plain text. Please do put something up on the wiki and let us all know. goody goody. -mike Henri Dupre wrote: I don't ag