Pete
I found the problem and am sending you my module now. Not sure if it is the
best way to fix it but it works.
Regards
Kenneth
Quoting Kenneth Pouncey <[EMAIL PROTECTED]>:
> Pete
>
> Pete Helgren wrote:
>
> > How do you do that?
>
> :-P
>
> > I wish I knew more about the inter workings of tn5250j. One of these
> > days I'll roll up may sleeves and get my hands dirty and muck around
> > in the code base for a few weeks.....
>
> Just dig in and look at the objects that are out there. One thing I did
> use was turning on hex display to see what the attribute bytes were.
> That has helped me multiple times when trying to figure out what to keep
> and what not to.
>
> >
> > That took care of the ability to edit the code, however, there appears
> > to be an alignment issue with the data as it appears in SEU. SEU must
> > have a field that tells it how to align the data on the screen because
> > the Type entry in SEU normally aligns to position 6 (at least in an
> > RPG OPM program) and in this case the type field aligns to position 1
> > so if you press enter the entire screen lights up with errors because
> > all the characters are off by 1. If you could point out where to look
> > for this, I could take a shot at it. The field itself, in debug, does
> > not have the leading blanks and I can't tell how SEU "knows" to align
> > the data since tn5250j DOES align the data.
>
> Hummm not sure. Actually would have to look at the objects themselves.
> Maybe the error is in the screen generation within the servlet code. We
> will have to debug it.
>
> >
> > I'll also add a properties file that will hold the IP address so we
> > don't have to keep changing IP addresses if we fully update the code.
> > I'll also investigate the "cursor movement" issues.
> >
> > Final question: How do we want to handle the CVS access on this?
> > This is a pretty small piece of code so far. We could:
> >
> > 1. Create a sub project of tn5250j and make the code available there.
> > 2. Create a new SF project .
> > 3. I could get you set up with CVS access on our CVS server. I might
> > be able to get anonymous access set up for folks to check out the
> > source but I am really not in a good position to set up multiple
> > committers and such.
>
> I will set up a subproject under the tn5250j cvs for this. One thing we
> do need to decide on is what are we going to keep in cvs. Just the
> servlet code with .js and .css files or create a complete application
> with .war file.
>
> >
> > Your call. I know that Richard is interested in the code and I expect,
> > if I post to a few other lists that I participate in , that we could
> > get some volume of interest on this. I just don't want to announce it
> > being available until we are ready for folks to access the code. What
> > do you think? I'll do the legwork on the SF project or our company
> > CVS if you think that is the best way to go. As admin on tn5250j,
> > you'd have to set up the sub-project (however that is done).
>
> Let me create the cvs entries and we can go from there.
>
> Regards
>
> Kenneth
>
> >
> > Pete
> >
> >
> >
> >
> > Kenneth Pouncey wrote:
> >
> >>Ok got it.
> >>
> >>Try this in the servlet code:
> >>
> >>
> >> // There is probably a better way to set the hidden
> and
> >> // disabled attributes
> >> // but right now I'll do the grunt work...later I'll
> move
> >> // it to the stylesheets
> >>// if ((int) screenRect.attr[pos] == 32)
> >>// attrHidden = "\" disabled = \"true";
> >>// else
> >> attrHidden = "";
> >>
> >> if ((screenRect.extended[pos] & EXTENDED_5250_NON_DSP)
> != 0)
> >> textBoxType = "\" type=\"password\" length=\"";
> >>
> >> else
> >> textBoxType = "\" type=\"text\" length=\"";
> >>
> >> if (sf.isBypassField()) {
> >> attrHidden = "\" disabled = \"true";
> >> if ((int) screenRect.attr[pos] == 39) {
> >> textBoxType = "\" type=\"hidden\" length=\"";
> >> }
> >> }
> >>
> >>
> >>Regards
> >>
> >>Kenneth
> >>
> >>Quoting Kenneth Pouncey <[EMAIL PROTECTED]>:
> >>
> >>
> >>
> >>>Pete
> >>>
> >>>
> >>>
> >>>>Also, I have been trying to figure out "equivalent" field types for the
> >>>>
> >>>>
> >>>5250
> >>>
> >>>
> >>>>data. Go into SEU on a source member and you can't edit anything. So I
> need
> >>>>
> >>>>
> >>>to
> >>>
> >>>
> >>>>figure out all the variations of editable vs non-editable fields. Since
> I
> >>>>
> >>>>
> >>>don't
> >>>
> >>>
> >>>>know the 5250 stream well enough, I could probably use some help there.
> >>>>
> >>>>
> >>>Huummm. Never noticed that. Will have to take a look as to why it is
> that
> >>>way.
> >>>
> >>>Kenneth
> >>>
> >>>
> >>>
> >>>-------------------------------------------------------
> >>>This SF.Net email is sponsored by: NEC IT Guy Games. How far can you
> >>>shotput
> >>>a projector? How fast can you ride your desk chair down the office luge
> >>>track?
> >>>If you want to score the big prize, get to know the little guy.
> >>>Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
> >>>_______________________________________________
> >>>Tn5250j-general mailing list
> >>>[email protected]
> >>>https://lists.sourceforge.net/lists/listinfo/tn5250j-general
> >>>
> >>>
> >>>
> >>
> >>
> >>
> >>
> >>
> >>
> >>-------------------------------------------------------
> >>This SF.Net email is sponsored by: NEC IT Guy Games. How far can you
> shotput
> >>a projector? How fast can you ride your desk chair down the office luge
> track?
> >>If you want to score the big prize, get to know the little guy.
> >>Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
> >>_______________________________________________
> >>Tn5250j-general mailing list
> >>[email protected]
> >>https://lists.sourceforge.net/lists/listinfo/tn5250j-general
> >>
> >>
> >>
>
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Tn5250j-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tn5250j-general