erw-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Erw-devel] fset (again) - usability recommendations/ feature reques


From: erw-devel
Subject: Re: [Erw-devel] fset (again) - usability recommendations/ feature requests
Date: Thu, 28 Apr 2005 21:43:45 -0400
User-agent: Mutt/1.5.9i

<?xml version="1.0"?>
<!DOCTYPE erl PUBLIC "-//DSI//DTD ERL V1.2//EN" "file://erl.dtd">
<erl id="simpletest" title="A simple test">
&ERWauth;
<ent id="testfile" label="Test File">
<attr id="onefile" label="One File" help="Upload One file here" type="fset"/>
</ent>
</erl>


custom/testfile_onefile.php :

<?php
$D["testfile_onefile"]["display"]["fmtString"] = " %s";
$D["testfile_onefile"]["display"]["field"] = array( "original");
?>


Should that work? I can't figure anyway within the 'normal' syntax
in the custom forms to get to the file or display attributes...

The php spits this out right on the page when I try the above syntax for the 
custom file...
firstItem['f_testfile_onefile']=0 selItem['f_testfile_onefile']=-1 
itemId['f_testfile_onefile']=[] de['testfile_onefile']=[] 
neText['testfile_onefile']=[] neId['testfile_onefile']=[] 
neLeg['testfile_onefile']=[] neAttr['testfile_onefile']=[] loadSeq += 
';t[testfile_onefile]=0' iText['testfile_onefile']=[] 
dispFmtString['testfile_onefile'] = " %s" dispAttrIndex['testfile_onefile'] = [

and the php.log I enabled says:
[28-Apr-2005 21:40:19] ERROR: There is no attribute named "original" in type 
testfile_onefile: please check your customisation scripts. 
(/var/www/html/simpletest/ERW.php:2328)


I assume nothing in the testfile_onefile is reachable from within the 
standard/customizable forms capability?

Tks,

Alfred 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]