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
> Tn5250j-general@lists.sourceforge.net
> 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
Tn5250j-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tn5250j-general

Reply via email to