|
From: <sv...@de...> - 2005-06-06 19:53:29
|
Author: pcamacho
Date: 2005-06-06 15:53:22 -0400 (Mon, 06 Jun 2005)
New Revision: 1246
Modified:
humano2/trunk/web/portal/site/updateInstance.aspx.cs
Log:
FIX: when updating an instance, the user is redirected to the page of thi=
s instance and not to the view of the class.=20
(cf bug #166).
Modified: humano2/trunk/web/portal/site/updateInstance.aspx.cs
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- humano2/trunk/web/portal/site/updateInstance.aspx.cs 2005-06-03 23:51=
:39 UTC (rev 1245)
+++ humano2/trunk/web/portal/site/updateInstance.aspx.cs 2005-06-06 19:53=
:22 UTC (rev 1246)
@@ -72,10 +72,8 @@
//Nada
}
}
-
- // Get the correct view to redirect the user to.
- int defaultViewId =3D dbAdapter.getDefaultViewId(classId);
- HttpContext.Current.Response.Redirect(Html.genAbsoluteUrl("/portal/si=
te/" + ViewPages.showViewPage + defaultViewId + "&classId=3D"+classId)); =
=09
+ //HttpContext.Current.Response.Redirect(Html.genAbsoluteUrl("/portal/=
site/" + ViewPages.showViewPage + defaultViewId + "&classId=3D"+classId))=
; =09
+ HttpContext.Current.Response.Redirect(Html.genAbsoluteUrl("/=
portal/site/Data_structured.aspx?id_entity=3D" + idEntity + "&classId=3D"=
+classId + "&action=3Dread" +"&display=3DreadXslt.aspx"));
}
=09
#region Web Form Designer generated code
|