• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
JavaScript image cropper UI possible in Webobjects ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

JavaScript image cropper UI possible in Webobjects ?


  • Subject: JavaScript image cropper UI possible in Webobjects ?
  • From: jlecuyer <email@hidden>
  • Date: Thu, 17 Aug 2006 15:38:44 -0400

David Spurr create a very nice _javascript_ to crop an image using an interface with the same features and styling as found in commercial image editing software. A demo is at:
http://www.defusion.org.uk/code/_javascript_-image-cropper-ui-using-prototype-scriptaculous/

Is it possible to integrate this in webobject?
It is based on Prototype & script.aculo.us

I'd try to integrate cropper.js, prototype.js, scriptaculous.js and cropper.css in a xcode project.
I'd make sure that those was in the copy Bundle Resources of Web Server Target.
After the Build, i'd copy the .woa to /Library/WebServer/Documents/WebObjects/ProjectJle.woa
But it's not working...(no live cropping UI on image) ok there is the xhtml problem, but it can be fix...
My web Component: choixCrop.wo integrate a WOJavaScript in the header specifying the <script src to
<script src="">"/WebObjects/ProjectJle.woa/Contents/WebserverResources/prototype.js" type="text/_javascript_"></script>
<script src="">"/WebObjects/ProjectJle.woa/Contents/WebserverResources/scriptaculous.js?load=builder,dragdrop" type="text/_javascript_"></script>
<script src="">"/WebObjects/ProjectJle.woa/Contents/WebserverResources/cropper.js" type="text/_javascript_"></script>

I'd tried to save the page.html that Webobject generate and edit it to point those .js file to local folder path with this page.html and 
it work if
I change those script "src=""khtml-block-placeholder">
Thanks,
Jean
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: JavaScript image cropper UI possible in Webobjects ?
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: Open source as the way some important software is developed
  • Next by Date: Re: JavaScript image cropper UI possible in Webobjects ?
  • Previous by thread: [SOLVED] Switching from XCode to WOLips: ressources headaches
  • Next by thread: Re: JavaScript image cropper UI possible in Webobjects ?
  • Index(es):
    • Date
    • Thread