|
From: <bri...@us...> - 2008-12-08 12:19:14
|
Revision: 906
http://equanda.svn.sourceforge.net/equanda/?rev=906&view=rev
Author: brian_reynolds
Date: 2008-12-08 12:19:05 +0000 (Mon, 08 Dec 2008)
Log Message:
-----------
Allow configure when table is visible/readable
Enable page level write boxes.
Modified Paths:
--------------
trunk/equanda-generate/src/main/velocity/t5gui/pages/AuthAndConfigField.tml.vm
trunk/equanda-generate/src/main/velocity/t5gui/pages/AuthAndConfigGroup.tml.vm
trunk/equanda-generate/src/main/velocity/t5gui/pages/GlobalAuthConfig.tml.vm
Modified: trunk/equanda-generate/src/main/velocity/t5gui/pages/AuthAndConfigField.tml.vm
===================================================================
--- trunk/equanda-generate/src/main/velocity/t5gui/pages/AuthAndConfigField.tml.vm 2008-12-05 18:49:40 UTC (rev 905)
+++ trunk/equanda-generate/src/main/velocity/t5gui/pages/AuthAndConfigField.tml.vm 2008-12-08 12:19:05 UTC (rev 906)
@@ -21,12 +21,12 @@
</t:parameter>
</t:if>
- <!--
<t:if test="writeAllowed">
- <input t:id="${writeBox}" name="${writeBox}" value="${writeBox}" onclick="eqEnableBoxes( ${readBox}, ${writeBox}, false)" t:type="CheckBox"/>
- <t:label for="${writeBox}"> ${dollar}{equanda-message:authAndConfig.label.Write} </t:label>
+ <input t:id="${writeBox}" name="${writeBox}" value="${writeBox}"
+ onclick="eqHandlePageBox( this, '$!{page.Name}', '_writeCheck')"
+ t:type="CheckBox"/>
+ <t:label for="${writeBox}"> ${dollar}{equanda-message:authAndConfig.label.Write} | </t:label>
</t:if>
- -->
<input t:id="${listBox}" name="${listBox}" value="${listBox}"
onclick="eqHandlePageBox( this, '$!{page.Name}', '_listCheck')" t:type="CheckBox"/>
@@ -80,10 +80,11 @@
</div>
<t:if test="writeAllowed">
- <div class="writeCol">
- <input t:id="${writeBox}" name="${writeBox}" value="${writeBox}"
- onclick="eqEnableBoxes( ${readBox}, ${writeBox}, false)" t:type="CheckBox"/>
- </div>
+ <div class="writeCol">
+ <input t:id="${writeBox}" name="${writeBox}" value="${writeBox}"
+ onclick="eqHandleFieldBox( ${page.Name}_pageWriteCheck, ${readBox}, this, '$!{page.Name}', '_writeCheck' )"
+ t:type="CheckBox"/>
+ </div>
</t:if>
<div class="listCol">
Modified: trunk/equanda-generate/src/main/velocity/t5gui/pages/AuthAndConfigGroup.tml.vm
===================================================================
--- trunk/equanda-generate/src/main/velocity/t5gui/pages/AuthAndConfigGroup.tml.vm 2008-12-05 18:49:40 UTC (rev 905)
+++ trunk/equanda-generate/src/main/velocity/t5gui/pages/AuthAndConfigGroup.tml.vm 2008-12-08 12:19:05 UTC (rev 906)
@@ -27,12 +27,11 @@
</t:parameter>
</t:if>
- <!--
<t:if test="writeAllowed">
- <input t:id="${writeBox}" name="${writeBox}" value="${writeBox}" onclick="eqEnableBoxes( ${readBox}, ${writeBox},false)" t:type="CheckBox"/>
- <t:label for="${writeBox}"> ${dollar}{equanda-message:authAndConfig.label.Write} </t:label>
+ <input t:id="${writeBox}" name="${writeBox}" value="${writeBox}"
+ onclick="eqHandlePageBox( this, '$!{group.Name}', '_writeCheck')" t:type="CheckBox"/>
+ <t:label for="${writeBox}"> ${dollar}{equanda-message:authAndConfig.label.Write} | </t:label>
</t:if>
- -->
<input t:id="${listBox}" name="${listBox}" value="${listBox}"
onclick="eqHandlePageBox( this, '$!{group.Name}', '_listCheck')" t:type="CheckBox"/>
@@ -86,10 +85,11 @@
</div>
<t:if test="writeAllowed">
- <div class="writeCol">
- <input t:id="${writeBox}" name="${writeBox}" value="${writeBox}"
- onclick="eqEnableBoxes( ${readBox}, ${writeBox}, false)" t:type="CheckBox"/>
- </div>
+ <div class="writeCol">
+ <input t:id="${writeBox}" name="${writeBox}" value="${writeBox}"
+ onclick="eqHandleFieldBox( ${page.Name}_groupWriteCheck, ${readBox}, this, '$!{group.Name}', '_writeCheck' )"
+ t:type="CheckBox"/>
+ </div>
</t:if>
<div class="listCol">
Modified: trunk/equanda-generate/src/main/velocity/t5gui/pages/GlobalAuthConfig.tml.vm
===================================================================
--- trunk/equanda-generate/src/main/velocity/t5gui/pages/GlobalAuthConfig.tml.vm 2008-12-05 18:49:40 UTC (rev 905)
+++ trunk/equanda-generate/src/main/velocity/t5gui/pages/GlobalAuthConfig.tml.vm 2008-12-08 12:19:05 UTC (rev 906)
@@ -84,7 +84,7 @@
</t:if>
<td style="align: center;">
- <t:if test="equanda-writable:table.${table.Name}">
+ <t:if test="equanda-readable:table.${table.Name}">
<t:equanda.formactionlink context="context_${table.Name}">Configure</t:equanda.formactionlink>
</t:if>
</td>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|