Re: weird popup problem
Re: weird popup problem
- Subject: Re: weird popup problem
- From: "Jerry W. Walker" <email@hidden>
- Date: Thu, 29 Sep 2005 12:26:48 -0400
Hi, James,
Your bindings look OK to me (even after checking a couple of my own
WOPopups to be sure).
For this kind of schizophrenic behavior, my first thoughts would go
to whether something changed the WO template structure between
appendToResponse and the next takeValuesFromRequest.
If you've checked that and you don't have any WOCoditionals changing
values or arrays on which WORepitions depend changing sizes, or some
such, then it's time to put in your header checks by overriding
dispatchRequest in WOApplication.
You've probably done this before, but in case you haven't, here's the
code I use for easy reference:
public WOResponse dispatchRequest( WORequest request )
{
LOGGER.debug( "The request = " + request.toString() );
WOResponse response = super.dispatchRequest( request );
LOGGER.debug( "The response = " + response.toString() );
return response;
}
Good luck,
Jerry
On Sep 29, 2005, at 11:33 AM, James Cicenia wrote:
Hello -
I have never seen this problem before but, if I put a string in the
No Selection binding, than my popup won't show the current
selection. If I remove the no selection binding then editing works
(shows the current selection) but then when entering data for the
first time it will have the first value selected which is wrong.
Here is my bindings:
PopUpButton1: WOPopUpButton {
displayString = portfolioTicketResource.fullName;
item = portfolioTicketResource;
list = session.portfolio.ticketResources;
noSelectionString = "--- please select ---";
selection = assignee;
}
Any ideas? I seem to think I have been doing popups like this forever.
Thanks,
James Cicenia
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40codefab.com
This email sent to email@hidden
--
__ Jerry W. Walker, Partner
C o d e F a b, LLC - "High Performance Industrial Strength
Internet Enabled Systems"
email@hidden
212 465 8484 X-102 office
212 465 9178 fax
_______________________________________________
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