Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7175473
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T16:18:10+00:00 2026-05-28T16:18:10+00:00

We are using Curvy corners script (http://www.curvycorners.net) for the JSF buttons to have the

  • 0

We are using Curvy corners script (http://www.curvycorners.net) for the JSF buttons to have the curvy corners in IE.

In IE when we make a Ajax call ,in Ajax response this curvy corners doesn’t executed so we tried to re-execute the curvy corner script . as below in JSF ,but still the curvy corner is not refreshed ,how to reload the curvy corner in Ajax response

jsf.ajax.addOnEvent( function(data) {
if (data.status == "success") { // Can be 'begin', 'complete' and 'success'.
alert("curvy corner");
 var settings = {
 tl: { radius: 5 }, tr: { radius: 5 }, bl: { radius: 5 }, br: { radius: 5 },        antiAlias: true
    };
    $.getScript("jquery.curvycorners.min.js", function() {
    curvyCorners(settings, '.button-primary'); });

}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T16:18:11+00:00Added an answer on May 28, 2026 at 4:18 pm

    From the comments:

    .getScript is not loading curvycorner script

    Then the location which you specified in $.getScript() is just invalid. As you have specified it now (without a leading slash), it’s relative to the current request URL. Imagine that you have opened the JSF page by http://localhost:8080/context/some/folder/some.xhtml, then the $.getScript("jquery.curvycorners.min.js") will try to load it from http://localhost:8080/context/some/folder/jquery.curvycorners.min.js. Your problem indicates that the file is actually not there at all, but on a different folder or something.

    The callback function of $.getScript() is only called when the script is successfully loaded. So you need to fix the location accordingly so that it get loaded properly.

    But as you mentioned in the comments, you have this script already in the <head> and it is already working on page load. You don’t need to load the whole script again by $.getScript() at all. Just invoke the callback function directly.

    jsf.ajax.addOnEvent(function(data) {
        if (data.status == "success") {
            var settings = {
                tl: { radius: 5 }, tr: { radius: 5 }, bl: { radius: 5 }, br: { radius: 5 },        antiAlias: true
            };
            curvyCorners(settings, '.button-primary');
        }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using CurvyCorners to make my corners curvy in IE, only thing is that
I am using a -webkit-border-radius: 7px;-moz-border-radius: 7px; to make my accordions and buttons curvy.And
I'm using 2.11 malsup jquery curvy corners on my page here: http://robynrowe.sanscode.com For some
I'm using the CurvyCorners for my rounded corners at the moment. I'm also using
Using C# for ASP.NET and MOSS development, we often have to embed JavaScript into
I am using the jquery curvy corners plugin I can get this working on
I'm having trouble with braces (curly brackets) using GNU parallel ( http://www.gnu.org/software/parallel/ ) I
Absolute newbie question, any help is highly appreciated :) I am using curvycorners (
is there a way to make rounded corners on elements so that they are
I have a quadratic curve drawn on html canvas using context.quadraticCurveTo(controlX, controlY, endX, endY);

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.