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



To Web 400 group:

Has anyone done auto JSP tag creation for Webfacing?

We manually modified webfacing JSPs to include our own corporate JSP custom
tag library.
This transforms screens to our own corporate standard and is an easier way
to maintain code.
What we would like to do is to automate this procedure so that our JSP tags
are included at conversion time.

What normally is generated:
                  <TD NOWRAP ><INPUT <% if (isProtected) { %>
                        readonly tabindex=-1 <% } %> 
id="l<%=zOrder%>_FWXX00001$MENOPT2"
                        
previousValue="<%=FWXX00001.getFieldValueWithTransform("MENOPT2", 
QUOTED_TRANSFORM)%>"
                        class="<%=isProtected?"wf_pr":""%> wf_rightJustify 
wf_default wf_field"
                        
VALUE="<%=FWXX00001.getFieldValueWithTransform("MENOPT2", QUOTED_TRANSFORM)%>"
                        SIZE=2 MAXLENGTH=2 STYLE="width: "></TD>

To this automatically:
       <ff:inputField  id="l1_FWXX00001$MENOPT2" name ="l1_FWXX00001$MENOPT2"
      value="<%=FWXX00001.getFieldValueWithTransform(\"MENOPT2\", 
QUOTED_TRANSFORM)%>"/>

This would be a big time saver.

Our friend Mister Hockings at IBM generously  included a set of methods (WSAD 
5.0)  to automatically influence JSP custom tag creation.  But alas, I
am not
at Doctorate level with Java and WSAD.

The documentation follows:
The interaction with the conversion process is done by coding a "generator" 
class that will be called by the conversion when a particular field or
WebSetting type is encountered. The generator class (or classes) are contained 
in and declared by a plugin. The purpose of the generator is to emit
the JSP Tag source for the field. There are three flavours of generator 
classes, each have their own interface to implement. The three interfaces are
as follows:
IFieldTagGenerator: This is the generator that is used for basic field types. 
Implementing a generator like this would handle all fields types that
are directed to it.

IWSTagGenerator: This generator will key off of WebSettings values on the 
field. If a generator of this type is selected then it will be used in
preference over the generator for the basic field type.

IWSSubTagGenerator: define the main HTML construct that is emitted.

 I can't figure out how to correctly implement this. Has anyone implemented 
these methods? Is there any complete examples from how to insert the xml
plugin to
converting the field elements etc?

Regards

Colm Byrne







web400-request@xxxxxxxxxxxx@midrange.com on 01/20/2004 01:00:54 PM

Please respond to web400@xxxxxxxxxxxx

Sent by:    web400-bounces@xxxxxxxxxxxx


To:    web400@xxxxxxxxxxxx
cc:

Subject:    WEB400 Digest, Vol 2, Issue 17


Send WEB400 mailing list submissions to
 web400@xxxxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
 http://lists.midrange.com/mailman/listinfo/web400
or, via email, send a message with subject or body 'help' to
 web400-request@xxxxxxxxxxxx

You can reach the person managing the list at
 web400-owner@xxxxxxxxxxxx

When replying, please edit your Subject line so it is more specific
than "Re: Contents of WEB400 digest..."


Today's Topics:

   1. Re: RE: webfacing JD Edwards ( (rob@xxxxxxxxx)
   2. Re: RE: webfacing JD Edwards ( (meovino@xxxxxxxxxxxxxxxxx)


----------------------------------------------------------------------

message: 1
date: Mon, 19 Jan 2004 14:07:29 -0500
from: rob@xxxxxxxxx
subject: Re: [WEB400] RE: webfacing JD Edwards (

Went to a presentation at our local user group's meeting.  The gentleman
spoke on HATS.  How great it was, how customizable it was, how much better
it is than webfacing, etc.  Almost gave the impression that HATS will be
around for the longer haul.

Rob Berendt
--
"All creatures will make merry... under pain of death."
-Ming the Merciless (Flash Gordon)


------------------------------

message: 2
date: Mon, 19 Jan 2004 14:34:23 -0500
from: meovino@xxxxxxxxxxxxxxxxx
subject: Re: [WEB400] RE: webfacing JD Edwards (


If you want some fun and have some time to kill, get a HATS guy and a
Webfacing guy to give a joint presentation.

We've had presentations on both, and neither side has much good to say
about the other.  So I figure they probably both suck in their own special
ways.

Mike E.






                      rob@xxxxxxxxx
                      Sent by:                 To:       Web Enabling the
                      AS400 / iSeries <web400@xxxxxxxxxxxx>
                      web400-bounces@mi        cc:
                      drange.com               Subject:  Re: [WEB400] RE:
                      webfacing JD Edwards (


                      01/19/2004 02:07
                      PM
                      Please respond to
                      Web Enabling the
                      AS400 / iSeries





Went to a presentation at our local user group's meeting.  The gentleman
spoke on HATS.  How great it was, how customizable it was, how much better
it is than webfacing, etc.  Almost gave the impression that HATS will be
around for the longer haul.

Rob Berendt
--
"All creatures will make merry... under pain of death."
-Ming the Merciless (Flash Gordon)
_______________________________________________
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.







------------------------------

_______________________________________________
This is the Web Enabling the AS400 / iSeries (WEB400) digest list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.



End of WEB400 Digest, Vol 2, Issue 17
*************************************






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.