struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-François Brassard <jfbrass...@videotron.ca>
Subject RE : [ANNOUNCE] Struts Console v2.0 Problem with roles attribute in Struts-Config.xml
Date Wed, 10 Jul 2002 16:53:16 GMT
Hi James,

You add roles attributes for struts-config.xml 1.1 but when i compile a
found this errors: 


- Parse Error at line 43 column 138: <Line 43, Column 138>: XML-0137:
(Error) Attribute 'roles' used but not declared.

org.xml.sax.SAXParseException: <Line 43, Column 138>: XML-0137: (Error)
Attribute 'roles' used but not declared.



I download the last Struts 1.1, roles attributes it is supported? Is is
a solution for supported this attributes?

Thank you 

This is my struts-config.xml:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD
Struts Configuration 1.1//EN"
"http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
<struts-config>
 <form-beans type="org.apache.struts.action.ActionFormBean">
    <form-bean name="datesForm" type="inventaire.DatesForm" />
    </form-beans>

  	<global-forwards type="org.apache.struts.action.ActionForward">
     </global-forwards>
    <action-mappings type="org.apache.struts.action.ActionMapping">
      <action path="/test" name="datesForm" scope="request"
type="test.TestAction" roles="1">
            <forward name="succes" path="/test/test.jsp" />
      </action>
  </action-mappings>
  <controller contentType="text/html;charset=ISO-8859-1" debug="3"
locale="true" nocache="true"
processorClass="controller.MJQRequestProcessor" />
</struts-config>

Jean-François Brassard
Nurun inc.

tel: 380-8046 ext.211
jean-francois.brassard@nurun.com


-----Message d'origine-----
De : James Holmes [mailto:jholmes612@yahoo.com] 
Envoyé : 9 juillet, 2002 13:57
À : Struts Users Mailing List
Objet : [ANNOUNCE] Struts Console v2.0

Struts Console version 2.0 is now available.

http://www.jamesholmes.com/struts/

Download Now:
http://www.jamesholmes.com/struts/struts-console-2.0.zip
  -- OR --
http://www.jamesholmes.com/struts/struts-console-2.0.tar.gz

Struts Console is FREE software.

This release is adds new features and fixes many bugs,
but most notably adds support for Tiles configuration
files. This release also adds support for all of the
latest 1.1 config changes.

Changes with Struts Console v2.0

  *) Fixed bug where Edit button was not properly
     being disabled for Properties and Form Properties
     which would allow Edit to be selected when no row
     was highlighted and thus causing exceptions to be
     thrown.

  *) Fixed bug where Properties and Form Properties
     tables weren't being updated after a row had been
     edited.

  *) Fixed bug where Forwards and Exceptions were not
     properly being removed from Actions.

  *) Fixed bug where changing an Action from using a
     Form Bean to "<none>" would wrongfully set the
     Action's "name" attribute to "<none>".

  *) Fixed bug in standalone app where after
     performing "Save As" on a file, the GUI wouldn't
     indicate whether or not a file had changes or
not.

  *) Fixed bug in Page Converter where an exception
     was thrown when trying to write files to a
     different directory.

  *) Added support for Tiles configuration files.

  *) Added support for "roles" attribute to Action
     screen for 1.1 config files.

  *) Added support for "forwardPattern", "pagePattern"
     and "inputForward" attributes to Controller
     screen for 1.1 config files.

  *) Added support for "bundle" attribute to Exception
     screen for 1.1 config files.

  *) Added ability to move elements up and down in
     relation to their parent.

  *) Added ability to specifiy the number of lines
     between elements in the Ouput Options.

  *) Added "Key" column to Exceptions tables and
     make "Key" a required field per the latest DTD
     for 1.1 config files.

  *) Updated Data Sources screen to be more consistent
     with the other screens.

  *) Extensive refactorings to improve performance and
     reduce code size.


Thanks,

-james
james@jamesholmes.com
http://www.jamesholmes.com/struts/

__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com

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


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


Mime
View raw message