Hey,

So i am trying to get the configured values, that were previously
configured to be displayed on the configuration page of the plugin.

config.jelly:

<?jelly escape-by-default='true'?>
<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">
    <f:entry title="Project File Location" field="projectLoc">
        <f:textbox />
    </f:entry>
    <f:entry title="Results File Directory" field="resultDir">
        <f:textbox />
    </f:entry>
    <f:entry title="Success Criterias:">
        <f:repeatable var="successCriteria" items="successCriteria"
add="Add Success Criteria">
            <table width="100%">
                <f:entry field="userType" title="User Type:">
                    <f:select />
                </f:entry>
                <f:entry field="transactionName" title="Transaction Name:">
                    <f:select />
                </f:entry>
                <f:entry field="measureName" title="Measure Name:">
                    <f:select />
                </f:entry>
                <f:entry field="valueType" title="Value Type:">
                    <f:select />
                </f:entry>
                <f:entry field="operatorType" title="Operator Type:">
                    <f:select />
                </f:entry>
                <f:entry field="chosenValue" title="Value:">
                    <f:textbox />
                </f:entry>
            </table>
            <f:repeatableDeleteButton/>
        </f:repeatable>
    </f:entry>
</j:jelly>


So what I have seen so far, you have to write a getter in the class that
has this jelly file. So I tried with a a field name in the repeatable but
then it wouldn't fill the select, so I removed that. So I am not sure how I
would get the previously configured entries inside the repeatable, in a
manner that every entry gets its own five selects with the correct option
already selected.

Best regards
Stefan

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CAAxohzQ1PUXbYTs%2BNnadFHE4jp1X0hJzh63KuojaT-Vf%3DN%2B36g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to