It looks like I can create a floatingBox.jelly for projects, since main.jelly includes: <p:projectActionFloatingBox />
but it doesn't appear that the index.jelly under Computer includes any such thing; checking the java doc, it looks like it should (from http://javadoc.jenkins-ci.org/hudson/model/Action.html): If an action has a view named floatingBox.jelly, it will be displayed as a floating box on the top page of the target ModelObject <http://javadoc.jenkins-ci.org/hudson/model/ModelObject.html>. (For example, this is how the JUnit test result trend shows up in the project top page. See TestResultProjectAction.) Is it intentional that floatingBox.jelly not be supported for actions on Computers? (I realize that I can display summary.jelly files attached to node properties, but there's no analog to TransientComputerActionFactory that allows me to add transient properties to Computers, and I'm really just trying to hang some new UI off of the computer page, not add persistent properties). On Wed, Sep 17, 2014 at 1:50 AM, Robert Sandell <[email protected]> wrote: > > https://wiki.jenkins-ci.org/display/JENKINS/Extension+points#Extensionpoints-hudson.model.TransientComputerActionFactory > > But I'm not sure if you can use summary.jelly style views for that. > > /B > > On Tue, Sep 16, 2014 at 10:32 PM, Marc MacIntyre <[email protected]> > wrote: > >> I know that I can add a property to a node via plugin, and have a >> summary.jelly display items from that property on the node's page; but what >> if I just want to add a UI element that refers to the node itself? I don't >> need (or want) to extend the node by adding a property, I simply want to >> display some of the node's configuration data without going into the >> configuration screen. >> >> Is this possible? If so, where should I start? (I also have this >> question about projects and the project page). >> >> -- >> Marc MacIntyre >> >> -- >> 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 [email protected]. >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > 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 [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- Marc MacIntyre -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
