You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Anil Kumar Pippalapalli <ap...@yahoo.co.in> on 2006/12/11 15:09:23 UTC

Need help in Custom tags

  I have to form a custom tag which has the following format.
   
   
  <project:multiselect title="Title">
    <project:available search="true">
     <option value="1999">1999</option>
      ...available can have html:option, html:options,  html:optionsCollection...
    </project:available>
   <project:selected search="false">
    <option value="2000">2000</option>
     ...selected can have html:option, html:options, html:optionsCollection...
   </project:selected>
  </project:multiselect>
   
  Error 500--Internal Server Error        
javax.servlet.jsp.JspException: OptionsCollection tag must be nested in a Select tag   at org.apache.struts.taglib.html.OptionsCollectionTag.doStartTag(OptionsCollectionTag.java:213)   at jsp_servlet.__index._jspService(index.jsp:15)   at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)   at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)   at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)   at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:463)   at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)   at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6718)   at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)   at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)   at
 weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)   at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)   at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)   at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)  
  if u need more info u can mail me to this id.....
   
  thanks in advance for any help
   
  anil.

 				
---------------------------------
 Find out what India is talking about on  - Yahoo! Answers India 
 Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it NOW