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
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
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
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
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?
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
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
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 ...
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
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
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
Is there a way to cause a select (drop down) action of selecting a value
to send an event back to the java side?
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)
?
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
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?
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
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
17 matches
Mail list logo