You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "Thorsten Scherler (JIRA)" <ji...@apache.org> on 2007/11/09 14:37:50 UTC

[jira] Created: (COCOON-2145) Input module to return absolute file location of a block

Input module to return absolute file location of a block
--------------------------------------------------------

                 Key: COCOON-2145
                 URL: https://issues.apache.org/jira/browse/COCOON-2145
             Project: Cocoon
          Issue Type: New Feature
          Components: - Servlet service framework
            Reporter: Thorsten Scherler


I needed an input module which returns me the full file path location of the base dir/resource of a block.

The implementation makes use of the blockcontext: protocol.

You can use it as 
{block-filepath:BLOCK/}

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


Re: [jira] Updated: (COCOON-2145) Input module to return absolute file location of a block

Posted by Thorsten Scherler <th...@juntadeandalucia.es>.
On Fri, 2007-11-09 at 05:41 -0800, Thorsten Scherler (JIRA) wrote:
> [ https://issues.apache.org/jira/browse/COCOON-2145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
> 
> Thorsten Scherler updated COCOON-2145:
> --------------------------------------
> 
>     Attachment: COCOON-2145.patch
> 
> If you think it is useful, please review the patch.
> 
> If you want I commit it.

Did anybody look into this patch?

Can I commit it?

TIA for any feedback

salu2
-- 
Thorsten Scherler                                 thorsten.at.apache.org
Open Source Java                      consulting, training and solutions


[jira] Updated: (COCOON-2145) Input module to return absolute file location of a block

Posted by "Thorsten Scherler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COCOON-2145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thorsten Scherler updated COCOON-2145:
--------------------------------------

    Attachment: COCOON-2145.patch

If you think it is useful, please review the patch.

If you want I commit it.

> Input module to return absolute file location of a block
> --------------------------------------------------------
>
>                 Key: COCOON-2145
>                 URL: https://issues.apache.org/jira/browse/COCOON-2145
>             Project: Cocoon
>          Issue Type: New Feature
>          Components: - Servlet service framework
>            Reporter: Thorsten Scherler
>         Attachments: COCOON-2145.patch
>
>
> I needed an input module which returns me the full file path location of the base dir/resource of a block.
> The implementation makes use of the blockcontext: protocol.
> You can use it as 
> {block-filepath:BLOCK/}

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


[jira] Commented: (COCOON-2145) Input module to return absolute file location of a block

Posted by "Ralph Goers (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COCOON-2145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12545239 ] 

Ralph Goers commented on COCOON-2145:
-------------------------------------

Could you possibly also provide a unit test for this? I realize that the servlet-service-components block doesn't have any tests yet but it should.

> Input module to return absolute file location of a block
> --------------------------------------------------------
>
>                 Key: COCOON-2145
>                 URL: https://issues.apache.org/jira/browse/COCOON-2145
>             Project: Cocoon
>          Issue Type: New Feature
>          Components: - Servlet service framework
>            Reporter: Thorsten Scherler
>         Attachments: COCOON-2145.patch, COCOON-2145.patch
>
>
> I needed an input module which returns me the full file path location of the base dir/resource of a block.
> The implementation makes use of the blockcontext: protocol.
> You can use it as 
> {block-filepath:BLOCK/}

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


[jira] Updated: (COCOON-2145) Input module to return absolute file location of a block

Posted by "Thorsten Scherler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COCOON-2145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thorsten Scherler updated COCOON-2145:
--------------------------------------

    Attachment: COCOON-2145.patch

Fixing problem of not releasing the source and incorporation of feedback from Vadim Gritsenko. 

Thanks Vadim.

The input module now has the same name as the protocol: "{blockcontext:myBlock/}. 

> Input module to return absolute file location of a block
> --------------------------------------------------------
>
>                 Key: COCOON-2145
>                 URL: https://issues.apache.org/jira/browse/COCOON-2145
>             Project: Cocoon
>          Issue Type: New Feature
>          Components: - Servlet service framework
>            Reporter: Thorsten Scherler
>         Attachments: COCOON-2145.patch, COCOON-2145.patch
>
>
> I needed an input module which returns me the full file path location of the base dir/resource of a block.
> The implementation makes use of the blockcontext: protocol.
> You can use it as 
> {block-filepath:BLOCK/}

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