Groups
Groups
Sign in
Groups
Groups
SiteMesh 2 Users
Conversations
About
Send feedback
Help
layout-config and wildcards
26 views
Skip to first unread message
dylanmac
unread,
May 16, 2012, 12:47:32 PM
5/16/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to SiteMesh 2 Users
Hi -
I'm trying to capture URL patterns in my layout-config file using
wildcards, but I think I may be violating its pattern matching
abilities.
I want to be able to apply a css file to any URLs that contain the
string "resources/" such as:
/resources/index.htm
/advisor_resources/index.htm
/institutional_resources/index.htm
The way I am trying to capture these patterns in layout-config is like
this:
<layout name="resources" extends="main" url="/*resources/*">
<property name="css" merge="true" value="/css/
resources.index.css"/>
</layout>
This isn't working. Is it possible to use wildcards in this way to
capture the pattern?
Joe Walnes
unread,
May 16, 2012, 2:09:51 PM
5/16/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sitemes...@googlegroups.com
The <layout> tag is not part of SiteMesh. I'm not sure what it is. What other frameworks are you using?
Dylan MacDonald
unread,
May 16, 2012, 5:28:32 PM
5/16/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sitemes...@googlegroups.com
Hi Joe -
Hmm, I was wondering that myself. We're using Spring with SiteMesh.
A fellow developer seemed to think layout-config was sitemesh but I guess not.
- Dylan
Reply all
Reply to author
Forward
0 new messages