Posted 19 years ago
by Carl Gilbert
Hi
I have a tree-like structure of objects in my system. I also have a pattern group define as follow:
<ExplicitPatternGroup TokenKey="OrganisationToken" PatternValue="Organisation" Style="ReservedWordStyle" LookAhead="{NonWordMacro}" CaseSensitivity="AutoCorrect"/>
When I detect an OrganisationToken, I am displaying a member list with all the base objects in my system.
What I want to allow the user to do is to select one of these objects and then display another member list of all its children.
This would then be recursive so the user could navigate down through the objects in my system.
The only problem is, as soon as I choose the first object, the previous token is no longer an OrganisationToken but now a IdentifierToken.
Is there anyway for a token to describe the object it references? For example, can I put the guid of the object a tag like property?
Regards, Carl Gilbert
I have a tree-like structure of objects in my system. I also have a pattern group define as follow:
<ExplicitPatternGroup TokenKey="OrganisationToken" PatternValue="Organisation" Style="ReservedWordStyle" LookAhead="{NonWordMacro}" CaseSensitivity="AutoCorrect"/>
When I detect an OrganisationToken, I am displaying a member list with all the base objects in my system.
What I want to allow the user to do is to select one of these objects and then display another member list of all its children.
This would then be recursive so the user could navigate down through the objects in my system.
The only problem is, as soon as I choose the first object, the previous token is no longer an OrganisationToken but now a IdentifierToken.
Is there anyway for a token to describe the object it references? For example, can I put the guid of the object a tag like property?
Regards, Carl Gilbert