This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: jsf image Zoom in and Zoom out
 
It's not a secret anymore!