• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

enab Special Attribute

  • Thread starter Thread starter cmanos at crt.xerox.com
  • Start date Start date
C

cmanos at crt.xerox.com

Guest
Hi Folks

I am having problems getting the enab special attribute to work.

I have Unit A and Unit B. When unit A is chosen it allows unit B to
take an option, but without Unit A, Unit B cannot take the option.

What I have attemted to do is add the Attribute dsab to the option
and adding the option to Unit B. It shows up as disabled and
unchangeable.

Then I created an item with the 'enab:UnitB-Option' Attribute and
Included it with Unit A, in hopes that by choosing Unit A, you would
make the Option available to Unit B. Unfortunately, Unit B still
cannot choose the option, even when Unit A has been chosen.

Any help?

Chris



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Universal Inkjet Refill Kit $29.95
Refill any ink cartridge for less!
Includes black and color ink.
http://us.click.yahoo.com/XwUZwC/MkNDAA/ySSFAA/IMSolB/TM
---------------------------------------------------------------------~->
 
enab only works if unit B is bought as a child of unitA, and, I've never
gotten it to work, myself. What I would do is give Unit A a type, say
"UnitA", and have the option assign unit B the type "UnitB". Next, use
the trat race attribute to require that type UnitB requires at least one
type UnitA (or define whatever ratio you need).


cmanos@crt.xerox.com wrote:

> Hi Folks
>
> I am having problems getting the enab special attribute to work.
>
> I have Unit A and Unit B. When unit A is chosen it allows unit B to
> take an option, but without Unit A, Unit B cannot take the option.
>
> What I have attemted to do is add the Attribute dsab to the option
> and adding the option to Unit B. It shows up as disabled and
> unchangeable.
>
> Then I created an item with the 'enab:UnitB-Option' Attribute and
> Included it with Unit A, in hopes that by choosing Unit A, you would
> make the Option available to Unit B. Unfortunately, Unit B still
> cannot choose the option, even when Unit A has been chosen.
>
> Any help?
>
> Chris
>
>
>
>
> To unsubscribe from this group, email
>
> armybuilder-unsubscribe@egroups.com
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>
>




------------------------ Yahoo! Groups Sponsor ---------------------~-->
Universal Inkjet Refill Kit $29.95
Refill any ink cartridge for less!
Includes black and color ink.
http://us.click.yahoo.com/E11sED/MkNDAA/ySSFAA/IMSolB/TM
---------------------------------------------------------------------~->
 
The "enab" attribute only works within the context of a specific unit. It
does NOT work across multiple units. The only way to track this (that I can
think of right now) is by using a validation rule. You can't directly
impose the restriction - only a validation can check for it. The method I
would use is to assign a unique type to UnitA, then assign another unique
type to the Option. You can then use a "trat" attribute to ensure that the
existence of type "Option" in the roster requires the presence of type "UnitA".

Hope this helps,
Rob


At 02:09 PM 11/21/2001 +0000, you wrote:
>Hi Folks
>
>I am having problems getting the enab special attribute to work.
>
>I have Unit A and Unit B. When unit A is chosen it allows unit B to
>take an option, but without Unit A, Unit B cannot take the option.
>
>What I have attemted to do is add the Attribute dsab to the option
>and adding the option to Unit B. It shows up as disabled and
>unchangeable.
>
>Then I created an item with the 'enab:UnitB-Option' Attribute and
>Included it with Unit A, in hopes that by choosing Unit A, you would
>make the Option available to Unit B. Unfortunately, Unit B still
>cannot choose the option, even when Unit A has been chosen.
>
>Any help?
>
>Chris


---------------------------------------------------------------------------
Rob Bowes (rob@wolflair.com) (650) 726-9689
Lone Wolf Development www.wolflair.com


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Promise to Quit
Nicotrol will help
http://us.click.yahoo.com/5vN8tD/AqSDAA/ySSFAA/IMSolB/TM
---------------------------------------------------------------------~->
 
Back
Top