T5 and Eclipse 3.3.2 and Tomcat 5.5

2008-03-25 Thread Bruce Petro
Does anyone have suggestions for running/debugging Tapestry using Tomcat 5.5 and working in Eclipse? IE: a) Should you create the eclipse project as a dynamic web project or just a java project or some sort of J2EE project? b) Does a maven-built project map over to the type of

T5 Asset locations/overall design

2007-07-01 Thread Bruce Petro
I've been able to get assets loading if I place them with the pages (read: java page files) and load them via Java syntax. I understand in some cases there can be java page files without templates so that behavior is correct as far as it goes. However for any page with significant GUI building

T5 - syntax for css background images?

2007-06-20 Thread Bruce Petro
Question: I've learned so far, to display an image ... you do something like this: SomePage.java @Inject @Path(./art_logo.png) private Asset _someIcon; and then SomePage.html you do img src=${someIcon}/ BUT --- what's the syntax to use these in css EG: background images?

RE: T5: Inject/Path and Contexts

2007-06-19 Thread Bruce Petro
: Re: T5: Inject/Path and Contexts Sorry if the docs are lagging; your example is valid. The file will be src/main/webapp/images/tapestry_banner.gif. On 6/18/07, Bruce Petro [EMAIL PROTECTED] wrote: In the documentation, I see the path details but I cannot find anywhere a listing of the possible

T5: Inject/Path and Contexts

2007-06-18 Thread Bruce Petro
In the documentation, I see the path details but I cannot find anywhere a listing of the possible values of context: - the only one I see listed in the documentation is classpath. But for assets in general, wouldn't you tend to want to find images kept in a shared location such as under webapps?

RE: Split mailing list for T5/T4,4.1

2007-06-14 Thread Bruce Petro
This sounds great - although you could also do multiple targets which could just prepend a key to all subjects so people could then pick what they want via that key word designation. Sent from my GoodLink synchronized handheld (www.good.com) -Original Message- From: Holger

T5: web.xml - multiple applications?

2007-06-07 Thread Bruce Petro
I was thinking for development purposes it might be desirable to have multiple contexts. But I don't see how to tie a context-param (which determines which classes handle the requests) to a filter definition (which specifies a url pattern to handle) I'm making a wild guess that in the sample app

RE: (T 5.0.5 snapshot) No root element has been defined

2007-06-06 Thread Bruce Petro
Hmmm... But Howard did I hear you right the other day that the resources/myapp/pages/start.html concept has been relaxed somewhat? I was thinking you showed the concept of having the html pages right inside the webapps/WEB-INF directory without the matching directory/package pathing ...

RE: T5 - Select changed event...

2007-04-13 Thread Bruce Petro
In case anyone else is looking for it I found it... http://svn.apache.org/viewvc/tapestry/tapestry5/tapestry-core/trunk/src/ test/java/org/apache/tapestry/integration/app1/pages/BlockDemo.java -Original Message- From: Bruce Petro [mailto:[EMAIL PROTECTED] Sent: Thursday, April 12, 2007

T5 simple javascript question

2007-04-12 Thread Bruce Petro
I'm hearing that T5 javascript support is not fully implemented - question - is it ready to handle a simple call like this? IE: when the button is pressed, it will first perform some local javascript, then continue on with the submit process. Does that work? If so, I must not have the correct

RE: T5 - Select changed event...

2007-04-12 Thread Bruce Petro
find it. Best regards Alexandru Dragomir wrote: Yes , with javascript : t:select t:id= model= onchange=this.form.submit();/ You have a sample in the integration tests - BlockDemo Cheers , Alex On 4/11/07, Bruce Petro [EMAIL PROTECTED] wrote: Is there a way to cause

T5 - Select changed event...

2007-04-11 Thread Bruce Petro
Is there a way to cause a select (drop down) action of selecting a value to send an event back to the java side?

T5 ... assets and paths changing?

2007-04-10 Thread Bruce Petro
It appears that T5.0.3 has removed @Asset and @Path How do we then load an image to be used either directly or as a BG image? I've looked all over including the Introduction page where you appear to keep a running feature changes list. Thanks @Inject @Path(../edit.png)

RE: T5 ... assets and paths changing?

2007-04-10 Thread Bruce Petro
? Actually, T5.0.3 didn't remove path; path was added after 5.0.3. For T5.0.3 you do: @Inject(../edit.png) private Asset _icon; Robert On Apr 10, 2007, at 4/103:55 PM , Bruce Petro wrote: It appears that T5.0.3 has removed @Asset and @Path How do we then load an image to be used either

T4/T5 and Session/Visit

2007-04-06 Thread Bruce Petro
OK, I'm new but trying to learn this stuff... As I understand it: T4 exists within servlet lifespan / T5 utilizes Filter and therefore is outside the servlet lifespan. Therefore I believe various things in T4 such as getting to the session will have to be handled differently. Is that correct?

RE: T4/T5 and Session/Visit

2007-04-06 Thread Bruce Petro
Actually, I have (of course, right after I ask the world!) found this which helps. But if anyone can share more I'd appreciate it. http://tapestry.apache.org/tapestry5/tapestry-core/guide/request.html -Original Message- From: Bruce Petro [mailto:[EMAIL PROTECTED] Sent: Friday, April

Session variable and login help ...

2007-04-04 Thread Bruce Petro
We're just getting started in Tapestry and our login is initialized as seen below. But a second browser (mixing IE and Foxfire) seem to share the login of the first person - so I believe this is wrong. I'm guessing that the Start class is only initialized once for all users, is that true? Any