New code request installation file list
From PTAGISWiki
These are the details of the New Code Request module as deployed to pitblade for testing.
M 2007-12-02 22:29 PST nagym 1.2 request.jsp ptagis-1.0/web/ptagis/services/newcode == ~dsk2/ptagis-1.0/web/ptagis/services/newcode A 2007-12-02 22:29 PST nagym 1.1 requestDetail.jsp ptagis-1.0/web/ptagis/services/newcode == ~dsk2/ptagis-1.0/web/ptagis/services/newcode A 2007-12-02 22:29 PST nagym 1.1 status.jsp ptagis-1.0/web/ptagis/services/newcode == ~dsk2/ptagis-1.0/web/ptagis/services/newcode A 2007-12-02 22:40 PST nagym 1.1 NewCodeAction.class ptagis-1.0/web/ptagis/WEB-INF/classes/util == ~dsk2/ptagis-1.0/web/ptagis/WEB-INF/classes/util A 2007-12-02 22:40 PST nagym 1.1 NewCodeForm.class ptagis-1.0/web/ptagis/WEB-INF/classes/util == ~dsk2/ptagis-1.0/web/ptagis/WEB-INF/classes/util M 2007-12-02 22:41 PST nagym 1.2 struts-config.xml ptagis-1.0/web/ptagis/WEB-INF == ~dsk2/ptagis-1.0/web/ptagis/WEB-INF M 2007-12-02 22:42 PST nagym 1.6 ptagis.properties ptagis-1.0/web/ptagis/WEB-INF == ~dsk2/ptagis-1.0/web/ptagis/WEB-INF A 2007-12-02 22:32 PST nagym 1.1 NewCodeAction.java ptagis-1.0/src/util == ~dsk2/ptagis-1.0/src/util A 2007-12-02 22:32 PST nagym 1.1 NewCodeForm.java ptagis-1.0/src/util == ~dsk2/ptagis-1.0/src/util
Four of the changes are new files. Three of the changes are file modifications. Here are the diffs for the modified files:
Index: request.jsp
===================================================================
RCS file: /dsk2/CVS/ptagis-1.0/web/ptagis/services/newcode/request.jsp,v
retrieving revision 1.1
retrieving revision 1.2
diff -r1.1 -r1.2
20,21d19
< String sSEFRequestUrl= oPTAGISProperties.getProperty("services.newcode.sef.url");
<
31c29
< /// if the code does not exist, it is forwarded to the sitescape form
---
> /// if the code does not exist, the details may be specified in the next page
33,34c31,32
< String sSEFRequestArgs= "/"+sCodeType+"/"+sCodeName;
< String sRedirUrl= sSEFRequestUrl+sSEFRequestArgs;
---
> String sRequestArgs= "?codeType="+sCodeType+"&codeName="+sCodeName;
> String sRedirUrl= "requestDetail.jsp"+sRequestArgs;
62,68c60,66
<
< /// changes the value of the field to upper case
< function changeToUpperCase(oField)
< {
< oField.value= oField.value.toUpperCase();
< return true;
< }
---
>
> /// changes the value of the field to upper case
> function changeToUpperCase(oField)
> {
> oField.value= oField.value.toUpperCase();
> return true;
> }
113c111
< <input type="text" size="25" name="codeName" value="<%=sCodeName%>"
---
> <input type="text" size="25" name="codeName" value="<%=sCodeName%>"
Index: struts-config.xml =================================================================== RCS file: /dsk2/CVS/ptagis-1.0/web/ptagis/WEB-INF/struts-config.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -r1.1 -r1.2 10,11c10,11 < <form-bean name="registerForm" < type="util.TestTagRegisterForm"/> --- > <form-bean name="registerForm" type="util.TestTagRegisterForm"/> > <form-bean name="NewCodeForm" type="util.NewCodeForm"/> 15,19c15,20 < <action path="/services/testtags/register" < type="util.TestTagRegisterAction" < name="registerForm"> < <forward name="display" path="/services/testtags/display.jsp" /> < <forward name="status" path="/services/testtags/status.jsp" /> --- > <action path="/services/testtags/register" type="util.TestTagRegisterAction" name="registerForm"> > <forward name="display" path="/services/testtags/display.jsp" /> > <forward name="status" path="/services/testtags/status.jsp" /> > </action> > <action path="/services/newcode/submit" type="util.NewCodeAction" name="NewCodeForm"> > <forward name="status" path="/services/newcode/status.jsp" /> 24a26 >
Index: ptagis.properties =================================================================== RCS file: /dsk2/CVS/ptagis-1.0/web/ptagis/WEB-INF/ptagis.properties,v retrieving revision 1.5 retrieving revision 1.7 diff -r1.5 -r1.7 36,37c36,37 < services.newcode.sef.url=/forums/ptagis/dispatch.cgi/f.newvalidati/ptagis_newValCodeForm < services.newcode.request.instructions=Please select the code type and specify the name to submit a request for a new validation code. --- > ### Services / New Code request > services.newcode.request.instructions=Step 1 of 2. Please select the code type and specify the name of the proposed validation code. 38a39,42 > services.newcode.requestdetail.instructions=Step 2 of 2. Please specify the additional information and submit the request for a new validation code. > services.newcode.upload.dir=/tmp > services.newcode.mail.to=newcoderequest@psmfc.org > services.newcode.mail.subject=Test tag registration 57a62 >
