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

XMLWordPrintable

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

      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}

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

              Created:
              Updated:
              Resolved:

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