RE: Inject and the infrastructure namespace

2006-07-14 Thread Jim Steinberger
It may help when reading the HiveDocs for Infrastructure ( http://tapestry.apache.org/tapestry4/tapestry/hivedocs/config/tapestry.I nfrastructure.html ) that the following two getters provide the same functionality: @InjectObject("service:tapestry.globals.WebRequest") public abstract WebRequest g

Re: How to do Tapestry 4.1 form cancel listener?

2006-07-14 Thread Jesse Kuhnert
Oh right, all of the items mentioned in this thread have been fixed/added and deployed. On 7/14/06, D&J Gredler <[EMAIL PROTECTED]> wrote: Wow! Don't kill yourself! On 7/14/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: > > Hmmm...I added the async attribute and it's working but I'm noticing a >

Re: Tap 4.1 Shell component Exceptions

2006-07-14 Thread Jesse Kuhnert
I didn't know how to make it run off-hand either, that's why I gave you a vague response of "maven can do it" ;) Ok, so to actually do it type "mvn jetty:run" . http://jetty.mortbay.org/jetty6/maven-plugin/howto.html On 7/14/06, Adam Henderson Azudio <[EMAIL PROTECTED]> wrote: Sorry, I'm a lit

Re: How to do Tapestry 4.1 form cancel listener?

2006-07-14 Thread D&J Gredler
Wow! Don't kill yourself! On 7/14/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: Hmmm...I added the async attribute and it's working but I'm noticing a small side effect that I don't like. I'm going to have to table this for tomorrow/this weekend. (haven't eaten yet today and it's midnight now )

Re: Tap 4.1 Shell component Exceptions

2006-07-14 Thread Adam Henderson Azudio
Sorry, I'm a little lost, how can I deploy the Timetracker app? I tried: mvn deploy .. INFO] [site:attach-descriptor] [INFO] [install:install] [INFO] Installing /workspace/tapestry/pom.xml to /.m2/repository/org/ apache/tapestry/tapestry-project/4.1.0-SNAPSHOT/tapestry- project-4.1.0-SNAPSHOT.

Re: Tap 4.1 Shell component Exceptions

2006-07-14 Thread Jesse Kuhnert
Ok, for sanity's sake, what happens when you deploy/run the TimeTracker example application? (Can be run via maven as well ) On 7/14/06, Adam Henderson Azudio <[EMAIL PROTECTED]> wrote: I've downloaded the 4.1.0 Jul 14 snapshot jars from http:// people.apache.org/maven-snapshot-repository and s

Re: Tap 4.1 Shell component Exceptions

2006-07-14 Thread Adam Henderson Azudio
I've downloaded the 4.1.0 Jul 14 snapshot jars from http:// people.apache.org/maven-snapshot-repository and stuck them in my app and re-deployed/run it and it still gives the same exceptions: WARN - RequestExceptionReporterImpl.reportRequestException(45) | Failure to export classpath resourc

Re: Tap 4.1 Shell component Exceptions

2006-07-14 Thread Jesse Kuhnert
Hmmm...Sounds questionable. That particular exception is expected and doesn't actually cause a failure (hence the Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.105 output). The same exact jars are kept up to date on the maven snapshot repo, if you can get it to blow up there I

Re: Tap 4.1 Shell component Exceptions

2006-07-14 Thread Adam Henderson Azudio
I downloaded maven from apache (Maven 2.0.4), downloaded the Tapestry source from svn & ran the package command: mvn package which did its stuff but failed during the mock tests, so I re ran skipping the tests: One of the tests threw this: Running org.apache.tapestry.web.TestServletWebCon

Re: Tap 4.1 Shell component Exceptions

2006-07-14 Thread Jesse Kuhnert
Ok last question I promise. Are you running this with the standard maven jar I've deployed or some other derivative? On 7/14/06, Adam Henderson <[EMAIL PROTECTED]> wrote: Jesse, OS-X 10.4.1, Java 1.5.0_06, Tomcat 5.5.17, I'm running it through Eclipse 3.2/WTP1.5 -- Jesse Kuhnert Tacos/Ta

Re: Tap 4.1 Shell component Exceptions

2006-07-14 Thread Adam Henderson
Jesse, OS-X 10.4.1, Java 1.5.0_06, Tomcat 5.5.17, I'm running it through Eclipse 3.2/WTP1.5 here is a full stack trace: DEBUG - Home.pageBeginRender(34) | Creating a new Persistent Class WARN - RequestExceptionReporterImpl.reportRequestException(45) | Failure to export classpath resource /

Re: Tap 4.1 Shell component Exceptions

2006-07-14 Thread Jesse Kuhnert
I've not seen it before. What kind of servlet container is this running in? On 7/14/06, Adam Henderson Azudio <[EMAIL PROTECTED]> wrote: Hi All, Just had a go at building from the 4.1 Snapshot and the Shell component seems to be throwing this list of exceptions related to dojo: Home.html http

Tap 4.1 Shell component Exceptions

2006-07-14 Thread Adam Henderson Azudio
Hi All, Just had a go at building from the 4.1 Snapshot and the Shell component seems to be throwing this list of exceptions related to dojo: Home.html "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> http://www.w3.org/1999/xhtml";> Hello World

Re: Ajax Reload

2006-07-14 Thread Rodnei Couto
yes, work fine... But i had tested in firefox and didn't work... i test in IE now and work... Somebody now why didn't work in Firefox? Thanks, Rodnei Couto Andreas Andreou escreveu: Perhaps http://tacos.sourceforge.net/components/Refresh.html ? Rodnei Couto wrote: Hi list, How can i make a

Re: Ajax Reload

2006-07-14 Thread Andreas Andreou
Perhaps http://tacos.sourceforge.net/components/Refresh.html ? Rodnei Couto wrote: Hi list, How can i make a partial reload of one page with ajax? I know use AjaxForm, AjaxDirectLink etc, but a didn't know how to make a partial reload by javascript I need to know how make a ajax reload by j

Ajax Reload

2006-07-14 Thread Rodnei Couto
Hi list, How can i make a partial reload of one page with ajax? I know use AjaxForm, AjaxDirectLink etc, but a didn't know how to make a partial reload by javascript I need to know how make a ajax reload by javascript... is it possible? Thanks, Rodnei Couto -

RE: Access to PortletConfig (init-param and friends) SOLVED ?

2006-07-14 Thread Epstein, Ezra
On the plus side, to get the IApplicationSpecification the Inject incantation is: @InjectObject("infrastructure:applicationSpecification") But one the other hand, the portlet's init-param(s) are nowhere to be found :-( But it seems this does the trick: @InjectObject("infrastructure:glo

Workbench example - File System Tree

2006-07-14 Thread Ryan Cuprak
Hello, I've been tinkering with the Workbench File System Tree example. First I downloaded a working war from https://tapestrywebcomponentexamples.dev.java.net/ and deployed it in tomcat to see how it looked (earlier email with a link saved me some time!). Next I extracted the source files fro

RE: Hello world portlet

2006-07-14 Thread Epstein, Ezra
This can supposedly work, but I haven't yet found out how. If you do find out PLEASE post it to the list. I believe it's a pre-requisite for getting multiple portlets in a single Tapestry .war Thanks, Ezra Epstein -Original Message- From: Julio C. Rivera [mailto:[EMAIL PROTECTED]

RE: Inject and the infrastructure namespace

2006-07-14 Thread Epstein, Ezra
Yes, but the static (.xml) config'd part of it could be inspected dynamically. 'course when used via inject where the parameter (e.g., class name) is provided dynamically it's a meaningless concept, but for most of the things that hivemind has built-in it's not: they're static. Guess I'm still

RE: Hello world portlet

2006-07-14 Thread Epstein, Ezra
Tapestry wants to load a View class. You'll need a HelloWorldPortlet.application file in the WEB-INF folder with contents like: http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";> Where the value is specific to your package, of course. HTH. Thanks, Ezra Epstein -Orig

RE: Inject and the infrastructure namespace

2006-07-14 Thread James Carman
Service providers don't have "contents." Take the "instance" provider, for example. It can provide an object of any class which has a public no-argument constructor. Or, consider the "class" provider. It can provide any java.lang.Class object given a class name. So, there's no real way for it

Re: Hello world portlet

2006-07-14 Thread Julio C. Rivera
Yes, I have tried with and without View.page file without luck. I have tried saving View.html in context root and ¡it works!, but Why?. If I try it like a common web application it works with View.html in WEB-INF/gapmuportlet folder. Why it doesn't work in a portlet environment? Regards. Juli

RE: Inject and the infrastructure namespace

2006-07-14 Thread James Carman
Okay, take a look here: http://tapestry.apache.org/tapestry4/tapestry/hivedocs/config/tapestry.Infra structure.html Those are all of the contributions to the tapestry.Infrastructure configuration point. -Original Message- From: Epstein, Ezra [mailto:[EMAIL PROTECTED] Sent: Friday, Ju

RE: Inject and the infrastructure namespace

2006-07-14 Thread Epstein, Ezra
http://tapestry.apache.org/tapestry4/tapestry/apidocs/org/apache/tapestry/services/Infrastructure.html But clearly the converse is not true: there are properties available via the infrastructure: prefix that are not in the interface. The WebContext (infrastructure:context) is an example that co

Re: JSF-style bean access (JBoss) via HiveMind ?

2006-07-14 Thread Paul Cantrell
I don't know whether it works, but I presume you tried this: @InjectObject("infrastructure:context.roleModule") public abstract RoleModule getRoleModule(); ...? If that doesn't work, the first snippet seems like the way to do it. P On Jul 12, 2006, at 5:22 PM, Epstein, Ezra wr

Error while deploying application

2006-07-14 Thread Rui Pacheco
-- Cumprimentos, Rui Pacheco

Re: contrib:TreeTable question

2006-07-14 Thread Shing Hing Man
Have you checked out the examples at https://tapestrywebcomponentexamples.dev.java.net/ I think it is written in Tap3. But they should still be relevant. Shing --- Alessandro Balletti <[EMAIL PROTECTED]> wrote: > Hi, > are there on the web some working examples (with > source code) of > contr

contrib:TreeTable question

2006-07-14 Thread Alessandro Balletti
Hi, are there on the web some working examples (with source code) of contrib:TreeTable component? I already have "workbench" examples. Thanks

Re: Hello world portlet

2006-07-14 Thread Mitchell O'Brien
Hi, Do you have a View.page file? Cheers, Mitch On 14.07.2006, at 13:29, Julio C. Rivera wrote: Hi! I'm new in portlets. I'm trying to develop a Hello World portlet using Tapestry. When I deploy my hello world portlet in jetspeed I get this portlet content: org.apache.tapestry.PageNo

RE: suggestions on a conditonal render in the rewind

2006-07-14 Thread Dan Adams
yeah, i ended up doing something similar. i created a @SuppressValidation component which you can wrap around some fields in a form which will temporarily ignore validation errors using a custom validation delegate. :) On Thu, 2006-07-13 at 21:40 -0400, James Carman wrote: > Don't put a listener o

Re: ZipException

2006-07-14 Thread Reto Hotz
Hi, The problem seems to be somewhere here: We create an external link with an serializable object as parameter. In T3 it looked like this: IEngineService service = cycle.getEngine().getService(Tapestry.EXTERNAL_SERVICE); ILink link = service.getLink(cycle, this, getServiceParameters()); url = l

Hello world portlet

2006-07-14 Thread Julio C. Rivera
Hi! I'm new in portlets. I'm trying to develop a Hello World portlet using Tapestry. When I deploy my hello world portlet in jetspeed I get this portlet content: org.apache.tapestry.PageNotFoundException Page 'View' not found in application namespace. - org.apache.tapestry.resolver.Pa

Re: Re: Tap 4.1 questions

2006-07-14 Thread Sam Gendler
I guess I'll wait. No time to muddle through the hard way. Looking forward to it, though. Thanks for all the hard work, Jesse. --sam On 7/12/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: Do you mean this? http://tapestry.apache.org/tapestry4.1/source-repository.html? I thought I had fixed t