[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnue/forms doc/technotes/00003.txt samples/trig...
From: |
Jan Ischebeck |
Subject: |
gnue/forms doc/technotes/00003.txt samples/trig... |
Date: |
Tue, 10 Sep 2002 13:34:47 -0400 |
CVSROOT: /cvsroot/gnue
Module name: gnue
Changes by: Jan Ischebeck <address@hidden> 02/09/10 13:34:46
Modified files:
forms/doc/technotes: 00003.txt
Added files:
forms/samples/trigger: showparameter.gfd
Log message:
add a test form for user parameters and some more explanations
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/forms/samples/trigger/showparameter.gfd?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/forms/doc/technotes/00003.txt.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
Patches:
Index: gnue/forms/doc/technotes/00003.txt
diff -c gnue/forms/doc/technotes/00003.txt:1.1
gnue/forms/doc/technotes/00003.txt:1.2
*** gnue/forms/doc/technotes/00003.txt:1.1 Wed Sep 4 19:29:11 2002
--- gnue/forms/doc/technotes/00003.txt Tue Sep 10 13:34:46 2002
***************
*** 1,6 ****
--- 1,7 ----
Title: Trigger Extension for GFEntry and GFForm
Status: Current
Created: 2002-09-04
+ Revised: 2002-09-10
Introduction
------------
***************
*** 33,39 ****
- setStatusText(tip='') set the text in the status line to: <tip>
Examples
--------
! <to be provided>
--- 34,60 ----
- setStatusText(tip='') set the text in the status line to: <tip>
+ - getParameter(name) get the user parameter <name>. If
+ parameter <name> is not specified then
+ return its default value.
+ Remark: Parameters can be set on the
command
+ line, just by appending. i.e.
+ "gnue-forms test.gfd
myparam=myvalue"
+ or by adding a <cparam> tag to
the
+ gnue forms definition file.
+
+
Examples
--------
! 1. read the user parameter "exchangerate" and multiply it with the value in
! the entry named "dollar" and store it in the entry named "euro", both in
! the block named "exchange".
!
! exchange.euro=getParameter("exchangerate")*exchange.dollar
!
!
!
!
!
!
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- gnue/forms doc/technotes/00003.txt samples/trig...,
Jan Ischebeck <=