Re: Nested POJO and resultMap tag

2009-12-09 Thread DavidZaz
opulate both the car > and the wheels at the same time? > > I already tried the following (but the wheel object was not populated): > > > > > > -- View this message in context: http://old.nabble.com/Nested-POJO-and-resultMap-tag-tp26717930p26

Nested POJO and resultMap tag

2009-12-09 Thread DavidZaz
(but the wheel object was not populated): -- View this message in context: http://old.nabble.com/Nested-POJO-and-resultMap-tag-tp26717930p26717930.html Sent from the iBATIS - User - Java mailing list archive at Nabble.com

RE: IsEmpty inside Iterate Tag

2009-07-08 Thread DavidCAIT
t; > > Christian > > -Original Message- > From: DavidCAIT [mailto:dzaze...@cait.org] > Sent: Wednesday, July 08, 2009 3:15 PM > To: user-java@ibatis.apache.org > Subject: IsEmpty inside Iterate Tag > > > Hi, > > I am having trouble determining the

RE: IsEmpty inside Iterate Tag

2009-07-08 Thread Poitras Christian
- From: DavidCAIT [mailto:dzaze...@cait.org] Sent: Wednesday, July 08, 2009 3:15 PM To: user-java@ibatis.apache.org Subject: IsEmpty inside Iterate Tag Hi, I am having trouble determining the correct syntax to use with the isEmpty tag when iterating over a list. My program has a large list of ob

IsEmpty inside Iterate Tag

2009-07-08 Thread DavidCAIT
Hi, I am having trouble determining the correct syntax to use with the isEmpty tag when iterating over a list. My program has a large list of objects with potentially null fields and I need to customize my insert statements based on whether or not a particular object has a certain field set to

Re: KeyProperty attribute in Selectkey Tag

2009-02-13 Thread Ingmar Lötzsch
Well I do have sequences defined for my each table which acts as a primary key for my table now I want to use this generatedkey as a foreign key in another table so now if I use my class attribute to have this sequence id , then how can I get that key in java code , I am assuming I can do in fo

Re: KeyProperty attribute in Selectkey Tag

2009-02-12 Thread Nathan Maves
stion my friend, why would I just keep writing mails. -Original Message- From: Jeff Butler [mailto:jeffgbut...@gmail.com] Sent: Thursday, February 12, 2009 11:43 PM To: user-java@ibatis.apache.org Subject: Re: KeyProperty attribute in Selectkey Tag Dude...seriously...*try it*. The i

Re: KeyProperty attribute in Selectkey Tag

2009-02-12 Thread j-lists
ying) it that's why I am asking question my friend, why > would I just keep writing mails. > > -Original Message- > From: Jeff Butler [mailto:jeffgbut...@gmail.com] > Sent: Thursday, February 12, 2009 11:43 PM > To: user-java@ibatis.apache.org > Subject: Re: KeyProper

RE: KeyProperty attribute in Selectkey Tag

2009-02-12 Thread Rahul Saluja
ibute in Selectkey Tag Dude...seriously...*try it*. The insert statement always returns the value of the select key, or null if there is no select key. In the example above, the return value is Integer. The keyProperty attribute is there for just this instance - where you get the new key f

Re: KeyProperty attribute in Selectkey Tag

2009-02-12 Thread Jeff Butler
but an object of what type??. > > > > Looking forward to your response. > > > > Regards > > Rahul Saluja > > > > From: Burke.Kevin [mailto:kevin.bu...@cic.gc.ca] > Sent: Thursday, February 12, 2009 11:17 PM > To: user-ja

RE: KeyProperty attribute in Selectkey Tag

2009-02-12 Thread Rahul Saluja
ache.org Subject: RE: KeyProperty attribute in Selectkey Tag Rahul, My experience with this tag is you use it to define a query to determine your primary key, in the absence of, say an IDENTITY column. You need to specify the keyProperty attribute if you want the following SQL to be able to utili

RE: KeyProperty attribute in Selectkey Tag

2009-02-12 Thread Burke.Kevin
Rahul, My experience with this tag is you use it to define a query to determine your primary key, in the absence of, say an IDENTITY column. You need to specify the keyProperty attribute if you want the following SQL to be able to utilize the result of the query. In the following example, I

Re: KeyProperty attribute in Selectkey Tag

2009-02-12 Thread Larry Meadors
Or...you know, maybe *try it* while you wait. :-) Larry On Thu, Feb 12, 2009 at 10:08 AM, Sundar Sankar wrote: > PPL are volunteering to reply, They arent obliged to u in > any way. You gotto be patient if u need reply. Please do watch what you say > please >

RE: KeyProperty attribute in Selectkey Tag

2009-02-12 Thread Rahul Saluja
Tag Hey Rahul, PPL are volunteering to reply, They arent obliged to u in any way. You gotto be patient if u need reply. Please do watch what you say please -Sundar On Thu, Feb 12, 2009 at 10:00 AM, Rahul Saluja mailto:rahul.sal...@vnl.in>> wrote: Does anybody care to

Re: KeyProperty attribute in Selectkey Tag

2009-02-12 Thread Sundar Sankar
> > > > Please. > -- > > *From:* Rahul Saluja [mailto:rahul.sal...@vnl.in] > *Sent:* Thursday, February 12, 2009 10:22 PM > > *To:* user-java@ibatis.apache.org > *Subject:* RE: KeyProperty attribute in Selectkey Tag > > &g

RE: KeyProperty attribute in Selectkey Tag

2009-02-12 Thread Rahul Saluja
Does anybody care to reply. Please. From: Rahul Saluja [mailto:rahul.sal...@vnl.in] Sent: Thursday, February 12, 2009 10:22 PM To: user-java@ibatis.apache.org Subject: RE: KeyProperty attribute in Selectkey Tag Hey Burke, So does this mean if I simply say

RE: KeyProperty attribute in Selectkey Tag

2009-02-12 Thread Rahul Saluja
code. Regards Rahul Saluja From: Burke.Kevin [mailto:kevin.bu...@cic.gc.ca] Sent: Thursday, February 12, 2009 10:20 PM To: user-java@ibatis.apache.org Subject: RE: KeyProperty attribute in Selectkey Tag This the name of the attribute you can use in your INSERT com

RE: KeyProperty attribute in Selectkey Tag

2009-02-12 Thread Burke.Kevin
: KeyProperty attribute in Selectkey Tag Importance: High Hello everybody, Can anyone tell me in simple words what is the purpose of Keyproperty attribute in selectkey tag. Looking forward to your response

RE: KeyProperty attribute in Selectkey Tag

2009-02-12 Thread Rahul Saluja
And one more thing is this is a optional attribute. Regards Rahul Saluja From: Rahul Saluja [mailto:rahul.sal...@vnl.in] Sent: Thursday, February 12, 2009 10:13 PM To: user-java@ibatis.apache.org Subject: KeyProperty attribute in Selectkey Tag Importance: High

KeyProperty attribute in Selectkey Tag

2009-02-12 Thread Rahul Saluja
Hello everybody, Can anyone tell me in simple words what is the purpose of Keyproperty attribute in selectkey tag. Looking forward to your response. Regards Rahul Saluja The information contained in this e-mail is private & confidential and may also be legally privileged. If you are not

RE: possible to use isEqual inside iterate tag?

2008-09-05 Thread Kyunam Kim
-java@ibatis.apache.org Subject: Re: possible to use isEqual inside iterate tag? SELECT #return_columns[].someProperty# FROM $table_name$ Jeff Butler On Fri, Sep 5, 2008 at 1:04 PM, Kyunam Kim <[EMAIL PROTECTED]> wrote: > > Hi

Re: possible to use isEqual inside iterate tag?

2008-09-05 Thread Jeff Butler
SELECT #return_columns[].someProperty# FROM $table_name$ Jeff Butler On Fri, Sep 5, 2008 at 1:04 PM, Kyunam Kim <[EMAIL PROTECTED]> wrote: > > Hi all, > > > > When iterating a list of my pojos, I'd like to examine a property of each

possible to use isEqual inside iterate tag?

2008-09-05 Thread Kyunam Kim
Hi all, When iterating a list of my pojos, I'd like to examine a property of each pojo using like SELECT $HOW DO I ACCESS A CURRENT ELEMENT'S PROPERTY HERE?$ FROM $table_name$ Would this be

Re: R: url attribute of tag

2008-07-24 Thread Larry Meadors
essaggio originale- > Da: Larry Meadors [mailto:[EMAIL PROTECTED] > Inviato: mercoledì 23 luglio 2008 15.35 > A: user-java@ibatis.apache.org > Oggetto: Re: url attribute of tag > > > No: URLs are absolute names. > > Depending on how you initialize your SqlMapClient, yo

R: url attribute of tag

2008-07-24 Thread Davide Rogora
attribute of tag No: URLs are absolute names. Depending on how you initialize your SqlMapClient, you might be able to pass a base bath as a parameter, and have your web app tell it where the web root is, then build a file:// url from that, but I don't see any advantage to doing that. Look a

Re: url attribute of tag

2008-07-23 Thread Larry Meadors
No: URLs are absolute names. Depending on how you initialize your SqlMapClient, you might be able to pass a base bath as a parameter, and have your web app tell it where the web root is, then build a file:// url from that, but I don't see any advantage to doing that. Look at the SqlMapCientBuilder

url attribute of tag

2008-07-23 Thread Davide Rogora
Hi, Actually my iBatis xml config files are under the classpath so, to include an xml file in the in the main configuration file (that is under WEB-INF/iBatis folder) I usually write: (and it works) I need to move all my files under WEB-INF/iBatis directory of my web application. I read iBatis ma

Question about iterate tag

2007-11-19 Thread Arora, Parvinder
Hello all, I just wanted to clarify a doubt before I start coding I have a POJO Class foo { String Id1 String Id2 String Id3 } My query is Select value1, value2 from temp Where temp.id1 in (comma separated values) AND temp.id2 in (comma separated values) AND temp.id3 in

RE: how to iterate a property of array of objects and using isEqual tag to compare an attribute ex:(id) of this object with a value. ex: "list[].id"

2006-10-27 Thread Poitras Christian
What version of iBATIS are you using?   Christian From: Niels Beekman [mailto:[EMAIL PROTECTED] Sent: Friday, 27 October 2006 05:45To: user-java@ibatis.apache.orgSubject: RE: how to iterate a property of array of objects and using isEqual tag to compare an attribute ex:(id) of this object

RE: how to iterate a property of array of objects and using isEqual tag to compare an attribute ex:(id) of this object with a value. ex: "list[].id"

2006-10-27 Thread Niels Beekman
Please keep discussions on the list.   From: marc khoury [mailto:[EMAIL PROTECTED] Sent: vrijdag 27 oktober 2006 9:22 To: Subject: Re: how to iterate a property of array of objects and using isEqual tag to compare an attribute ex:(id) of this object with a value. ex: "

RE: CDATA inside or outside of statement tag

2006-08-24 Thread Mkhitaryan, Aram
Subject: CDATA inside or outside of statement tag   In my statement in xml, if I use tag, does the CDATA wrap around the whole statement, ie CDATASTART   CDATAEND or I use to use separate CDATA sections as in below...   CDATASTART  CDATAEND   CDATASTART   CDATAEND

RE: CDATA inside or outside of statement tag

2006-08-23 Thread Daniel Pitts
utside of statement tag I tend to not use them at all. The only time I would need them is for the standard less then or greater then symbols. Instead I just use the html code to do this. > and < On 8/23/06, Daniel Pitts <[EMAIL PROTECTED]> wrote: > > > I believe the cda

Re: CDATA inside or outside of statement tag

2006-08-23 Thread Nathan Maves
e or outside of statement tag In my statement in xml, if I use tag, does the CDATA wrap around the whole statement, ie CDATASTART CDATAEND or I use to use separate CDATA sections as in below... CDATASTART CDATAEND CDATASTART CDATAEND

RE: CDATA inside or outside of statement tag

2006-08-23 Thread Daniel Pitts
@ibatis.apache.orgSubject: CDATA inside or outside of statement tag In my statement in xml, if I use tag, does the CDATA wrap around the whole statement, ieCDATASTART  CDATAENDor I use to use separate CDATA sections as in below...  CDATASTART  CDATAEND   CDATASTART   CDATAEND

CDATA inside or outside of statement tag

2006-08-23 Thread Mississippi John Hurt
In my statement in xml, if I use tag, does the CDATA wrap around the whole statement, ieCDATASTART  CDATAEND or I use to use separate CDATA sections as in below...  CDATASTART  CDATAEND   CDATASTART   CDATAEND

RE: JIRA 225 and discriminator tag.

2006-08-04 Thread MCCORMICK, Paul
I've tested it on my application and it works.  Thanks for the prompt fix.    Paul McCormick From: Jeff Butler [mailto:[EMAIL PROTECTED] Sent: Thursday, 3 August 2006 4:33 AMTo: user-java@ibatis.apache.orgSubject: Re: JIRA 225 and discriminator tag. Hi Paul,   I have just commit

Re: JIRA 225 and discriminator tag.

2006-08-02 Thread Jeff Butler
L PROTECTED]] Sent: Wednesday, 2 August 2006 12:13 PM To: user-java@ibatis.apache.orgSubject: Re: JIRA 225 and discriminator tag.   Thanks Paul.  I've just coded a unit test for myself that is failing like you described, so you don't need to provide another one unless you just want t

RE: JIRA 225 and discriminator tag.

2006-08-01 Thread MCCORMICK, Paul
ok,  thanks.  I'll leave it to you then. From: Jeff Butler [mailto:[EMAIL PROTECTED] Sent: Wednesday, 2 August 2006 12:13 PMTo: user-java@ibatis.apache.orgSubject: Re: JIRA 225 and discriminator tag. Thanks Paul.  I've just coded a unit test for myself that is failing like you

Re: JIRA 225 and discriminator tag.

2006-08-01 Thread Jeff Butler
PROTECTED]> wrote: No problem,  I'll provide the unit test. From: Jeff Butler [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 2 August 2006 11:09 AM To: user-java@ibatis.apache.orgSubject: Re: JIRA 225 and discriminator tag.   I'll take a look at this.  If you can provide a reproducable

RE: JIRA 225 and discriminator tag.

2006-08-01 Thread MCCORMICK, Paul
No problem,  I'll provide the unit test. From: Jeff Butler [mailto:[EMAIL PROTECTED] Sent: Wednesday, 2 August 2006 11:09 AMTo: user-java@ibatis.apache.orgSubject: Re: JIRA 225 and discriminator tag. I'll take a look at this.  If you can provide a reproducable test case, i

Re: JIRA 225 and discriminator tag.

2006-08-01 Thread Jeff Butler
ollowing feature: http://issues.apache.org/jira/browse/IBATIS-225 I have encountered a problem.  The reused result map ignores the discriminator tag.   I've attached some code below.  The legDiscriminatorTestFails query fails.   The query should return a DisplayTenement object containing

JIRA 225 and discriminator tag.

2006-08-01 Thread MCCORMICK, Paul
Title: JIRA 225 and discriminator tag. Hi, I've downloaded the latest ibatis code from SVN last week as I needed the following feature: http://issues.apache.org/jira/browse/IBATIS-225 I have encountered a problem.  The reused result map ignores the discriminator tag.   I've att

Re: using typeHandler tag in sqlMapConfig.xml file

2006-07-11 Thread Nathan Maves
You are using a really old dtd and you need to upgrade it.  Please look at the bottom of the main page at http://ibatis.apache.org/On Jul 11, 2006, at 6:56 AM, chaithanya ibatis wrote:Hi,Can anyone tell me what dtd should i use for using the typeHandler tag in sqlMapConfig.xml filecurrently i&#

Re: using typeHandler tag in sqlMapConfig.xml file

2006-07-11 Thread Graeme J Sweeney
On Tue, 11 Jul 2006, chaithanya ibatis wrote: currently i'm using this which is not supporting typeHandler tag http://www.ibatis.com/dtd/sql-map-config-2.dtd";> It does. Post your sqlMapConfig.xml -- Graeme -

using typeHandler tag in sqlMapConfig.xml file

2006-07-11 Thread chaithanya ibatis
Hi,Can anyone tell me what dtd should i use for using the typeHandler tag in sqlMapConfig.xml filecurrently i'm using this which is not supporting typeHandler tag     PUBLIC "-//iBATIS.com//DTD SQL Map Config 2.0//EN"    "http://www.ibatis.com/dtd/sql-map-config-2.dtd&quo

Re: Some problem with the tag

2006-05-03 Thread Akhil Kodali
Hi,Thanks man. It works perfectly.On 5/3/06, Nathan Maves <[EMAIL PROTECTED]> wrote: This is a common problem.  You need to understand how ibatis maps the properties of an object.  It uses the java bean specification. I would try and change your map to look like        insert into Test_Emp   

Re: Some problem with the tag

2006-05-03 Thread Nathan Maves
This is a common problem.  You need to understand how ibatis maps the properties of an object.  It uses the java bean specification.I would try and change your map to look like        insert into Test_Emp        (NAME, EMPNO)        values(#name#,#empNo#)Notice the lower case on the "Name" an

Some problem with the tag

2006-05-03 Thread Akhil Kodali
Hi,I'm trying to use iBATIS over weblogic 8.1.I've attached the files.Sorry for sending so many attachments.The output error message is:=== Caused by:com.ibatis.common.beans.ProbeException: There is no READABLE property named 'Name' in class '

Nested iterate tag

2006-02-02 Thread MCCORMICK, Paul
Title: Nested iterate tag Is it possible to nest iterate tags so I can traverse a list of lists? For example:     <iterate property="A" >         <iterate property="A[].B" >             #A[].B[].field#         iterate>

Re: tag

2005-12-02 Thread TNO
Done... Larry Meadors a écrit : Add a JIRA issue, and we'll get that changed. I agree with you: That should blow up in a very visible way. Larry On 12/1/05, TNO <[EMAIL PROTECTED]> wrote: Hello when they are two tags with the same id, the last read is the one ! but may be a

Re: tag

2005-12-02 Thread Larry Meadors
Add a JIRA issue, and we'll get that changed. I agree with you: That should blow up in a very visible way. Larry On 12/1/05, TNO <[EMAIL PROTECTED]> wrote: > Hello > > when they are two tags with the same id, the last read is the one ! > but may be a warning will be usefull to say that id alre

Re: tag

2005-12-02 Thread TNO
Vincent NICOLAS a écrit : TNO a écrit : Hello when they are two tags with the same id, the last read is the one ! but may be a warning will be usefull to say that id already exists... ;-) Some editors as XML Buddy (plugin for Eclipse) warn you in such a case. However, it would be more i

Re: tag

2005-12-02 Thread Vincent NICOLAS
TNO a écrit : Hello when they are two tags with the same id, the last read is the one ! but may be a warning will be usefull to say that id already exists... ;-) Some editors as XML Buddy (plugin for Eclipse) warn you in such a case. However, it would be more interesting to be warn at compi

tag

2005-12-01 Thread TNO
Hello when they are two tags with the same id, the last read is the one ! but may be a warning will be usefull to say that id already exists... ;-)

RE: Does tag conjunction property support dynamic?

2005-11-03 Thread Niels Beekman
No, that doesn't work, I tried that too. You could create a JIRA-issue for it... Niels From: 张鑫宇 [mailto:[EMAIL PROTECTED] Sent: donderdag 3 november 2005 14:52 To: user-java@ibatis.apache.org Subject: Does tag conjunction property support dy

Does tag conjunction property support dynamic?

2005-11-03 Thread 张鑫宇
HI:     Does it right the sqlMap like under?   $searchValueList[].column$$searchValueList[].operator$#searchValueList[].value#      The information i

Problem Using Discriminator Tag

2005-09-27 Thread fabio bongiovanni
Hello and thanks in advice I'm using ibatis java 2.1.5. I've found in the mail-archive a link to a map example that use discriminator tag inside a resulMap The file is named Documents.xml I've tried to build an example over this map, but i'm getting errors during the bu

Re: multiple insert within a select tag

2005-08-29 Thread Jeff Butler
Just to correct a possible misunderstanding - iBATIS does not detect the dependancy on your delete.  MySQL is doing it through a cascaded delete.  iBATIS is really just sending SQL to the database through JDBC - there's very little magic going on here.   iBATIS knows very little about your table s

AW: multiple insert within a select tag

2005-08-29 Thread Farsi, Reza
Hi Albert,   thanks a lot for the answer. Indeed it was the reason of the problem. I added the following selectKey to my mapping file and it works:           INSERT INTO instrument (internalNumber) VALUES (#internalNumber#) SELECT last_insert_id()      I'm now facing

Re: multiple insert within a select tag

2005-08-29 Thread Albert L. Sapp
Reza, I don't know if this is what is causing the problem, but I think there might be a problem with your table definition for the option table.  instrument_id is supposed to reference the id in the instrument table, but you have it set up as a auto_increment field.  I would think that you would

multiple insert within a select tag

2005-08-28 Thread Farsi, Reza
Title: multiple insert within a select tag Hi all, following scenario: I'va an object Instrument. It references an another object option. create table instrument (     id int not null auto_increment primary key,     internalNumber varchar(12) not null unique ); c

errors for iterate tag

2005-08-26 Thread Michał Małecki
Hello, I've send this email a week ago, but unfortunatelly nobody has answered. I hope it's because of mail list problems, because I think these are serious problems: I've just switched to datamapper 2.1.5, hoping that i can use list directly as parameter (and not some confugisng listholder with li

Re: Multiple select queries in one select tag

2005-08-08 Thread Larry Meadors
ing this topic UP cause IMHO I've found some more arguments > why iBatis users may need to have multiple statements executed in one > statement tag. > > 1. Sometimes we have some fields (simplest example = default values, > or some calculated values) set at the database side, so a

Re: Multiple select queries in one select tag

2005-08-08 Thread Koka
Hi, I'm bringing this topic UP cause IMHO I've found some more arguments why iBatis users may need to have multiple statements executed in one statement tag. 1. Sometimes we have some fields (simplest example = default values, or some calculated values) set at the database side, s

Re: Multiple select queries in one select tag

2005-08-04 Thread Nathan Maves
I understand that :) But in this case you would be combining something like em_num with dept_num. In this case you would have to place dummy columns with either a null of 0 as a place holder. I still think that my join is way cleaner and more performant. Nathan On Aug 4, 2005, at 12:42

Re: Multiple select queries in one select tag

2005-08-03 Thread Eugeny N Dzhurinsky
On Wed, Aug 03, 2005 at 04:20:57PM -0600, Nathan Maves wrote: > I think a union is only a good solution when the data from both > queries can be combined into one column. Not really, the columns should be ordered to have the same types in the order, so there is an ability to query for several

Re: Multiple select queries in one select tag

2005-08-03 Thread Eugeny N Dzhurinsky
On Wed, Aug 03, 2005 at 09:25:24PM -, sreenivas wrote: > Hi, > > I would like to know whether or not below approach is possible with iBATIS. > > "com.abc.Output"> select emp_name as eName, emp_sal as eSal from emp where > emp_id = #emp_id# and loc_code=#loc_code# > select dept_no as eDeptNo

Re: Multiple select queries in one select tag

2005-08-03 Thread Nathan Maves
I think a union is only a good solution when the data from both queries can be combined into one column.  I think a simple join between the two table should solve your problem.does this not work? select A.emp_name as eName, A.emp_sal as eSal, B.dept_no as eDeptNo from emp A, dept B where A.emp_id =

Re: Multiple select queries in one select tag

2005-08-03 Thread Larry Meadors
Not that I am aware ofwhy not just use a union? Larry On 3 Aug 2005 21:25:24 -, sreenivas <[EMAIL PROTECTED]> wrote: Hi, I would like to know whether or not below approach is possible with iBATIS. select emp_name as eName, emp_sal as eSal from emp where emp_id = #emp_id# and loc_code=#

Multiple select queries in one select tag

2005-08-03 Thread sreenivas
Hi, I would like to know whether or not below approach is possible with iBATIS. select emp_name as eName, emp_sal as eSal from emp where emp_id = #emp_id# and loc_code=#loc_code# select dept_no as eDeptNo from dept where emp_id = #emp_id# and loc_code=#loc_code# As in the above code, both qu

Re: docs for tag

2005-08-02 Thread rich oates
s <[EMAIL PROTECTED]> wrote: > > Hi, > > can anyone point me to some documentation or an example mapping for > > the tag? > > > > > > regards > > richard > > > > -- Mostly harmless.

Re: docs for tag

2005-08-01 Thread Roberto R
Here's an example mapping found in SVN: http://svn.apache.org/repos/asf/ibatis/trunk/java/mapper/mapper2/test/com/ibatis/sqlmap/maps/Documents.xml On 8/1/05, rich oates <[EMAIL PROTECTED]> wrote: Hi,can anyone point me to some documentation or an example mapping forthe tag?regardsrichard

docs for tag

2005-08-01 Thread rich oates
Hi, can anyone point me to some documentation or an example mapping for the tag? regards richard