modelj-developer Mailing List for ModelJ - Generate J2EE-Based Web Sites
Status: Beta
Brought to you by:
tom_tessier
You can subscribe to this list here.
2003 |
Jan
(9) |
Feb
|
Mar
(14) |
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(1) |
Feb
(1) |
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <ni...@co...> - 2005-05-24 11:37:33
|
confirm 645689 |
From: <ben...@id...> - 2004-05-21 08:52:10
|
Dear Open Source developer I am doing a research project on "Fun and Software Development" in which I kindly invite you to participate. You will find the online survey under http://fasd.ethz.ch/qsf/. The questionnaire consists of 53 questions and you will need about 15 minutes to complete it. With the FASD project (Fun and Software Development) we want to define the motivational significance of fun when software developers decide to engage in Open Source projects. What is special about our research project is that a similar survey is planned with software developers in commercial firms. This procedure allows the immediate comparison between the involved individuals and the conditions of production of these two development models. Thus we hope to obtain substantial new insights to the phenomenon of Open Source Development. With many thanks for your participation, Benno Luthiger PS: The results of the survey will be published under http://www.isu.unizh.ch/fuehrung/blprojects/FASD/. We have set up the mailing list fa...@we... for this study. Please see http://fasd.ethz.ch/qsf/mailinglist_en.html for registration to this mailing list. _______________________________________________________________________ Benno Luthiger Swiss Federal Institute of Technology Zurich 8092 Zurich Mail: benno.luthiger(at)id.ethz.ch _______________________________________________________________________ |
From: Andrey Y. <an...@ga...> - 2004-02-05 07:54:50
|
From: <Ro...@To...> - 2004-01-14 20:07:09
|
Hi, I am wondering if someone could include some samples (both input and generated files) in the zip download? That would be really helpful. Thanks. |
From: <SJa...@in...> - 2003-10-15 10:10:10
|
Hello, I would like to know whether the group is active, if yes, then can you please throw light on "UML diagram to model J xml" effort's status. Thanks in advance, Regards, Syb |
From: <tom...@us...> - 2003-05-27 00:29:36
|
Update of /cvsroot/modelj/modelj/layout/web/WEB-INF In directory sc8-pr-cvs1:/tmp/cvs-serv21632/layout/web/WEB-INF Modified Files: web.xml Log Message: Removed grandfathered tld entries Index: web.xml =================================================================== RCS file: /cvsroot/modelj/modelj/layout/web/WEB-INF/web.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** web.xml 30 Mar 2003 21:35:55 -0000 1.2 --- web.xml 27 May 2003 00:29:33 -0000 1.3 *************** *** 83,94 **** </taglib> <taglib> - <taglib-uri>/WEB-INF/tlds/struts.tld</taglib-uri> - <taglib-location>/WEB-INF/tlds/struts.tld</taglib-location> - </taglib> - <taglib> - <taglib-uri>/WEB-INF/tlds/struts-form.tld</taglib-uri> - <taglib-location>/WEB-INF/tlds/struts-form.tld</taglib-location> - </taglib> - <taglib> <taglib-uri>/WEB-INF/tlds/struts-html.tld</taglib-uri> <taglib-location>/WEB-INF/tlds/struts-html.tld</taglib-location> --- 83,86 ---- |
From: <tom...@us...> - 2003-03-30 21:42:23
|
Update of /cvsroot/modelj/modelj/templates/web/WEB-INF In directory sc8-pr-cvs1:/tmp/cvs-serv22584/templates/web/WEB-INF Modified Files: struts-config.vm tileDefinitions.vm Log Message: Ported to Struts 1.1-RC1 Index: struts-config.vm =================================================================== RCS file: /cvsroot/modelj/modelj/templates/web/WEB-INF/struts-config.vm,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** struts-config.vm 13 Jan 2003 05:27:25 -0000 1.2 --- struts-config.vm 30 Mar 2003 21:42:18 -0000 1.3 *************** *** 20,26 **** <!DOCTYPE struts-config PUBLIC ! "-//Apache Software Foundation//DTD Struts Configuration 1.0//EN" ! "http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd"> ! <struts-config> <!-- ========== Form Bean Definitions =================================== --> --- 20,26 ---- <!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 Bean Definitions =================================== --> *************** *** 109,111 **** --- 109,123 ---- </action-mappings> + + <!-- ========== Associated Messages Resource settings =================== --> + <!-- Not used by tiles or this website, but needed due to a bug in actual Struts version --> + <message-resources parameter="org.apache.struts.webapp.tiles.dev1-1.ApplicationResources" null="false" /> + <message-resources parameter="resources" null="false" /> + + <plug-in className="org.apache.struts.tiles.TilesPlugin" > + <set-property property="definitions-config" + value="/WEB-INF/tileDefinitions.xml" /> + <set-property property="moduleAware" value="true" /> + </plug-in> + </struts-config> Index: tileDefinitions.vm =================================================================== RCS file: /cvsroot/modelj/modelj/templates/web/WEB-INF/tileDefinitions.vm,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** tileDefinitions.vm 11 Jan 2003 03:38:55 -0000 1.1.1.1 --- tileDefinitions.vm 30 Mar 2003 21:42:18 -0000 1.2 *************** *** 19,23 **** *#<?xml version="1.0" encoding="ISO-8859-1"?> ! <component-definitions> <!-- Main page definitions --> --- 19,27 ---- *#<?xml version="1.0" encoding="ISO-8859-1"?> ! <!DOCTYPE tiles-definitions PUBLIC ! "-//Apache Software Foundation//DTD Tiles Configuration 1.1//EN" ! "http://jakarta.apache.org/struts/dtds/tiles-config_1_1.dtd"> ! ! <tiles-definitions> <!-- Main page definitions --> *************** *** 81,83 **** ! </component-definitions> --- 85,87 ---- ! </tiles-definitions> |
From: <tom...@us...> - 2003-03-30 21:42:04
|
Update of /cvsroot/modelj/modelj/templates/src/struts In directory sc8-pr-cvs1:/tmp/cvs-serv22407/templates/src/struts Modified Files: Action.vm Log Message: Removed unnecessary imports Index: Action.vm =================================================================== RCS file: /cvsroot/modelj/modelj/templates/src/struts/Action.vm,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Action.vm 13 Jan 2003 05:28:24 -0000 1.2 --- Action.vm 30 Mar 2003 21:42:00 -0000 1.3 *************** *** 44,55 **** import com.tomtessier.components.struts.*; - import org.apache.struts.util.MessageResources; import org.apache.struts.action.*; import javax.servlet.http.*; - import javax.servlet.*; - - import java.util.*; - import java.io.*; /** --- 44,50 ---- |
From: <tom...@us...> - 2003-03-30 21:41:41
|
Update of /cvsroot/modelj/modelj/templates/src/ejb/local/session In directory sc8-pr-cvs1:/tmp/cvs-serv22224/templates/src/ejb/local/session Modified Files: Reader.vm Log Message: Removed unnecessary imports Index: Reader.vm =================================================================== RCS file: /cvsroot/modelj/modelj/templates/src/ejb/local/session/Reader.vm,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Reader.vm 13 Jan 2003 05:32:24 -0000 1.2 --- Reader.vm 30 Mar 2003 21:41:38 -0000 1.3 *************** *** 31,37 **** import ${package}.components.${bean.name.toLowerCase()}.entities.*; - import ${package}.JNDINames; - - import com.tomtessier.components.ejb.utils.HomeFactory; import javax.naming.*; --- 31,34 ---- |
From: <tom...@us...> - 2003-03-30 21:41:26
|
Update of /cvsroot/modelj/modelj/templates/src/ejb/local/session In directory sc8-pr-cvs1:/tmp/cvs-serv22069/templates/src/ejb/local/session Modified Files: Manager.vm Log Message: Removed unnecessary imports; changed access to the model getHome() method to use the standard convention of placing the class name before the method Index: Manager.vm =================================================================== RCS file: /cvsroot/modelj/modelj/templates/src/ejb/local/session/Manager.vm,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Manager.vm 13 Jan 2003 05:32:24 -0000 1.2 --- Manager.vm 30 Mar 2003 21:41:22 -0000 1.3 *************** *** 46,51 **** import javax.ejb.*; - import java.util.*; - /** * manager helper class for the ${bean.name}FacadeEJB. Encapsulates add/update/delete --- 46,49 ---- *************** *** 82,86 **** public void add(${bean.name}Model model) { try { ! ${bean.name}LocalHome home = model.getHome(); ${bean.name}Local entity = home.create(model); model.setId(entity.getId()); --- 80,84 ---- public void add(${bean.name}Model model) { try { ! ${bean.name}LocalHome home = ${bean.name}Model.getHome(); ${bean.name}Local entity = home.create(model); model.setId(entity.getId()); *************** *** 109,113 **** public void update(${bean.name}Model model) { try { ! ${bean.name}LocalHome home = model.getHome(); ${bean.name}Local entity = home.findByPrimaryKey( model.getId()); --- 107,111 ---- public void update(${bean.name}Model model) { try { ! ${bean.name}LocalHome home = ${bean.name}Model.getHome(); ${bean.name}Local entity = home.findByPrimaryKey( model.getId()); *************** *** 141,145 **** public void delete(${bean.name}Model model) { try { ! ${bean.name}LocalHome home = model.getHome(); ${bean.name}Local entity = home.findByPrimaryKey( model.getId()); --- 139,143 ---- public void delete(${bean.name}Model model) { try { ! ${bean.name}LocalHome home = ${bean.name}Model.getHome(); ${bean.name}Local entity = home.findByPrimaryKey( model.getId()); *************** *** 193,197 **** public void addTo${relName}(Integer ${relNameLC}Id, ${bean.name}Model model) { try { ! ${bean.name}LocalHome ${bean.name.toLowerCase()}Home = model.getHome(); ${bean.name}Local ${bean.name.toLowerCase()}Entity = ${bean.name.toLowerCase()}Home.create(model); model.setId(${bean.name.toLowerCase()}Entity.getId()); --- 191,195 ---- public void addTo${relName}(Integer ${relNameLC}Id, ${bean.name}Model model) { try { ! ${bean.name}LocalHome ${bean.name.toLowerCase()}Home = ${bean.name}Model.getHome(); ${bean.name}Local ${bean.name.toLowerCase()}Entity = ${bean.name.toLowerCase()}Home.create(model); model.setId(${bean.name.toLowerCase()}Entity.getId()); |
From: <tom...@us...> - 2003-03-30 21:40:00
|
Update of /cvsroot/modelj/modelj/templates/src/businessDelegate In directory sc8-pr-cvs1:/tmp/cvs-serv21267/templates/src/businessDelegate Modified Files: Delegate.vm Log Message: Removed unnecessary imports Index: Delegate.vm =================================================================== RCS file: /cvsroot/modelj/modelj/templates/src/businessDelegate/Delegate.vm,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** Delegate.vm 11 Jan 2003 03:38:49 -0000 1.1.1.1 --- Delegate.vm 30 Mar 2003 21:39:57 -0000 1.2 *************** *** 37,42 **** import javax.naming.*; - import javax.servlet.*; - import javax.ejb.*; import java.util.*; --- 37,40 ---- |
From: <tom...@us...> - 2003-03-30 21:39:47
|
Update of /cvsroot/modelj/modelj/src/com/tomtessier/applications/generator In directory sc8-pr-cvs1:/tmp/cvs-serv21135/src/com/tomtessier/applications/generator Modified Files: GeneratorDAO.java Log Message: Removed unnecessary imports Index: GeneratorDAO.java =================================================================== RCS file: /cvsroot/modelj/modelj/src/com/tomtessier/applications/generator/GeneratorDAO.java,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** GeneratorDAO.java 11 Jan 2003 03:38:43 -0000 1.1.1.1 --- GeneratorDAO.java 30 Mar 2003 21:39:44 -0000 1.2 *************** *** 21,30 **** package com.tomtessier.applications.generator; ! import com.tomtessier.applications.generator.xml.*; ! ! import java.io.*; ! import java.util.zip.*; import org.exolab.castor.xml.*; /** --- 21,29 ---- package com.tomtessier.applications.generator; ! import com.tomtessier.applications.generator.xml.Generator; import org.exolab.castor.xml.*; + + import java.io.*; /** |
From: <tom...@us...> - 2003-03-30 21:39:21
|
Update of /cvsroot/modelj/modelj/lib In directory sc8-pr-cvs1:/tmp/cvs-serv20767/lib Added Files: velocity-1.3.1-rc2.jar Removed Files: velocity-1.2-rc3.jar Log Message: Upgraded to velocity 1.3.1-RC2 --- NEW FILE: velocity-1.3.1-rc2.jar --- (This appears to be a binary file; contents omitted.) --- velocity-1.2-rc3.jar DELETED --- |
From: <tom...@us...> - 2003-03-30 21:38:35
|
Update of /cvsroot/modelj/modelj/layout/web/WEB-INF/tlds In directory sc8-pr-cvs1:/tmp/cvs-serv20460/layout/web/WEB-INF/tlds Modified Files: struts-html.tld struts-logic.tld struts-template.tld struts-bean.tld Added Files: struts-nested.tld struts-tiles.tld Removed Files: struts-form.tld extensions.tld struts.tld tiles.tld Log Message: Struts 1.1-RC1 tld files --- NEW FILE: struts-nested.tld --- <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN" "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd"> <taglib> <tlibversion>1.0</tlibversion> <jspversion>1.1</jspversion> <shortname>nested</shortname> <uri>http://jakarta.apache.org/struts/tags-nested</uri> <tag> <name>nest</name> <tagclass>org.apache.struts.taglib.nested.NestedPropertyTag</tagclass> <bodycontent>JSP</bodycontent> <attribute> <name>property</name> [...2831 lines suppressed...] <attribute> <name>role</name> <required>false</required> <rtexprvalue>true</rtexprvalue> </attribute> <attribute> <name>scope</name> <required>false</required> <rtexprvalue>true</rtexprvalue> </attribute> <attribute> <name>user</name> <required>false</required> <rtexprvalue>true</rtexprvalue> </attribute> </tag> </taglib> --- NEW FILE: struts-tiles.tld --- <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN" "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd"> <taglib> <tlibversion>1.0</tlibversion> <jspversion>1.1</jspversion> <shortname>Tiles Tag Library</shortname> <uri>http://jakarta.apache.org/struts/tags-tiles</uri> <tag> <name>insert</name> <tagclass>org.apache.struts.taglib.tiles.InsertTag</tagclass> <bodycontent>JSP</bodycontent> <attribute> <name>template</name> <required>false</required> <rtexprvalue>true</rtexprvalue> </attribute> <attribute> <name>component</name> <required>false</required> <rtexprvalue>true</rtexprvalue> </attribute> <attribute> <name>page</name> <required>false</required> <rtexprvalue>true</rtexprvalue> </attribute> <attribute> <name>definition</name> <required>false</required> <rtexprvalue>true</rtexprvalue> </attribute> <attribute> <name>attribute</name> <required>false</required> <rtexprvalue>false</rtexprvalue> </attribute> <attribute> <name>name</name> <required>false</required> <rtexprvalue>true</rtexprvalue> </attribute> <attribute> <name>beanName</name> <required>false</required> <rtexprvalue>true</rtexprvalue> </attribute> <attribute> <name>beanProperty</name> <required>false</required> <rtexprvalue>true</rtexprvalue> </attribute> <attribute> <name>beanScope</name> <required>false</required> <rtexprvalue>false</rtexprvalue> </attribute> <attribute> <name>flush</name> <required>false</required> <rtexprvalue>false</rtexprvalue> </attribute> <attribute> <name>ignore</name> <required>false</required> <rtexprvalue>true</rtexprvalue> </attribute> <attribute> <name>role</name> <required>false</required> <rtexprvalue>true</rtexprvalue> </attribute> <attribute> <name>controllerUrl</name> <required>false</required> <rtexprvalue>true</rtexprvalue> </attribute> <attribute> <name>controllerClass</name> <required>false</required> <rtexprvalue>true</rtexprvalue> </attribute> </tag> <tag> <name>definition</name> <tagclass>org.apache.struts.taglib.tiles.DefinitionTag</tagclass> <bodycontent>JSP</bodycontent> <attribute> <name>id</name> <required>true</required> <rtexprvalue>false</rtexprvalue> </attribute> <attribute> <name>scope</name> <required>false</required> <rtexprvalue>false</rtexprvalue> </attribute> <attribute> <name>template</name> <required>false</required> <rtexprvalue>true</rtexprvalue> </attribute> <attribute> <name>page</name> <required>false</required> <rtexprvalue>true</rtexprvalue> </attribute> <attribute> <name>role</name> <required>false</required> <rtexprvalue>true</rtexprvalue> </attribute> <attribute> <name>extends</name> <required>false</required> <rtexprvalue>true</rtexprvalue> </attribute> </tag> <tag> <name>put</name> <tagclass>org.apache.struts.taglib.tiles.PutTag</tagclass> <bodycontent>JSP</bodycontent> <attribute> <name>name</name> <required>false</required> <rtexprvalue>false</rtexprvalue> </attribute> <attribute> <name>value</name> <required>false</required> <rtexprvalue>true</rtexprvalue> </attribute> <attribute> <name>content</name> <required>false</required> <rtexprvalue>true</rtexprvalue> </attribute> <attribute> <name>direct</name> <required>false</required> <rtexprvalue>false</rtexprvalue> </attribute> <attribute> <name>type</name> <required>false</required> <rtexprvalue>false</rtexprvalue> </attribute> <attribute> <name>beanName</name> <required>false</required> <rtexprvalue>true</rtexprvalue> </attribute> <attribute> <name>beanProperty</name> <required>false</required> <rtexprvalue>true</rtexprvalue> </attribute> <attribute> <name>beanScope</name> <required>false</required> <rtexprvalue>false</rtexprvalue> </attribute> <attribute> <name>role</name> <required>false</required> <rtexprvalue>true</rtexprvalue> </attribute> </tag> <tag> <name>putList</name> <tagclass>org.apache.struts.taglib.tiles.PutListTag</tagclass> <bodycontent>JSP</bodycontent> <attribute> <name>name</name> <required>true</required> <rtexprvalue>false</rtexprvalue> </attribute> </tag> <tag> <name>add</name> <tagclass>org.apache.struts.taglib.tiles.AddTag</tagclass> <bodycontent>JSP</bodycontent> <attribute> <name>value</name> <required>false</required> <rtexprvalue>false</rtexprvalue> </attribute> <attribute> <name>content</name> <required>false</required> <rtexprvalue>true</rtexprvalue> </attribute> <attribute> <name>direct</name> <required>false</required> <rtexprvalue>false</rtexprvalue> </attribute> <attribute> <name>type</name> <required>false</required> <rtexprvalue>false</rtexprvalue> </attribute> <attribute> <name>beanName</name> <required>false</required> <rtexprvalue>true</rtexprvalue> </attribute> <attribute> <name>beanProperty</name> <required>false</required> <rtexprvalue>true</rtexprvalue> </attribute> <attribute> <name>beanScope</name> <required>false</required> <rtexprvalue>false</rtexprvalue> </attribute> <attribute> <name>role</name> <required>false</required> <rtexprvalue>true</rtexprvalue> </attribute> </tag> <tag> <name>get</name> <tagclass>org.apache.struts.taglib.tiles.GetTag</tagclass> <bodycontent>empty</bodycontent> <attribute> <name>name</name> <required>true</required> <rtexprvalue>true</rtexprvalue> </attribute> <attribute> <name>ignore</name> <required>false</required> <rtexprvalue>true</rtexprvalue> </attribute> <attribute> <name>flush</name> <required>false</required> <rtexprvalue>false</rtexprvalue> </attribute> <attribute> <name>role</name> <required>false</required> <rtexprvalue>true</rtexprvalue> </attribute> </tag> <tag> <name>getAsString</name> <tagclass>org.apache.struts.taglib.tiles.GetAttributeTag</tagclass> <bodycontent>empty</bodycontent> <attribute> <name>name</name> <required>true</required> <rtexprvalue>true</rtexprvalue> </attribute> <attribute> <name>ignore</name> <required>false</required> <rtexprvalue>true</rtexprvalue> </attribute> <attribute> <name>role</name> <required>false</required> <rtexprvalue>true</rtexprvalue> </attribute> </tag> <tag> <name>useAttribute</name> <tagclass>org.apache.struts.taglib.tiles.UseAttributeTag</tagclass> <teiclass>org.apache.struts.taglib.tiles.UseAttributeTei</teiclass> <bodycontent>empty</bodycontent> <attribute> <name>id</name> <required>false</required> <rtexprvalue>false</rtexprvalue> </attribute> <attribute> <name>classname</name> <required>false</required> <rtexprvalue>false</rtexprvalue> </attribute> <attribute> <name>scope</name> <required>false</required> <rtexprvalue>false</rtexprvalue> </attribute> <attribute> <name>name</name> <required>true</required> <rtexprvalue>true</rtexprvalue> </attribute> <attribute> <name>ignore</name> <required>false</required> <rtexprvalue>true</rtexprvalue> </attribute> </tag> <tag> <name>importAttribute</name> <tagclass>org.apache.struts.taglib.tiles.ImportAttributeTag</tagclass> <bodycontent>empty</bodycontent> <attribute> <name>name</name> <required>false</required> <rtexprvalue>true</rtexprvalue> </attribute> <attribute> <name>scope</name> <required>false</required> <rtexprvalue>false</rtexprvalue> </attribute> <attribute> <name>ignore</name> <required>false</required> <rtexprvalue>true</rtexprvalue> </attribute> </tag> <tag> <name>initComponentDefinitions</name> <tagclass>org.apache.struts.taglib.tiles.InitDefinitionsTag</tagclass> <bodycontent>empty</bodycontent> <attribute> <name>file</name> <required>true</required> <rtexprvalue>false</rtexprvalue> </attribute> <attribute> <name>classname</name> <required>false</required> <rtexprvalue>false</rtexprvalue> </attribute> </tag> </taglib> Index: struts-html.tld =================================================================== RCS file: /cvsroot/modelj/modelj/layout/web/WEB-INF/tlds/struts-html.tld,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** struts-html.tld 11 Jan 2003 03:37:33 -0000 1.1.1.1 --- struts-html.tld 30 Mar 2003 21:38:32 -0000 1.2 *************** *** 12,16 **** <jspversion>1.1</jspversion> <shortname>html</shortname> ! <uri>http://jakarta.apache.org/struts/tags-html-1.0.1</uri> <tag> <name>base</name> --- 12,16 ---- <jspversion>1.1</jspversion> <shortname>html</shortname> ! <uri>http://jakarta.apache.org/struts/tags-html</uri> <tag> [...1187 lines suppressed...] + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>titleKey</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> <name>value</name> <required>false</required> <rtexprvalue>true</rtexprvalue> </attribute> + </tag> + <tag> + <name>xhtml</name> + <tagclass>org.apache.struts.taglib.html.XhtmlTag</tagclass> + <bodycontent>empty</bodycontent> </tag> </taglib> Index: struts-logic.tld =================================================================== RCS file: /cvsroot/modelj/modelj/layout/web/WEB-INF/tlds/struts-logic.tld,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** struts-logic.tld 11 Jan 2003 03:37:34 -0000 1.1.1.1 --- struts-logic.tld 30 Mar 2003 21:38:32 -0000 1.2 *************** *** 11,15 **** <jspversion>1.1</jspversion> <shortname>logic</shortname> ! <uri>http://jakarta.apache.org/struts/tags-logic-1.0.1</uri> <tag> <name>equal</name> --- 11,35 ---- <jspversion>1.1</jspversion> <shortname>logic</shortname> ! <uri>http://jakarta.apache.org/struts/tags-logic</uri> ! <tag> ! <name>empty</name> ! <tagclass>org.apache.struts.taglib.logic.EmptyTag</tagclass> ! <bodycontent>JSP</bodycontent> ! <attribute> ! <name>name</name> ! <required>false</required> ! <rtexprvalue>true</rtexprvalue> ! </attribute> ! <attribute> ! <name>property</name> ! <required>false</required> ! <rtexprvalue>true</rtexprvalue> ! </attribute> ! <attribute> ! <name>scope</name> ! <required>false</required> ! <rtexprvalue>true</rtexprvalue> ! </attribute> ! </tag> <tag> <name>equal</name> *************** *** 155,164 **** <name>id</name> <required>true</required> ! <rtexprvalue>true</rtexprvalue> </attribute> <attribute> <name>indexId</name> <required>false</required> ! <rtexprvalue>true</rtexprvalue> </attribute> <attribute> --- 175,184 ---- <name>id</name> <required>true</required> ! <rtexprvalue>false</rtexprvalue> </attribute> <attribute> <name>indexId</name> <required>false</required> ! <rtexprvalue>false</rtexprvalue> </attribute> <attribute> *************** *** 315,318 **** --- 335,398 ---- <name>value</name> <required>true</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + </tag> + <tag> + <name>messagesNotPresent</name> + <tagclass>org.apache.struts.taglib.logic.MessagesNotPresentTag</tagclass> + <bodycontent>JSP</bodycontent> + <attribute> + <name>name</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>property</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>message</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + </tag> + <tag> + <name>messagesPresent</name> + <tagclass>org.apache.struts.taglib.logic.MessagesPresentTag</tagclass> + <bodycontent>JSP</bodycontent> + <attribute> + <name>name</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>property</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>message</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + </tag> + <tag> + <name>notEmpty</name> + <tagclass>org.apache.struts.taglib.logic.NotEmptyTag</tagclass> + <bodycontent>JSP</bodycontent> + <attribute> + <name>name</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>property</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>scope</name> + <required>false</required> <rtexprvalue>true</rtexprvalue> </attribute> Index: struts-template.tld =================================================================== RCS file: /cvsroot/modelj/modelj/layout/web/WEB-INF/tlds/struts-template.tld,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** struts-template.tld 11 Jan 2003 03:37:34 -0000 1.1.1.1 --- struts-template.tld 30 Mar 2003 21:38:32 -0000 1.2 *************** *** 12,16 **** <jspversion>1.1</jspversion> <shortname>template</shortname> ! <uri>http://jakarta.apache.org/struts/tags-template-1.0</uri> <tag> <name>insert</name> --- 12,16 ---- <jspversion>1.1</jspversion> <shortname>template</shortname> ! <uri>http://jakarta.apache.org/struts/tags-template</uri> <tag> <name>insert</name> Index: struts-bean.tld =================================================================== RCS file: /cvsroot/modelj/modelj/layout/web/WEB-INF/tlds/struts-bean.tld,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** struts-bean.tld 11 Jan 2003 03:37:31 -0000 1.1.1.1 --- struts-bean.tld 30 Mar 2003 21:38:32 -0000 1.2 *************** *** 12,16 **** <jspversion>1.1</jspversion> <shortname>bean</shortname> ! <uri>http://jakarta.apache.org/struts/tags-bean-1.0.1</uri> <tag> <name>cookie</name> --- 12,16 ---- <jspversion>1.1</jspversion> <shortname>bean</shortname> ! <uri>http://jakarta.apache.org/struts/tags-bean</uri> <tag> <name>cookie</name> *************** *** 21,25 **** <name>id</name> <required>true</required> ! <rtexprvalue>true</rtexprvalue> </attribute> <attribute> --- 21,25 ---- <name>id</name> <required>true</required> ! <rtexprvalue>false</rtexprvalue> </attribute> <attribute> *************** *** 43,51 **** <tagclass>org.apache.struts.taglib.bean.DefineTag</tagclass> <teiclass>org.apache.struts.taglib.bean.DefineTei</teiclass> ! <bodycontent>empty</bodycontent> <attribute> <name>id</name> <required>true</required> ! <rtexprvalue>true</rtexprvalue> </attribute> <attribute> --- 43,51 ---- <tagclass>org.apache.struts.taglib.bean.DefineTag</tagclass> <teiclass>org.apache.struts.taglib.bean.DefineTei</teiclass> ! <bodycontent>JSP</bodycontent> <attribute> <name>id</name> <required>true</required> ! <rtexprvalue>false</rtexprvalue> </attribute> <attribute> *************** *** 88,92 **** <name>id</name> <required>true</required> ! <rtexprvalue>true</rtexprvalue> </attribute> <attribute> --- 88,92 ---- <name>id</name> <required>true</required> ! <rtexprvalue>false</rtexprvalue> </attribute> <attribute> *************** *** 129,133 **** <name>id</name> <required>true</required> ! <rtexprvalue>true</rtexprvalue> </attribute> <attribute> --- 129,133 ---- <name>id</name> <required>true</required> ! <rtexprvalue>false</rtexprvalue> </attribute> <attribute> *************** *** 183,187 **** <attribute> <name>key</name> ! <required>true</required> <rtexprvalue>true</rtexprvalue> </attribute> --- 183,187 ---- <attribute> <name>key</name> ! <required>false</required> <rtexprvalue>true</rtexprvalue> </attribute> *************** *** 191,194 **** --- 191,209 ---- <rtexprvalue>true</rtexprvalue> </attribute> + <attribute> + <name>name</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>property</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>scope</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> </tag> <tag> *************** *** 200,204 **** <name>id</name> <required>true</required> ! <rtexprvalue>true</rtexprvalue> </attribute> <attribute> --- 215,219 ---- <name>id</name> <required>true</required> ! <rtexprvalue>false</rtexprvalue> </attribute> <attribute> *************** *** 216,220 **** <name>id</name> <required>true</required> ! <rtexprvalue>true</rtexprvalue> </attribute> <attribute> --- 231,235 ---- <name>id</name> <required>true</required> ! <rtexprvalue>false</rtexprvalue> </attribute> <attribute> *************** *** 242,246 **** <name>id</name> <required>true</required> ! <rtexprvalue>true</rtexprvalue> </attribute> <attribute> --- 257,261 ---- <name>id</name> <required>true</required> ! <rtexprvalue>false</rtexprvalue> </attribute> <attribute> *************** *** 268,272 **** <name>id</name> <required>true</required> ! <rtexprvalue>true</rtexprvalue> </attribute> <attribute> --- 283,287 ---- <name>id</name> <required>true</required> ! <rtexprvalue>false</rtexprvalue> </attribute> <attribute> *************** *** 294,298 **** <name>id</name> <required>true</required> ! <rtexprvalue>true</rtexprvalue> </attribute> <attribute> --- 309,313 ---- <name>id</name> <required>true</required> ! <rtexprvalue>false</rtexprvalue> </attribute> <attribute> *************** *** 317,320 **** --- 332,340 ---- <bodycontent>empty</bodycontent> <attribute> + <name>bundle</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> <name>filter</name> <required>false</required> *************** *** 322,326 **** --- 342,361 ---- </attribute> <attribute> + <name>format</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>formatKey</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> <name>ignore</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>locale</name> <required>false</required> <rtexprvalue>true</rtexprvalue> --- struts-form.tld DELETED --- --- extensions.tld DELETED --- --- struts.tld DELETED --- --- tiles.tld DELETED --- |
Update of /cvsroot/modelj/modelj/layout/web/WEB-INF/lib In directory sc8-pr-cvs1:/tmp/cvs-serv19752/layout/web/WEB-INF/lib Modified Files: commons-digester.jar commons-beanutils.jar struts.jar commons-collections.jar commons-validator.jar Added Files: commons-pool.jar commons-fileupload.jar commons-dbcp.jar jakarta-oro.jar commons-logging.jar commons-lang.jar commons-resources.jar Removed Files: jakarta-regexp-1.2.jar struts-validator.jar velocity-1.2-rc3.jar tiles.jar logkit-1.0.jar Log Message: Struts 1.1-RC1 jar files --- NEW FILE: commons-pool.jar --- (This appears to be a binary file; contents omitted.) --- NEW FILE: commons-fileupload.jar --- (This appears to be a binary file; contents omitted.) --- NEW FILE: commons-dbcp.jar --- (This appears to be a binary file; contents omitted.) --- NEW FILE: jakarta-oro.jar --- (This appears to be a binary file; contents omitted.) --- NEW FILE: commons-logging.jar --- (This appears to be a binary file; contents omitted.) --- NEW FILE: commons-lang.jar --- (This appears to be a binary file; contents omitted.) --- NEW FILE: commons-resources.jar --- (This appears to be a binary file; contents omitted.) Index: commons-digester.jar =================================================================== RCS file: /cvsroot/modelj/modelj/layout/web/WEB-INF/lib/commons-digester.jar,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 Binary files /tmp/cvsPSLZ4d and /tmp/cvsks5EAj differ Index: commons-beanutils.jar =================================================================== RCS file: /cvsroot/modelj/modelj/layout/web/WEB-INF/lib/commons-beanutils.jar,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 Binary files /tmp/cvsygnRSs and /tmp/cvsWq8wcL differ Index: struts.jar =================================================================== RCS file: /cvsroot/modelj/modelj/layout/web/WEB-INF/lib/struts.jar,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 Binary files /tmp/cvshIQCut and /tmp/cvs8Jot8Q differ Index: commons-collections.jar =================================================================== RCS file: /cvsroot/modelj/modelj/layout/web/WEB-INF/lib/commons-collections.jar,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 Binary files /tmp/cvsaPvvVT and /tmp/cvswZJJ7G differ Index: commons-validator.jar =================================================================== RCS file: /cvsroot/modelj/modelj/layout/web/WEB-INF/lib/commons-validator.jar,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 Binary files /tmp/cvsRJeQW8 and /tmp/cvsEGb9p7 differ --- jakarta-regexp-1.2.jar DELETED --- --- struts-validator.jar DELETED --- --- velocity-1.2-rc3.jar DELETED --- --- tiles.jar DELETED --- --- logkit-1.0.jar DELETED --- |
From: <tom...@us...> - 2003-03-30 21:35:58
|
Update of /cvsroot/modelj/modelj/layout/web/WEB-INF In directory sc8-pr-cvs1:/tmp/cvs-serv19272/layout/web/WEB-INF Modified Files: validator-rules.xml web.xml Log Message: Ported to Struts 1.1-RC1 Index: validator-rules.xml =================================================================== RCS file: /cvsroot/modelj/modelj/layout/web/WEB-INF/validator-rules.xml,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** validator-rules.xml 11 Jan 2003 03:37:02 -0000 1.1.1.1 --- validator-rules.xml 30 Mar 2003 21:35:55 -0000 1.2 *************** *** 1,572 **** <form-validation> <global> <validator name="required" ! classname="org.apache.struts.validator.util.StrutsValidator" ! method="validateRequired" ! msg="errors.required"> <javascript><![CDATA[ ! function validateRequired(form) { var bValid = true; var focusField = null; [...1630 lines suppressed...] ! } var atomPat=new RegExp(atom,"g"); var domArr=domain.match(atomPat); var len=domArr.length; ! if ((domArr[domArr.length-1].length < 2) || ! (domArr[domArr.length-1].length > 3)) { ! return false; ! } ! if (len < 2) { ! return false; ! } return true; }]]> </javascript> + </validator> + </global> + </form-validation> Index: web.xml =================================================================== RCS file: /cvsroot/modelj/modelj/layout/web/WEB-INF/web.xml,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** web.xml 11 Jan 2003 03:37:02 -0000 1.1.1.1 --- web.xml 30 Mar 2003 21:35:55 -0000 1.2 *************** *** 5,35 **** <web-app> - <!-- form validation servlet configuration --> <servlet> ! <servlet-name>validator</servlet-name> ! <servlet-class>org.apache.struts.validator.action.ValidatorServlet</servlet-class> <init-param> ! <param-name>config-rules</param-name> ! <param-value>/WEB-INF/validator-rules.xml</param-value> </init-param> <init-param> ! <param-name>config</param-name> ! <param-value>/WEB-INF/validation.xml</param-value> </init-param> <init-param> ! <param-name>debug</param-name> ! <param-value>1</param-value> </init-param> - <load-on-startup>2</load-on-startup> - </servlet> - - <servlet> - <servlet-name>action</servlet-name> - <!-- - <servlet-class> - org.apache.struts.action.ActionServlet - </servlet-class> - --> - <servlet-class>org.apache.struts.tiles.ActionComponentServlet</servlet-class> <init-param> <param-name>application</param-name> --- 5,29 ---- <web-app> <servlet> ! <servlet-name>action</servlet-name> ! <servlet-class> ! org.apache.struts.action.ActionServlet ! </servlet-class> ! <init-param> ! <param-name>definitions-config</param-name> ! <param-value>/WEB-INF/tilesDefinitions.xml</param-value> ! </init-param> <init-param> ! <param-name>definitions-debug</param-name> ! <param-value>0</param-value> </init-param> <init-param> ! <param-name>definitions-parser-details</param-name> ! <param-value>0</param-value> </init-param> <init-param> ! <param-name>definitions-parser-validate</param-name> ! <param-value>true</param-value> </init-param> <init-param> <param-name>application</param-name> *************** *** 112,116 **** <taglib> <taglib-uri>/WEB-INF/tlds/tiles.tld</taglib-uri> ! <taglib-location>/WEB-INF/tlds/tiles.tld</taglib-location> </taglib> --- 106,110 ---- <taglib> <taglib-uri>/WEB-INF/tlds/tiles.tld</taglib-uri> ! <taglib-location>/WEB-INF/tlds/struts-tiles.tld</taglib-location> </taglib> |
From: <tom...@us...> - 2003-03-30 21:35:32
|
Update of /cvsroot/modelj/modelj/layout/src/com/tomtessier/components/struts In directory sc8-pr-cvs1:/tmp/cvs-serv19076/layout/src/com/tomtessier/components/struts Modified Files: BaseAction.java Log Message: Updated to work with Struts 1.1-RC1 without deprecated messages Index: BaseAction.java =================================================================== RCS file: /cvsroot/modelj/modelj/layout/src/com/tomtessier/components/struts/BaseAction.java,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** BaseAction.java 11 Jan 2003 03:37:00 -0000 1.1.1.1 --- BaseAction.java 30 Mar 2003 21:35:27 -0000 1.2 *************** *** 21,34 **** package com.tomtessier.components.struts; - import com.tomtessier.components.struts.ActionTypes; - - import org.apache.struts.util.MessageResources; import org.apache.struts.action.*; ! import javax.servlet.http.*; ! import javax.servlet.*; ! import java.util.*; ! import java.io.*; /** --- 21,31 ---- package com.tomtessier.components.struts; import org.apache.struts.action.*; ! import javax.servlet.ServletException; ! import javax.servlet.http.HttpServletRequest; ! import javax.servlet.http.HttpServletResponse; ! import java.io.IOException; /** *************** *** 56,60 **** * */ ! public ActionForward perform( ActionMapping mapping, ActionForm form, HttpServletRequest request, --- 53,57 ---- * */ ! public ActionForward execute( ActionMapping mapping, ActionForm form, HttpServletRequest request, |
From: <tom...@us...> - 2003-03-30 21:34:56
|
Update of /cvsroot/modelj/modelj/layout/lib In directory sc8-pr-cvs1:/tmp/cvs-serv18797/layout/lib Removed Files: placeholder.txt Log Message: Remove this placeholder file, since it is not needed anymore --- placeholder.txt DELETED --- |
From: <tom...@us...> - 2003-03-30 21:34:28
|
Update of /cvsroot/modelj/modelj/layout/lib In directory sc8-pr-cvs1:/tmp/cvs-serv18509/layout/lib Added Files: servletapi-2.3.jar jboss-j2ee.jar Log Message: Added these jar files to ease compilation for those that do not have J2EE.jar in their classpath --- NEW FILE: servletapi-2.3.jar --- (This appears to be a binary file; contents omitted.) --- NEW FILE: jboss-j2ee.jar --- (This appears to be a binary file; contents omitted.) |
From: <tom...@us...> - 2003-03-30 21:28:43
|
Update of /cvsroot/modelj/modelj In directory sc8-pr-cvs1:/tmp/cvs-serv15928 Added Files: mysql-ds.xml Log Message: Sample mysql-ds deployment file --- NEW FILE: mysql-ds.xml --- <?xml version="1.0" encoding="UTF-8"?> <!-- ===================================================================== --> <!-- --> <!-- JBoss Server Configuration --> <!-- --> <!-- ===================================================================== --> <!-- $Id: mysql-ds.xml,v 1.1 2003/03/30 21:28:40 tom_tessier Exp $ --> <!-- ==================================================================== --> <!-- Datasource config for MySQL using 2.0.11 driver --> <!-- ==================================================================== --> <!-- ======================================================================= --> <!-- assumes a local database named "test" with a blank username & password --> <!-- also requires the installation of the org.gjt.mm.mysql.Driver MySQL jar --> <!-- ======================================================================= --> <datasources> <local-tx-datasource> <jndi-name>MySqlDS</jndi-name> <connection-url>jdbc:mysql://localhost/test?autoReconnect=true</connection-url> <driver-class>org.gjt.mm.mysql.Driver</driver-class> <user-name></user-name> <password></password> </local-tx-datasource> </datasources> |
From: O'Reilly J. <Joh...@tr...> - 2003-01-20 14:20:49
|
I got this working by using the jakarta commons lang StringUtils class (it has a uncapitilise method that does the job). I placed an instance of this class in the context in GeneratorTask.java. -John > -----Original Message----- > From: Tom Tessier [SMTP:tom...@ho...] > Sent: 17 January 2003 14:44 > To: mod...@li... > Subject: [Modelj-developer] Re: making first letter lower case > > You should be able to access it the same way you access the other > StringUtils classes, by using the $strings modifier.. eg) > > $strings.capitalizeFirstLetter($bean.name) > > Or if you made a new method uncapitalizeFirstLetter() method: > > $strings.uncapitalizeFirstLetter($bean.name) > > I'm not totally sure though, I've never subclasses it myself :) You could > always edit the StringUtils source-code directly and repackage the > velocity.jar.. at one pointed I wanted to do the same thing (make first > character lowercase), but I compromised and just made the whole string > lowercase.. > > Tom > > >From: O'Reilly John <Joh...@tr...> > >To: 'Tom Tessier' <tom...@ho...> > >Subject: RE: [Modelj-developer] Re: making first letter lower case > >Date: Fri, 17 Jan 2003 14:02:15 -0000 > >MIME-Version: 1.0 > >Received: from startgwyex01.traventec.com ([193.120.171.248]) by > >mc10-f9.bay6.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Fri, 17 > Jan > >2003 06:16:51 -0800 > >Received: by STARTGWYEX01 with Internet Mail Service (5.5.2650.21)id > ><DDDY8ZBM>; Fri, 17 Jan 2003 14:02:18 -0000 > >Message-ID: <2099D12F8AC1D411BD7C00508B0BF5DD01C65410@STARTGWYEX01> > >X-Mailer: Internet Mail Service (5.5.2650.21) > >Return-Path: Joh...@tr... > >X-OriginalArrivalTime: 17 Jan 2003 14:16:52.0036 (UTC) > >FILETIME=[14BD6040:01C2BE33] > > > >If I do that, how do I made the subclass accessible from within the .vm > >files (sorry if this is a basic velocity question)? > > > >John > > > > > > > -----Original Message----- > > > From: Tom Tessier [SMTP:tom...@ho...] > > > Sent: 17 January 2003 13:08 > > > To: mod...@li... > > > Subject: [Modelj-developer] Re: making first letter lower case > > > > > > Not that I know of.. you could always extend the > > > org.apache.velocity.util.StringUtils class and provide a > > > lowercaseFirstLetter() method to compliment the > capitalizeFirstLetter() > > > method. > > > > > > Tom > > > > > > > > > > > > > > > >From: O'Reilly John <Joh...@tr...> > > > >To: "'mod...@li...'" > > > ><mod...@li...> > > > >Subject: [Modelj-developer] making first letter lower case > > > >Date: Fri, 17 Jan 2003 11:00:49 -0000 > > > >MIME-Version: 1.0 > > > >Received: from sc8-sf-list2.sourceforge.net ([66.35.250.206]) by > > > >mc4-f6.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Fri, > 17 > > > Jan > > > >2003 03:15:05 -0800 > > > >Received: from sc8-sf-list1-b.sourceforge.net ([10.3.1.13] > > > >helo=sc8-sf-list1.sourceforge.net)by sc8-sf-list2.sourceforge.net > with > > > >esmtp (Exim 3.31-VA-mm2 #1 (Debian))id 18ZUSn-0008F1-00; Fri, 17 Jan > >2003 > > > > > > >03:15:05 -0800 > > > >Received: from [193.120.171.248] (helo=startgwyex01.traventec.com)by > > > >sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 > >(Debian))id > > > >18ZUSO-0003Np-00for <mod...@li...>; Fri, 17 > > >Jan > > > > > > >2003 03:14:40 -0800 > > > >Received: by STARTGWYEX01 with Internet Mail Service (5.5.2650.21)id > > > ><DDDY8YXX>; Fri, 17 Jan 2003 11:00:50 -0000 > > > >Message-ID: <2099D12F8AC1D411BD7C00508B0BF5DD01C6540D@STARTGWYEX01> > > > >X-Mailer: Internet Mail Service (5.5.2650.21) > > > >Sender: mod...@li... > > > >Errors-To: mod...@li... > > > >X-BeenThere: mod...@li... > > > >X-Mailman-Version: 2.0.9-sf.net > > > >Precedence: bulk > > > >List-Help: > > > ><mailto:mod...@li...?subject=help> > > > >List-Post: <mailto:mod...@li...> > > > >List-Subscribe: > > > > > > ><https://lists.sourceforge.net/lists/listinfo/modelj-developer>,<mailto:m > > > ode...@li...?subject=subscribe> > > > >List-Id: <modelj-developer.lists.sourceforge.net> > > > >List-Unsubscribe: > > > > > > ><https://lists.sourceforge.net/lists/listinfo/modelj-developer>,<mailto:m > > > ode...@li...?subject=unsubscribe> > > > >List-Archive: > > > ><http://sourceforge.net/mailarchive/forum.php?forum=modelj-developer> > > > >Return-Path: mod...@li... > > > >X-OriginalArrivalTime: 17 Jan 2003 11:15:06.0027 (UTC) > > > >FILETIME=[B04077B0:01C2BE19] > > > > > > > >Hi, > > > >Is there any way in velocity to make just the first letter of a > >variable > > > >lower case (and leave the rest untouched). > > > >John > > > > > > > > > > >************************************************************************ > > > >This e-mail and any files transmitted with it are confidential and > may > >be > > > >privileged and are intended solely for the individual named/ for the > >use > > > of > > > >the individual or entity to whom they are addressed.If you are not > the > > > >intended addressee, you should not disseminate, distribute or copy > this > > > >e-mail.Please notify the sender immediately if you have received this > > > >e-mail > > > >by mistake and delete this e-mail from your system.If you are not the > > > >intended recipient, you are notified that reviewing, disclosing, > >copying, > > > >distributing or taking any action in reliance on the contents of this > > > >e-mail > > > >is strictly prohibited.Please note that any views or opinions > expressed > > > in > > > >this e-mail are solely those of the author and do not necessarily > > > represent > > > >those of Traventec Limited.E-mail transmission cannot be guaranteed > to > >be > > > >secure or error-free as information could be intercepted, corrupted, > > > lost, > > > >destroyed, or arrive late or incomplete.Traventec Limited therefore > >does > > > >not > > > >accept liability for any errors or omissions in the contents of this > > > >message, which arise as a result of e-mail transmission.The recipient > > > >should > > > >check this e-mail and any attachments for the presence of > viruses.This > > > >e-mail has been swept for computer viruses however Traventec Limited > > > >accepts > > > >no liability for any damage caused by any virus transmitted by this > > > e-mail. > > > > > > > > > > > >------------------------------------------------------- > > > >This SF.NET email is sponsored by: Thawte.com > > > >Understand how to protect your customers personal information by > > > >implementing > > > >SSL on your Apache Web Server. Click here to get our FREE Thawte > Apache > > > >Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en > > > >_______________________________________________ > > > >Modelj-developer mailing list > > > >Mod...@li... > > > >https://lists.sourceforge.net/lists/listinfo/modelj-developer > > > > > > > > > _________________________________________________________________ > > > MSN 8 with e-mail virus protection service: 2 months FREE* > > > http://join.msn.com/?page=features/virus > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.NET email is sponsored by: Thawte.com > > > Understand how to protect your customers personal information by > > > implementing > > > SSL on your Apache Web Server. Click here to get our FREE Thawte > Apache > > > Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en > > > _______________________________________________ > > > Modelj-developer mailing list > > > Mod...@li... > > > https://lists.sourceforge.net/lists/listinfo/modelj-developer > >************************************************************************ > >This e-mail and any files transmitted with it are confidential and may be > >privileged and are intended solely for the individual named/ for the use > of > >the individual or entity to whom they are addressed.If you are not the > >intended addressee, you should not disseminate, distribute or copy this > >e-mail.Please notify the sender immediately if you have received this > >e-mail > >by mistake and delete this e-mail from your system.If you are not the > >intended recipient, you are notified that reviewing, disclosing, copying, > >distributing or taking any action in reliance on the contents of this > >e-mail > >is strictly prohibited.Please note that any views or opinions expressed > in > >this e-mail are solely those of the author and do not necessarily > represent > >those of Traventec Limited.E-mail transmission cannot be guaranteed to be > >secure or error-free as information could be intercepted, corrupted, > lost, > >destroyed, or arrive late or incomplete.Traventec Limited therefore does > >not > >accept liability for any errors or omissions in the contents of this > >message, which arise as a result of e-mail transmission.The recipient > >should > >check this e-mail and any attachments for the presence of viruses.This > >e-mail has been swept for computer viruses however Traventec Limited > >accepts > >no liability for any damage caused by any virus transmitted by this > e-mail. > > > _________________________________________________________________ > Add photos to your e-mail with MSN 8. Get 2 months FREE*. > http://join.msn.com/?page=features/featuredemail > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: Thawte.com - A 128-bit supercerts will > allow you to extend the highest allowed 128 bit encryption to all your > clients even if they use browsers that are limited to 40 bit encryption. > http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0030en > _______________________________________________ > Modelj-developer mailing list > Mod...@li... > https://lists.sourceforge.net/lists/listinfo/modelj-developer ************************************************************************ This e-mail and any files transmitted with it are confidential and may be privileged and are intended solely for the individual named/ for the use of the individual or entity to whom they are addressed.If you are not the intended addressee, you should not disseminate, distribute or copy this e-mail.Please notify the sender immediately if you have received this e-mail by mistake and delete this e-mail from your system.If you are not the intended recipient, you are notified that reviewing, disclosing, copying, distributing or taking any action in reliance on the contents of this e-mail is strictly prohibited.Please note that any views or opinions expressed in this e-mail are solely those of the author and do not necessarily represent those of Traventec Limited.E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, or arrive late or incomplete.Traventec Limited therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission.The recipient should check this e-mail and any attachments for the presence of viruses.This e-mail has been swept for computer viruses however Traventec Limited accepts no liability for any damage caused by any virus transmitted by this e-mail. |
From: Tom T. <tom...@ho...> - 2003-01-17 14:46:03
|
You should be able to access it the same way you access the other StringUtils classes, by using the $strings modifier.. eg) $strings.capitalizeFirstLetter($bean.name) Or if you made a new method uncapitalizeFirstLetter() method: $strings.uncapitalizeFirstLetter($bean.name) I'm not totally sure though, I've never subclasses it myself :) You could always edit the StringUtils source-code directly and repackage the velocity.jar.. at one pointed I wanted to do the same thing (make first character lowercase), but I compromised and just made the whole string lowercase.. Tom >From: O'Reilly John <Joh...@tr...> >To: 'Tom Tessier' <tom...@ho...> >Subject: RE: [Modelj-developer] Re: making first letter lower case >Date: Fri, 17 Jan 2003 14:02:15 -0000 >MIME-Version: 1.0 >Received: from startgwyex01.traventec.com ([193.120.171.248]) by >mc10-f9.bay6.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Fri, 17 Jan >2003 06:16:51 -0800 >Received: by STARTGWYEX01 with Internet Mail Service (5.5.2650.21)id ><DDDY8ZBM>; Fri, 17 Jan 2003 14:02:18 -0000 >Message-ID: <2099D12F8AC1D411BD7C00508B0BF5DD01C65410@STARTGWYEX01> >X-Mailer: Internet Mail Service (5.5.2650.21) >Return-Path: Joh...@tr... >X-OriginalArrivalTime: 17 Jan 2003 14:16:52.0036 (UTC) >FILETIME=[14BD6040:01C2BE33] > >If I do that, how do I made the subclass accessible from within the .vm >files (sorry if this is a basic velocity question)? > >John > > > > -----Original Message----- > > From: Tom Tessier [SMTP:tom...@ho...] > > Sent: 17 January 2003 13:08 > > To: mod...@li... > > Subject: [Modelj-developer] Re: making first letter lower case > > > > Not that I know of.. you could always extend the > > org.apache.velocity.util.StringUtils class and provide a > > lowercaseFirstLetter() method to compliment the capitalizeFirstLetter() > > method. > > > > Tom > > > > > > > > > > >From: O'Reilly John <Joh...@tr...> > > >To: "'mod...@li...'" > > ><mod...@li...> > > >Subject: [Modelj-developer] making first letter lower case > > >Date: Fri, 17 Jan 2003 11:00:49 -0000 > > >MIME-Version: 1.0 > > >Received: from sc8-sf-list2.sourceforge.net ([66.35.250.206]) by > > >mc4-f6.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Fri, 17 > > Jan > > >2003 03:15:05 -0800 > > >Received: from sc8-sf-list1-b.sourceforge.net ([10.3.1.13] > > >helo=sc8-sf-list1.sourceforge.net)by sc8-sf-list2.sourceforge.net with > > >esmtp (Exim 3.31-VA-mm2 #1 (Debian))id 18ZUSn-0008F1-00; Fri, 17 Jan >2003 > > > > >03:15:05 -0800 > > >Received: from [193.120.171.248] (helo=startgwyex01.traventec.com)by > > >sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 >(Debian))id > > >18ZUSO-0003Np-00for <mod...@li...>; Fri, 17 >Jan > > > > >2003 03:14:40 -0800 > > >Received: by STARTGWYEX01 with Internet Mail Service (5.5.2650.21)id > > ><DDDY8YXX>; Fri, 17 Jan 2003 11:00:50 -0000 > > >Message-ID: <2099D12F8AC1D411BD7C00508B0BF5DD01C6540D@STARTGWYEX01> > > >X-Mailer: Internet Mail Service (5.5.2650.21) > > >Sender: mod...@li... > > >Errors-To: mod...@li... > > >X-BeenThere: mod...@li... > > >X-Mailman-Version: 2.0.9-sf.net > > >Precedence: bulk > > >List-Help: > > ><mailto:mod...@li...?subject=help> > > >List-Post: <mailto:mod...@li...> > > >List-Subscribe: > > > ><https://lists.sourceforge.net/lists/listinfo/modelj-developer>,<mailto:m > > ode...@li...?subject=subscribe> > > >List-Id: <modelj-developer.lists.sourceforge.net> > > >List-Unsubscribe: > > > ><https://lists.sourceforge.net/lists/listinfo/modelj-developer>,<mailto:m > > ode...@li...?subject=unsubscribe> > > >List-Archive: > > ><http://sourceforge.net/mailarchive/forum.php?forum=modelj-developer> > > >Return-Path: mod...@li... > > >X-OriginalArrivalTime: 17 Jan 2003 11:15:06.0027 (UTC) > > >FILETIME=[B04077B0:01C2BE19] > > > > > >Hi, > > >Is there any way in velocity to make just the first letter of a >variable > > >lower case (and leave the rest untouched). > > >John > > > > > > >************************************************************************ > > >This e-mail and any files transmitted with it are confidential and may >be > > >privileged and are intended solely for the individual named/ for the >use > > of > > >the individual or entity to whom they are addressed.If you are not the > > >intended addressee, you should not disseminate, distribute or copy this > > >e-mail.Please notify the sender immediately if you have received this > > >e-mail > > >by mistake and delete this e-mail from your system.If you are not the > > >intended recipient, you are notified that reviewing, disclosing, >copying, > > >distributing or taking any action in reliance on the contents of this > > >e-mail > > >is strictly prohibited.Please note that any views or opinions expressed > > in > > >this e-mail are solely those of the author and do not necessarily > > represent > > >those of Traventec Limited.E-mail transmission cannot be guaranteed to >be > > >secure or error-free as information could be intercepted, corrupted, > > lost, > > >destroyed, or arrive late or incomplete.Traventec Limited therefore >does > > >not > > >accept liability for any errors or omissions in the contents of this > > >message, which arise as a result of e-mail transmission.The recipient > > >should > > >check this e-mail and any attachments for the presence of viruses.This > > >e-mail has been swept for computer viruses however Traventec Limited > > >accepts > > >no liability for any damage caused by any virus transmitted by this > > e-mail. > > > > > > > > >------------------------------------------------------- > > >This SF.NET email is sponsored by: Thawte.com > > >Understand how to protect your customers personal information by > > >implementing > > >SSL on your Apache Web Server. Click here to get our FREE Thawte Apache > > >Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en > > >_______________________________________________ > > >Modelj-developer mailing list > > >Mod...@li... > > >https://lists.sourceforge.net/lists/listinfo/modelj-developer > > > > > > _________________________________________________________________ > > MSN 8 with e-mail virus protection service: 2 months FREE* > > http://join.msn.com/?page=features/virus > > > > > > > > ------------------------------------------------------- > > This SF.NET email is sponsored by: Thawte.com > > Understand how to protect your customers personal information by > > implementing > > SSL on your Apache Web Server. Click here to get our FREE Thawte Apache > > Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en > > _______________________________________________ > > Modelj-developer mailing list > > Mod...@li... > > https://lists.sourceforge.net/lists/listinfo/modelj-developer >************************************************************************ >This e-mail and any files transmitted with it are confidential and may be >privileged and are intended solely for the individual named/ for the use of >the individual or entity to whom they are addressed.If you are not the >intended addressee, you should not disseminate, distribute or copy this >e-mail.Please notify the sender immediately if you have received this >e-mail >by mistake and delete this e-mail from your system.If you are not the >intended recipient, you are notified that reviewing, disclosing, copying, >distributing or taking any action in reliance on the contents of this >e-mail >is strictly prohibited.Please note that any views or opinions expressed in >this e-mail are solely those of the author and do not necessarily represent >those of Traventec Limited.E-mail transmission cannot be guaranteed to be >secure or error-free as information could be intercepted, corrupted, lost, >destroyed, or arrive late or incomplete.Traventec Limited therefore does >not >accept liability for any errors or omissions in the contents of this >message, which arise as a result of e-mail transmission.The recipient >should >check this e-mail and any attachments for the presence of viruses.This >e-mail has been swept for computer viruses however Traventec Limited >accepts >no liability for any damage caused by any virus transmitted by this e-mail. _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail |
From: Tom T. <tom...@ho...> - 2003-01-17 13:07:54
|
Not that I know of.. you could always extend the org.apache.velocity.util.StringUtils class and provide a lowercaseFirstLetter() method to compliment the capitalizeFirstLetter() method. Tom >From: O'Reilly John <Joh...@tr...> >To: "'mod...@li...'" ><mod...@li...> >Subject: [Modelj-developer] making first letter lower case >Date: Fri, 17 Jan 2003 11:00:49 -0000 >MIME-Version: 1.0 >Received: from sc8-sf-list2.sourceforge.net ([66.35.250.206]) by >mc4-f6.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Fri, 17 Jan >2003 03:15:05 -0800 >Received: from sc8-sf-list1-b.sourceforge.net ([10.3.1.13] >helo=sc8-sf-list1.sourceforge.net)by sc8-sf-list2.sourceforge.net with >esmtp (Exim 3.31-VA-mm2 #1 (Debian))id 18ZUSn-0008F1-00; Fri, 17 Jan 2003 >03:15:05 -0800 >Received: from [193.120.171.248] (helo=startgwyex01.traventec.com)by >sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian))id >18ZUSO-0003Np-00for <mod...@li...>; Fri, 17 Jan >2003 03:14:40 -0800 >Received: by STARTGWYEX01 with Internet Mail Service (5.5.2650.21)id ><DDDY8YXX>; Fri, 17 Jan 2003 11:00:50 -0000 >Message-ID: <2099D12F8AC1D411BD7C00508B0BF5DD01C6540D@STARTGWYEX01> >X-Mailer: Internet Mail Service (5.5.2650.21) >Sender: mod...@li... >Errors-To: mod...@li... >X-BeenThere: mod...@li... >X-Mailman-Version: 2.0.9-sf.net >Precedence: bulk >List-Help: ><mailto:mod...@li...?subject=help> >List-Post: <mailto:mod...@li...> >List-Subscribe: ><https://lists.sourceforge.net/lists/listinfo/modelj-developer>,<mailto:mod...@li...?subject=subscribe> >List-Id: <modelj-developer.lists.sourceforge.net> >List-Unsubscribe: ><https://lists.sourceforge.net/lists/listinfo/modelj-developer>,<mailto:mod...@li...?subject=unsubscribe> >List-Archive: ><http://sourceforge.net/mailarchive/forum.php?forum=modelj-developer> >Return-Path: mod...@li... >X-OriginalArrivalTime: 17 Jan 2003 11:15:06.0027 (UTC) >FILETIME=[B04077B0:01C2BE19] > >Hi, >Is there any way in velocity to make just the first letter of a variable >lower case (and leave the rest untouched). >John > >************************************************************************ >This e-mail and any files transmitted with it are confidential and may be >privileged and are intended solely for the individual named/ for the use of >the individual or entity to whom they are addressed.If you are not the >intended addressee, you should not disseminate, distribute or copy this >e-mail.Please notify the sender immediately if you have received this >e-mail >by mistake and delete this e-mail from your system.If you are not the >intended recipient, you are notified that reviewing, disclosing, copying, >distributing or taking any action in reliance on the contents of this >e-mail >is strictly prohibited.Please note that any views or opinions expressed in >this e-mail are solely those of the author and do not necessarily represent >those of Traventec Limited.E-mail transmission cannot be guaranteed to be >secure or error-free as information could be intercepted, corrupted, lost, >destroyed, or arrive late or incomplete.Traventec Limited therefore does >not >accept liability for any errors or omissions in the contents of this >message, which arise as a result of e-mail transmission.The recipient >should >check this e-mail and any attachments for the presence of viruses.This >e-mail has been swept for computer viruses however Traventec Limited >accepts >no liability for any damage caused by any virus transmitted by this e-mail. > > >------------------------------------------------------- >This SF.NET email is sponsored by: Thawte.com >Understand how to protect your customers personal information by >implementing >SSL on your Apache Web Server. Click here to get our FREE Thawte Apache >Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en >_______________________________________________ >Modelj-developer mailing list >Mod...@li... >https://lists.sourceforge.net/lists/listinfo/modelj-developer _________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus |
From: O'Reilly J. <Joh...@tr...> - 2003-01-17 11:14:42
|
Hi, Is there any way in velocity to make just the first letter of a variable lower case (and leave the rest untouched). John ************************************************************************ This e-mail and any files transmitted with it are confidential and may be privileged and are intended solely for the individual named/ for the use of the individual or entity to whom they are addressed.If you are not the intended addressee, you should not disseminate, distribute or copy this e-mail.Please notify the sender immediately if you have received this e-mail by mistake and delete this e-mail from your system.If you are not the intended recipient, you are notified that reviewing, disclosing, copying, distributing or taking any action in reliance on the contents of this e-mail is strictly prohibited.Please note that any views or opinions expressed in this e-mail are solely those of the author and do not necessarily represent those of Traventec Limited.E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, or arrive late or incomplete.Traventec Limited therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission.The recipient should check this e-mail and any attachments for the presence of viruses.This e-mail has been swept for computer viruses however Traventec Limited accepts no liability for any damage caused by any virus transmitted by this e-mail. |
From: <tom...@us...> - 2003-01-16 02:28:41
|
Update of /cvsroot/modelj/modelj In directory sc8-pr-cvs1:/tmp/cvs-serv18798 Modified Files: FILES Log Message: Updated to include a more detailed description of the layout directory Index: FILES =================================================================== RCS file: /cvsroot/modelj/modelj/FILES,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** FILES 16 Jan 2003 02:26:13 -0000 1.3 --- FILES 16 Jan 2003 02:28:38 -0000 1.4 *************** *** 1,3 **** ! layout\ - static code files lib\ - libary files used by the code generator src\ - source code to the generator itself --- 1,3 ---- ! layout\ - static code files used to set-up and layout the generated-code directory lib\ - libary files used by the code generator src\ - source code to the generator itself |