directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Seelmann (JIRA)" <>
Subject [jira] Commented: (DIRSTUDIO-572) Improve Controls widget
Date Fri, 17 Sep 2010 07:43:32 GMT


Stefan Seelmann commented on DIRSTUDIO-572:

The controls I speak from are used for LDAP searches ([0] contains a list of controls supported
by ApacheDS and/or Studio with links to RFC, just fyi). They can be defined at two levels:

1st: At connection level in the connection properties [1] and wizard [2]. The controls that
are set here are sent with each search request to the server while browsing the DIT. And (as
far as I remember) they are used as default when creating a new search.

2nd: At search level in the search dialog[3] and properties [4]. In that case the controls
are sent only for the particular search.

As you see the controls group looks very similar, but is implemented twice. I think a first
step is to create a reusable widget that can be used in all four dialogs. In BrowserParameterPage
and SearchPageWrapper we already use some custom widgets (LimitWidget, AliasesDereferencingWidget
or ReferralsHandlingWidget), you can use them as templates.

A special requirement is that the labels and tooltips are different in BrowserParameterPage
and SearchPageWrapper. That is required because the controls may be used differently at connection
or search level. For example the "subentries" control: If set only subentries are returned
by a search, but no normal entries. When the checkbox is set at connection level we then do
two searches, one without the control to get normal entries and one with the contol to get
subentries. But when the checkbox is set at search level only one search request is performed
and you either get normal entries only or subentries only.






> Improve Controls widget
> -----------------------
>                 Key: DIRSTUDIO-572
>                 URL:
>             Project: Directory Studio
>          Issue Type: Improvement
>          Components: studio-connection, studio-ldapbrowser
>            Reporter: Stefan Seelmann
>             Fix For: 2.0.0
> We should improve the layout of the "controls" widget. Right now it contains three controls
(ManageDsaIT, Subentries, and PagedSearch). If we add more controls this widget could become
too big.
> It is also implemented twice, once in the BrowserParameterPage and once in the SearchPageWrapper.
It would be better to create a reusable widget.
> We also need a generic way to save controls and its options to the connections.xml and

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message