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



Displaying the HTML source was a good idea. But I'm not sure what the data is telling me.

Here's what the subfile source looks like from a subfile page that does display correctly:

<TR id="l1r12" class="subfileRecord1">
<TD colspan=1>&nbsp;</TD>
<TD NOWRAP colspan=3 rowspan=1><span rowValue="12" colValue="2" id='l1_DSP01300$PAR$1' class="wf_default wf_field" >Pla</span></TD>
<TD colspan=1>&nbsp;</TD>
<TD NOWRAP colspan=1 rowspan=1><span rowValue="12" colValue="6" id='l1_DSP01300$STATUF$1' class="wf_hi wf_default wf_field" >&nbsp;</span></TD>
<TD colspan=1>&nbsp;</TD>
<TD NOWRAP align=right colspan=4 rowspan=1><span rowValue="12" colValue="8" id='l1_DSP01300$PLANUM$1' class="wf_hi wf_rightJustify wf_cs wf_default wf_field" >1001</span></TD>
<TD colspan=1>&nbsp;</TD>
<TD NOWRAP colspan=68 rowspan=1><span rowValue="12" colValue="13" id='l1_DSP01300$NAM1$1' class="wf_hi wf_default wf_field" >JONES&nbsp;MARY&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Pro&nbsp;Se&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></TD>
</TR>


And here's what the source looks like from the one that does not display correctly. It does not appear to contain a subfile and some of the fields have a value of $Unamed...

<TR id="l1r21" class="trStyle">
<TD colspan=1>&nbsp;</TD>
<TD NOWRAP colspan=6 rowspan=1><span id='l1_DSP010ER$Unnamed2' class="wf_default wf_field" onClick="setCursor(21, 2);" >Action</span></TD>
<TD colspan=1>&nbsp;</TD>
<TD NOWRAP colspan=1 rowspan=1><INPUT id="l1_DSP010ER$CODE" previousValue="N" class="wf_cs wf_borderOff wf_ri_default wf_field" VALUE="N" SIZE=1 MAXLENGTH=1 STYLE="width: 1.2em" ></TD>
<TD colspan=3>&nbsp;</TD>
<TD NOWRAP colspan=2 rowspan=1><span id='l1_DSP010ER$Unnamed3' class="wf_default wf_field" onClick="setCursor(21, 13);" >Ln</span></TD>
<TD colspan=1>&nbsp;</TD>
<TD NOWRAP colspan=2 rowspan=1><INPUT id="l1_DSP010ER$D" previousValue="00" class="wf_cs wf_rightJustify wf_borderOff wf_ri_default wf_field" VALUE="00" SIZE=2 MAXLENGTH=2 STYLE="width: 2.4em" ></TD>
<TD colspan=1>&nbsp;</TD>
<TD NOWRAP colspan=6 rowspan=1><span id='l1_DSP010ER$Unnamed4' class="wf_default wf_field" onClick="setCursor(21, 19);" >Search</span></TD>
<TD colspan=2>&nbsp;</TD>
<TD NOWRAP colspan=22 rowspan=1><INPUT id="l1_DSP010ER$SNAME1" previousValue="" class="wf_cs wf_borderOff wf_ri_default wf_field" VALUE="" SIZE=22 MAXLENGTH=22 ></TD>
<TD colspan=1>&nbsp;</TD>
<TD NOWRAP colspan=10 rowspan=1><span id='l1_DSP010ER$Unnamed1' class="wf_blue wf_field" onClick="setCursor(21, 50);" ></span></TD>
<TD colspan=1>&nbsp;</TD>
<TD NOWRAP colspan=20 rowspan=1><span id='l1_DSP010ER$MESOUT' class="wf_ri_default wf_field" >CONTINUE&nbsp;NEXT&nbsp;PAGE&nbsp;&nbsp;</span></TD>
</TR>



The above code appears in the source right where the subfile should be.

Could it be the way the RPG program writes the screen to the buffer maybe? Possibly some odd method that is not
accounted for by the Webfacing tool? The reason I suggest this is because this is a fairly old application, written by
someone who knew RPGII very well, but did not really feel comfortable with RPGIII. It's just possible that they were
using some old RPGII coding techniques to maniuplate screen data that the Webfacing tool wasn't expecting.


Maybe.

I don't know that to be the case. This is one of those monolithic old programs that is close to six thousand lines of code and
the thought of digging through it to figure this out or rewrite it is horrifying. :-)


I was hoping to find a solution or at least a work around that I could apply through WDSC rather than having to dig through this program code.

Also, this program is at the heart of the application that is to be webfaced so if it doesn't work then the whole webfacing project is
not going to be able to be used.


So I guess I may be stuck debugging line by line anyway...but...if there's any way around that....I'd be willing to pay as much as two dollars and seventeen cents for a solution. :-)



----- Original Message ----- From: <MichaelQuigley@xxxxxxxxxx>
To: <wdsci-l@xxxxxxxxxxxx>
Sent: Friday, March 25, 2005 10:57 AM
Subject: Re: [WDSCI-L] Subfile Does Not Display in WebFacing - But Data isthere



Have you tried to right-click and 'View source'?  Sometimes you can see
data in the source for a browser window or at least tell why it's not
visible from the rendered source.

Original message:

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

date: Fri, 25 Mar 2005 09:21:15 -0600
from: "Shannon ODonnell" <sodonnell@xxxxxxxxxxxxxxxxx>
subject: Re: [WDSCI-L] Subfile Does Not Display in WebFacing - But
                Data isthere

I don't know why it would not be displaying the subfile control record.
The
call to the program to display that subfile is the same from green-screen
and from the web. There's no reason that I can see why the Subfile Control

record would not be showing.

To me, it appears that it's only the data that is not visible. It's there,

just not visible.

. . .
. . .
. . .
--
This is the Websphere Development Studio Client for iSeries (WDSCI-L) mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/wdsci-l.






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.