You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Ritesh Trivedi (JIRA)" <ji...@apache.org> on 2008/06/25 22:46:45 UTC

[jira] Created: (WICKET-1714) PackagedTextTemplate does not load resource from application resource stream locator

PackagedTextTemplate does not load resource from application resource stream locator
------------------------------------------------------------------------------------

                 Key: WICKET-1714
                 URL: https://issues.apache.org/jira/browse/WICKET-1714
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.3.4
         Environment: Any
            Reporter: Ritesh Trivedi


Here is my post to the dev list...

file a jira issue

-igor

On Wed, Jun 25, 2008 at 11:23 AM, Ritz123 <ri...@...> wrote:

>
> I did some investigation and seems like there is a bug.
>
> PackagedTextTemplate @line:92 is creating a new ResourceStreamLocator()
> instead of using the one from the application. This is causing resources to
> be not found if you have custom resource stream loader registered with the
> application.
>
> line 92: private static final IResourceStreamLocator streamLocator = new
> ResourceStreamLocator();
>
> Can Wicket dev confirm?
>
>
> Ritz123 wrote:
>>
>> Hi,
>>
>> I am trying to use PackagedTextTemplate to load the template, but seems
>> like its not looking for the resource in the application registered
>> resource stream locator. I get resource not found exception.
>>
>> HeaderContributor.forCss and forJavascript has worked fine and has found
>> resource in the folders for application stream location without any
>> issues.
>>
>>
>>
>
> --
> View this message in context: http://www.nabble.com/Re%3A-PackagedTextTemplate-does-not-load-resource-from-application-resource-stream-locator----BUG---tp18116540p18116540.html
> Sent from the Wicket - Dev mailing list archive at Nabble.com.
> 

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


[jira] Resolved: (WICKET-1714) PackagedTextTemplate does not load resource from application resource stream locator

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

Igor Vaynberg resolved WICKET-1714.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.4-M3
                   1.3.5
         Assignee: Igor Vaynberg

> PackagedTextTemplate does not load resource from application resource stream locator
> ------------------------------------------------------------------------------------
>
>                 Key: WICKET-1714
>                 URL: https://issues.apache.org/jira/browse/WICKET-1714
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.4
>         Environment: Any
>            Reporter: Ritesh Trivedi
>            Assignee: Igor Vaynberg
>             Fix For: 1.3.5, 1.4-M3
>
>
> Here is my post to the dev list...
> file a jira issue
> -igor
> On Wed, Jun 25, 2008 at 11:23 AM, Ritz123 <ri...@...> wrote:
> >
> > I did some investigation and seems like there is a bug.
> >
> > PackagedTextTemplate @line:92 is creating a new ResourceStreamLocator()
> > instead of using the one from the application. This is causing resources to
> > be not found if you have custom resource stream loader registered with the
> > application.
> >
> > line 92: private static final IResourceStreamLocator streamLocator = new
> > ResourceStreamLocator();
> >
> > Can Wicket dev confirm?
> >
> >
> > Ritz123 wrote:
> >>
> >> Hi,
> >>
> >> I am trying to use PackagedTextTemplate to load the template, but seems
> >> like its not looking for the resource in the application registered
> >> resource stream locator. I get resource not found exception.
> >>
> >> HeaderContributor.forCss and forJavascript has worked fine and has found
> >> resource in the folders for application stream location without any
> >> issues.
> >>
> >>
> >>
> >
> > --
> > View this message in context: http://www.nabble.com/Re%3A-PackagedTextTemplate-does-not-load-resource-from-application-resource-stream-locator----BUG---tp18116540p18116540.html
> > Sent from the Wicket - Dev mailing list archive at Nabble.com.
> > 

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