<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Pluggable styling with SpringSource Slices</title>
	<atom:link href="http://blog.springsource.com/2009/07/10/pluggable-styling-with-springsource-slices/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.springsource.com/2009/07/10/pluggable-styling-with-springsource-slices/</link>
	<description>The voice of SpringSource</description>
	<lastBuildDate>Sat, 13 Mar 2010 01:18:34 -0600</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Andy Wilkinson</title>
		<link>http://blog.springsource.com/2009/07/10/pluggable-styling-with-springsource-slices/comment-page-1/#comment-167580</link>
		<dc:creator>Andy Wilkinson</dc:creator>
		<pubDate>Tue, 14 Jul 2009 19:46:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.springsource.com/?p=2430#comment-167580</guid>
		<description>@Anoop, no, it won&#039;t. There&#039;s a chance that Slices will be part of M4, but while it&#039;s still a rapidly-evolving prototype we prefer to keep it a separate add-on. That said, we do have plans to start publishing ready-built zip files which will mean you don&#039;t have to build from source yourself: you can just unzip on top of dm Server, update the profile, and you&#039;re ready to go.</description>
		<content:encoded><![CDATA[<p>@Anoop, no, it won&#039;t. There&#039;s a chance that Slices will be part of M4, but while it&#039;s still a rapidly-evolving prototype we prefer to keep it a separate add-on. That said, we do have plans to start publishing ready-built zip files which will mean you don&#039;t have to build from source yourself: you can just unzip on top of dm Server, update the profile, and you&#039;re ready to go.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anoop</title>
		<link>http://blog.springsource.com/2009/07/10/pluggable-styling-with-springsource-slices/comment-page-1/#comment-167573</link>
		<dc:creator>Anoop</dc:creator>
		<pubDate>Tue, 14 Jul 2009 07:00:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.springsource.com/?p=2430#comment-167573</guid>
		<description>Will the slices implementation be part of DM Server 2.0.0.M3 ?</description>
		<content:encoded><![CDATA[<p>Will the slices implementation be part of DM Server 2.0.0.M3 ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gunnar</title>
		<link>http://blog.springsource.com/2009/07/10/pluggable-styling-with-springsource-slices/comment-page-1/#comment-167565</link>
		<dc:creator>Gunnar</dc:creator>
		<pubDate>Mon, 13 Jul 2009 06:46:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.springsource.com/?p=2430#comment-167565</guid>
		<description>Cool, thanks for the link!</description>
		<content:encoded><![CDATA[<p>Cool, thanks for the link!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy Wilkinson</title>
		<link>http://blog.springsource.com/2009/07/10/pluggable-styling-with-springsource-slices/comment-page-1/#comment-167564</link>
		<dc:creator>Andy Wilkinson</dc:creator>
		<pubDate>Mon, 13 Jul 2009 06:43:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.springsource.com/?p=2430#comment-167564</guid>
		<description>@Gunnar, there&#039;s been some discussion on this topic in the past, and it was raised with the OSGi Alliance. Their decision was not to use a prefix but, instead, to create a public registry of headers to prevent clashes. You can read some more about it in Glyn&#039;s blog entry:
http://blog.springsource.com/2008/11/27/springsource-manifest-headers-registered-with-osgi/

We&#039;ll be registering the Slices-related headers in the near future, and certainly before the M1 release. I&#039;ve just raised an issue on the dm Server backlog so that you can track this work: https://issuetracker.springsource.com/browse/DMS-1136</description>
		<content:encoded><![CDATA[<p>@Gunnar, there&#039;s been some discussion on this topic in the past, and it was raised with the OSGi Alliance. Their decision was not to use a prefix but, instead, to create a public registry of headers to prevent clashes. You can read some more about it in Glyn&#039;s blog entry:<br />
<a href="http://blog.springsource.com/2008/11/27/springsource-manifest-headers-registered-with-osgi/" rel="nofollow">http://blog.springsource.com/2008/11/27/springsource-manifest-headers-registered-with-osgi/</a></p>
<p>We&#039;ll be registering the Slices-related headers in the near future, and certainly before the M1 release. I&#039;ve just raised an issue on the dm Server backlog so that you can track this work: <a href="https://issuetracker.springsource.com/browse/DMS-1136" rel="nofollow">https://issuetracker.springsource.com/browse/DMS-1136</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gunnar</title>
		<link>http://blog.springsource.com/2009/07/10/pluggable-styling-with-springsource-slices/comment-page-1/#comment-167563</link>
		<dc:creator>Gunnar</dc:creator>
		<pubDate>Mon, 13 Jul 2009 06:27:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.springsource.com/?p=2430#comment-167563</guid>
		<description>Wouldn&#039;t it be better to prefix custom manifest headers with &quot;SpringSource-...&quot; to indicate to people that those aren&#039;t official OSGi header?</description>
		<content:encoded><![CDATA[<p>Wouldn&#039;t it be better to prefix custom manifest headers with &#034;SpringSource-&#8230;&#034; to indicate to people that those aren&#039;t official OSGi header?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy Wilkinson</title>
		<link>http://blog.springsource.com/2009/07/10/pluggable-styling-with-springsource-slices/comment-page-1/#comment-167547</link>
		<dc:creator>Andy Wilkinson</dc:creator>
		<pubDate>Sat, 11 Jul 2009 08:22:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.springsource.com/?p=2430#comment-167547</guid>
		<description>@Dmitry, yes, this is possible too. I&#039;ve added a new sample to Slices&#039; Git repository in the samples/multiple-styles directory that provides a basic illustration of how this would work.

In the sample, there are multiple Slices but, crucially, each is configured with a *different* Slice-ContextPath. This allows the Host to access all of them, rather than only being able to use a single style as was possible in the pluggable styling sample discussed above. I&#039;ve also updated the Host so that it has a basic style of its own which is defined in the HTML as the default stylesheet. The HTML then lists each of the styles provided by the Slices as an alternate stylesheet as provides a drop-down to allow users to switch between styles. The sample&#039;s not perfect as it hardcodes the styles that it expects to be provided by its Slices, but I hope that it illustrates the basic technique.

As you can see from the PetClinic Host, it&#039;s possible to determine which Slices are available at runtime, so the multiple styles sample could be updated to only offer users a choice of the styles which are actually available based on the Host&#039;s Slices. We plan (under DMS-914) to provide a tag library that, among other things, will make accessing a Host&#039;s Slices considerably more elegant than it is at the moment. Once that tag library&#039;s available, we&#039;ll update the PetClinic sample to make use of it, and probably update this sample to only offer the styles that are actually available.</description>
		<content:encoded><![CDATA[<p>@Dmitry, yes, this is possible too. I&#039;ve added a new sample to Slices&#039; Git repository in the samples/multiple-styles directory that provides a basic illustration of how this would work.</p>
<p>In the sample, there are multiple Slices but, crucially, each is configured with a *different* Slice-ContextPath. This allows the Host to access all of them, rather than only being able to use a single style as was possible in the pluggable styling sample discussed above. I&#039;ve also updated the Host so that it has a basic style of its own which is defined in the HTML as the default stylesheet. The HTML then lists each of the styles provided by the Slices as an alternate stylesheet as provides a drop-down to allow users to switch between styles. The sample&#039;s not perfect as it hardcodes the styles that it expects to be provided by its Slices, but I hope that it illustrates the basic technique.</p>
<p>As you can see from the PetClinic Host, it&#039;s possible to determine which Slices are available at runtime, so the multiple styles sample could be updated to only offer users a choice of the styles which are actually available based on the Host&#039;s Slices. We plan (under DMS-914) to provide a tag library that, among other things, will make accessing a Host&#039;s Slices considerably more elegant than it is at the moment. Once that tag library&#039;s available, we&#039;ll update the PetClinic sample to make use of it, and probably update this sample to only offer the styles that are actually available.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Twitted by springneb</title>
		<link>http://blog.springsource.com/2009/07/10/pluggable-styling-with-springsource-slices/comment-page-1/#comment-167539</link>
		<dc:creator>Twitted by springneb</dc:creator>
		<pubDate>Fri, 10 Jul 2009 17:30:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.springsource.com/?p=2430#comment-167539</guid>
		<description>[...] This post was Twitted by springneb [...]</description>
		<content:encoded><![CDATA[<p>[...] This post was Twitted by springneb [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dmitry Sklyut</title>
		<link>http://blog.springsource.com/2009/07/10/pluggable-styling-with-springsource-slices/comment-page-1/#comment-167538</link>
		<dc:creator>Dmitry Sklyut</dc:creator>
		<pubDate>Fri, 10 Jul 2009 17:12:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.springsource.com/?p=2430#comment-167538</guid>
		<description>What about having multiple styles deployed at the same time?  Giving users an ability to choose from number of styles, i.e support for themes.

Thanks
Dmitry</description>
		<content:encoded><![CDATA[<p>What about having multiple styles deployed at the same time?  Giving users an ability to choose from number of styles, i.e support for themes.</p>
<p>Thanks<br />
Dmitry</p>
]]></content:encoded>
	</item>
</channel>
</rss>
