• 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
Re: Extra set of eyes on this WOPopUp.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Extra set of eyes on this WOPopUp.


  • Subject: Re: Extra set of eyes on this WOPopUp.
  • From: James Cicenia <email@hidden>
  • Date: Mon, 7 Jun 2010 17:47:54 -0500

But then why would I get the "first" object set?
And I am actually doing this:

public Rating selectedRating()
{
return currentMaster.rating();
}


public void setSelectedRating(Rating pRating)
{
currentMasterAlert.setRatingRelationship((Rating)EOUtilities.localInstanceOfObject(ec(), pRating));
System.out.println(pRating.name());
    }

YET in my _javascript_:

function createNameEntry(){
var inAddMode = "<webobject name = "inAddMode"/>";
$('NameEntry').value = "";
var typeIndex  = $('typeSelect').selectedIndex;
var sectorIndex  = $('sectorSelect').selectedIndex; 
var ratingIndex  = $('ratingSelect').selectedIndex; 


if($('typeSelect').selectedIndex > 0){
$('NameEntry').value += $('typeSelect').options[typeIndex].text+" - ";
}
if($('sectorSelect').selectedIndex > 0){
$('NameEntry').value += $('sectorSelect').options[sectorIndex].text+" - ";
}
if($('ratingSelect').selectedIndex > 0){
$('NameEntry').value += $('ratingSelect').options[ratingIndex].text;
}
}

The NameEntry field gets set correctly and then upon submit.. it gets the "first" object of the list always.

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
  • Follow-Ups:
    • Re: Extra set of eyes on this WOPopUp.
      • From: Chuck Hill <email@hidden>
References: 
 >Extra set of eyes on this WOPopUp. (From: James Cicenia <email@hidden>)
 >Re: Extra set of eyes on this WOPopUp. (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: Extra set of eyes on this WOPopUp.
  • Next by Date: Re: Extra set of eyes on this WOPopUp.
  • Previous by thread: Re: Extra set of eyes on this WOPopUp.
  • Next by thread: Re: Extra set of eyes on this WOPopUp.
  • Index(es):
    • Date
    • Thread