[
https://jira.jboss.org/jira/browse/GTNPORTAL-1014?page=com.atlassian.jira...
]
dang tung updated GTNPORTAL-1014:
---------------------------------
Attachment: gadgetview.patch
Here's the patch for this issue, I just created from gatein 3.0 GA.
Returned currentView does not match enum view
---------------------------------------------
Key: GTNPORTAL-1014
URL:
https://jira.jboss.org/jira/browse/GTNPORTAL-1014
Project: GateIn Portal
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 3.0.0-GA
Reporter: dang tung
Attachments: gadgetview.patch
Can not use enum view to compare.
Suppose the current gadget's view is: canvas.
var currentView = gadgets.views.getCurrentView().getName();
The desired value: currentView is gadgets.views.ViewType.CANVAS (= 'CANVAS').
but the returned value is: 'canvas'.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira