-
1. jquery not working
ajanz Apr 10, 2011 3:47 AM (in response to ajanz)hups little mistake changed selector and query but doesn't work
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:s="http://jboss.com/products/seam/taglib"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:rich="http://richfaces.org/rich"
template="layout/template.xhtml"><ui:define name="body">
<div id="resize" style="background-color:yellow;width:200px;height:200px" />
<rich:jQuery query="resizable()" timing="onload" selector="#resize"></rich:jQuery>
</ui:define>
</ui:composition> -
2. jquery not working
ilya_shaikovsky Apr 11, 2011 3:47 AM (in response to ajanz)have you added plugin script resources?
-
-
4. jquery not working
ilya_shaikovsky Apr 11, 2011 4:57 AM (in response to ajanz)The jQuery UI Resizable plugin makes selected elements resizable (meaning they have draggable resize handles). You can specify one or more handles as well as min and max width and height.
-
5. jquery not working
ajanz Apr 11, 2011 5:02 AM (in response to ilya_shaikovsky)sorry, but what is missing?
i thougt it's part of jquery and so ready to use.
-
6. jquery not working
ajanz Apr 15, 2011 12:09 PM (in response to ajanz)still struggling with that.
could someone help?
-
7. jquery not working
ilya_shaikovsky Apr 18, 2011 6:26 AM (in response to ajanz)just download jquery.ui and add as resource dependency using h:outputStylesheet. (do not add jQuery because it will be loaded by RF)