Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-609

A way to access the browser information with an implicit object in EL (such as ${zk.ie >= 9})

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.0.0
    • Component/s: None
    • Labels:

      Description

      Right now, users have to import a TLD library and then use c:browser or similar. It is more convenient if the users could use the implicit object directly, such as ${zk.gecko == 7}.

      Unlike JavaScript, EL won't convert double to boolean automatically, so, to check a particular browser: ${zk.ie > 0 || zk.opera > 0}

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            tomyeh tomyeh
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 hours
                3h