Bugs item #582421, was opened at 2002-07-16 19:24
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=104754&aid=582421&group_id=4754

Category: Tapestry
Group: suggestion
Status: Closed
Resolution: Fixed
Priority: 5
Submitted By: Howard Lewis Ship (hship)
Assigned to: Howard Lewis Ship (hship)
Summary: Way to specify template location

Initial Comment:
Tapestry currently assumes that the HTML template 
is "adjacent" to the component specification (in the 
same package/directory).

This is limiting.  There are advantages to storing 
templates elsewhere.

Proposal: Define a special asset name, "$template".  If 
such an asset exists, it will be used as the template, 
rather than searching the directory containing the 
specification.

This gives Java developers a precise way to control 
exactly where the templates are stored.  They can be 
either context or private assets (or, I suppose, external 
assets if you were brave).

----------------------------------------------------------------------

Comment By: Craig Goss (cgoss)
Date: 2002-08-16 16:09

Message:
Logged In: YES 
user_id=532953

Howard:  

I'm very new to Tapestry and, right or wrong, one of the most 
disconcerting elements of developing with it is the inclusion 
of non-java resources in java packages.  Maybe this is 
something I just have to get over, but I *think* I hear you 
agreeing and suggesting that alternate locations be allowed ( 
at least for .htm/.html).  Am I getting that right?  

Without having used Tapestry extensively, I'm thinking I'd like 
to have a directory structure more or less like this:

src:
  org.mycompany.tap.bank.Deposit
  org.mycompany.tap.bank.Withdraw

web:
  tap/bank/Deposit.jwc
  tap/bank/Deposit.html
  tap/bank/Withdraw.jwc
  tap/bank/Withdraw.html 

so that I can keep maintain my java sources in packages 
while keeping other Tapestry resources in a separate set of 
folders.  I realize this splits "source" into separate locations 
but, the way I understand it, you would simply be offering this 
as an option.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=104754&aid=582421&group_id=4754


-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
Tapestry-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/tapestry-developer

Reply via email to