Thanks Scott for the link of Documents.
--
Ashish
On Wed, Jun 4, 2008 at 7:17 AM, Scott Gray <[EMAIL PROTECTED]> wrote:
> No problem at all. The docs are very helpful with good examples, these
> ones
> in particular:
> http://groovy.codehaus.org/Collections
> http://groovy.codehaus.org/Control+
No problem at all. The docs are very helpful with good examples, these ones
in particular:
http://groovy.codehaus.org/Collections
http://groovy.codehaus.org/Control+Structures
http://groovy.codehaus.org/Groovy+Truth
http://groovy.codehaus.org/Operators
Regards
Scott
2008/6/4 Ashish Vijaywargiya
Scott,
Thanks a lot for these useful tips.
I'll dig into it and will patch all the issues from my previous work.
I had read only one document on Groovy i.e
http://www.ibm.com/developerworks/edu/j-dw-java-jgroovy-i.html.
Now I will spend more time in reading online document.
Although I will dig mo
Oops, I meant that an empty string resolves to false
Scott
2008/6/4 Scott Gray <[EMAIL PROTECTED]>:
>
> donePage = parameters.DONE_PAGE;
> if (!donePage || donePage.length() <= 0) donePage = "viewprofile?party_id="
> + partyId + "&partyId=" + partyId;
> can be
> donePage = parameters.DONE_PAGE ?
Hi Asish
Just a couple more tips :-)
You might have misunderstood what I said about the shortcut for the ternary
operator
sortField = parameters.sort ? parameters.sort : "entryDate";
can just be
sortField = parameters.sort ?: "entryDate";
here is the documentation: http://groovy.codehaus.org/Oper