List Info

Thread: development/technical question




development/technical question
user name
2007-07-26 19:56:32
Hi there.  I have been playing around with putting a couple of new options. Namely:
- a space-level setting to toggle requiring reassignment with every status change (frankly, I find that annoying, since we don't use it that way; it always stays assigned to the developer for us. )
- a space-level setting to toggle requiring a comment for every status update; often I am finding that the reason is self explanatory, ie moving from Fixed to Retest is because it's available for retest ;)

So my questions are:

Do you think space-level setting is appropriate for this? ;
What happens if I submit some changes, but don't have full language translations? Will it default to English, or is it required to provide a translation for all?
If this change is one that could benefit the project, how do I go about submitting the changes?

Finally... and I feel like this is a silly question, but I've looked through the wicket docs and not quite found an answer... how do I set a default selection in a dropdown box?  Another option that occurred to me is to automatically default the assigned to to the current assignee, but could not find a way to do that.


Re: development/technical question
user name
2007-07-27 00:22:39
Responses in-line:

On 7/27/07, Marc Paradise < marc.paradisegmail.com">marc.paradisegmail.com> wrote:
Hi there.&nbsp; I have been playing around with putting a couple of new options. Namely:
- a space-level setting to toggle requiring reassignment with every status change (frankly, I find that annoying, since we don't use it that way; it always stays assigned to the developer for us. )
- a space-level setting to toggle requiring a comment for every status update; often I am finding that the reason is self explanatory, ie moving from Fixed to Retest is because it's available for retest ;)

So my questions are:

Do you think space-level setting is appropriate for this? ;

A few users have asked for this, and I am aware that this is a usability issue.&nbsp; The reason it is this way at the moment is because of the workflow rules and stuff - i.e. you can only assign to someone who "can be assigned to" and this is known only after you select a status.

I was thinking of adding a couple of "quick" status change button / links like this:
- Reassign without changing status
- Change status without re-assigning
 
Now just maybe if this is implemented and the above actions don't need a mandatory comment, you won't need the other change to make comment optional.&nbsp; But I think it is okay at a space level if you need this.

What happens if I submit some changes, but don't have full language translations? Will it default to English, or is it required to provide a translation for all?

As far as I know it will default to English.&nbsp; Actually, it may default to your JVM default locale.&nbsp; Do let me know if you have problems.&nbsp;

If this change is one that could benefit the project, how do I go about submitting the changes?

You can submit a patch from the "Trackers" link on the home page.

Finally... and I feel like this is a silly question, but I've looked through the wicket docs and not quite found an answer... how do I set a default selection in a dropdown box?  Another option that occurred to me is to automatically default the assigned to to the current assignee, but could not find a way to do that.

Every form component is "connected" to a form backing object.&nbsp; This will be either a property on a POJO or an instance variable on a Wicket Form. ; To set the default selection just ensure the property on the form backing object is set to the value you need (and not null).

I have a good example here at lines 100-103:

http://fisheye3.cenqua.com/browse/j-trac/trunk/jtrac/src/main/java/info/jtrac/wicket/SpaceAllocatePage.java?r=975

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )