On Wed, 2004-09-08 at 09:39, Lázaro Miguel Fung wrote: > Hi. > > I'm testing dbforms 2.5 snapshot and I trying to open a popup (openWin() > javascript) or new window (target="_blank") using <db:blobURL > fieldName="fieldName"/> with diskblob fields. > > No image or file are opened, however teh images are siplayed without > problems in the normal page_single.jsp or page_list.jsp >
How are you trying to access the field in javaScript. I mean aren't you trying to display the image in the popup using javaScript. If so, are you using (from the taglib): javascriptFieldsArray -- attribute for dbform tag this attribute is used to specify if dbForms should generate a javascript method which can be used by (javascript) developers for referencing dbform-generated field names . By default, this attribute is set to 'false'. Generated code example: <SCRIPT language="javascript"> <!-- var dbformFields = new Array(); dbformFields["phone"] = "[EMAIL PROTECTED]"; dbformFields["bugstate"] = "[EMAIL PROTECTED]"; dbformFields["reporter"] = "[EMAIL PROTECTED]"; dbformFields["priority"] = "[EMAIL PROTECTED]"; dbformFields["description"] = "[EMAIL PROTECTED]"; dbformFields["category"] = "[EMAIL PROTECTED]"; function getDbFormFieldName(name){ return dbformFields[name]; } --> </SCRIPT> [RTExpValue] -- Shawn <[EMAIL PROTECTED]> ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ DbForms Mailing List http://www.wap-force.net/dbforms