portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Orciuch" <mark_orci...@ngsltd.com>
Subject cvs commit: jakarta-jetspeed/build build.xml
Date Wed, 16 Apr 2003 02:18:54 GMT
morciuch    2003/04/15 13:43:02

  Modified:    docs/site changes.html
               src/java/org/apache/jetspeed/services/registry
                        CastorRegistryService.java
               webapp/WEB-INF/conf admin.xreg
               webapp/WEB-INF/db jetspeed.properties jetspeed.script
               webapp/WEB-INF/psml/user/admin/html default.psml
               webapp/WEB-INF/templates/vm/portlets/html browser-client.vm
               xdocs    changes.xml
  Added:       webapp/WEB-INF/templates/vm/include capability.vm mimes.vm
               webapp/WEB-INF/templates/vm/portlets/html client-form.vm
  Log:
  Bug # 18737 - Added client registry editor, contributed by Jeremy Ford.
Also, updated the admin profile in the sample database.

  Revision  Changes    Path
  1.129     +7 -3      jakarta-jetspeed/docs/site/changes.html

  Index: changes.html
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/docs/site/changes.html,v
  retrieving revision 1.128
  retrieving revision 1.129
  diff -u -r1.128 -r1.129
  --- changes.html	14 Apr 2003 19:08:03 -0000	1.128
  +++ changes.html	15 Apr 2003 20:43:01 -0000	1.129
  @@ -5,7 +5,6 @@

   <!-- start the processing -->
       <!--
====================================================================== -->
  -    <!-- GENERATED FILE, DO NOT EDIT, EDIT THE XML FILE IN xdocs
INSTEAD! -->
       <!-- Main Page Section -->
       <!--
====================================================================== -->
       <html>
  @@ -15,7 +14,6 @@



  -
               <title>Jetspeed - Jetspeed Changes Log</title>
           </head>

  @@ -135,7 +133,13 @@
   </li>
   -->
   <li>
  -  Add -               - 2003/04/14 - Forward Service and Tool feature
added. Abstracts forwarding to portal resources (DST)
  +  Add -   Bug # 18737 - 2003/04/15 - Added client registry editor,
contributed by Jeremy Ford (MO)
  +</li>
  +<li>
  +  Add -   Bug # 18686 - 2003/04/15 - Applied enhancement for Security
Browser, by Jeremy Ford (STW)
  +</li>
  +<li>
  +  Add -   Bug # 18915 - 2003/04/14 - Forward Service and Tool feature
added. Abstracts forwarding to portal resources (DST)
   </li>
   <li>
     Add -   Bug # 18510 - 2003/04/10 - Applied patch for localized key
string from JetspeedL10NTag class, by Fabio Latrofa (MO)



  1.30      +2 -2
jakarta-jetspeed/src/java/org/apache/jetspeed/services/registry/CastorRegist
ryService.java

  Index: CastorRegistryService.java
  ===================================================================
  RCS file:
/home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/services/registry/Ca
storRegistryService.java,v
  retrieving revision 1.29
  retrieving revision 1.30
  diff -u -r1.29 -r1.30
  --- CastorRegistryService.java	11 Dec 2002 17:23:51 -0000	1.29
  +++ CastorRegistryService.java	15 Apr 2003 20:43:01 -0000	1.30
  @@ -255,7 +255,7 @@
               return;
           }

  -        BaseRegistry registry = (BaseRegistry) registries.get(regName);
  +		LocalRegistry registry = (LocalRegistry) registries.get(regName);

           if (registry != null)
           {



  1.35      +16 -0     jakarta-jetspeed/webapp/WEB-INF/conf/admin.xreg

  Index: admin.xreg
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/webapp/WEB-INF/conf/admin.xreg,v
  retrieving revision 1.34
  retrieving revision 1.35
  diff -u -r1.34 -r1.35
  --- admin.xreg	15 Apr 2003 19:58:49 -0000	1.34
  +++ admin.xreg	15 Apr 2003 20:43:01 -0000	1.35
  @@ -505,5 +505,21 @@
   		<url cachedOnURL="true"/>
   		<category group="Jetspeed">admin</category>
   	</portlet-entry>
  +    <portlet-entry name="ClientForm" hidden="true" type="ref"
  +        parent="CustomizerVelocity" application="false">
  +        <security role="admin"/>
  +        <security-ref parent="admin-only"/>
  +        <meta-info>
  +            <title>Client</title>
  +            <description>Security Client Maintenance for
Jetspeed</description>
  +        </meta-info>
  +        <parameter name="template" value="client-form" hidden="true"
  +            cachedOnName="true" cachedOnValue="true"/>
  +        <parameter name="action" value="portlets.ClientUpdateAction"
  +            hidden="true" cachedOnName="true" cachedOnValue="true"/>
  +        <media-type ref="html"/>
  +        <url cachedOnURL="true"/>
  +        <category group="Jetspeed">admin</category>
  +    </portlet-entry>
   </registry>




  1.26      +1 -1
jakarta-jetspeed/webapp/WEB-INF/db/jetspeed.properties

  Index: jetspeed.properties
  ===================================================================
  RCS file:
/home/cvs/jakarta-jetspeed/webapp/WEB-INF/db/jetspeed.properties,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- jetspeed.properties	2 Apr 2003 17:08:46 -0000	1.25
  +++ jetspeed.properties	15 Apr 2003 20:43:01 -0000	1.26
  @@ -1,5 +1,5 @@
   #HSQL database
  -#Wed Apr 02 10:56:38 CST 2003
  +#Tue Apr 15 15:37:35 CDT 2003
   sql.strict_fk=false
   readonly=false
   sql.strong_fk=true



  1.29      +17 -16    jakarta-jetspeed/webapp/WEB-INF/db/jetspeed.script

  Index: jetspeed.script
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/webapp/WEB-INF/db/jetspeed.script,v
  retrieving revision 1.28
  retrieving revision 1.29
<REMOVED DIFF TO GET IT TO POST>
  1.22      +3 -0
jakarta-jetspeed/webapp/WEB-INF/psml/user/admin/html/default.psml

  Index: default.psml
  ===================================================================
  RCS file:
/home/cvs/jakarta-jetspeed/webapp/WEB-INF/psml/user/admin/html/default.psml,
v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- default.psml	15 Apr 2003 19:58:49 -0000	1.21
  +++ default.psml	15 Apr 2003 20:43:02 -0000	1.22
  @@ -86,5 +86,8 @@
           <entry id='349' parent="PortletForm">
               <parameter name="_menustate" value="closed"/>
           </entry>
  +        <entry id='351' parent="ClientForm">
  +            <parameter name="_menustate" value="closed"/>
  +        </entry>
       </portlets>
   </portlets>



  1.1
jakarta-jetspeed/webapp/WEB-INF/templates/vm/include/capability.vm

  Index: capability.vm
  ===================================================================
  #set($capabilities =
["HTML_3_2","HTML_4_0","HTML_TABLE","HTML_NESTED_TABLE","HTML_FORM","HTML_FR
AME","HTML_IMAGE","HTML_JAVA","HTML_JAVA_1_0","HTML_JAVA_1_1","HTML_JAVA_JRE
","HTML_JAVASCRIPT","HTML_JAVASCRIPT_1_0","HTML_JAVASCRIPT_1_1","HTML_JAVASC
RIPT_1_2","HTML_ACTIVE_X","HTML_PLUGIN","HTML_CSS1","HTML_CSS2","HTML_CSSP",
"HTML_IFRAME","HTML_LAYER","","HTML_DOM_IE","HTML_DOM_NS4","HTML_DOM_1","HTM
L_DOM_2","","WML_1_0","WML_1_1","WML_TABLE","","XML_XSLT","XML_XPATH","XML_X
INCLUDE","","HTTP_1_1","HTTP_COOKIE"])



  1.1
jakarta-jetspeed/webapp/WEB-INF/templates/vm/include/mimes.vm

  Index: mimes.vm
  ===================================================================
  #set($textSubTypes =
["plain","richtext","enriched","tab-separated-values","html","sgml","vnd.lat
ex-z","vnd.fmi.flexstor","uri-list","vnd.abc","rfc822-headers","vnd.in3d.3dm
l","prs.lines.tag","vnd.in3d.spot","css","xml","xml-external-parsed-entity",
"rtf","directory","calendar","vnd.wap.wml","vnd.wap.wmlscript","vnd.motorola
.reflex","vnd.fly","vnd.wap.sl","vnd.wap.si","t140","vnd.ms-mediapackage","v
nd.IPTC.NewsML","vnd.IPTC.NITF","vnd.curl","vnd.DMClientScript","parityfec"]
)
  #set($multipartSubTypes =
["mixed","alternative","digest","parallel","appledouble","header-set","form-
data","related","report","voice-message","signed","encrypted","byteranges"])
  #set($messageSubTypes =
["rfc822","partial","external-body","news","http","delivery-status","disposi
tion-notification","s-http"])
  #set($applicationSubTypes =
["octet-stream","postscript","oda","atomicmail","andrew-inset","slate","wita
","dec-dx","dca-rft","activemessage","rtf","applefile","mac-binhex40","news-
message-id","news-transmission","wordperfect5.1","pdf","zip","macwriteii","m
sword","remote-printing","mathematica","cybercash","commonground","iges","ri
scos","eshop","x400-bp","sgml","cals-1840","pgp-encrypted","pgp-signature","
pgp-keys","vnd.framemaker","vnd.mif","vnd.ms-excel","vnd.ms-powerpoint","vnd
.ms-project","vnd.ms-works","vnd.ms-tnef","vnd.svd","vnd.music-niff","vnd.ms
-artgalry","vnd.truedoc","vnd.koan","vnd.street-stream","vnd.fdf","set-payme
nt-initiation","set-payment","set-registration-initiation","set-registration
","vnd.seemail","vnd.businessobjects","vnd.meridian-slingshot","vnd.xara","s
gml-open-catalog","vnd.rapid","vnd.enliven","vnd.japannet-registration-wakeu
p","vnd.japannet-verification-wakeup","vnd.japannet-payment-wakeup","vnd.jap
annet-directory-service","vnd.intertrust.digibox","vnd.intertrust.nncp","prs
.alvestrand.titrax-sheet","vnd.noblenet-web","vnd.noblenet-sealer","vnd.nobl
enet-directory","prs.nprend","vnd.webturbo","hyperstudio","vnd.shana.informe
d.formtemplate","vnd.shana.informed.formdata","vnd.shana.informed.package","
vnd.shana.informed.interchange","vnd.$commerce_battelle","vnd.osa.netdeploy"
,"vnd.ibm.MiniPay","vnd.japannet-jpnstore-wakeup","vnd.japannet-setstore-wak
eup","vnd.japannet-verification","vnd.japannet-registration","vnd.hp-HPGL","
vnd.hp-PCL","vnd.hp-PCLXL","vnd.musician","vnd.FloGraphIt","vnd.intercon.for
mnet","vemmi","vnd.ms-asf","vnd.ecdis-update","vnd.powerbuilder6","vnd.power
builder6-s","vnd.lotus-wordpro","vnd.lotus-approach","vnd.lotus-1-2-3","vnd.
lotus-organizer","vnd.lotus-screencam","vnd.lotus-freelance","vnd.fujitsu.oa
sys","vnd.fujitsu.oasys2","vnd.swiftview-ics","vnd.dna","prs.cww","vnd.wt.st
f","vnd.dxr","vnd.mitsubishi.misty-guard.trustweb","vnd.ibm.modcap","vnd.acu
cobol","vnd.fujitsu.oasys3","marc","vnd.fujitsu.oasysprs","vnd.fujitsu.oasys
gp","vnd.visio","vnd.netfpx","vnd.audiograph","vnd.epson.salt","vnd.3M.Post-
it-Notes","vnd.novadigm.EDX","vnd.novadigm.EXT","vnd.novadigm.EDM","vnd.clay
more","vnd.comsocaller","pkcs7-mime","pkcs7-signature","pkcs10","vnd.yellowr
iver-custom-menu","vnd.ecowin.chart","vnd.ecowin.series","vnd.ecowin.filereq
uest","vnd.ecowin.fileupdate","vnd.ecowin.seriesrequest","vnd.ecowin.seriesu
pdate","EDIFACT","EDI-X12","EDI-Consent","vnd.wrq-hp3000-labelled","vnd.mini
soft-hp3000-save","vnd.ffsns","vnd.hp-hps","vnd.fujixerox.docuworks","xml","
xml-external-parsed-entity","xml-dtd","vnd.anser-web-funds-transfer-initiati
on","vnd.anser-web-certificate-issue-initiation","vnd.is-xpr","vnd.intu.qbo"
,"vnd.publishare-delta-tree","vnd.cybank","batch-SMTP","vnd.uplanet.alert","
vnd.uplanet.cacheop","vnd.uplanet.list","vnd.uplanet.listcmd","vnd.uplanet.c
hannel","vnd.uplanet.bearer-choice","vnd.uplanet.signal","vnd.uplanet.alert-
wbxml","vnd.uplanet.cacheop-wbxml","vnd.uplanet.list-wbxml","vnd.uplanet.lis
tcmd-wbxml","vnd.uplanet.channel-wbxml","vnd.uplanet.bearer-choice-wbxml","v
nd.epson.quickanime","vnd.commonspace","vnd.fut-misnet","vnd.xfdl","vnd.intu
.qfx","vnd.epson.ssf","vnd.epson.msf","vnd.powerbuilder7","vnd.powerbuilder7
-s","vnd.lotus-notes","pkixcmp","vnd.wap.wmlc","vnd.wap.wmlscriptc","vnd.mot
orola.flexsuite","vnd.wap.wbxml","vnd.motorola.flexsuite.wem","vnd.motorola.
flexsuite.kmr","vnd.motorola.flexsuite.adsi","vnd.motorola.flexsuite.fis","v
nd.motorola.flexsuite.gotap","vnd.motorola.flexsuite.ttc","vnd.ufdl","vnd.ac
cpac.simply.imp","vnd.accpac.simply.aso","vnd.vcx","ipp","ocsp-request","ocs
p-response","vnd.previewsystems.box","vnd.mediastation.cdkey","vnd.pg.format
","vnd.pg.osasli","vnd.hp-hpid","pkix-cert","pkix-crl","vnd.Mobius.TXF","vnd
.Mobius.PLC","vnd.Mobius.DIS","vnd.Mobius.DAF","vnd.Mobius.MSL","vnd.cups-ra
ster","vnd.cups-postscript","vnd.cups-raw","index","index.cmd","index.respon
se","index.obj","index.vnd","vnd.triscape.mxs","vnd.powerbuilder75","vnd.pow
erbuilder75-s","vnd.dpgraph","http","sdp","vnd.eudora.data","vnd.fujixerox.d
ocuworks.binder","vnd.vectorworks","vnd.grafeq","vnd.bmi","vnd.ericsson.quic
kcall","vnd.hzn-3d-crossword","vnd.wap.slc","vnd.wap.sic","vnd.groove-inject
or","vnd.fujixerox.ddd","vnd.groove-account","vnd.groove-identity-message","
vnd.groove-tool-message","vnd.groove-tool-template","vnd.groove-vcard","vnd.
ctc-posml","vnd.canon-lips","vnd.canon-cpdl","vnd.trueapp","vnd.s3sms","iotp
","vnd.mcd","vnd.httphone","vnd.informix-visionary","vnd.msign","vnd.ms-lrm"
,"vnd.contact.cmsg","vnd.epson.esf
","whoispp-query","whoispp-response","vnd.mozilla.xul+xml","parityfec","vnd.
palm","vnd.fsc.weblaunch","vnd.tve-trigger","dvcs","sieve","vnd.vividence.sc
riptfile","vnd.hhe.lesson-player","beep+xml","font-tdpfr","vnd.mseq","vnd.ae
ther.imp","vnd.Mobius.MQY","vnd.Mobius.MBK
","vnd.vidsoft.vidconference","vnd.ibm.afplinedata","vnd.irepository.package
+xml","vnd.sss-ntf","vnd.sss-dtf","vnd.sss-cod","vnd.pvi.ptid1","isup","qsig
","timestamp-query","timestamp-reply","vnd.pwg-xhtml-print+xml"])
  #set($imageSubTypes =
["jpeg","gif","ief","g3fax","tiff","cgm","naplps","vnd.dwg","vnd.svf","vnd.d
xf","png","vnd.fpx","vnd.net-fpx","vnd.xiff","prs.btif","vnd.fastbidsheet","
vnd.wap.wbmp","prs.pti","vnd.cns.inf2","vnd.mix","vnd.fujixerox.edmics-rlc",
"vnd.fujixerox.edmics-mmr","vnd.fst"])
  #set($audioSubTypes =
["basic","32kadpcm","vnd.qcelp","vnd.digital-winds","vnd.lucent.voice","vnd.
octel.sbc","vnd.rhetorex.32kadpcm","vnd.vmx.cvsd","vnd.nortel.vbk","vnd.cns.
anp1","vnd.cns.inf1","L16","vnd.everad.plj","telephone-event","tone","prs.si
d","vnd.nuera.ecelp4800","vnd.nuera.ecelp7470","mpeg","parityfec","MP4A-LATM
","vnd.nuera.ecelp9600","G.722.1","mpa-robust","vnd.cisco.nse","DAT12","L20"
,"L24"])
  #set($videoSubTypes =
["mpeg","quicktime","vnd.vivo","vnd.motorola.video","vnd.motorola.videop","v
nd.fvt","pointer","parityfec","vnd.mpegurl","MP4V-ES","vnd.nokia.interleaved
-multimedia"])
  #set($modelSubTypes =
["iges","vrml","mesh","vnd.dwf","vnd.gtw","vnd.flatland.3dml","vnd.vtu","vnd
.mts","vnd.gdl","vnd.gs-gdl","vnd.parasolid.transmit.text","vnd.parasolid.tr
ansmit.binary"])

  ##set($types = ["text", "multipart", "message", "application", "image",
"audio", "video", "model"])
  #set($types = [["text", $textSubTypes], ["multipart", $multipartSubTypes],
["message", $messageSubTypes], ["application", $applicationSubTypes],
["image", $imageSubTypes], ["audio", $audioSubTypes], ["video",
$videoSubTypes], ["model", $modelSubTypes]])





  1.2       +13 -1
jakarta-jetspeed/webapp/WEB-INF/templates/vm/portlets/html/browser-client.vm

  Index: browser-client.vm
  ===================================================================
  RCS file:
/home/cvs/jakarta-jetspeed/webapp/WEB-INF/templates/vm/portlets/html/browser
-client.vm,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- browser-client.vm	30 Oct 2002 15:55:51 -0000	1.1
  +++ browser-client.vm	15 Apr 2003 20:43:02 -0000	1.2
  @@ -5,6 +5,7 @@
       <th>Pattern</th>
       <th>Mime Types</th>
       <th>Capabilities</th>
  +    <th colspan="2">Actions</th>
     </tr>
   #foreach ( $entry in $registry )
     <tr>
  @@ -25,7 +26,12 @@
   	$capability<br />
   #end
       </td>
  +    <td align="center"><a style="font-size:10"
href="$jslink.setPaneByName("ClientForm").addQueryData("mode","update").addQ
ueryData("client_name", $!entry.Name)">Edit</a>&nbsp;</td>
  +    <td align="center"><a style="font-size:10"
href="$jslink.setPaneByName("ClientForm").addQueryData("mode","delete").addQ
ueryData("client_name", $!entry.Name)">Delete</a>&nbsp;</td>
     </tr>
  +  <TR>
  +    <TD COLSPAN=6><HR></TD>
  +  </TR>
   #end
   </table>
   <table width="100%" cellpadding="0" cellspacing="0">
  @@ -36,9 +42,15 @@
   #end
       </td>
       <td align="left" width="50%">
  -#if ($prev)
  +#if ($next)
         <input type="submit" value="Next &gt; &gt;">
  +      <input type="hidden" name="start" value="$next">
   #end
  +    </td>
  +  </tr>
  +  <tr>
  +    <td colspan=6 align="left">
  +    	<a style="font-size:10"
href="$jslink.setPaneByName("ClientForm").addQueryData("mode","insert")">Add
Client</a>&nbsp;
       </td>
     </tr>
   </table>



  1.1
jakarta-jetspeed/webapp/WEB-INF/templates/vm/portlets/html/client-form.vm

  Index: client-form.vm
  ===================================================================
  <table bgcolor="#ffffff" cellpadding="5">
        #if ($msg)
        <tr>
          <td colspan="2">
            <table bgcolor="#ffffff">
              <tr>
                <td>
                  $msg
                </td>
              </tr>
            </table>
          </td>
        </tr>
        #end
  </table>

        #if (($mode == "delete"))
        	<form name="ClientForm" method="post"
action="$jslink.getPaneByName("ClientBrowser").setAction("portlets.ClientUpd
ateAction")">
        <table>
            <tr>
                <td colspan="2">Are you sure you want do delete this
client?</td>
            </tr>
          <tr>
              #formReadOnlyCell ("Name" "client_name" $!entry.Name)
          </tr>
        </table>
        <table border="0"  cellspacing="0" cellpadding="5" width="30%">
        <tr>
          <td>
            <input type="submit" name="eventSubmit_doDelete" value="Delete
Client"/>
          </td>
          ##<td>
          ##  <input type="submit" name="eventSubmit_doCancel"
value="Cancel"/>
          ##</td>
        </tr>
        </table>
        </form>
        #elseif ($mode == "insert")
        <form name="ClientForm method="post"
action="$jslink.getPaneByName("ClientForm").setAction("portlets.ClientUpdate
Action")">
  	<table>
  		<input type="hidden" name="mode" value="update"/>
  		<tr>
  		  <td bgcolor="$!{skin.TitleBackgroundColor}">
  		    <b><font face="$ui.sansSerifFonts">Name</font></b>
  		  </td>
  		  <td bgcolor="$!{skin.TitleBackgroundColor}">
  		    <font face="$ui.sansSerifFonts">
  		      <input type="text" size="30" name="client_name"
value="$!data.user.getTemp("client_name")"/>
  		    </font>
  		  </td>
  		</tr>
  		<tr>
  		  <td bgcolor="$!{skin.TitleBackgroundColor}">
  		    <b><font face="$ui.sansSerifFonts">User Agent Pattern</font></b>
  		  </td>
  		  <td bgcolor="$!{skin.TitleBackgroundColor}">
  		    <font face="$ui.sansSerifFonts">
  		      <input type="text" size="30" name="user_agent_pattern"
value="$!data.user.getTemp("user_agent_pattern")"/>
  		    </font>
  		  </td>
  		</tr>
  		<tr>
  		  <td bgcolor="$!{skin.TitleBackgroundColor}">
  		    <b><font face="$ui.sansSerifFonts">Manufacturer</font></b>
  		  </td>
  		  <td bgcolor="$!{skin.TitleBackgroundColor}">
  		    <font face="$ui.sansSerifFonts">
  		      <input type="text" size="30" name="manufacturer"
value="$!data.user.getTemp("manufacturer")"/>
  		    </font>
  		  </td>
  		</tr>
  		<tr>
  		  <td bgcolor="$!{skin.TitleBackgroundColor}">
  		    <b><font face="$ui.sansSerifFonts">Model</font></b>
  		  </td>
  		  <td bgcolor="$!{skin.TitleBackgroundColor}">
  		    <font face="$ui.sansSerifFonts">
  		      <input type="text" size="30" name="model"
value="$!data.user.getTemp("model")"/>
  		    </font>
  		  </td>
  		</tr>
  		<tr>
  		  <td bgcolor="$!{skin.TitleBackgroundColor}">
  		    <b><font face="$ui.sansSerifFonts">Version</font></b>
  		  </td>
  		  <td bgcolor="$!{skin.TitleBackgroundColor}">
  		    <font face="$ui.sansSerifFonts">
  		      <input type="text" size="30" name="version"
value="$!data.user.getTemp("version")"/>
  		    </font>
  		  </td>
  		</tr>
  		#*
  		<tr>
  		  <td bgcolor="$!{skin.TitleBackgroundColor}">
  		    <b><font face="$ui.sansSerifFonts">Hidden</font></b>
  		  </td>
  		  <td bgcolor="$!{skin.TitleBackgroundColor}">
  		    <font face="$ui.sansSerifFonts">
  		      <input type="checkbox" size="30" name="hidden"
#if($!data.user.getTemp("hidden") == "on") checked="true"#end"/>
  		    </font>
  		  </td>
  		</tr>
  		*#
  	</table>
  	<table border="0"  cellspacing="0" cellpadding="5" width="30%">
  	  <tr>
  	    <td>
  	      <input type="submit" name="eventSubmit_doInsert" value="Insert
Client"/>
  	    </td>
  	        ##<td>
  	        ##  <input type="submit" name="eventSubmit_doCancel"
value="Cancel"/>
  	        ##</td>
  	  </tr>
  	</table>
        </form>
        #elseif($mode == "update")
        <form name="ClientForm method="post"
action="$jslink.getPaneByName("ClientForm").setAction("portlets.ClientUpdate
Action")">
        	<table>
  		<input type="hidden" name="mode" value="update"/>
  		#formReadOnlyCell("Name" "client_name" $!entry.name)
  		<tr>
  		  <td bgcolor="$!{skin.TitleBackgroundColor}">
  		    <b><font face="$ui.sansSerifFonts">User Agent Pattern</font></b>
  		  </td>
  		  <td bgcolor="$!{skin.TitleBackgroundColor}">
  		    <font face="$ui.sansSerifFonts">
  		      <input type="text" size="30" name="user_agent_pattern"
value="$!entry.useragentpattern"/>
  		    </font>
  		  </td>
  		</tr>
  		<tr>
  		  <td bgcolor="$!{skin.TitleBackgroundColor}">
  		    <b><font face="$ui.sansSerifFonts">Manufacturer</font></b>
  		  </td>
  		  <td bgcolor="$!{skin.TitleBackgroundColor}">
  		    <font face="$ui.sansSerifFonts">
  		      <input type="text" size="30" name="manufacturer"
value="$!entry.manufacturer"/>
  		    </font>
  		  </td>
  		</tr>
  		<tr>
  		  <td bgcolor="$!{skin.TitleBackgroundColor}">
  		    <b><font face="$ui.sansSerifFonts">Model</font></b>
  		  </td>
  		  <td bgcolor="$!{skin.TitleBackgroundColor}">
  		    <font face="$ui.sansSerifFonts">
  		      <input type="text" size="30" name="model" value="$!entry.model"/>
  		    </font>
  		  </td>
  		</tr>
  		<tr>
  		  <td bgcolor="$!{skin.TitleBackgroundColor}">
  		    <b><font face="$ui.sansSerifFonts">Version</font></b>
  		  </td>
  		  <td bgcolor="$!{skin.TitleBackgroundColor}">
  		    <font face="$ui.sansSerifFonts">
  		      <input type="text" size="30" name="version"
value="$!entry.version"/>
  		    </font>
  		  </td>
  		</tr>
  		#*
  		<tr>
  		  <td bgcolor="$!{skin.TitleBackgroundColor}">
  		    <b><font face="$ui.sansSerifFonts">Hidden</font></b>
  		  </td>
  		  <td bgcolor="$!{skin.TitleBackgroundColor}">
  		    <font face="$ui.sansSerifFonts">
  		      <input type="checkbox" size="30" name="hidden" #if($!entry.hidden)
checked="true"#end/>
  		    </font>
  		  </td>
  		</tr>
  		*#
  		<tr>
          	  <td align="center"><input type="submit"
name="eventSubmit_doUpdate" value="Update Client"/></td>
      		</tr>
  	</table>
        </form>
        <hr />
        #if($entry.MimetypeMap.Mimetypes.hasNext())
        <form name="RemoveMimeType method="post"
action="$jslink.getPaneByName("ClientForm").setAction("portlets.ClientUpdate
Action")">
        	<input type="hidden" name="client_name" value="$!entry.name"/>
        	<input type="hidden" name="mode" value="update"/>
        	<table>
        	  #foreach($mimeType in $entry.MimetypeMap.Mimetypes)
        	  	<tr>
        	  		<td><input type="checkbox" name="mimetype"
value="$!mimeType"/></td>
        	  		<td>$mimeType</td>
        	  	</tr>
        	  #end
        	  <tr>
        	  	<td>
        	  		<td colspan="2" align="center"><input type="submit"
name="eventSubmit_doRemovemimetype" value="Remove Mimetypes"/></td>
        	  	</td>
        	  </tr>
        	</table>
        </form>
        #end
        #parse("include/mimes.vm")
        #parse("include/capability.vm")
        <script>
        	var mimeTypes = new Object;
        	var capabilities = new Array;
        	var populated = false;

        	function populate()
        	{
        		#foreach($type in $types)
        			var $type.get(0)Var = new Array;
        			#foreach($subType in $type.get(1))
        				#set($varCount = $velocityCount - 1)
        				var option$varCount = new Option;
        				option${varCount}.value = "$subType";
        				option${varCount}.text = "$subType";
        				$type.get(0)Var[$varCount] = option${varCount};
        			#end
        			mimeTypes["$type.get(0)"] = $type.get(0)Var;
        		#end

        		#set($capCount = 0)

        		#foreach($capability in $capabilities)

        			#if(!$entry.CapabilityMap.contains($capability))
  				var option$capCount = new Option;
  				option${capCount}.text = "$capability";
  				option${capCount}.value = "$capability";
  				capabilities[$capCount] = option$capCount;
  				#set($capCount = $capCount + 1)
        			#end
        		#end

        		populated = true;
        	}

        	function changeMimeList()
        	{
        		if(!populated)
        		{
        			//alert("populating");
        			populate();
        		}

        		var type =
document.AddMimeType.type.options[document.AddMimeType.type.selectedIndex].v
alue;
        		var optionsList = mimeTypes[type];

        		var subTypeElement = document.AddMimeType.subtype;
        		for(var i=0; i<optionsList.length; i++)
        		{
        			subTypeElement.options[i] = optionsList[i];
        		}

        		for(var j=optionsList.length; j<subTypeElement.options.length;
j++)
        		{
        			subTypeElement.options[j] = null;
        		}
        	}

        	function changeCapList()
        	{
        		if(!populated)
        		{
        			//alert("populating");
        			populate();
        		}

        		var capElement = document.AddCapability.capability;
        		for(var i=0; i<capabilities.length; i++)
        		{
        			capElement.options[i] = capabilities[i];
        		}

        		for(var j=capabilities.length; j<capElement.options.length; j++)
        		{
        			capElement.options[j] = null;
        		}
        	}

        	function updateMimeType()
        	{
        		var type =
document.AddMimeType.type.options[document.AddMimeType.type.selectedIndex].v
alue;
        		var subtype =
document.AddMimeType.subtype.options[document.AddMimeType.subtype.selectedIn
dex].value;

        		document.AddMimeType.mimetype.value = type + "/" + subtype;
        	}


        </script>

        <p>Please Note: The first mime type added will be the preferred mime
type</p>
        <form name="AddMimeType" method="post"
action="$jslink.getPaneByName("ClientForm").setAction("portlets.ClientUpdate
Action")">
        	<input type="hidden" name="client_name" value="$!entry.name"/>
        	<input type="hidden" name="mode" value="update"/>
        	<table>
        	  <tr>
        	  	<td colspan="2"><input size="50" type="text" name="mimetype"
value="$!data.user.getTemp("mimetype")"/></td>
        	  </tr>
        	  <tr>
        	  	<td>
        	  	<select name="type" onChange="changeMimeList();
updateMimeType(); return true;">
        	  		<option value="text">text</option>
        	  		<option value="multipart">multipart</option>
        	  		<option value="message">message</option>
        	  		<option value="application">application</option>
        	  		<option value="image">image</option>
        	  		<option value="audio">audio</option>
        	  		<option value="video">video</option>
        	  		<option value="model">model</option>
        	  	</select>
        	  	</td>
        	  	<td>
        	  	<select name="subtype" onChange="updateMimeType(); return
true;"><script>document.AddMimeType.type.selectedIndex=0; changeMimeList();
updateMimeType();</script></select>
        	  	</td>
        	  </tr>
        	  <tr>
        	  	<td colspan="2">
        	  		<input type="submit" name="eventSubmit_doAddmimetype"
value="Add Mimetype"/>
        	  	</td>
        	  </tr>
        	</table>
        </form>
        <hr />
        #if($entry.CapabilityMap.Capabilities.hasNext())
        <form name="RemoveCapability method="post"
action="$jslink.getPaneByName("ClientForm").setAction("portlets.ClientUpdate
Action")">
        	<input type="hidden" name="client_name" value="$!entry.name"/>
        	<input type="hidden" name="mode" value="update"/>
        	<table>
        	  #foreach($capability in $entry.CapabilityMap.Capabilities)
        	  	<tr>
        	  		<td><input type="checkbox" name="capability"
value="$!capability"/></td>
        	  		<td>$!capability</td>
        	  	</tr>
        	  #end
        	  <tr>
        	  	<td>
        	  		<td colspan="2" align="center"><input type="submit"
name="eventSubmit_doRemovecapability" value="Remove Capabilities"/></td>
        	  	</td>
        	  </tr>
        	</table>
        </form>
        #end
        <form name="AddCapability" method="post"
action="$jslink.getPaneByName("ClientForm").setAction("portlets.ClientUpdate
Action")">
        	<input type="hidden" name="client_name" value="$!entry.name"/>
        	<input type="hidden" name="mode" value="update"/>
        	<table>
        	  <tr>
        	  	##<td><input type="text" name="capability"
value="$!data.user.getTemp("capability")"/></td>
        	  	<td>
        	  		<select multiple="true" name="capability">
        	  		<option value=""></option>
        	  		<script>changeCapList(); </script>
        	  		#*
        	  		<option value="HTML_3_2">HTML_3_2</option>
  			<option value="HTML_4_0">HTML_4_0</option>
  			<option value="HTML_TABLE">HTML_TABLE</option>
  			<option value="HTML_NESTED_TABLE">HTML_NESTED_TABLE</option>
  			<option value="HTML_FORM">HTML_FORM</option>
  			<option value="HTML_FRAME">HTML_FRAME</option>
  			<option value="HTML_IMAGE">HTML_IMAGE</option>
  			<option value="HTML_JAVA">HTML_JAVA</option>
  			<option value="HTML_JAVA_1_0">HTML_JAVA_1_0</option>
  			<option value="HTML_JAVA_1_1">HTML_JAVA_1_1</option>
  			<option value="HTML_JAVA_JRE">HTML_JAVA_JRE</option>
  			<option value="HTML_JAVASCRIPT">HTML_JAVASCRIPT</option>
  			<option value="HTML_JAVASCRIPT_1_0">HTML_JAVASCRIPT_1_0</option>
  			<option value="HTML_JAVASCRIPT_1_1">HTML_JAVASCRIPT_1_1</option>
  			<option value="HTML_JAVASCRIPT_1_2">HTML_JAVASCRIPT_1_2</option>
  			<option value="HTML_ACTIVE_X">HTML_ACTIVE_X</option>
  			<option value="HTML_PLUGIN">HTML_PLUGIN</option>
  			<option value="HTML_CSS1">HTML_CSS1</option>
  			<option value="HTML_CSS2">HTML_CSS2</option>
  			<option value="HTML_CSSP">HTML_CSSP</option>
  			<option value="HTML_IFRAME">HTML_IFRAME</option>
  			<option value="HTML_LAYER">HTML_LAYER</option>
  			<option value="">-------------</option>
  			<option value="HTML_DOM_IE">HTML_DOM_IE</option>
  			<option value="HTML_DOM_NS4">HTML_DOM_NS4</option>
  			<option value="HTML_DOM_1">HTML_DOM_1</option>
  			<option value="HTML_DOM_2">HTML_DOM_2</option>
  			<option value="">-------------</option>
  			<option value="WML_1_0">WML_1_0</option>
  			<option value="WML_1_1">WML_1_1</option>
  			<option value="WML_TABLE">WML_TABLE</option>
  			<option value="">-------------</option>
  			<option value="XML_XSLT">XML_XSLT</option>
  			<option value="XML_XPATH">XML_XPATH</option>
  			<option value="XML_XINCLUDE">XML_XINCLUDE</option>
  			<option value="">-------------</option>
  			<option value="HTTP_1_1">HTTP_1_1</option>
  			<option value="HTTP_COOKIE">HTTP_COOKIE</option>
  			*#
        	  		</select>
        	  	</td>
        	  </tr>
        	  <tr>
        	  	<td>
        	  		<input type="submit" name="eventSubmit_doAddcapability"
value="Add Capability"/>
        	  	</td>
        	  </tr>
        	</table>
        </form>
        #end
  <table>
    <tr>
      <td>
        <form name="PortletForm" method="post"
action="$jslink.getPaneByName("ClientBrowser").setAction("portlets.ClientUpd
ateAction")">
          <input type="submit" name="eventSubmit_doCancel" value="Back to
Browser"/>
        </form>
      </td>
    </tr>
  </table>



  1.150     +5 -2      jakarta-jetspeed/xdocs/changes.xml

  Index: changes.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/xdocs/changes.xml,v
  retrieving revision 1.149
  retrieving revision 1.150
  diff -u -r1.149 -r1.150
  --- changes.xml	15 Apr 2003 20:01:32 -0000	1.149
  +++ changes.xml	15 Apr 2003 20:43:02 -0000	1.150
  @@ -23,10 +23,13 @@
   </li>
   -->
   <li>
  +  Add -   Bug # 18737 - 2003/04/15 - Added client registry editor,
contributed by Jeremy Ford (MO)
  +</li>
  +<li>
     Add -   Bug # 18686 - 2003/04/15 - Applied enhancement for Security
Browser, by Jeremy Ford (STW)
   </li>
   <li>
  -  Add -               - 2003/04/14 - Forward Service and Tool feature
added. Abstracts forwarding to portal resources (DST)
  +  Add -   Bug # 18915 - 2003/04/14 - Forward Service and Tool feature
added. Abstracts forwarding to portal resources (DST)
   </li>
   <li>
     Add -   Bug # 18510 - 2003/04/10 - Applied patch for localized key
string from JetspeedL10NTag class, by Fabio Latrofa (MO)







---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message