How do I actually "Start" a Global list... Yon know… "Hi, I'm a Global List!"
Announcement
Collapse
No announcement yet.
Golbal List
Collapse
X
-
Re: Golbal List
Hello guys-
I’m trying to create a shopping cart. This is what I have:
I have one page, five items, each item has this in their Properties:
<IR_ACTIONS_LIST>
<Action name="Add">
<Type>111</Type>
<Function>0</Function>
<DTIndentLevel>0</DTIndentLevel>
<Enabled>1</Enabled>
<ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage/>
<OnErrorAction>0</OnErrorAction>
<JumpToLabel/>
</ErrorHandling>
<TargetList>cart</TargetList>
<AddType>0</AddType>
<Index/>
<Text>Oil $5.90</Text>
<Delimiter>;;</Delimiter>
</Action>
</IR_ACTIONS_LIST>
By the way I also have a Global List called “cart”. I have a List Box Object that has:
<IR_ACTIONS_LIST>
<Action name="Get Item">
<Type>112</Type>
<Function>0</Function>
<DTIndentLevel>0</DTIndentLevel>
<Enabled>1</Enabled>
<ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage/>
<OnErrorAction>0</OnErrorAction>
<JumpToLabel/>
</ErrorHandling>
<TargetList>cart</TargetList>
<GetType>1</GetType>
<Index/>
<IndexDelimiter>;;</IndexDelimiter>
<Variable>%ListItem%</Variable>
<VarDelimiter>;;</VarDelimiter>
</Action>
</IR_ACTIONS_LIST>
I can’t seem to get the info to show up in the list box.
Comment
-
Re: Golbal List
All righty then! I got it to work! LOL
The problem I have now is when the items are viewed in the List box they show like this: Item 1;;Item 2;;Item 3;; etc.
I would like to have them list like this:
Item 1
Item 2
Item 3
etc. Any ideas?
Thx Bruce
Comment
-
Re: Golbal List
Bruce,
If you do a search on Listboxes, I rememer there being an article recently about using them and an attachment along with the list box. I am on the road so don't have my files and bookmarks that are on the home PC. There is another file that maybe helpful, it was an MP3 player created to show what AMS4 could do. You may want to look at that one as well. I will try to find some links.
Look for Lornes post
Here is the mp3 player
TJ-Tigger
"A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
"Draco dormiens nunquam titillandus."
Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine
Comment
-
Re: Golbal List
Bruce - we did this in Discipleship. Go have a look at the way it's reading it from the txt file and also check the PROJECT SETTINGS > CONFIGURATIONS > DEFAULT BUILD
You have it all right there on yur HDD, no doubt! [img]/ubbthreads/images/icons/smile.gif[/img]-
= Derek
["All glory comes from daring to begin" - fortune cookie]
Comment
Comment