I am using Orion as my Web/Application server.  I am new at both, Orion
and Tapestry !!!
 
 
When I view the HTML source within my browser is see:
 
<img
src="/College-Support/CWDEDEditor?service=asset&amp;context=/com/primix/tapestry/inspector/tapestry-logo.gif"
border="0" name="rollover_0">
 
So this is asking my application engine ("/College-Support/CWDEDEditor"
which is really CWDEDEditor_servlet.java) for the asset
"/com/primix/tapestry/inspector/tapestry-logo.gif".  I thought since
this is in the Tapestry JAR file I only had to place the JAR file in
WEB-INF/lib.
 

To set a JVM property I use the java command line option
-Dcom.primix.tapestry.asset.dir="C:/xxx" and in C:/xxx I place what ?


Does not being able to find tapestry-logo.gif also explain the
appearance of my application in what should be the Inspector window >

Craig J. Gregory
Dir. of Information Srevices
Blue Mountain Community College
PO Box 100
2411 NW Carden Av.
Pendleton, OR 97801
(541) 278-5825

>>> <[EMAIL PROTECTED]> 05/22/02 02:51PM >>>
Seems like theres a problem downloading images.

Are you using Jetty or Tomcat?

My suspicion is that you left some of the image 
externalizing configuration from the tutorial enabled, 
but didn't actually map a web server URI to the 
necessary directory.

Check to see if your start script is specifying things 
like com.primix.tapestry.asset.dir?

Do a view source on the generated page.  Are the URLs to 
the images something like "/private/com/primix/..."?  
Now look at your web servers log and see if you are 
getting a bunch of 404s.

See 
http://tapestry.javanuke.org/doc/DevelopersGuide/engine.p 
rivate-assets.html

For what this is all about.  Basically, the tapestry JAR 
has images and stylesheets that the web browser needs 
access to ... Tapestry has two different ways to handle 
this but (most likely) you cut and pasted half the 
configuration necessary for it to work.


--
[EMAIL PROTECTED] 

http://tapestry.sf.net 
> I am trying to display the "inspector" link in my HelloWorld example.

> When I try the following I get a purple box with the "missing image
X"
> inside as the Inspector link.  And when I press this link I seem to
get
> my application, but displayed in a new wndow without the browser
toobars
> along the top.  Can someone help me (Can I be helped) ?
> 
> 
> My HelloWorld.aplication contains:
> 
> <?xml  version="1.0"  encoding="UTF-8" ?>
> <!DOCTYPE application PUBLIC "-//Howard Ship//Tapestry Specification
> 1.1//EN" "http://tapestry.sf.net/dtd/Tapestry_1_1.dtd";>
> 
> <application  name="Hello World Example" 
> engine-class="com.primix.tapestry.engine.SimpleEngine" >
> 
>     <page  name="Home" 
> specification-path="/_cwg$ais/examples/helloworld/Home.jwc" />
>     
> </application>
> 
> 
> my Home.jwc is:
> 
> <?xml  version="1.0"  encoding="UTF-8" ?>
> <!DOCTYPE  specification PUBLIC "-//Howard Ship//Tapestry
Specification
> 1.1//EN" "http://tapestry.sf.net/dtd/Tapestry_1_1.dtd"; >
> 
> <specification  class="_cwg$ais.examples.helloworld.Home" >
> 
>     <component  id="insertDate"  type="Insert" >
>         <binding  name="value"  property-path="currentDate" />
>     </component>
>     
> 
> <!-- Tapestry Components -->
>   
>   <component id="tapestryBody" type="Body"/>
> 
>   <component id="tapestryShowInspector" type="ShowInspector"/>
>   
> </specification>
> 
> 
> and my Home.html is:
> 
> <!doctype  html  public  "-//W3C//DTD HTML 4.0 Transitional//EN">
> 
> <html>
> 
>     <head>
>         <title>Hello World</title>
>     </head>
> 
>     <body  jwcid="tapestryBody">
>         Welcome to your first <b>Tapestry Application</b>. (CJG)
<br>
>         <span  jwcid="insertDate">12-Nov-1999</span>
> 
>         <span  jwcid="tapestryShowInspector" />
>     </body>
> 
> </html>
> 
> 
> Craig J. Gregory
> Dir. of Information Srevices
> Blue Mountain Community College
> PO Box 100
> 2411 NW Carden Av.
> Pendleton, OR 97801
> (541) 278-5825


_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm


_______________________________________________
Tapestry-developer mailing list
[EMAIL PROTECTED] 
https://lists.sourceforge.net/lists/listinfo/tapestry-developer 


_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
Tapestry-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/tapestry-developer

Reply via email to