Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

String compare method in Groovy?

Zeroxin-OracleDec 23 2010 — edited Dec 23 2010
Hi,

In JDev 11.1.1.2, I used groovy script to disable/enable a button , like this
<af:commandButton text="Approve" id="cb4_1" disabled="#{bindings.FRAPPMNGR.inputValue == sessionScope.username)}" />

now I want to compare with case insensitive, in java it may be "str1.equalsIgnoreCase(str2)", but I don't know how to add this function in groovy script.


thanks,
zeroxin
This post has been answered by Arunkumar Ramamoorthy-Oracle on Dec 23 2010
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 20 2011
Added on Dec 23 2010
2 comments
2,180 views