[rt-users] Modify the default Create.html page

Andrea gabellini - SC andrea.gabellini.sc at telecomitalia.sm
Sat Jul 14 07:46:49 EDT 2012


Hello,

I'm trying to modify the Create.html page with RT 4.0.6

I would like to view the Links box also in the Basics view.

I'm trying to write a Callback
local/html/Callbacks/MyCallbacks/Ticket/Create.html/AfterBasics copying
the code from the original one:


<div class="ticket-info-links">
<&| /Widgets/TitleBox, title => loc('Links'), title_class=> 'inverse' &>

<em><&|/l&>(Enter ticket ids or URLs, separated with spaces NEW)</&></em>
<table border="0">
<tr><td class="label"><&|/l&>Depends on</&></td><td><input size="10"
name="new-DependsOn" value="<% $$ARGSRef{'new-DependsOn'} || '' %>"
/></td></tr>
<tr><td class="label"><&|/l&>Depended on by</&></td><td><input size="10"
name="DependsOn-new" value="<% $$ARGSRef{'DependsOn-new'} || '' %>"
/></td></tr>
<tr><td class="label"><&|/l&>Parents</&></td><td><input size="10"
name="new-MemberOf" value="<% $$ARGSRef{'new-MemberOf'} || '' %>"
/></td></tr>
<tr><td class="label"><&|/l&>Children</&></td><td><input size="10"
name="MemberOf-new" value="<% $$ARGSRef{'MemberOf-new'} || '' %>"
/></td></tr>
<tr><td class="label"><&|/l&>Refers to</&></td><td><input size="10"
name="new-RefersTo" value="<% $$ARGSRef{'new-RefersTo'} || '' %>"
/></td></tr>
<tr><td class="label"><&|/l&>Referred to by</&></td><td><input size="10"
name="RefersTo-new" value="<% $$ARGSRef{'RefersTo-new'} || '' %>"
/></td></tr>


</table>
</&>
</div>

<%ARGS>
$ARGSRef => undef
</%ARGS>


But when I try to add something I get this error:

Couldn't resolve 'ARRAY(0xb6ed4b8)' into a URI.
Couldn't resolve 'ARRAY(0xb6ed7b8)' into a URI.
Couldn't resolve 'ARRAY(0xb6ed868)' into a URI.
Couldn't resolve 'ARRAY(0xb6ed968)' into a URI.
Couldn't resolve 'ARRAY(0xb6ed648)' into a URI.
Couldn't resolve 'ARRAY(0xb6ed8f8)' into a URI.


Someone can help me? Or is there a simpler solution?

Thanks,
Andrea




More information about the rt-users mailing list