Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #2319 (closed)

Opened 14 years ago

Closed 14 years ago

Parameters retrieval, defautl value

Reported by: jburel Owned by: jamoore
Priority: major Milestone: OMERO-Beta4.2
Component: Scripting Version: n.a.
Keywords: n.a. Cc: wmoore
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: 2010-04-30 (8)

Description

It will be great to be able to have the ability to access the default value for display e.g. param.default

"The dimension of each thumbnail. Default is 100", True, 10, 250;

Change History (1)

comment:1 Changed 14 years ago by jmoore

  • Resolution set to worksforme
  • Status changed from new to closed

Use param.prototype as the default value but only when the useDefault flag is set. If this is too confusing, let's discuss. I was trying to prevent duplicating the prototype. Perhaps "useDefault" would be better named "usePrototypeAsDefault" but that's awfully long.

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.68569 sec.)

We're Hiring!