You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by ma...@apache.org on 2005/12/19 23:29:11 UTC
svn commit: r357817 -
/myfaces/tomahawk/trunk/src/java/org/apache/myfaces/custom/stylesheet/StylesheetTag.java
Author: matzew
Date: Mon Dec 19 14:29:05 2005
New Revision: 357817
URL: http://svn.apache.org/viewcvs?rev=357817&view=rev
Log:
MYFACES-907 + setProperties for _inline
Modified:
myfaces/tomahawk/trunk/src/java/org/apache/myfaces/custom/stylesheet/StylesheetTag.java
Modified: myfaces/tomahawk/trunk/src/java/org/apache/myfaces/custom/stylesheet/StylesheetTag.java
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/trunk/src/java/org/apache/myfaces/custom/stylesheet/StylesheetTag.java?rev=357817&r1=357816&r2=357817&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/src/java/org/apache/myfaces/custom/stylesheet/StylesheetTag.java (original)
+++ myfaces/tomahawk/trunk/src/java/org/apache/myfaces/custom/stylesheet/StylesheetTag.java Mon Dec 19 14:29:05 2005
@@ -27,6 +27,7 @@
private String _path = null;
+ private String _media = null;
private boolean _inline = false;
// User Role support
@@ -50,6 +51,7 @@
super.release();
_path=null;
+ _media=null;
_enabledOnUserRole=null;
_visibleOnUserRole=null;
@@ -63,6 +65,8 @@
super.setProperties(component);
setStringProperty(component, "path", _path);
+ setStringProperty(component, "media", _media);
+ setBooleanProperty(component, "inline", Boolean.toString(_inline));
}
@@ -70,6 +74,9 @@
public void setPath(String path) {
this._path = path;
+ }
+ public void setMedia(String media) {
+ this._media = media;
}
public void setEnabledOnUserRole(String string) {
_enabledOnUserRole = string;