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

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Normal Normal
    • 6.0.0
    • 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}

            Unassigned Unassigned
            tomyeh 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