File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of Storm Applied this week in the Other Open Source APIs forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "jsf image Zoom in and Zoom out " Watch "jsf image Zoom in and Zoom out " New topic

jsf image Zoom in and Zoom out

sriram Ganapathi

Joined: Dec 19, 2012
Posts: 10

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"
<p:ajax event="selectEnd" listener="#{imageController.selectEndListener}" update="growl"/>

<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();"/>

I agree. Here's the link:
subject: jsf image Zoom in and Zoom out