Will whoever just updated the formtools Array component please add some
whitespace management to the display function? Thank you!
 
Derek
 
Like this, beginning at line 276:
 
<cfsavecontent variable="returnHTML">
   
   <cfset ULID = "#arguments.fieldname#_list">
   
   <cfif q.RecordCount>
     <cfoutput><div id="#ULID#"
class="#arguments.stMetadata.ftLibrarySelectedListClass#"
style="#arguments.stMetadata.ftLibrarySelectedListStyle#"></cfoutput>
     <cfloop query="q">
      <!---<li id="#arguments.fieldname#_#q.objectid#"> --->
       <cfoutput><div></cfoutput>
        <cfif listContainsNoCase(arguments.stMetadata.ftJoin,q.typename)>
         <cfset oData =
createObject("component",application.stcoapi[q.typename].packagepath) />
         <cfset stobj = oData.getData(objectid=q.data) />
         <cfif
FileExists("#application.path.project#/webskin/#q.typename#/#arguments.stMet
adata.ftLibrarySelectedWebskin#.cfm")>
          <cfset html =
oData.getView(stObject=stobj,template="#arguments.stMetadata.ftLibrarySelect
edWebskin#") />
          <cfoutput>#html#</cfoutput>        
          <!---<cfinclude
template="/farcry/projects/#application.projectDirectoryName#/webskin/#q.typ
ename#/#arguments.stMetadata.ftLibrarySelectedWebskin#.cfm"> --->
         <cfelse>
          <cfoutput>#stobj.label#</cfoutput>
         </cfif>
        <cfelse>
         <cfoutput>INVALID ATTACHMENT (#q.typename#)</cfoutput>
        </cfif>
       <cfoutput></div></cfoutput>
             
      <!---</li> --->
     </cfloop>
    <cfoutput></div></cfoutput> 
   </cfif>
    
  </cfsavecontent>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"farcry-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/farcry-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to