[ https://issues.apache.org/struts/browse/WW-2829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dave Newton closed WW-2829. --------------------------- Resolution: Not A Problem Please ask questions on the struts-user mailing list. http://struts.apache.org/mail.html If there is an actual bug in Struts this issue can be re-opened. Before posting there make sure you are serving static content through Struts and are using the appropriate filter mapping. > dojo is undefined error > ----------------------- > > Key: WW-2829 > URL: https://issues.apache.org/struts/browse/WW-2829 > Project: Struts 2 > Issue Type: Bug > Components: Plugin - Dojo Tags > Affects Versions: 2.0.11.1 > Environment: windows,Jdk1.5,Ration Application Developer7, Web sphere application server 6.1.0.2 > Reporter: vennela > Priority: Blocker > > Hello, > I am working on dependent drop downs using tag. When i am executing the code i am getting javascript error "dojo is undefined" error. when i enabled debugging, it showing the error like following. Here is my jsp page with s:autocompleter tag > > <%@page language="java" contentType="text/html; charset=ISO-8859-1" > pageEncoding="ISO-8859-1"%> > <%@taglib uri="/struts-tags" prefix="s"%> > <%@taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles"%> > > > href="${pageContext.request.contextPath}/theme/Master.css" > type="text/css"> > example > > > > > > > > >
> name="ItemType" > headerKey="-1" > headerValue="--Please Select--" > keyName="temType" > list="upper" > /> > > href="%{#autoex}" > autoComplete="false" > formId="exam" > listenTopics="/Changed" > forceValidOption="true" > id="ops" > headerKey="-1" > headerValue="--Please Select--" > list="List" > showDownArrow="true" > /> >
> > > based on selected value in first dropdown second dropdowns needs to be populated. > error i am getiing is "dojo.hostenv.writeIncludes(); // not needed, but allows the Venkman debugger to work with the includesError 404: SRVE0190E: File not found: /struts/simple/dojoRequire.js" > Please help me in solving this. I am struck here. If i am able to make it work i can implement in many pages in my application. > Then i googled for examples and i got one example form struts2.org. > when I am trying the example that have given in struts2.org. when i try to run that also i got the same dojo undefined error. > example code is here > > <%@page language="java" contentType="text/html; charset=ISO-8859-1" > pageEncoding="ISO-8859-1"%> > <%@taglib uri="/struts-tags" prefix="s"%> > > > > > userlisting > > > > > >

User Listing

> > > > > > > > >
> > > >
>
> > > > >
> > > Please help me in this. I am working on these example past 2 days. > appreciate you help. If i get example on this that would be very helpful to me. > thanks, > vg -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.