Hi !If I have an array of EOs as a component instance variable containing EOs I fetch in its constructor.
If the user on that component stays there for 2 mins. If in the meantime a background thread deleted the EO.If now the user does an action in the component that returns null (we stay in the same component)
Then I get an IllegalStateException in the appendToResponse of the page.
I understand that this is quite normal, no doubt about it. But now I would like to recover from that "error". I can catch the exception. Sure ! But what do I do then? If in the catch I try to refetch some data, what do I call then?self.appendToResponse again? No : if the exception was raised because of object I did not refresh, I will loop. super.appendToResponse ? No : that could mean calling it twice and could lead to having the html twice in the page generated
response.setStatus(302) ? No : I could loop too...I am sure this is quite a usual problem but I can't find a logical solution.
Did I miss something? Regards Fabrice Pipart www.easyshadow.com International Corporate Consulting Palais de la Scala 1 avenue Henri Dunant Suite 1155 MC - 98000 Monaco Skype: fabrice.pipart Tel. +377 97 98 21 04 (direct) Fax. +377 97 70 88 07
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ 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]
