The Pattern seems to be wrong/not working.

After quite some testing I found the following working:

PackageResource.bind(application, TinyMCEPanel.class, Pattern.compile (".*\\.js"), true); PackageResource.bind(application, TinyMCEPanel.class, Pattern.compile (".*\\.html"), true); PackageResource.bind(application, TinyMCEPanel.class, Pattern.compile (".*\\.htm"), true); PackageResource.bind(application, TinyMCEPanel.class, Pattern.compile (".*\\.css"), true); PackageResource.bind(application, TinyMCEPanel.class, Pattern.compile (".*\\.gif"), true);

When I use a code like this:

PackageResource.bind(getApplication(), MyPage.class, Pattern.compile ("^images.*(.jpg|.gif|.png)$"), true);

is the resource still referenced as "images/toolbar-bg-orange.png" or just "toolbar-bg-orange.png"?

In my code the above does not work.  But manually loading works:

PackageResource.bind(getApplication(), MyPage.class, "images/toolbar- bg-orange.png");

Thanks for any idea,

Alex

Am 02.05.2006 um 09:45 schrieb Johan Compagner:

what goes wrong exactly at youre end?
doesn't it match specific resources?

johan


On 5/2/06, Alexander Lohse < [EMAIL PROTECTED]> wrote:I found a problem that is related to loading shared resources.

The following code taken from the examples does not work:

PackageResource.bind(getApplication(), MyPage.class, Pattern.compile
("^images.*(.jpg|.gif|.png)$"), true);

Is there a bug in 1.2 RC3/RC1? Or is there something wrong with the
pattern?

Thanks for any help,

Alex

Am 01.05.2006 um 18:06 schrieb Alexander Lohse:

> Hi,
>
> I have problems using the tinymce integration. Javascript keeps
> complaining about a missing template function.
> Any idea what I might have done wrong?
>
> Regards,
>
> Alex
> –––––––––––––––––––––––––––––––––––––––
> Alexander Lohse
> (Entwicklungsleitung & Projektmanagement)
>
> Human Touch Medienproduktion GmbH
> Am See 1
> 17440 Klein Jasedow
> Deutschland
>
> Tel: +49 38374 752 11
> Fax: +49 38374 752 23
> e-mail: [EMAIL PROTECTED]
> Internet: http://www.webjazz.de
> –––––––––––––––––––––––––––––––––––––––
>
>
>
>
> -------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services,
> security?
> Get stuff done quickly with pre-integrated technology to make your
> job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user

–––––––––––––––––––––––––––––––––––––––
Alexander Lohse
(Entwicklungsleitung & Projektmanagement)

Human Touch Medienproduktion GmbH
Am See 1
17440 Klein Jasedow
Deutschland

Tel: +49 38374 752 11
Fax: +49 38374 752 23
e-mail: [EMAIL PROTECTED]
Internet: http://www.webjazz.de
–––––––––––––––––––––––––––––––––––––––




-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmdlnk&kid0709&bid&3057&dat1642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user






-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to