Ok, so those anchors are added by
lib/form/breadcrumb-config-outline/init.js and it is just using a counter
for each achor it adds, so it won't be easy to guess what that would be,
there is a TODO marked in that file to make a more user friendly id, but
who knows when someone will take that on :)

Instead In your case I would try to add my own, more deterministic anchors
in a similar way as the breadcrumb init.js is doing that for example uses
the backend id of the section (or fix the js in core to also use the id).

/B

On Fri, May 6, 2016 at 3:15 PM, Robert Sandell <rsand...@cloudbees.com>
wrote:

> True, but since the specific section he mentioned to link to is gone in
> 2.0 I saw no need :)
>
> But yea, something is adding those anchor points, but it's not
> lib/form/section.jelly so some magic javascript seems to be adding them
> after the jelly has been rendered.
>
> /B
>
> On Fri, May 6, 2016 at 1:57 PM, Daniel Beck <m...@beckweb.net> wrote:
>
>>
>> > On 06.05.2016, at 13:46, Robert Sandell <rsand...@cloudbees.com> wrote:
>> >
>> > Links in the side panels are implementations of Action. And you can add
>> transient actions to jobs via the TransientActionFactory<Job> extension
>> point.
>>
>> I think you're missing the point here. The problem isn't how to place the
>> link, it's how to link to a specific section of the target form.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Jenkins Developers" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to jenkinsci-dev+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/jenkinsci-dev/0D1B15DD-59F8-4320-B159-76996B1B8B1F%40beckweb.net
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Robert Sandell
> *Software Engineer*
> *CloudBees Inc.*
>



-- 
Robert Sandell
*Software Engineer*
*CloudBees Inc.*

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CALzHZS1oF5LoemCzqc%2BNNbO68RVr%3DziL%2BiU45Vp0nvYYSouo4w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to