This has almost nothing directly to do with what you are asking, but I
thought I would put my plug in for using Groovy views instead of Jelly
views. Groovy is 100x easier to debug and use than Jelly. :-)

slide


On Tue, Aug 20, 2013 at 10:29 AM, James Nord (jnord) <[email protected]>wrote:

>  Hi all,****
>
> ** **
>
> I need to show some specific help for some extensions – but I can’t figure
> out how get from the extension to the extension specific help (the url of
> the plugin implementing the extension + fixed string).  Anyone any ideas.*
> ***
>
> ** **
>
> I currently have the following in help-foo.jelly:****
>
> ** **
>
> <j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler"
> xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson"
> xmlns:f="/lib/form" xmlns:i="jelly:fmt" xmlns:p="/lib/hudson/project">****
>
>     <div>****
>
>        <div>****
>
>            This is some global help.****
>
>        </div>****
>
>        <j:forEach
> items="${app.getExtensionList('com.cisco.wibble.BazExtension')}" var="ext">
> ****
>
>            <!-- need to get the extension specific help here – which may
> come from a different plugin -->           ****
>
>            <!--it should be something like a
> href=”/plugin/PLUGIN_ARTIFACT_ID/extensionclass/help- extension.html” -->*
> ***
>
>              <st:include page=”/help-extension.html” from="${ext}"/>****
>
>        </j:forEach>****
>
>     </div>****
>
> </j:jelly>****
>
> ** **
>
> Which gives me <st:include> No page found '/help-extension.html’ for class
> com.cisco.wible.ext.SuperBazExtension****
>
> ** **
>
> I feel I’m close – just missing the final piece - anyone any pointers?****
>
> ** **
>
> /James****
>
> ** **
>
> --
> 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/groups/opt_out.
>



-- 
Website: http://earl-of-code.com

-- 
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/groups/opt_out.

Reply via email to