[kepler-dev] [Bug 5691] parameter choices are not saved

bugzilla-daemon at ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Tue Sep 18 11:56:47 PDT 2012


http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5691

Daniel Crawl <crawl at sdsc.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P2                          |P5
   Target Milestone|2.4.0                       |2.X.Y
           Severity|normal                      |enhancement

--- Comment #1 from Daniel Crawl <crawl at sdsc.edu> 2012-09-18 11:56:47 PDT ---
If I add choices to a parameter in a workflow, I would like those choices
available the next time I open the workflow. I was able to accomplish this by
manually adding an EditableChoiceStyle containing each choice, e.g.:

        <property name="control" class="ptolemy.actor.parameters.PortParameter"
value="Local Execution">
            <property name="style"
class="ptolemy.actor.gui.style.EditableChoiceStyle">
                <property name="choice1"
class="ptolemy.data.expr.StringParameter" value="Map Reduce">
                </property>
                <property name="choice2"
class="ptolemy.data.expr.StringParameter" value="Map Only">
                </property>
                <property name="choice3"
class="ptolemy.data.expr.StringParameter" value="Cross Reduce">
                </property>
                <property name="choice4"
class="ptolemy.data.expr.StringParameter" value="Job Submission">
                </property>
            </property>
        </property>

I have to manually add and remove the choiceN parameters; it would be nice if
this were automatically done. I'm lowering the priority and retargeting.

-- 
Configure bugmail: http://bugzilla.ecoinformatics.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.


More information about the Kepler-dev mailing list