× 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.



Buck: Thanks so much. I think I am doing exactly what you are doing.
However, since you got it to work, that gives me confidence to keep
trying.

Have a good holiday.

Bill Gasparek, Austin/400
(512) 458 3991 x 11
(512) 458 2951 (fax)


-----Original Message-----
From: Buck Calabro [mailto:Buck.Calabro@commsoft.net]
Sent: Thursday, December 19, 2002 3:27 PM
To: web400@midrange.com
Subject: RE: [WEB400] Java Script in Webfacing

OK.  May as well make this into a learning experience for the archives,
eh?

The IBM web site is:
http://www-919.ibm.com/developer/ebiz/webfacing/calender.html
The Javascript web site is: http://64.246.32.44/~admin59/index.htm

 1) I went to the Javascript site and downloaded popcsscal.zip
    to my hard drive.
 2) Un-Zipped it and tested it with the included sample.htm
 3) Copied popcalendar.js to the \ClientScript\usr directory
 4) Edit popcalendar.js to point imgDir to "images/"
 5) Copy the .gif files to the /images directory
 6) Edit /styles/apparea/apparea.css  Add the entire contents
    of popcalendar.css to the end of apparea.css
 7) Open up WDSc to the WebFacing perspective
 8) Choose your project and expand the DDS to the member
    you want to modify
 9) Right click and open it with Code Designer
10) Select the field you want to add the pop-up on.  At
    the bottom of the panel is a window with settings.
    Choose the 'Web Settings' tab.
11) Choose the 'Insert HTML' property
12) Choose the 'Inside' tab
13) Type the javascript required to call your function:
    onDblClick='javascript:popUpCalendar(this, this, "mm/dd/yyyy");
14) Verify the file
15) File, Save
16) Back in the WebFacing perspective, Right click and Convert.
17) File, Export

It worked for me.  I'll be away from email for a week or so, so I hope
this
helps!
  --buck
_______________________________________________
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/web400
or email: WEB400-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.




As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.