[OGo-Users] Re: Resolve Teams by default

Jeff users@opengroupware.org
Wed, 27 Feb 2008 09:46:43 -0500


------=_Part_23323_6698082.1204123603853
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

On Tue, Feb 26, 2008 at 9:36 PM, Adam Tauno WIlliams
awilliam-at-whitemice.org |ogo-list| <...> wrote:

> > > I'd like to set the Resolve Teams to be the default behavior.
> > > I've found the checkbox to be in
> > > templates/LSWScheduler/SkyParticipantsSelection.wox
> > > and
> > > templates/LSWScheduler/OGoAttendeeSelection.wox
>
> Yep,  I think you get a OGoAttendeeSelection component (added
> 2005-09-16) if you have "apteditor_useattendeeselector" enabled,
> otherwise you get a SkyParticipantsSelection component.
>
> Which are you using? (aka do you have "apteditor_useattendeeselector"
> set)


I do have that set, but now I'm not sure if I really need it or not...

<snip>

>
> >From WebUI/Scheduler/LSWScheduler/OGoUserSelectionComponent.m
> -----
> - (void)setResolveTeams:(BOOL)_flag {
>  self->uscFlags.resolveTeams = _flag ? 1 : 0;
> }
> - (BOOL)resolveTeams {
>  return self->uscFlags.resolveTeams ? YES : NO;
> }
>
> In WebUI/Scheduler/LSWScheduler/OGoUserSelectionComponent.h it looks
> like this is initialized to 1


I agree, when I was looking at the code is seemed to be initialized to "1",
but it isn't checked by default.

...
>  struct {
>    int showExtended:1;
>    int onlyAccounts:1;
>    int isClicked:1;
>    int resolveTeams:1;
>    int reserved:28;
>  } uscFlags;
> ....

------=_Part_23323_6698082.1204123603853
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

<br><br><div class="gmail_quote">On Tue, Feb 26, 2008 at 9:36 PM, Adam Tauno WIlliams <a href="http://awilliam-at-whitemice.org">awilliam-at-whitemice.org</a> |ogo-list| &lt;<a href="mailto:...">...</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">&gt; &gt; I&#39;d like to set the Resolve Teams to be the default behavior.<br>

&gt; &gt; I&#39;ve found the checkbox to be in<br>
&gt; &gt; templates/LSWScheduler/SkyParticipantsSelection.wox<br>
&gt; &gt; and<br>
&gt; &gt; templates/LSWScheduler/OGoAttendeeSelection.wox<br>
<br>
</div>Yep, &nbsp;I think you get a OGoAttendeeSelection component (added<br>
2005-09-16) if you have &quot;apteditor_useattendeeselector&quot; enabled,<br>
otherwise you get a SkyParticipantsSelection component.<br>
<br>
Which are you using? (aka do you have &quot;apteditor_useattendeeselector&quot;<br>
set)</blockquote><div><br>I do have that set, but now I&#39;m not sure if I really need it or not...<br><br> &lt;snip&gt;</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
&gt;From WebUI/Scheduler/LSWScheduler/OGoUserSelectionComponent.m<br>
-----<br>
- (void)setResolveTeams:(BOOL)_flag {<br>
 &nbsp;self-&gt;uscFlags.resolveTeams = _flag ? 1 : 0;<br>
}<br>
- (BOOL)resolveTeams {<br>
 &nbsp;return self-&gt;uscFlags.resolveTeams ? YES : NO;<br>
}<br>
<br>
In WebUI/Scheduler/LSWScheduler/OGoUserSelectionComponent.h it looks<br>
like this is initialized to 1</blockquote><div><br>I agree, when I was looking at the code is seemed to be initialized to &quot;1&quot;, but it isn&#39;t checked by default. <br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

...<br>
 &nbsp;struct {<br>
 &nbsp; &nbsp;int showExtended:1;<br>
 &nbsp; &nbsp;int onlyAccounts:1;<br>
 &nbsp; &nbsp;int isClicked:1;<br>
 &nbsp; &nbsp;int resolveTeams:1;<br>
 &nbsp; &nbsp;int reserved:28;<br>
 &nbsp;} uscFlags;<br>
....</blockquote><div>&nbsp;</div></div>

------=_Part_23323_6698082.1204123603853--