struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From WayneFH <WayneWal...@firsthealth.com>
Subject Why? en-us theme=ajax 404 error on Struts 2.0.9
Date Tue, 08 Jan 2008 16:23:00 GMT

In FireBug, we get the following errors when using <s:head theme="ajax">. The
source code follows the list of errors. Additionally, our
<s:dropdowndatepicker> tag doesn't appear. 

NOTE: There are successfully "gets" for all of these files under the nls
directory without the en-us. Why is it looking in en-us? We're lost.
Pleeease help.

GET
http://localhost:8080/FirstHCM/struts/dojo/src/i18n/calendar/nls/en-us/gregorian.js
404 (47ms) dojo.js (line 734)
GET
http://localhost:8080/FirstHCM/struts/dojo/src/i18n/calendar/nls/en/gregorianExtras.js
404 (47ms)dojo.js (line 734)
GET
http://localhost:8080/FirstHCM/struts/dojo/src/i18n/calendar/nls/en-us/gregorianExtras.js
404 (31ms)dojo.js (line 734)
GET
http://localhost:8080/FirstHCM/struts/dojo/src/widget/nls/en/TimePicker.js
404 (62ms)dojo.js (line 734)
GET
http://localhost:8080/FirstHCM/struts/dojo/src/widget/nls/en-us/TimePicker.js
404 (47ms)dojo.js (line 734)
GET
http://localhost:8080/FirstHCM/struts/dojo/src/widget/nls/en/DropdownTimePicker.js
404 (31ms)dojo.js (line 734)
GET
http://localhost:8080/FirstHCM/struts/dojo/src/widget/nls/en-us/DropdownTimePicker.js
404 (47ms)dojo.js (line 734)
GET
http://localhost:8080/FirstHCM/struts/dojo/src/widget/nls/en/DropdownDatePicker.js
404 (46ms)dojo.js (line 734)
GET
http://localhost:8080/FirstHCM/struts/dojo/src/widget/nls/en-us/DropdownDatePicker.js
404 (47ms)dojo.js (line 734)

<%@page import="java.util.*"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
  <head>
    <s:head theme="ajax" debug="false"/>
  </head>
   <body>
    <s:tabbedPanel id="Requestor" >
	<s:div id="tab1" label="Name" labelposition="top" theme="ajax">
		<s:form method="post">
			<table>
			     <s:datetimepicker name="From" label="From"
displayFormat="MM-dd-yyyy"/>
                             <s:datetimepicker name="To" label="To"
displayFormat="MM-dd-yyyy"/>
			    <s:textfield label="Requestor Name/ Last name" name="LASTNAME"
size="25"/>
			    <s:textfield label="First Name" name="FIRSTNAME" />
				<s:submit name="SUBMIT" value="Find Now"/> 				
			</table>
	    </s:form>
      </s:div>

      <s:div id="tab2" label="Number" theme="ajax"> 
		<s:form method="post">
			 <table>
			    <s:textfield label="Provider Number" name="REQUESTOR_NUMBER"
size="15"/> 
				<s:submit name="SUBMIT" value="Find Now"/> 
			</table>
	    </s:form>
      </s:div>
     </s:tabbedPanel>
     
  </body>
</html> 
-- 
View this message in context: http://www.nabble.com/Why--en-us-theme%3Dajax-404-error-on-Struts-2.0.9-tp14692647p14692647.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message