[ 
https://issues.apache.org/jira/browse/TAP5-703?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12709698#action_12709698
 ] 

Tam Du edited comment on TAP5-703 at 5/14/09 9:29 PM:
------------------------------------------------------

I'm so sorry because I didn't explain my idea clearly. I make it clear here.

Currently, .tml files are stored in the fixed directory. Generally, it might be 
not suitable for users in some case. We can keep the file organization of web 
project flexible by determine the tml directory path (where to store .tml 
files).

For example, I attached here my java file which explains my suggestion.  In 
this file, I insert the line: 
      configuration.add(SymbolConstants.TML_DIRECTORY_PATH, "WEB-INF/tml/");
to specify the tml directory.

Thanks for considering my suggestion.


      was (Author: tamdlt):
    I'm so sorry because I didn't explain my idea clearly. I make clear it here.

Currently, .tml files are stored in the fixed directory. Generally, it might be 
not suitable for users in some case. We can keep the file organization of web 
project flexible by determine the tml directory path (where to store .tml 
files).

For example, I attached here my java file which explains my suggestion.  In 
this file, I insert the line: 
      configuration.add(SymbolConstants.TML_DIRECTORY_PATH, "WEB-INF/tml/");
to specify the tml directory.

Thanks for considering my suggestion.

  
> Improvement where to save tml files
> -----------------------------------
>
>                 Key: TAP5-703
>                 URL: https://issues.apache.org/jira/browse/TAP5-703
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.1.0.5, 5.0.18
>            Reporter: Tam Du
>         Attachments: mvncmsModule.java
>
>
> I request this feature for purpose of the security of website. Currently, I 
> found that users can download tml files by putting ".tml" at the end of URL. 
> Users can do like that because .tml files are put in the webroot folder of 
> the project. To prevent download, I have 2 solutions for this case:
>      Solution 1:   .tml files can be saved anywhere in project, and Tapestry 
> will support the configuration to determine where to save these files.
>      Solution 2:   Save tml file in the WEB_INF folder of project.
> I hope that next version of Tapestry will have this option.
> Thank you very much.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to