Wednesday, June 15, 2005

See BB-OPEN_SRC@LISTS.VCU.EDU and http://bbug.ca for help with Building Blocks


From: blkbrd-l - "Listserv" [mailto:BLKBRD-L@asu.edu] On Behalf Of Santo
Nucifora
Sent: Tuesday, January 11, 2005 11:41 AM
To: BLKBRD-L@asu.edu
Subject: Re: [BLKBRD-L] Storing a value globally in a portal module

Thanks for the reminder, Dennis.

// Read a global variable called "gVariable" that's available to all
users within a module

CustomData customData = CustomData.getData(pageContext); String
globalVariable = customData.getValue("gVariable")

// Save "someValue" to the gVariable global variable that's available to
// that module (usually done in a process_edit.jsp of the module after
// it's been read and editted in edit.jsp)

customData.setValue("someValue",gVariable);
customData.save();

I would suggest that you ask questions like this at
BB-OPEN_SRC@LISTS.VCU.EDU or visit http://bbug.ca as there is much
Blackboard Building Block development discussion there.

Hope this helps,
Santo Nucifora

Dennis Hood wrote:

>
>
> Dear Srinivas,
>
> Could you explain in detail what you want to do any the purpose?
>
> Thanks,
>
> Dennis
> Subject:
> Storing a value globally in a portal module
> From:
> Srinivas <eriki@GWU.EDU>
> Date:
> Mon, 10 Jan 2005 12:55:48 -0700
>
>
> Hello,
>
> In a portal module, how can I store a value globally so that all the
> users can access it from the module?
>
> Thank you.
> Srinivas
>
> Directions to BLKBRD-L archives and settings:
> http://is.asu.edu/instruction/faq/usingBLKBRD-L.html
>
> --
> Dennis Hood
> Manager, Learning Management Systems
> Princeton University
> 114 Frist Campus Center
> Princeton, NJ 08544
> Tel: 609.258.0776
>
> ---------------------------------------
> This electronic communication, including any attached documents, may
> contain confidential and/or legally privileged information. The
> information is intended only for use by the recipient(s) named above.
> If you have received this communication in error, please notify the
> sender immediately and delete the communication and any attachments.
>
>
> Directions to BLKBRD-L archives and settings:
> http://is.asu.edu/instruction/faq/usingBLKBRD-L.html

Directions to BLKBRD-L archives and settings:
http://is.asu.edu/instruction/faq/usingBLKBRD-L.html




<< Home

This page is powered by Blogger. Isn't yours?