354 Lotus blogs updated hourly. Who will post next? Home | Downloads | Events | Pods | Blogs | Search | myPL | About 
 
Latest 7 Posts
More security. That's what I'M talkin' about!
Mon, Mar 31st 2014 211
Using CKEditor 4: Part 6 - Caveats: Jumping Editors, More on Validation, Going iPad "Only," and 32K Limits
Fri, Mar 14th 2014 204
Some Cultural Thoughts II (3 movies)
Thu, Mar 13th 2014 85
Wife Really Got Me Laughing
Thu, Mar 13th 2014 178
Using CKEditor 4: Part 5 - iPad Demonstration
Thu, Mar 13th 2014 300
Using CKEditor 4: Part 4 - Designing for Read/Edit Modes and Using Validation
Wed, Mar 12th 2014 293
Using CKEditor 4: Part 2 - Copy CKEditor contents to another field
Mon, Mar 10th 2014 168
Top 10
Lotusphere: It just gets curiouser and curiouser - The Bad
Mon, Feb 3rd 2014 451
Lotusphere: It just gets curiouser and curiouser - The Good
Mon, Feb 3rd 2014 433
Using CKEditor 4: Part1 - Preface + Setup
Mon, Mar 10th 2014 333
Using CKEditor 4: Part 5 - iPad Demonstration
Thu, Mar 13th 2014 300
Using CKEditor 4: Part 4 - Designing for Read/Edit Modes and Using Validation
Wed, Mar 12th 2014 293
Yes! I am at Connect 2014 in Orlando!
Sat, Jan 25th 2014 286
Add Custom HTML Templates to Your CKEditor
Wed, Oct 16th 2013 224
I dub thee "Tree Killer"
Tue, Jan 21st 2014 220
More security. That's what I'M talkin' about!
Mon, Mar 31st 2014 211
Using CKEditor 4: Part 6 - Caveats: Jumping Editors, More on Validation, Going iPad "Only," and 32K Limits
Fri, Mar 14th 2014 204


My First XSnippet: Display Client-Side Alert for Server-Side Validation Failure
   


First, if you have not discovered XSnippets at OpenNTF.org, go there!  No wait!  Go after reading the rest of this post!

Second, for some of my apps I prefer server-side validation but I still need to put something right in front of the user's nose in case the form does not validate so I like a client-side JavaScript alert.  Problem is connecting it nicely with the server-side validation failures.

Bam!  The new 8.5.3 view.postScript() method totally fits the bill.

Click here to get the code!





---------------------
http://xpagetips.blogspot.com/2011/12/my-first-xsnippet-display-client-side.html
Dec 14, 2011
32 hits



Recent Blog Posts
211


More security. That's what I'M talkin' about!
Mon, Mar 31st 2014 11:11p   Russell Maher
Just deployed a Citrix Netscaler Platinum into our SoftLayer infrastructure. While we are quite confident in Domino and XPages security, a recent application vulnerability scan highlighted a couple of areas where Domino comes up a little short. For example, not being able to set the SessionID cookie as Secure (SSL only) could be a bit of an issue under the right circumstances. I have been evaluating the Netscaler for a few weeks and pretty much it's a web application administrator control fr [read] Keywords: domino xpages application citrix network security
204


Using CKEditor 4: Part 6 - Caveats: Jumping Editors, More on Validation, Going iPad "Only," and 32K Limits
Fri, Mar 14th 2014 6:14a   Russell Maher
This is Part 6 (final part) of a series of videos that illustrate our solution to implementing CKEditor 4 in our XPages application. You can find links to all of the videos in Part 1. In the last video I showed how this technique looks on an actual iPad..In this video I discuss some things to be aware of when working with the CKEditor, either CKEditor 4 or the currently installed XPages version (3.6.6.2). CKEditors jump! Validation usually in play in XPage apps will probably require a more e [read] Keywords: script library xpages application blogger google
85


Some Cultural Thoughts II (3 movies)
Thu, Mar 13th 2014 11:13p   Russell Maher
As I wrote in an earlier post, we've been viewing our way through the Oscar-nominated movies and we've just completed three more this week. Captain Phillips Fantastic movie! Watch it. Interesting fact...my oldest daughter was dating a fellow at the time who was serving on one of the U.S. Navy ships involved in the rescue. Gripping story plus Tom Hanks plus perfect movie-long crescendo of tension that ends in a rather incredible way even when you know how the story ends. Gravity Techni [read] Keywords:
178


Wife Really Got Me Laughing
Thu, Mar 13th 2014 9:12a   Russell Maher
Today I am 51. One of my pet peeves is wearing socks with sandals. I just don't get it unless you have a condition but even then I just don't get it. Up until the last few years when the 20-somethings started doing it, the Wearin' O' the Socks with Sandals was primarily limited to Old Guys. Got this card this morning from Karen and she really had me laughing! [read] Keywords:
300


Using CKEditor 4: Part 5 - iPad Demonstration
Thu, Mar 13th 2014 6:12a   Russell Maher
This is Part 5 of a series of videos that illustrate our solution to implementing CKEditor 4 in our XPages application. You can find links to all of the videos in Part 1. In the last video I discussed coding for Read/Edit modes and validation. In this video I show what it looks like on an iPad and add a new field to, uh, accommodate some aberrant behavior! I think the issue is with the CKEditor but just wanted you to see the issue and understand why things were changed slightly. My guess is yo [read] Keywords: xpages application blogger google
293


Using CKEditor 4: Part 4 - Designing for Read/Edit Modes and Using Validation
Wed, Mar 12th 2014 6:14a   Russell Maher
This is Part 4 of a series of videos that illustrate our solution to implementing CKEditor 4 in our XPages application. You can find links to all of the videos in Part 1. In this video I show the technique we used to make an XPage work in both Edit and read mode and also talk a little about field validation. For XPager Devs, these techniques will be Old Hat! Enjoy! [read] Keywords: xpages application blogger google
168


Using CKEditor 4: Part 2 - Copy CKEditor contents to another field
Mon, Mar 10th 2014 4:12p   Russell Maher
This is Part 2 of a series of videos that illustrate our solution to implementing CKEditor 4 in our XPages application. You can find links to all of the videos in Part 1. In this video I show the technique we used to transfer the HTML content from the CKEditor into a standard XPages Multiline Edit Box control. The technology behind this is something those of us in the business call "Javascript." Pretty fancy stuff, I know, but I'm quite sure it is gonna' be big someday. Enjoy! [read] Keywords: xpages application blogger google javascript
156


Using CKEditor 4: Part 3 - Convert content into MIME
Mon, Mar 10th 2014 4:12p   Russell Maher
This is Part 3 of a series of videos that illustrate our solution to implementing CKEditor 4 in our XPages application. You can find links to all of the videos in Part 1. In the last video I showed how we were transferring the content of CKEditor 4 into an XPages control. In this video I show how the copied HTML is saved into the document as MIME which is really what you're after when implementing a "rich text" web editor after all! Enjoy! [read] Keywords: rich text xpages application blogger google
333


Using CKEditor 4: Part1 - Preface + Setup
Mon, Mar 10th 2014 6:12a   Russell Maher
Last Fall we needed to implement a better rich text editor for iPad users and found CKEditor 4 addressed the issues we had with the currently installed CKEditor and also met our needs. This series of videos provide a look into the technique we used and the steps required to make it work. Our application is based entirely on beans so it was a little tough to extract the technique into a little more non-bean-friendly XPage solution but I think I have given the topic a pretty good once over here [read] Keywords: rich text xpages application blogger google
102


Some Cultural Thoughts (4 Movies and a Book)
Sat, Mar 8th 2014 11:12a   Russell Maher
A few thoughts on Thinge Cultural... Heart of Darkness - by Joseph Conrad Finished Heart of Darkness by Joseph Conrad a few weeks ago. Had heard the book referred to in the remake of King Kong and also Anthony Bourdain's Parts Unknown Congo episode and added it to my list of "classics I should read." Moby Dick is a fairly dense read but this Heart of Darkness was a whole order higher in reading challenge for me. The book is written as someone telling a story about their experience headi [read] Keywords: wiki




Created and Maintained by Yancy Lent - About - Blog Submission - Suggestions - Change Log - Blog Widget - Advertising - Mobile Edition