No, because then your updated page would not reflect the flags and state the way you want it.

On Dec 13, 2005, at 1:57 PM, Alex Finkel wrote:

Shouldn't that be a post-processing? After the call to super.appendToResponse.


On 12/13/05, Ken Anderson <[EMAIL PROTECTED]> wrote:
You can't change the structure of the page until WO has completely
parsed the post.  What I usually do is hold any changes that could
change the structure of the page until appendToResponse, and do
something like:

public void appendToResponse(WOResponse aResponse, WOContext aContext) {
        shouldShowCheckbox = pendingShouldShowCheckbox;

        super.appendToResponse(aResponse, aContext);
}

Ken

On Dec 13, 2005, at 9:48 AM, [EMAIL PROTECTED] wrote:


Hi All -

I have a form that contains a wopopup that uses on change to submit
the
form.  The form is refreshed and depending on the value of the
wopopoup,
some wocheckboxes (wrapped in a woconditional) are displayed.

Example:
If 'number' is selected in the wopopup, a Is Zero Filled? checkbox is
displayed using the woconditional.

I have set the checkbox boolean to true in the objects constructor,
but
since the checkboxes are not displayed initially (a null value is
initially
displayed in the wopopup), the checkboxes remain unchecked when
they are
finally displayed.

When I move the checkboxes out of the woconditional (so that they are
always displayed) the checkboxes are displayed correctly.

Has anyone experienced this before or have pointers towards a
solution?

Thanks.

Cord

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/lists%
40anderhome.com

This email sent to [EMAIL PROTECTED]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/finkel.alex% 40gmail.com

This email sent to [EMAIL PROTECTED]


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to