• 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
Issue with Ajax Update(ProjectWonder)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Issue with Ajax Update(ProjectWonder)


  • Subject: Issue with Ajax Update(ProjectWonder)
  • From: Raghavender <email@hidden>
  • Date: Fri, 11 Dec 2009 21:35:44 +0530

Hi,

I am working on WebObjects application, using AjaxUpdateContainers (ProjectWonder). 
I am trying to set a value from webobjects to a _javascript_ variable and based on that condition I am trying to update the framesets.  But always the WebObjects value is returning false eventhough it is true when I print it in the Java.  It seems webobjects element is not refreshing when an Ajax submit is performed, and eventhough the function is in AjaxUpdate area.

Following is the code snippet that gives the picture of the scenario explained.  Any help would be appreciated.

-----------------------------HTML code-----------------------------
function showPassageFrame()
{
var a="<WEBOBJECT NAME=ShowPassage></WEBOBJECT>";
if(a=='true'){
parent.PassageFrameset.rows="40%,*";
}else {
parent.PassageFrameset.rows="0,*";
}
}
-----------------------------WOD code------------------------------
ShowPassage: WOString {
value = showPassage;
}
-----------------------------Java code-----------------------------
public String showPassage(){

if(currentItem.passageExists())
return "true";
else
return "false";
}
--------------------------------------------------------------------

Regards,
Raghavender.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Antw.: WebObjects Installer (Wonder, WOLips and utilities)
  • Next by Date: Re: Dynamic Frame Resize
  • Previous by thread: Antw.: WebObjects Installer (Wonder, WOLips and utilities)
  • Next by thread: AJAX UpdatePanel component in Project Wonder?
  • Index(es):
    • Date
    • Thread