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

Ruslan Zakirov ruslan.zakirov at gmail.com
Sat Jul 14 16:10:46 EDT 2012


Without stack trace it's harder to help you. We have to repeat all your
steps.

Ruslan from phone.
14.07.2012 15:47 пользователь "Andrea gabellini - SC" <
andrea.gabellini.sc at telecomitalia.sm> написал:

> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20120714/a0b97f31/attachment.htm>


More information about the rt-users mailing list