How disable JSF2 edit my script tag?

I am using jsf2. Problem is the script tag being edited to append closing script tag. It cause the jquery not work(I also not sure why but it does not work when i come with closing tag). How to disable jsf to format my script tag?
original
<script src="/jquery/menu/demo/jquery.dimensions.min.js"/>
output
<script src="/jquery/menu/demo/jquery.dimensions.min.js"><!--
//--></script>

am not sure, try with this
<script src="/jquery/menu/demo/jquery.dimensions.min.js" type="text/javascript" > </script>

Similar Messages

  • How do I edit this script (newbie)

    Editing a script
    I found a script that creates a reminder event based upon the birthdays of my contacts in Address Book. It looks forward one week at a time.
    I'm not familiar with creating scripts. How would I edit this to do the following (if possible)
    1- I set up a contact list in Address Book for only those people whose birthdays I want to be reminded of. Is it possible to have this script only look through this contact list, not every contact.
    2- Can it also be set up to delete the previously set events (so that the only events that appear are the ones for the ensuing week)
    3- Can it be set up to remind me of anniversaries also? How would I edit it? (I tried to find and replace the term birthday with anniversary, but all it did was notify me of forthcoming week's birthdays but called them anniversaries)
    Thanks!
    ===============
    birthdayAlert.scpt
    User set variables
    set numberDaysNotice to 1 -- how many days before the birthday to alert you, 0 is that day
    set timeOfNotification to 5 -- the hour you want the notification
    set selectedCalender to "Birthday Reminders" -- the calender in iCal you want to add the events to
    Setup
    set birthdayPeople to {}
    set birthdayDates to {}
    Get the current date & next week
    set today to current date
    set nextWeek to today + (60 * 60 * 24 * 7)
    Loop through everyone in the Address Book
    tell application "Address Book"
    set peopleArray to the name of every person
    repeat with i from 1 to count of peopleArray
    set thisPerson to person i
    set thisBirthday to birth date of thisPerson
    Check if they've got a birthday entered on their card
    if thisBirthday is not equal to (missing value) then
    set year of thisBirthday to year of (current date) -- otherwise it uses their birth year
    See if it's in the next week
    if (thisBirthday is greater than today) and (thisBirthday is less than nextWeek) then
    set thisBirthday_day to day of thisBirthday
    set thisBirthday_month to month of thisBirthday
    Add them to our list
    set birthdayPeople to birthdayPeople & name of thisPerson
    set birthdayDates to birthdayDates & birth date of thisPerson
    end if
    end if
    end repeat
    end tell
    If we have birthday's go into iCal and add the alerts
    if (count of birthdayPeople) is greater than 0 and ((count of birthdayPeople) is equal to (count of birthdayDates)) then
    tell application "iCal"
    tell calendar selectedCalender
    repeat with i from 1 to count of birthdayPeople
    set thisDate to item i of birthdayDates
    set year of thisDate to year of today
    set time of thisDate to (60 * 60) * timeOfNotification
    set day of thisDate to (day of thisDate) - numberDaysNotice
    set thisEvent to make new event at end with properties {description:"", summary:(item i of birthdayPeople) & "'s Birthday", location:"", start date:thisDate, end date:thisDate + 15 * minutes}
    tell thisEvent
    make new display alarm at end with properties {trigger interval:0}
    end tell
    end repeat
    end tell
    end tell
    end if

    1- I set up a contact list in Address Book for only those people whose birthdays I want to be reminded of. Is it possible to have this script only look through this contact list, not every contact.
    Sure - if you created a specific group of the people you want to track then just change the line:
    set peopleArray to the name of every person
    to:
    set peopleArray to the name of every person of group "Birthdays"
    (or whatever group name you used). You see, as written your script just grabs everyone's name as opposed to just the names of people in the specific group.
    2- Can it also be set up to delete the previously set events (so that the only events that appear are the ones for the ensuing week)
    Yes, but that's a little trickier since you need some way to denote which events are birthday events vs. other events from last week. If you're using a specific calendar for this then you could just delete existing events in that calendar, or you could implement a minor change to the way you create events - use the description to identify this is one of your auto-created birthday alarms:
    set thisEvent to make new event at end with properties {description:"birthday", summary:(item i of birthdayPeople) & "'s Birthday", location:"", start date:thisDate, end date:thisDate + 15 * minutes}
    So now the events will have a specific description, so it's easy to start your new script off with a line that deletes existing 'birthday" events, via:
    tell application "iCal"
      delete every event of calendar selectedCalendar whose description = "birthday"
    end tell
    (you can nix the '... whose description = "birthday"' element if you just want to delete all existing events in the calendar).
    3- Can it be set up to remind me of anniversaries also? How would I edit it? (I tried to find and replace the term birthday with anniversary, but all it did was notify me of forthcoming week's birthdays but called them anniversaries)
    Sure, that's because you specifically ask Address Book for birthdays:
    set thisBirthday to birth date of thisPerson
    To track anniversaries you need to ask Address Book for different data. This one's a little tricker since anniversaries are tracked via the custom date element, so you'd need something like:
    set anniversaryList to {}
    tell application "Address Book"
      repeat with eachPerson in (get every person) -- add 'of group "anniversaries' if you use a specific group
        repeat with eachDate in eachPerson's custom dates
          if label of eachDate = "anniversary" then
            -- this person has an Anniversary set, so add your code here to check if eachDate is in the next week if it is:
            copy eachPerson to end of anniversaryList
          end if
        end repeat
      end repeat
    end tell
    At the end of this you'll have a list of people whose anniversary is upcoming and you can duplicate your iCal code to add anniversary events in addition to birthdays.

  • How can I edit my mp3 tag information?

    A few weeks ago we started our first podcast, Your RV Podcast. We've been learning as we go, and "duh," discovered we've been doing our mp3 tags incorrectly. How can I go in and edit my episode mp3 tag info? When I bring the episode up, click on "file" and get the drop down menu, the field for "Get Info" is gray, and I can't even access the info. Thanks for your help!

    Drag the local copy of your file into iTunes, so that it will appear in the 'Music' list. 'Get info' should enable you to access the image and other tags; change them there, then re-upload to the server. Note however that when you subscribe to the feed in iTunes the only tags it reads are the image and the duration. All other information comes from the feed.

  • How do you edit the Pagination tag?

    Hi BCers,
    I'm trying to modify the appearance of the pagination, and I'm having trouble.
    I've inserted the tag {tag_pagination}
    In the produced code, the HTML is:
    ...(which is my code, with my coded CSS classes)
    Then:
    ---BC's CODE-- 
    I'd like to eliminate or change that SPAN element, and I can't find where to do it. If I can't, then how do I make the page apply my CSS?

    Your code got wiped out.  Try pasting it again or pasting it on http://jsfiddle.net and saving it and sharing the link.
    There's no way to change the layout of the pagination generated by BC, but usually you can adjust it's styles by adding your own CSS that overrides or updates BC's pagination styles that are included in ModuleStylesheets.css.  Just add some CSS to your main stylesheet:
    ul.pagination {
         display: inline;
    ul..pagination li {
         color: #000;
    ul.pagination li a {
         color: #F00;
    That's just an example. If you provide a URL of your pagination in place I might be able to help.

  • How do I edit my podcast tags/description

    I'm trying to change my tags/description of my podcast and cannot figure out how to do so

    Only certain category names are acceptable in the iTunes Store. Please scroll to the bottom of this page to see the categories and sub-categories you can choose from:
    http://www.apple.com/itunes/podcasts/specs.html

  • How do we edit meta tags

    How Do we edit the meta tags? I need to ad description tag and keywords tag.

    See this old thread:

  • How do I edit Send button designated email address on a web form in Dreamweaver CS6?

    I have a webform on our website for folks requesting information. There is a country button which folks select. The send button submits the form and there is some script somewhere that sends submissions from say a USA based enquirer to a USA email address, UK based enquirer to a UK address, etc. How can I edit the script that controls that function? I am a newbie in CS6 but am learning fast!

    Hi Fritz
    In the source code I have:
    <td height="30" colspan="2"><div align="center">
                      <input type="submit" value="Send" />
                  </div></td>
                </tr>
              </table>
            </form>
    If I click on </form> in Properties the action box shows an asp file /gdform.asp on the root. I opened that and it has no site specific info, i.e. my URL or any email address.
    The webform can be viewed on www.aboutmeco.org/opportunities/index.html   Ther you see the Send button is at the bottom of the webform, which corresponds to the source code.   Do you think I am looking at the right form tag?
    Stephen

  • VS2013 changes my script tags when I edit a javascript file on Office 365 Sharepoint Developer

    I posted this issue on the sharepoint online thread, and was asked to move the discussion here:
    https://social.msdn.microsoft.com/Forums/office/en-US/24e7060f-bef8-492c-a7b1-4a0aa9279a53/office-365-sharepoint-developer-changes-my-script-tags-when-i-edit-a-javascript-file?forum=sharepointdevelopment
    On my Office 365 Sharepoint Developer site, I have a custom edit form page (editform2.aspx) created for a list and have added a script reference in the additionalpagehead like this
     <script src="/JavaScripts/angular/angular-formly-master/dist/formly.js" type="text/javascript"></script>
    Whenever I edit the file at /JavaScripts/angular/angular-formly-master/dist/formly.js using VS2013 and save it SharePoint replaces my script tag with this:
     <script src="/JavaScripts/angular/angular-formly-master/dist/formly.js~RF322607.TMP" type="text/javascript"></script>
    I thought maybe it had something to do with versioning on my Javascripts library , but versioning is not even enabled there.
    What's with that? How can I prevent it?

    Hi Russell_G,
    Actually this forum is to discuss the VS IDE, to really repro this issue, I'm afraid that it would require the high SharePoint development knowledge, but based on your previous
    thread, since the SharePoint members could repro this issue.
    You can submit this feedback to Microsoft Connect feedback portal: http://connect.microsoft.com/VisualStudio/feedback/CreateFeedback.aspx,Microsoft
    engineers will evaluate them seriously. Thanks for your understanding.
    If you submit it, please share us the link here, so we could get the latest information from the product team members.
    Best Regards,
    Jack
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Office 365 Sharepoint Developer changes my script tags when I edit a javascript file

    On my Office 365 Sharepoint Developer site, I have a custom edit form page (editform2.aspx) created for a list and have added a script reference in the additionalpagehead like this
     <script src="/JavaScripts/angular/angular-formly-master/dist/formly.js" type="text/javascript"></script>
    Whenever I edit the file at /JavaScripts/angular/angular-formly-master/dist/formly.js and save it SharePoint replavces my script tag with this:
     <script src="/JavaScripts/angular/angular-formly-master/dist/formly.js~RF322607.TMP" type="text/javascript"></script>
    I thought maybe it had something to do with versioning on my Javascripts library , but versioning is not even enabled there.
    What's with that? How can I prevent it?

    Hi Russell,
    According to your description, there is an issue when editing a .js file which is saved in a document library of your developer site.
    This is what I have done in my environment:
    1. Create a Document Library “JavaScripts” with the sub folders and formly.js file as you did;
    2. Create a custom list, a custom edit form “editform2.aspx” for it;
    3. Edit the “editform2.aspx” in SharePoint Designer 2013, reference the formly.js file like this in the “PlaceHolderAdditionalPageHead”:
    4. Edit the formly.js file in SharePoint Designer and save, repeat the process several times;
    It turns out that the “src” attribute of the script tag stays unchanged.
    To narrow down the issue, I would suggest you create another custom edit form for that list and test again to see if the issue still exists.
    Feel free to reply if there any progress.
    Thanks
    Patrick Liang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support,
    contact [email protected]
    Patrick Liang
    TechNet Community Support

  • How do I add multiple scripts from search engines to my meta tag properties?

    I currently have copied the goolge script for website varification and analytics, etc and pasted it into my meta tag properties dialog box. There is no problem as far as Google varifying the page. However, I would like to copy Bing's search engine script into my meta tag in addition to Googles script. How do I go about doing this? Do I hit the return on my keyboard under the ending of Googles script, then paste in the Bing script?
    The the last part of the Google script ending in this:
    </script>
    (paste new script from Bing here?)
    Will this cancel out each other and cause problems?
    Can someone walk me through this process, because Bing's search engine will not varify my site through two of the three other methods.
    Ben

    Adding a script after the closure of previous script is the way to go i.e. right after the </script> tag.
    So it should look something like below:
    <script>
    Google's script
    </script>
    <script>
    Bing's script
    </script>
    Cannot comment on one interfering with the other since it really depends on what exact code is there in the scripts. Google and Bing help resources will be able to help more with this.
    Thanks,
    Vikas

  • How to disable the edit Permission after the task approval in project server 2010.

    Hi ,
    Can this be done.
    How to disable the edit Permission after the task approval in project server 2010.
    I mean How to Disable approve/Reject Permission Once task approved in project server 2010.
    Any Help Would be more than Welcome.

    Hi Rohan,
    Just talking about the tool capabilities, preventing a task approver (status manager) to approve/reject updates once he has already approved once is not possible out-of-the-box. You grant permissions to user: if you grant a user to approve task updates then
    he has the permission to approve updates, no matter if it is the 2nd or 3rd time the task is approved or rejected.
    Then of course you could do not custom development to do that.
    I'd say that in order to help you, we would need to understand a little bit more your business need. Why do you need to achieve such a goal? We can surely propose you workaround.
    Hope this helps.
    Guillaume Rouyre - MBA, MCP, MCTS

  • How do I disable the "open java script' message box alert?

    How do I disable the 'open java script' message box message box alert?

    Bee Hong-
    What App is showing the message?  If it is Safari, go to Settings-Safari-JavaScript and turn it ON.
    If it is a different App, see if that App is in Settings and has a JavaScript option.
    Fred

  • How to Disable the EDIT button

    how to make EDIT button disable , means when i select Status as CLOSE then i have make the Edit button disable for remaing i have to keep it Enable . In Which method i have to do nad how to do
    Regards
    shaik

    Hi,
    The WebClient UI allows changes of the UI by using the Enhancement Set.
    http://help.sap.com/saphelp_crm70/helpdata/EN/20/b0f4f819e844df9f47bc9c70c795f4/frameset.htm
    If you enhance the view where you want to change the behavior of the Edit button, you will get a new view controller class that belongs to customer. This new view controller class is sub class of the SAP view controller class. The view controller class from SAP will be exchange during the runtime with you new view controller class.
    Since the new view controller class belongs to customer, you can change it as you want.
    You can redefine the GET_TOOLBAR_BUTTONS / GET_BUTTONS, where the definition of the Edit button is located.
    And change the attribute "enabled" of the button structure depends an attribute of the BOL entity.
    Regards,
    Steve

  • How to edit hidden metadata tags?

    Hi, how can I edit the hidden metadata tags used for television (season, episode, etc.) ? I know that iTunes automatically inherits metadata tags from mp4 files, but I am using avi files wrapped in a quicktime media link. Is there a way to do this directly? Alternatively, is there a way to wrap a media link in a mp4 file?

    Having looked around, I can only find two programs that support editing these "hidden" tags: Lostify and Atomic Parsley. Lostify is limited to MPEG4 video, and Atomic Parsley is limited to MPEG4 in general (.mp4, .m4a, .m4p, .m4v, .m4b). There doesn't seem to be a tool out there that lets you, say edit the iTunes Music Library.xml file, which would be dang handy.
    http://home.comcast.net/~lowellstewart/lostify/
    http://atomicparsley.sourceforge.net/
    Has anyone come across any other options?
    What I find particularly exasperating is that "rational" hand-editting of the XML file seems to have no impact (e.g., I have a bunch of podcast episodes that were downloaded individually, since they had fallen off the end of the podcast RSS... and there is no way to seamlessly merge them into a single podcast stream -- or to kick them all into the "Music" section of the library).
    For that matter, short of re-encoding files, it seems that I'm stuck with Apple's decision about which of my files are audiobooks and which are music...

  • How to using the script tag in uix/jsp?

    Do i have to write in uix/jsp:
    <uix:rawText>
    <script type="text/javascript">
    function doCheckForm()
    </script>
    </uix:rawText>
    Or exists another tag that handles the javascripts without the "rawText" script?
    Marc

    If you are declaring a function, you dont need to add it under the rawText tag. It can be added with a simple script tag at the top of the page.

Maybe you are looking for

  • JSP page is coming back with old data even when DB updated

    Hello, I am updating an existing record on a database using an HTML form and the changes update the ACCESS database immediately, but the .jsp page is picking up old data. But but when i do a manual REFRESH, the correct data comes back fine! Thanks ve

  • How do I stop the "other" data from growing every time I sync my iPhone?

    I recently started putting music on my iPhone 4s, and I found that every time I sync music, the "other" storage keeps growing. This only happens when I sync music. If I don't have music on my iPhone, the "other" doesn't grow. Why is this?? Does anyon

  • Where is the inspector button in 10.0.7?

    I just upgraded to FCP X 10.0.7 and now I don't see the inspector button any more. Is it gone or repositioned?

  • EPM SYSTEM WORKSPACE ERROR

    Hi, iam new to hyperion planning, when iam trying to open financial reporting, showing error required application module reporting.HRPrefs is not configured and communication error Hyperion 11.1.1.3 installed in llinux server details of error is list

  • Change password in squirrelmail?

    I had a addon for squirrelmail that made you able to change the users password when you where logged in. Is anyone using that under leopard? Does it still work?