[Mono-dev] System.Web.UI: Patch to enable ASP.Net callbacks for Portlets
Eyal Alaluf
eyala at mainsoft.com
Sun Feb 4 04:44:13 EST 2007
Just renaming the title since it didn't indicate the well the
System.Web.UI context.
-----Original Message-----
From: mono-devel-list-bounces at lists.ximian.com
[mailto:mono-devel-list-bounces at lists.ximian.com] On Behalf Of Eyal
Alaluf
Sent: 01 February 2007 18:02
To: Marek Habersack; mono-devel-list at lists.ximian.com
Subject: [Mono-dev] Patch to enable callbacks for Portlets
Hi, Marek & all.
Attached is a patch to enable TARGET_J2EE portlets to use HTTP
callbacks. The patch has two minor changes to the code common with Mono:
1. The callback used 'document.URL' as the URL for posting the
callback to. I modified that to use a 'serverURL' field that is added to
the 'theForm'. This is because for J2EE portlets 'document.URL' points
to the J2EE portal page and not to the specific portlet within it.
2. WebForm_ClientCallback is using the 'theForm' to access the value
of the '__EVENTVALIDATION' hidden field. Since for portlets 'theForm'
does not exist I passing the right form as a param to
'WebForm_ClientCallback'.
Your comments are welcome.
Eyal.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Portal.Callback.diff
Type: application/octet-stream
Size: 4167 bytes
Desc: Portal.Callback.diff
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070204/ff3291c1/attachment.obj
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ATT1550700.txt
Url: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070204/ff3291c1/attachment.txt
More information about the Mono-devel-list
mailing list