-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Matthias,

> try this:
> #foreach ($x in $model.taggedValues)
>    $x.tag     $x.value
> #end
> 
> If it does not work, consult velocity.log and get back to the list.

I have tried that, but there was no output. In the log i found no error
within the lines (8 - 13) i used the code above:

- --- snip ---
Tue Jun 24 10:11:21 CEST 2003  [debug] AvalonLogSystem initialized using
logfile F:\Develop\jBVS\src\build\velocity.log
Tue Jun 24 10:11:21 CEST 2003   [info] Jakarta Velocity v1.2
Tue Jun 24 10:11:21 CEST 2003   [info] RuntimeInstance initializing.
Tue Jun 24 10:11:21 CEST 2003   [info] Default Properties File:
org\apache\velocity\runtime\defaults\velocity.properties
Tue Jun 24 10:11:21 CEST 2003   [info] Resource manager initializing.
Tue Jun 24 10:11:21 CEST 2003   [info] Resource Loader Instantiated:
org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
Tue Jun 24 10:11:21 CEST 2003   [info] ClasspathResourceLoader : initialization
starting.
Tue Jun 24 10:11:21 CEST 2003   [info] ClasspathResourceLoader : initialization
complete.
Tue Jun 24 10:11:21 CEST 2003   [info] Resource Loader Instantiated:
org.apache.velocity.runtime.resource.loader.FileResourceLoader
Tue Jun 24 10:11:21 CEST 2003   [info] FileResourceLoader : initialization
starting.
Tue Jun 24 10:11:21 CEST 2003   [info] FileResourceLoader : adding path '.'
Tue Jun 24 10:11:21 CEST 2003   [info] FileResourceLoader : initialization
complete.
Tue Jun 24 10:11:21 CEST 2003   [info] Loaded Pluggable Directive:
org.apache.velocity.runtime.directive.Literal
Tue Jun 24 10:11:21 CEST 2003   [info] Loaded Pluggable Directive:
org.apache.velocity.runtime.directive.Macro
Tue Jun 24 10:11:21 CEST 2003   [info] Loaded Pluggable Directive:
org.apache.velocity.runtime.directive.Parse
Tue Jun 24 10:11:21 CEST 2003   [info] Loaded Pluggable Directive:
org.apache.velocity.runtime.directive.Include
Tue Jun 24 10:11:21 CEST 2003   [info] Loaded Pluggable Directive:
org.apache.velocity.runtime.directive.Foreach
Tue Jun 24 10:11:22 CEST 2003   [info] Created: 20 parsers.
Tue Jun 24 10:11:22 CEST 2003   [info] Velocimacro : initialization starting.
Tue Jun 24 10:11:22 CEST 2003   [info] Velocimacro : adding VMs from VM library
template : VM_global_library.vm
Tue Jun 24 10:11:22 CEST 2003  [error] ResourceManager : unable to find
resource 'VM_global_library.vm' in any resource loader.
Tue Jun 24 10:11:22 CEST 2003   [info] Velocimacro : error using  VM library
template VM_global_library.vm :
org.apache.velocity.exception.ResourceNotFoundException: Unable to find
resource 'VM_global_library.vm'
Tue Jun 24 10:11:22 CEST 2003   [info] Velocimacro :  VM library template macro
registration complete.
Tue Jun 24 10:11:22 CEST 2003   [info] Velocimacro : allowInline = true : VMs
can be defined inline in templates
Tue Jun 24 10:11:22 CEST 2003   [info] Velocimacro : allowInlineToOverride =
false : VMs defined inline may NOT replace previous VM definitions
Tue Jun 24 10:11:22 CEST 2003   [info] Velocimacro : allowInlineLocal = true :
VMs defined inline will be local to their defining template only.
Tue Jun 24 10:11:22 CEST 2003   [info] Velocimacro : messages on  : VM system
will output logging messages
Tue Jun 24 10:11:22 CEST 2003   [info] Velocimacro : autoload off  : VM system
will not automatically reload global library macros
Tue Jun 24 10:11:22 CEST 2003   [info] Velocimacro : initialization complete.
Tue Jun 24 10:11:22 CEST 2003   [info] Velocity successfully started.
Tue Jun 24 10:11:48 CEST 2003   [info] Velocimacro : added new VM :
#generateDocumentation( item indent ) : source = templates/EntityBean.vsl
Tue Jun 24 10:11:49 CEST 2003   [info] ResourceManager : found
templates/EntityBean.vsl with loader
org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
Tue Jun 24 10:11:49 CEST 2003   [info] ResourceManager : found
templates/EntityBeanCMP.vsl with loader
org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
Tue Jun 24 10:11:50 CEST 2003   [info] Velocimacro : added new VM :
#generateDocumentation( item indent ) : source = templates/EntityBean.vsl
Tue Jun 24 10:11:50 CEST 2003   [info] ResourceManager : found
templates/EntityBean.vsl with loader
org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
Tue Jun 24 10:11:50 CEST 2003   [info] ResourceManager : found
templates/EntityBeanCMP.vsl with loader
org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
Tue Jun 24 10:11:50 CEST 2003   [info] Velocimacro : added new VM :
#generateDocumentation( item indent ) : source = templates/SessionBean.vsl
Tue Jun 24 10:11:50 CEST 2003   [info] ResourceManager : found
templates/SessionBean.vsl with loader
org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
Tue Jun 24 10:11:50 CEST 2003   [info] Velocimacro : added new VM :
#generateDocumentation( item indent ) : source = templates/EntityBean.vsl
Tue Jun 24 10:11:50 CEST 2003   [info] ResourceManager : found
templates/EntityBean.vsl with loader
org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
Tue Jun 24 10:11:50 CEST 2003  [error] RHS of #set statement is null. Context
will not be modified. templates/EntityBean.vsl [line 293, column 1]
Tue Jun 24 10:11:50 CEST 2003   [info] ResourceManager : found
templates/EntityBeanCMP.vsl with loader
org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
Tue Jun 24 10:11:50 CEST 2003   [info] Velocimacro : added new VM :
#generateDocumentation( item indent ) : source = templates/EntityBean.vsl
Tue Jun 24 10:11:50 CEST 2003   [info] ResourceManager : found
templates/EntityBean.vsl with loader
org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
Tue Jun 24 10:11:50 CEST 2003   [info] ResourceManager : found
templates/EntityBeanCMP.vsl with loader
org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
Tue Jun 24 10:11:50 CEST 2003   [info] Velocimacro : added new VM :
#generateDocumentation( item indent ) : source = templates/EntityBean.vsl
Tue Jun 24 10:11:50 CEST 2003   [info] ResourceManager : found
templates/EntityBean.vsl with loader
org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
Tue Jun 24 10:11:50 CEST 2003   [info] ResourceManager : found
templates/EntityBeanCMP.vsl with loader
org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
Tue Jun 24 10:11:50 CEST 2003   [info] Velocimacro : added new VM :
#generateDocumentation( item indent ) : source = templates/EntityBean.vsl
Tue Jun 24 10:11:50 CEST 2003   [info] ResourceManager : found
templates/EntityBean.vsl with loader
org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
Tue Jun 24 10:11:50 CEST 2003  [error] RHS of #set statement is null. Context
will not be modified. templates/EntityBean.vsl [line 293, column 1]
Tue Jun 24 10:11:50 CEST 2003  [error] Left side ($tagvalue) of '!=' operation
has null value. Operation not possible. templates/EntityBean.vsl [line 294,
column 18]
Tue Jun 24 10:11:50 CEST 2003  [error] RHS of #set statement is null. Context
will not be modified. templates/EntityBean.vsl [line 293, column 1]
Tue Jun 24 10:11:50 CEST 2003  [error] Left side ($tagvalue) of '!=' operation
has null value. Operation not possible. templates/EntityBean.vsl [line 294,
column 18]
Tue Jun 24 10:11:50 CEST 2003   [info] ResourceManager : found
templates/EntityBeanCMP.vsl with loader
org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
Tue Jun 24 10:11:50 CEST 2003   [info] Velocimacro : added new VM :
#generateDocumentation( item indent ) : source = templates/SessionBean.vsl
Tue Jun 24 10:11:50 CEST 2003   [info] ResourceManager : found
templates/SessionBean.vsl with loader
org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
- --- snip ---

I also tried with no success : 

#foreach ($x in $model.core.taggedValues)
   $x.tag       $x.value
#end
 
best regards

Ingo Bruell

- - ---
<[EMAIL PROTECTED]>
<ICQ# 40377720>
Oldenburg  PGP-Fingerprint: CB01 AE12 B359 87C4 BF1C  953C 8FE7 C648 169E E5FC
Germany    PGP-Public-Key available at pgpkeys.mit.edu

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.8 for non-commercial use <http://www.pgp.com>

iQA/AwUBPvgJNI/nxkgWnuX8EQIiVgCglV9lzamBa8zfvkKb2fmMkiFOtgcAn14F
CYt5EhgFcBWLJ3ZxvOQKivUZ
=TvCh
-----END PGP SIGNATURE-----




-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to