aspose file tools*
The moose likes JSF and the fly likes jsf image Zoom in and Zoom out Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "jsf image Zoom in and Zoom out " Watch "jsf image Zoom in and Zoom out " New topic
Author

jsf image Zoom in and Zoom out

sriram Ganapathi
Greenhorn

Joined: Dec 19, 2012
Posts: 10
Hi,

I am using <pe:imageAreaSelect> and <pe:imageRotateAndResize> in primefaces but i trying do some ajax event
inside <pe:imageAreaSelect> & <pe:imageRotateAndResize> is not working. it giving some error like <p:ajax>
Unable to attach <p:ajax> to non-ClientBehaviorHolder parent.Also i need to do Zoom in , Zoom out operation how to do that.


Please Help.

This is my code


<pe:imageAreaSelect id="areaSelect"
for="myImage"
widgetVar="areaSelectWidget"
autoHide="true"
parentSelector="#imageWrapper">
<p:ajax event="selectEnd" listener="#{imageController.selectEndListener}" update="growl"/>
</pe:imageAreaSelect>

<pe:imageRotateAndResize id="rotateAndResize" for="myImage" widgetVar="rotateAndResizeWidget">
<p:ajax event="rotate" listener="#{imageController.rotateListener}"
update="growl" oncomplete="areaSelectWidget.reload();"/>
<pe:javascript event="resize" execute="areaSelectWidget.reload();"/>
</pe:imageRotateAndResize>

Regards,
Sriram
 
wood burning stoves
 
subject: jsf image Zoom in and Zoom out