Hi 
Following is the reason for rhe Error.

I have not get set methods for property ATTRIBUTE defined in select TAG.

************************************************************************************
Here  i want to ask one more new Q.

Iam Displaying select option using select TAG.
If user selects any options then i have to show the options selected
by user as "selected" .Any one has worked in this.
*************************************************************************************

Shabbir


-----Original Message-----
From: Shabbir Khadir Mohammed 
Sent: Saturday, December 21, 2002 5:27 PM
To: Struts Users Mailing List
Subject: No getter for bean under name
org.apache.struts.taglib.html.BEAN


Hi 
Iam getting follwoing error.
what could be the reason.
Iam having all the tld files in /WEB-INF folder

***************************************
org.apache.jasper.JasperException: No getter method available for property type for 
bean under name org.apache.struts.taglib.html.BEAN
**************************************

I think it is simple one But iam not getting what went wrong.

Shabbir

-----Original Message-----
From: Mohan Radhakrishnan [mailto:[EMAIL PROTECTED]]
Sent: Saturday, December 21, 2002 2:45 PM
To: Struts Users Mailing List
Subject: RE: html:select woes


Hi,
    We tried using struts tags like that. I am sure it will work but
JSTL/Struts-EL makes things more simple like this.

<c:forEach items="${xOptions}" varStatus="status">
 <c:if test="${xOptions[status.count - 1].value == reportForm.xGroups[0]}">
  <c:out value="${xOptions[status.count - 1].label}"/>
</c:if>
</c:forEach>

 It makes complex things straightforward.

Mohan

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Friday, December 20, 2002 5:15 AM
To: [EMAIL PROTECTED]
Subject: html:select woes


Hi all,

I'm trying to figure out how to use the html:select tag and am having no
luck.  When I execute the jsp, I'm getting "Cannot find bean under name
org.apache.struts.taglib.html.BEAN."  I've looked at the docs and the
html-select.jsp example but can't see what's different about my case.  My
struts-config file has this:

<form-bean name="loggersForm" type="com.wfsc.cam.ui.LoggersForm"/>

and this:

<action path="/loggers" 
          type="com.wfsc.cam.actions.HelloAction" 
          name="loggersForm" 
          input="/jsp/loggers.jsp" 
          validate="false"
          scope="session">
        <forward name="hello" path="/jsp/loggers.jsp"/>
</action>

I've tried with and without the "input" attr.  My LoggersForm class extends
ActionForm and has one String property called "newLevel" that's null by
default.  I also have a reset() method that nulls-out newLevel.  My jsp does
this:

<html:html>
<jsp:useBean id="loggersForm" scope="session"
class="com.wfsc.cam.ui.LoggersForm"/><html:form action="/loggers.do"/>
<html:select property="newLevel">
<html:option value="one">One</html:option>
</html:select>
<html:submit>Submit</html:select>
</html:html>

The only relevant difference I can see between this and the html-select.jsp
example is that my jsp is under /jsp, but I've tried it both ways and it
doesn't seem to matter.

I'd appreciate a clue.

thanks

john

john gregg
Wells Fargo Service Corporation
Minneapolis, MN

--
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]>

**************************Disclaimer************************************

Information contained in this E-MAIL being proprietary to Wipro Limited is 
'privileged' and 'confidential' and intended for use only by the individual
 or entity to which it is addressed. You are notified that any use, copying 
or dissemination of the information contained in the E-MAIL in any manner 
whatsoever is strictly prohibited.

***************************************************************************

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

Reply via email to