Thanks for the responses: they are all helpful.  I meant
"documentation", Kwok.  Sorry!  You are right!  I have the image tag
in a form, James.  I am now convinced the problem is not the tag, but
somehow the Action class used with some of the image tags.  This is
because all of the image tags work fine except those that "call up" a
particular Action class.  Further, this Action class IS different than
the ones that work.

Before I get to the Action class differerence, let me say incidentally
that I use a custom <html:image> tag which I call <crackwillow:image>
and which extends the Struts html image tag.  The difference betweeen
this and the <html:image> tag is that whatever is specified as the
image in a button attribute, e.g. "button='EXIT.gif'", is created and
cached in whatever language the user has as his/her locale.  That is,
this tag does not merely reference but creates and caches the images
themselves with the values indicated in the tag, including text color,
background color, font, and size.  Sometimes the tag works with Struts
1.2.6 and sometimes not.  There is nothing peculiar to the crackwillow
image tag that would be impacted by Struts 1.2.6 and I suspect nothing
in the Struts image tag that would other.  I think it has something to
do with the Action class, since when I use one action class, which has
many methods, the errors happen.  I have the following tags which work
fine:

LOGON

                <crackwillow:image
                  button='SUBMIT.gif'
                  plain='false'
                  mapBean='state'
                  bgClrCode='navTbsClr'
                  txtClrCode='banRtTxtClr'
                  font='Eurostile'
                  italic='false'
                  bold='true'
                  size='20'
                  scope='session'
                  property='[EMAIL PROTECTED]'/>

I had to change the 'submit.method' to '[EMAIL PROTECTED]' to make this work.  

UPLOAD

        <crackwillow:image
          button='Upload.gif'
          plain='false'
          mapBean='state'
          bgClrCode='banMddlBgClr'
          txtClrCode='banLftTxtClr'
          font='Tork Bold'
          italic='false'
          bold='true'
          size='25'
          onclick='openStatus()'
          property='[EMAIL PROTECTED]'/>

And I have the following tag, among many, which does not work fine:

CHANGE 

                              <crackwillow:image
                                button='CHANGE.gif'
                                plain='false'
                                mapBean='state'
                                bgClr='ffffff'
                                txtClrCode='banMddlBgClr'
                                font='Eurostile'
                                italic='false'
                                bold='true'
                                size='25'
                                alt='CHANGE'
                                property='[EMAIL PROTECTED]'/><BR>

This Action class is a little different from the ones used in the
other cases.  But, I don't see why the differences should make a
difference.

I am doing some looking at my Action differences and will get back to
this list when I have better data.  It is clear, however, that
something that works with Struts 1.1 does not work with Struts 1.2.6.

Jack

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

"You can lead a horse to water but you cannot make it float on its back."

~Dakota Jack~

"You can't wake a person who is pretending to be asleep."

~Native Proverb~

"Each man is good in His sight. It is not necessary for eagles to be crows."

~Hunkesni (Sitting Bull), Hunkpapa Sioux~

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

"This message may contain confidential and/or privileged information.
If you are not the addressee or authorized to receive this for the
addressee, you must not use, copy, disclose, or take any action based
on this message or any information herein. If you have received this
message in error, please advise the sender immediately by reply e-mail
and delete this message. Thank you for your cooperation."

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to