About Question enthuware.jwpv6.2.619 :

All the posts and topics that contain only an error report will be moved here after the error is corrected. This is to ensure that when users view a question in ETS Viewer, the "Discuss" button will not indicate the presence of a discussion that adds no value to the question.

Moderators: Site Manager, fjwalraven

Post Reply
Cengiz C.

About Question enthuware.jwpv6.2.619 :

Post by Cengiz C. »

Correction report

In explanation text first line ends like this:
.... In EL, a map's key-value pair can be accessed using either ${map.DBURL} or ${map.["DBURL"]).
Underlined

Code: Select all

${map.["DBURL"]}
is not valid EL.

And I'm ignoring the ) at the end which is obviously a typo.

admin
Site Admin
Posts: 10386
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.jwpv6.2.619 :

Post by admin »

You are right. It should be ${map["DBURL"]}.

As per EL Specification section 1.6:
The EL follows ECMAScript in unifying the treatment of the . and [] operators.
expr-a.identifier-b is equivalent to expr-a["identifier-b"]; that is, the
identifier identifier-b is used to construct a literal whose value is the identifier,
and then the [] operator is used with that value.
This should be fixed asap.

thank you for your feedback!

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 10 guests