Javascript Question Again..
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.