The attributes.variable is made when a teacher chooses a student's name. (My
page has the menu for subjects/navigation then underneath the menu is the
class list- each student with a link. Once a subject is chosen the teacher
can hit any student link and see the grades for that subject). 
I want the teacher to use the menu to go through all the subjects for that
student.  This I can't get to work with the milonic menu.  Right now when I
click on a different subject I am sent to that subject but am sent to a
"default page- on that page I then need to pick a student's name- it doesn't
pass the info that I want to keep with the same student). Like I said I've
had it working in other menus but they have proved unstable.
The attributes.variable = studentID  that the teacher chooses from their
class list.  This class list is generated by a query.
I have tested to make sure that the attributes.variable is seen.  For
example on the menu link I added Reading #attributes.variable.#.  When I use
the menu I see Reading and the correct studentID for the current student.
If I then click on Reading I am sent to the reading page as if there was no
student picked.
Does that make sense? (sorry if I'm babbling today- too little sleep and
coffee)
Here's the section from the menu that is suppose to be the link. (I left my
test there: #attributes.variable#. 
I'm starting to believe that milonic menu only passes more global variables
because it will pass everything but....

<script language=JavaScript>
addmenu(menu=[
"subjectbook",
25,                          // Menu Top - The Top position of this menu in
pixels
114,                          // Menu Left - The Left position of this menu
in pixels
140,                          // Menu Width - Menus width in pixels
2,                            // Menu Border Width
,  
EasySampleStyle,
0,
,
,
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"Reading<CFOUTPUT>ap:#Attributes.StudentID#-</CFOUTPUT>","<CFOUTPUT>Index.c
fm?Fuseaction=SeeCourse1&#URLToken#&Attributes.StudentID=#Attributes.Student
ID#&CLIENT.ClassID=#CLIENT.ClassID#&Course=1</CFOUTPUT>",,,
,"Writing","<CFOUTPUT>Index.cfm?Fuseaction=SeeCourse3&#URLToken#&CLIENT.Clas
sID=#CLIENT.ClassID#&Course=3&StudentID=#StudentID#</CFOUTPUT>",,,
,"Word
Study","<CFOUTPUT>Index.cfm?Fuseaction=SeeCourse2&#URLToken#&CLIENT.ClassID=
#CLIENT.ClassID#&Course=2&StudentID=#Attributes.StudentID#</CFOUTPUT>",,,
,"Math","<CFOUTPUT>Index.cfm?Fuseaction=SeeCourse5&#URLToken#&CLIENT.ClassID
=#CLIENT.ClassID#&Course=5&StudentID=#StudentID#</CFOUTPUT>",,,
,"Science","<CFOUTPUT>Index.cfm?Fuseaction=SeeCourse6&#URLToken#&CLIENT.Clas
sID=#CLIENT.ClassID#&Course=6&StudentID=#StudentID#</CFOUTPUT>",,,
,"Social
Studies","<CFOUTPUT>Index.cfm?Fuseaction=SeeCourse4&#URLToken#&CLIENT.ClassI
D=#CLIENT.ClassID#&Course=4&StudentID=#StudentID#</CFOUTPUT>",,,
,"Technology","<CFOUTPUT>Index.cfm?Fuseaction=SeeCourse7&#URLToken#&CLIENT.C
lassID=#CLIENT.ClassID#&Course=7&StudentID=#StudentID#</CFOUTPUT>",,,
,"Social
Development/Citizenship","<CFOUTPUT>Index.cfm?Fuseaction=SeeCourse8&#URLToke
n#&CLIENT.ClassID=#CLIENT.ClassID#&Course=8&StudentID=#StudentID#</CFOUTPUT>
",,,
,"Work
Habits","<CFOUTPUT>Index.cfm?Fuseaction=SeeCourse9&#URLToken#&CLIENT.ClassID
=#CLIENT.ClassID#&Course=9&StudentID=#StudentID#</CFOUTPUT>",,,
,"Comments","<CFOUTPUT>Index.cfm?Fuseaction=SeeCourse10&#URLToken#&CLIENT.Cl
assID=#CLIENT.ClassID#&Course=10&StudentID=#StudentID#</CFOUTPUT>",,,
,"View All Grades for
Student","<CFOUTPUT>Index.cfm?Fuseaction=SeeCourseAll&#URLToken#&CLIENT.Clas
sID=#CLIENT.ClassID#&PERMNUM=#PERMNUM#</CFOUTPUT>",,,
])
</script>




-----Original Message-----
From: David Hannum [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 26, 2002 8:37 AM
To: CF-Talk
Subject: Re: milonic menus question


I guess I don't understand.  How are you populating the attributes.variable?
How about some code.

Dave


----- Original Message -----
From: "Janine Jakim" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, September 26, 2002 8:03 AM
Subject: RE: milonic menus question


It's the #attributes.variable# only--the one the user chooses. (this same
thing has workded on other menus fine but not this one- but the other menus
aren't good they "run away" from the user). It works fine with client
variables (ie: #URLToken#/#Client.SchoolID#)
Janine

-----Original Message-----
From: David Hannum (Ohio University) [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 25, 2002 10:49 PM
To: CF-Talk
Subject: Re: milonic menus question


Milonic is simply a DHTML menu.  I have used them several times.  Appending
variables to the URL is not a problem.  Are you hand coding the URL's or
generating them dynamically?  Either way, make sure your spelling is
correct.

Dave


----- Original Message -----
From: "Janine Jakim" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, September 25, 2002 3:48 PM
Subject: RE: milonic menus question


> your right- I actually use attributes.variable for this not any form
> variables. (that's what I get for asking a question while multi tasking).
> but do you know if there is any limitations about url variables in
milonic.
> j
>
> -----Original Message-----
> From: David Hannum [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, September 25, 2002 12:01 PM
> To: CF-Talk
> Subject: Re: milonic menus question
>
>
> I think you're trying to pass "URL" scope on your variables, not "FORM".
>
> Dave
>
>
> ----- Original Message -----
> From: "Janine Jakim" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Wednesday, September 25, 2002 11:19 AM
> Subject: ot: milonic menus question
>
>
> Quick question. I'm having problems passing a variable with the milonic
> menus.  In my testing I've found that CLIENT variables pass fine- it's my
> attributes.variable or form.variable that doesn't pass.  Can milonic only
> pass client or session variables?
> Thanks for any insight.
> Janine
>
>
>



______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to