|
From: Alessandro <ca...@tu...> - 2021-07-08 12:49:59
|
Hi all!
I use the following chunck of code in order to insert links within a repeat (inside a table):
<td style="width: 400px;">
<xf:trigger submission="replace-form-with" appearance="minimal" class="url">
<xf:label>
<xf:output class="url" ref="link-text"/>
</xf:label>
<xf:hint>
<!-- <xf:output class="url" value="concat('{$host}','exist/apps/DATI/', '{$trow_storage}','/',instance('files')/tr[index('files-repeat')]/link/link_file_name,'.',instance('files')/tr[index('files-repeat')]/link/link_estensione)" /> -->
<xf:output class="url" value="concat('{$host}','exist/apps/DATI/', '{$trow_storage}','/',instance('files')/files/file[index('files-repeat')]/link-file-name,'.',instance('files')/files/file[index('files-repeat')]/link-est)" />
</xf:hint>
<xf:action ev:event="DOMActivate">
<xf:setvalue class="url" ref="instance('URL-container')" value="concat('{$host}','exist/apps/DATI/', '{$trow_storage}','/',instance('files')/files/file[index('files-repeat')]/link-file-name,'.',instance('files')/files/file[index('files-repeat')]/link-est)" />
<xf:load ref="instance('URL-container')" />
</xf:action>
</xf:trigger>
</td>
By clicking on the trigger using exist-db 5.2 there's no problem, instead with 5.3 just installed I get this error message: "Schema for namespace undefined not defined for type string"...
Thanks
Alex
--
Inviato in modo sicuro con Tutanota. Ottieni la tua casella di posta elettronica crittografata e senza pubblicità:
https://tutanota.com
|