<% /* Copyright (c) Oracle Corporation 2002, 2003. All rights reserved. */
   
  /* include this in:
  --    DataViewEditProvider.jsp 
  --    WebClippingEditProvider.jsp 
  --    WebClippingEditPortlet.jsp 
  */ %>
<%--
  -- Changes needed to use UIX 2.0.21 (iAS 9.0.2):
  --  - use UIX Configuration object to setup the image cache directory.
  --  - This config setup is not required for 2.1.x version of UIX.
  --  - so call setConfiguration method only when the UIX version is not 2.1.x
  --  The hack of finding uixrc attribute from pageContext and then setting
  --  to uixrc1 is required as in uix 2021, uixrc declaration is outside
  --  taghandler block and in uix 2112+, it is inside the taghandler block.
  --%>
<%
  String uixVersion = Utility.getUIXVersion();
  ServletRenderingContext uixrc1 = null;
  if ( (uixVersion == null) || (uixVersion.startsWith("2.0")) )
  {
    Configuration uixConfig = Utility.getUIXConfiguration(request, application);
%>    
<uix:renderingContext id="uixrc"/>    
<%
    uixrc1 = (oracle.cabo.ui.ServletRenderingContext) pageContext.findAttribute("uixrc");
    uixrc1.setConfiguration(uixConfig);
  }
%>

<% /*Dummy function - to get rid of javascript error */ %>
<script language="javascript">
function _submitOnEnter()
{
  //dummy function
  return true;
}
</script>

