Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
layout-config and wildcards
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
dylanmac  
View profile  
 More options May 16 2012, 12:47 pm
From: dylanmac <dylan...@gmail.com>
Date: Wed, 16 May 2012 09:47:32 -0700 (PDT)
Local: Wed, May 16 2012 12:47 pm
Subject: layout-config and wildcards
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?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Joe Walnes  
View profile  
 More options May 16 2012, 2:09 pm
From: Joe Walnes <j...@walnes.com>
Date: Wed, 16 May 2012 13:09:51 -0500
Local: Wed, May 16 2012 2:09 pm
Subject: Re: layout-config and wildcards

The <layout> tag is not part of SiteMesh. I'm not sure what it is. What
other frameworks are you using?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dylan MacDonald  
View profile  
 More options May 16 2012, 5:28 pm
From: Dylan MacDonald <dylan...@gmail.com>
Date: Wed, 16 May 2012 14:28:32 -0700
Local: Wed, May 16 2012 5:28 pm
Subject: Re: layout-config and wildcards
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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »