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



Well, it's all a matter of HTML....

WebFacing staff make a good job reimplementing 5250 functionality in HTML 
but lack, at this time, semplified support for integration...

This does'nt mean it'snt possible... Italian IBM Erp labs build an 
infrastructure over the WF
layer that implements what you ask for and other (a wf macro engine is 
also avaiable)... 
(and joe i can't beleave you don't konw it's possibile and simple) 
Our company, and too many other i think, expand this infrastructure (some 
javascript library).

Just open the RecordJPS\<file>\<member>.jsp, find the rigth tag for the 
place
where you want the right click to appear, capture the event and use the wf 
infrastructure (study
the clientScript\webfacing.js library). Put your js libraries in 
ClientScript\usr and they
magically appear in any WF served page.

for example:
- you can capture the click for the entire screen like in:
addWFHandlerOnTop(document.body,'ondblclick',"mydblclick();");

where addWFHandlerOnTop is a wf function for adding a sort of exit point 
to a javascript
(here the function associated with the ondblclick event of the 
document.body element)
and mydblclick() is the call to a personalizaed function where we put our 
code.

- the js event can tell you wich element trigger the event:
        event.srcElement.id
and the id is:
        l<DDS windowing layer number>_<record name>$<field name>[$<subfile 
row number, for subfile only>]

-  you can use wf function like:
setFieldValueAndSubmit(id, newValue, thisRef)

where you can referr to other field with the id parameter like in:
assigne a new value...
let the thisRef null, or better, don't pass it

- use the WF "db" of the fields for the current record (take a look at the 
<record>_javascript.jsp code too)
using the js array:
wfInfoDB
and the field definition:
WFInputField
all defined in webfacing.js

In the IBM reedbook there are simple, too simple, example... i don't know 
of any real
good WF javascripf personalization book... i'd like to find a myWebFacing 
site (like
the myEclipse)

We are also trying to use webfacing like a simple tunneling from the AS to 
the webapp,
deleting any interface predone job (the <record>.jsp file... with all that 
"old" 80x24 table
cell's and assigning the job of restyling the interface to HTML boys also 
foncing them
to use a DHTML styles (thank to iNotes experiences).. with much more js 
library (
cached to the cilent side) and the less of jsp content (breaking the "form 
1 to 30" band width
use from 5250 to webfacing)... o yes... when the DDS change someone have 
to add the new fields
to the web site... but it's a zero cost compared to the "reconvert" and 
"redeploy" and to the
really new experienced the user have.

I can give internet demo access to this functionalites.

**********************************************************************
Alberto Amigoni
[R&D dept.]

CITIEMME Informatica Srl
Società certificata ISO 9002
Center of Excellence IBM

Phones
+39 035 4202236
+39 035 4202111 (operator)
Fax:
+39 035 4202222
E-mail
a.amigoni@xxxxxxxxxxxx
**********************************************************************

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.