PDA

View Full Version : Golbal List


Bruce
10-08-2002, 10:38 AM
How do I actually "Start" a Global list... Yon know… "Hi, I'm a Global List!"

Bruce
10-08-2002, 10:50 AM
I found it! Sorry, it was under Project/Global Lists

Bruce
10-08-2002, 11:34 AM
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.

Bruce
10-08-2002, 12:22 PM
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

TJ_Tigger
10-08-2002, 01:23 PM
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
http://www.indigorose.com/ubbthreads/showflat.php?Cat=&amp;Board=UBB2&amp;Number=11516&amp;page=&amp;vi ew=&amp;sb=&amp;o=&amp;vc=1

Here is the mp3 player
http://www.indigorose.com/ubbthreads/showthreaded.php?Cat=&amp;Board=UBB2&amp;Number=7695&amp;page= 2&amp;view=collapsed&amp;sb=5&amp;o=0&amp;fpart=

Derek
10-08-2002, 03:58 PM
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! /ubbthreads/images/icons/smile.gif

Bruce
10-08-2002, 04:44 PM
True, I don't know way I was thinking this was different. Thx Derek.