× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Looking at this, I did not have to specify actionClass.setDate; only setDate was necessary for the name.

I also had a problem when doing the keyboard assignments; it was due to the fact I was mixing upper case letters. It has to be a-f2, all lower case.

Once I did that, the command started working. However there have been occasions that, after I selected all lines in my LPEX Editor, the command wouldn't work until I clicked anywhere in the LPEX Editor. It's as if it loses focus, and once I clicked anywhere in that editor, the command suddenly worked.

Hope this helps.

-- Ken

-----Original Message-----
From: wdsci-l-bounces@xxxxxxxxxxxx [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Jim Essinger
Sent: Thursday, March 08, 2012 12:44 PM
To: Websphere Development Studio Client for iSeries
Subject: [WDSCI-L] setDate function in RSE 8.0

Looking at the archives and the wiki pages there are some hints about using
the setDate function to clear the source date for one or more lines of
source code.

I have followed the instructions, but the editor is giving me an error
message the "setDate" is not a valid editor action.

What I did;

Window > Preferences > LPEX Editor > User Actions

Added an entry with actionClass.setDate as the name and
com.ibm.lpex.samples.SetDateAction as the class name.

User Key Actions

added an entry a-f2 as the key and setDate as the action.

All entries are case sensitive, so I hope that I copied them here as they
actually are in the settings. I have triple checked those values, and
still get the error.

Anyone know what to do to make this work? Or does it no longer work?

Thanks

Jim

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.