Author: abelevich
Date: 2008-03-20 14:05:10 -0400 (Thu, 20 Mar 2008)
New Revision: 7025
Modified:
trunk/ui/inplaceInput/src/main/templates/inplaceinput.jspx
Log:
http://jira.jboss.com/jira/browse/RF-2643
Modified: trunk/ui/inplaceInput/src/main/templates/inplaceinput.jspx
===================================================================
--- trunk/ui/inplaceInput/src/main/templates/inplaceinput.jspx 2008-03-20 17:28:45 UTC
(rev 7024)
+++ trunk/ui/inplaceInput/src/main/templates/inplaceinput.jspx 2008-03-20 18:05:10 UTC
(rev 7025)
@@ -157,8 +157,19 @@
}
]]>
</jsp:scriptlet>
+ <script type="text/javascript">
+
+ #{this:encodeScriptAttributes(context, component)};
+ #{this:encodeScriptEvents(context, component)};
+ #{this:encodeInplaceInputCss(context, component)};
+
+ var inplaceInput = new Richfaces.InplaceInput('#{clientId}',
'#{clientId}tempValue', '#{clientId}value', '#{clientId}tabber',
+ attributes, events, classes, ['#{clientId}bar',
+ '#{clientId}ok', '#{clientId}cancel',
'#{clientId}buttons','#{clientId}btns_shadow']);
+ </script>
</div>
- #{value}
+ #{value}
+
<jsp:scriptlet>
@@ -172,15 +183,4 @@
<jsp:scriptlet>
}
</jsp:scriptlet>
-
- <script type="text/javascript">
-
- #{this:encodeScriptAttributes(context, component)};
- #{this:encodeScriptEvents(context, component)};
- #{this:encodeInplaceInputCss(context, component)};
-
- var inplaceInput = new Richfaces.InplaceInput('#{clientId}',
'#{clientId}tempValue', '#{clientId}value', '#{clientId}tabber',
- attributes, events, classes, ['#{clientId}bar',
- '#{clientId}ok', '#{clientId}cancel',
'#{clientId}buttons','#{clientId}btns_shadow']);
- </script>
</f:root>
\ No newline at end of file