Micha Bayer wrote: > Hi, > > I would like to add additional properties to the extended-properties.xml > config file, and would like to include URLs with them. > > In the following example entry, > > <property > name="omim" > title="OMIM" > description="" > column="omim" > type="string" > length="255" > <link > regexp="\d+" > url="http://www.ncbi.nlm.nih.gov/entrez/dispomim.cgi?id={value}" > /> > </property> > > what does the regexp attribute in the link element refer to (i.e. what > is it looking for)? And where is "{value}" defined?
If the value for the property matches the regular expression it will be linked to the url with {value} replaced with the actual value of the property. In the given example if omim is '123' for a certain reporter it will be linked to http://www.ncbi.nlm.nih.gov/entrez/dispomim.cgi?id=123 If the value is 'abc' it will not be linked since it doesn't match the regular expression. You may specify additional regular expressions, but only the first one that matches will be used for the link. /Nicklas ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ The BASE general discussion mailing list basedb-users@lists.sourceforge.net unsubscribe: send a mail with subject "unsubscribe" to [EMAIL PROTECTED]