- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-29-2015 02:58 PM
I was recently inspired by Chuck Tomasi's post on gs.getMessage() - The Second Parameter, but when I tried to add a second parameter to the client-side getMessage() function, it didn't seem to work.
Does anyone know if the client-side getMessage() function does not accept a second parameter like the server-side gs.getMessage() does?
(If it matters, we're currently on Eureka Patch 7.)
Solved! Go to Solution.
- 26,605 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-30-2015 02:50 AM
Hello Michael,
getMessage(String) on client side uses only one parameter vs gs.getMessage(String, Object) that can use a second parameter.
Regards,
Sergiu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-30-2015 02:50 AM
Hello Michael,
getMessage(String) on client side uses only one parameter vs gs.getMessage(String, Object) that can use a second parameter.
Regards,
Sergiu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-30-2015 01:05 PM
Sergiu could you please explain how you came to that conclusion? I am also curious by Michael's question and the reasoning behind why that is the case.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-01-2015 12:36 AM
Hi Kiley,
I checked the source code to understand how the function works.
I hope this answers your question.
Regards,
Sergiu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-02-2015 02:26 PM
Ah ha, straight from the source! Thanks, Sergiu!
Kiley's second question is a good one, too: is there a particular reason (or reasons) behind limiting the client-side function in this way?