• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Javascript Question Again..
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Javascript Question Again..


  • Subject: Javascript Question Again..
  • From: James Cicenia <email@hidden>
  • Date: Fri, 9 Apr 2004 09:43:48 -0500

Hello -

I have the following code to build a javascript menu:

	public String menuScriptText(){
		menuScriptText = new StringBuffer();
		String codeName = "";
		portfolioGroupCodes =  ((Session)
session()).portfolio().projectGroupCodes();
		for(int i=0;i<portfolioGroupCodes.count();i++){
			codeName =
((PortfolioProjectGroupCode)portfolioGroupCodes.objectAtIndex(i)).name()
;
			menuScriptText.append("aI(\"text="+codeName+";url=/menusample1.php;
\");");
		}
		return menuScriptText.toString();
	}

What do I do for the url above? I need to pass the codeName back to my
application
to filter my list. WOActionURL almost seemed good but I don't
understand how I can
use that in my code.

any help would be greatly appreciated.

-James Cicenia
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • java.util.Enumeration - Array List Question
      • From: "Janice M. Cheung" <email@hidden>
  • Prev by Date: RE: Printing....
  • Next by Date: java.util.Enumeration - Array List Question
  • Previous by thread: Re: Mixing Direct Actions and maintaining session state - SOLVED - is this a bug?
  • Next by thread: java.util.Enumeration - Array List Question
  • Index(es):
    • Date
    • Thread