wood burning stoves 2.0*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jsf image Zoom in and Zoom out
 
Similar Threads
Implementing p:rating in a datatable column and passing the selected row id to the managed bean
multiple form in xhtml page nad update different controlls on two different forms
Ajax Behaviour On File Upload
Updating a form in primefaces when a selection is made in the datatable
ajax and p:picklist (PrimeFaces)