You are viewing a plain text version of this content. The canonical link for it is here.
Posted to adffaces-issues@incubator.apache.org by "Jeanne Waldman (JIRA)" <ad...@incubator.apache.org> on 2006/06/20 15:27:29 UTC

[jira] Created: (ADFFACES-27) Add agent and platform support to skinning's css file

Add agent and platform support to skinning's css file
-----------------------------------------------------

         Key: ADFFACES-27
         URL: http://issues.apache.org/jira/browse/ADFFACES-27
     Project: MyFaces ADF-Faces
        Type: New Feature

    Reporter: Jeanne Waldman


Add support for configuring skinning style classes based on the user agent and platform. The api will look like this:
@platform windows, ppc {
 @agent ie {
   af|column::sortable-header-text {
     cursor: hand;
   }
 }
} 
Possible values for platform are: windows, macos, linux, solaris, ppc
Possible values for agent are: netscape, ie, mozilla, gecko, webkit (maps to safari), ice

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (ADFFACES-27) Add agent and platform support to skinning's css file

Posted by "Jeanne Waldman (JIRA)" <ad...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/ADFFACES-27?page=all ]

Jeanne Waldman updated ADFFACES-27:
-----------------------------------

    Attachment: agentplatformsupport

I uploaded a new file because I wanted to add a warning message when an icon is defined within an @agent or @platform block stating that this feature is not yet implemented for icons and the icon will be used regardless of the request's agent or platform.

> Add agent and platform support to skinning's css file
> -----------------------------------------------------
>
>          Key: ADFFACES-27
>          URL: http://issues.apache.org/jira/browse/ADFFACES-27
>      Project: MyFaces ADF-Faces
>         Type: New Feature

>     Reporter: Jeanne Waldman
>  Attachments: agentplatformsupport
>
> Add support for configuring skinning style classes based on the user agent and platform. The api will look like this:
> @platform windows, ppc {
>  @agent ie {
>    af|column::sortable-header-text {
>      cursor: hand;
>    }
>  }
> } 
> Possible values for platform are: windows, macos, linux, solaris, ppc
> Possible values for agent are: netscape, ie, mozilla, gecko, webkit (maps to safari), ice

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (ADFFACES-27) Add agent and platform support to skinning's css file

Posted by "Jeanne Waldman (JIRA)" <ad...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/ADFFACES-27?page=all ]

Jeanne Waldman updated ADFFACES-27:
-----------------------------------

    Attachment: agentplatformsupport

The most changes were to SkinCSSDocumentHandler to handle the @agent and @platform rules and to send the contents through the SkinCSSParser again.
Fixed a minor issue with text icons... if they have width and height specified, we were stripping that information out. Now the width and height are included in the inlineStyle for text icons.

There is still an issue that icons are not affected by the @agent/@platform rules. I'll create a new issue for this. The feature is most important to have for styles, and less so for icons, so I did it for styles first, in this issue. Also, doing it for icons may change the Skin getIcon/setIcon api, depending upon how this is implemented.

> Add agent and platform support to skinning's css file
> -----------------------------------------------------
>
>          Key: ADFFACES-27
>          URL: http://issues.apache.org/jira/browse/ADFFACES-27
>      Project: MyFaces ADF-Faces
>         Type: New Feature

>     Reporter: Jeanne Waldman
>  Attachments: agentplatformsupport
>
> Add support for configuring skinning style classes based on the user agent and platform. The api will look like this:
> @platform windows, ppc {
>  @agent ie {
>    af|column::sortable-header-text {
>      cursor: hand;
>    }
>  }
> } 
> Possible values for platform are: windows, macos, linux, solaris, ppc
> Possible values for agent are: netscape, ie, mozilla, gecko, webkit (maps to safari), ice

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (ADFFACES-27) Add agent and platform support to skinning's css file

Posted by "Jeanne Waldman (JIRA)" <ad...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/ADFFACES-27?page=all ]

Jeanne Waldman updated ADFFACES-27:
-----------------------------------

    Attachment:     (was: agentplatformsupport)

> Add agent and platform support to skinning's css file
> -----------------------------------------------------
>
>          Key: ADFFACES-27
>          URL: http://issues.apache.org/jira/browse/ADFFACES-27
>      Project: MyFaces ADF-Faces
>         Type: New Feature

>     Reporter: Jeanne Waldman

>
> Add support for configuring skinning style classes based on the user agent and platform. The api will look like this:
> @platform windows, ppc {
>  @agent ie {
>    af|column::sortable-header-text {
>      cursor: hand;
>    }
>  }
> } 
> Possible values for platform are: windows, macos, linux, solaris, ppc
> Possible values for agent are: netscape, ie, mozilla, gecko, webkit (maps to safari), ice

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (ADFFACES-27) Add agent and platform support to skinning's css file

Posted by "Adam Winer (JIRA)" <ad...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/ADFFACES-27?page=all ]

Adam Winer updated ADFFACES-27:
-------------------------------

        Status: Resolved  (was: Patch Available)
    Resolution: Fixed

Added feature.  Thanks to Jeanne Waldman for the patch.

> Add agent and platform support to skinning's css file
> -----------------------------------------------------
>
>          Key: ADFFACES-27
>          URL: http://issues.apache.org/jira/browse/ADFFACES-27
>      Project: MyFaces ADF-Faces
>         Type: New Feature

>     Reporter: Jeanne Waldman
>     Assignee: Adam Winer
>  Attachments: agentplatformsupport
>
> Add support for configuring skinning style classes based on the user agent and platform. The api will look like this:
> @platform windows, ppc {
>  @agent ie {
>    af|column::sortable-header-text {
>      cursor: hand;
>    }
>  }
> } 
> Possible values for platform are: windows, macos, linux, solaris, ppc
> Possible values for agent are: netscape, ie, mozilla, gecko, webkit (maps to safari), ice

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (ADFFACES-27) Add agent and platform support to skinning's css file

Posted by "Matthias Weßendorf (JIRA)" <ad...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/ADFFACES-27?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthias Weßendorf updated ADFFACES-27:
---------------------------------------

        Fix Version/s: 1.0.0-incubating-core
    Affects Version/s: 1.0.0-incubating-core

> Add agent and platform support to skinning's css file
> -----------------------------------------------------
>
>                 Key: ADFFACES-27
>                 URL: https://issues.apache.org/jira/browse/ADFFACES-27
>             Project: MyFaces ADF-Faces
>          Issue Type: New Feature
>    Affects Versions: 1.0.0-incubating-core
>            Reporter: Jeanne Waldman
>         Assigned To: Adam Winer
>             Fix For: 1.0.0-incubating-core
>
>         Attachments: agentplatformsupport
>
>
> Add support for configuring skinning style classes based on the user agent and platform. The api will look like this:
> @platform windows, ppc {
>  @agent ie {
>    af|column::sortable-header-text {
>      cursor: hand;
>    }
>  }
> } 
> Possible values for platform are: windows, macos, linux, solaris, ppc
> Possible values for agent are: netscape, ie, mozilla, gecko, webkit (maps to safari), ice

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (ADFFACES-27) Add agent and platform support to skinning's css file

Posted by "Jeanne Waldman (JIRA)" <ad...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/ADFFACES-27?page=all ]

Jeanne Waldman updated ADFFACES-27:
-----------------------------------

    Status: Patch Available  (was: Open)

> Add agent and platform support to skinning's css file
> -----------------------------------------------------
>
>          Key: ADFFACES-27
>          URL: http://issues.apache.org/jira/browse/ADFFACES-27
>      Project: MyFaces ADF-Faces
>         Type: New Feature

>     Reporter: Jeanne Waldman
>  Attachments: agentplatformsupport
>
> Add support for configuring skinning style classes based on the user agent and platform. The api will look like this:
> @platform windows, ppc {
>  @agent ie {
>    af|column::sortable-header-text {
>      cursor: hand;
>    }
>  }
> } 
> Possible values for platform are: windows, macos, linux, solaris, ppc
> Possible values for agent are: netscape, ie, mozilla, gecko, webkit (maps to safari), ice

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Assigned: (ADFFACES-27) Add agent and platform support to skinning's css file

Posted by "Adam Winer (JIRA)" <ad...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/ADFFACES-27?page=all ]

Adam Winer reassigned ADFFACES-27:
----------------------------------

    Assign To: Adam Winer

> Add agent and platform support to skinning's css file
> -----------------------------------------------------
>
>          Key: ADFFACES-27
>          URL: http://issues.apache.org/jira/browse/ADFFACES-27
>      Project: MyFaces ADF-Faces
>         Type: New Feature

>     Reporter: Jeanne Waldman
>     Assignee: Adam Winer
>  Attachments: agentplatformsupport
>
> Add support for configuring skinning style classes based on the user agent and platform. The api will look like this:
> @platform windows, ppc {
>  @agent ie {
>    af|column::sortable-header-text {
>      cursor: hand;
>    }
>  }
> } 
> Possible values for platform are: windows, macos, linux, solaris, ppc
> Possible values for agent are: netscape, ie, mozilla, gecko, webkit (maps to safari), ice

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira