all possible attributes for the custum tags should be declared in the
corresponding
.tld file

if they aren't defined in there, the file will not compile ...
the taglib file is included this way:

<%@ taglib uri="/WEB-INF/lib/struts-html.tld" prefix="strutshtml" %>
it shows all possible attributes for the tags with prefix: <strutshtml:.../>

hope this can help you...



-----Oorspronkelijk bericht-----
Van: Michelle Popovits [mailto:[EMAIL PROTECTED]]
Verzonden: dinsdag 14 mei 2002 23:04
Aan: '[EMAIL PROTECTED]'
Onderwerp: problems migrating struts tags - weblogic 5.1 - 6.1 (has no
property)


I tried sending this message 2 hours ago, but it didn't show up...so I'm
trying again (pls. forgive me if my first message shows up in the meantime).
----
Hi,

I am currently migrating a struts application from weblogic 5.1 sp11 to
weblogic 6.1 sp2.

The problem is that the taglibs now complain that they do not have certain
properties which I had specified.

The html:image jsp tag complains that it has no 'height' property and the
html:text tag complains that it has no testexpr property (just to name a
couple).  Even though these tags do not explicitly support these properties,
previously they had always passed them through to the resulting html where
they would be interpreted correctly in the browser.

Any idea why this is happening and what can be done to fix it.

Thanks,
Michelle


I am using Struts 1.0 release, I have also tried the latest mileston beta
release with the same results.

Example Error Output:
/jsps/account/AccountInfo.jspf(173): for tag 'text' handler type
'org.apache.struts.taglib.html.TextTag' has no property 'testexpr'
probably occurred due to an error in /jsps/account/AccountInfo.jspf line
173:
<td class="label"><strutshtml:text testexpr="eMail" property="account.email"
size="60" maxlength="32" /></td>



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




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

Reply via email to