Deprecated "Language" attribute in Script Tag
Using Dreamweaver 8.0.2, it appears to me that the deprecated
attribute "language" is inserted into the Script tag by default
when I insert javascript. Is there a workaround for this? Or do I
need to manually delete the attribute each time?
I have the Preference for New Document set to XHTML 1.0
Strict so I thought that should take care of initiating the tag
correctly.
tregarva wrote:
> Using Dreamweaver 8.0.2, it appears to me that the
deprecated attribute
> "language" is inserted into the Script tag by default
when I insert javascript.
> Is there a workaround for this? Or do I need to manually
delete the attribute
> each time?
The workaround is to upgrade to CS3.
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of
ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/
Similar Messages
-
Execution of python scripts through script tag
I have one line in my xml file :
script language="jython" src="scripts/setup.py"/>
but when i am running this file as ant script file,it is saying that it cannot find the script tag..
It is giving this error:
Ant could not find the task or a class this task relies upon.
This is common and has a number of causes; the usual
solutions are to read the manual pages then download and
install needed JAR files, or fix the build file:
- You have misspelt 'script'.
Fix: check your spelling.
- The task needs an external JAR file to execute
and this is not found at the right place in the classpath.
Fix: check the documentation for dependencies.
Fix: declare the task.
- The task is an Ant optional task and optional.jar is absent
Fix: look for optional.jar in ANT_HOME/lib, download if needed
- The task was not built into optional.jar as dependent
libraries were not found at build time.
Fix: look in the JAR to verify, then rebuild with the needed
libraries, or download a release version from apache.org
- The build file was written for a later version of Ant
Fix: upgrade to at least the latest release version of Ant
- The task is not an Ant core or optional task
and needs to be declared using <taskdef>.
Kindly let me know how can i execute this script..the discussion of the timed maintenance is an old one and does no longer apply.
Sure it does. Those scripts are ancient carry-overs from the early days of Unix and have not been changed much since then.
Also, macjack has a good point. Verify what the widget is telling you. Paste the following command into the Terminal to find out when they last ran:
ls -al /var/log/*.out
The output on my machine is:
Hyperion:~ thomas$ ls -al /var/log/*.out
-rw-r--r-- 1 root wheel 355773 Feb 20 06:05 /var/log/daily.out
-rw-r--r-- 1 root wheel 1352 Feb 1 06:07 /var/log/monthly.out
-rw-r--r-- 1 root wheel 2697 Feb 18 09:31 /var/log/weekly.out -
MDS, Script Editor WebPart does not load javascript files with script tag
Hello everyone,
I have MDS and I would like to use some custom Javascript inside of a script editor web part in a page of my site.
When I add the references to the libraries I need in the Script Editor Web Part SharePoint is smart enough to disable MDS on that page.
I would like to be able to load external libraries inside of my Script Editor Web Part (without using ScriptLink or anything that would require the edition of the masterpage) but still using the added value of MDS.
Can I use SOD for that? What would be the best pattern? Could you provide a simple example?
Thanks in advance for your help!Hi,
Per my knowledge, including CSS and JavaScript files using HTML style and script tags is not supported in MDS(Minimal Download Strategy).
We can refer the custom JavaScript file in the .aspx page or master page using ScriptLink control.
<SharePoint:ScriptLink language="javascript" name="custom_javascript.js" runat="server" />
The following articles for your reference:
http://sharepointsnacks.blogspot.com/2014/02/sharepoint-2013-minimal-download.html
http://tech.bool.se/make-javascript-code-work-with-minimal-download-strategy-part-2/
Thanks,
Dennis Guo
TechNet Community 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]
Dennis Guo
TechNet Community Support -
Problem: ()[]{} invisible inside the script-tag
Hi there,
This morning I realised I had some strange problem with my Dreamweaver CS4. The brackets ()[]{} are somehow invisible inside the script-tag. I know they are still there, because they execute correctly and when I copy a codefragment with some (of the now invisible) brackets to another text-editor, they are there again.
Let me give a short example:
// Brackets are visible in DW ()[]{} These are visible, tooI can see the "bla", but NOT the brackets before and after it. ()[]{} These here are visible again.
So you see, brackets are somehow made invisible inside the script-tag, and I'd like to know how to make them visible again.
Here's what I tried so far (everything without success):
- restart Dreamweaver
- restart PC
- check the options menu (didn't find anything for this problem)
- hide/show the script-tag using dreaweaver's feature for this.
Intresting point here: when the part where the brackets are, are collapsed it shows me "()[]{}[..." as a preview. So even Dreamweaver "knows" the brackets are there, but still refuses to show them -_-
- set the gui setting from "coder" to "classic" and back.
Any help is appreciated!
Thanks in advance, really need to solve this, since I am using alot of hardcoded 2-dimensional javascript arrays and therefore alot of []
Best regards
MichaelSorry for doubleposting, I should have read the manual for posting code :|
here's the code I was giving as an example:
<title>brackets work fine here: ()[]{}</title>
<style type="text/css">
.someclass {background:url(theseBracketsAreVisible.png)}
</style>
</head>
<body>
<div>()[]{} these are visible as well</div>
<script language="javascript">()[]{}[bla]</script> I can see the "bla", but NOT the brackets before and after it.
()[]{} These here are visible again.
</body>
Sorry again..
edit:
I realised it hides words like "function" aswell o_O
<script language="javascript">
function test() {ar = new Array;ar = ["a","b","c"];alert(ar);};
</script>
The code above is visible for me in Dreamweaver like this:
<script language="javascript">
test ar = Array;ar = "a","b","c";alertar;;
</script>
really strange.. -
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 -
Dreamweaver does not auto-complete /script tag
Dremaweaver CS5 Version 11.0 Build 4993 - does not close script tag. I type <script> include the text then type </ and the Script tag is NOT closed.
When I type </ the script tag should complete and close automatically.
So, for example:
<script type="text/javascript" language="javascript">
function closeThisWindow() {
window.close();
</
I have to type </script> because it does not auto-complete.
Thanks,
Don.Good morning all,
Ok, Jon, thank you. I've not used a lot of </ within the scripts that I've written so, so far, that hasn't been a problem for me. Your explanation makes sense though. It also explains why it works if you select the option to: close after typing the opening tag's ">". Because once the opening and closing tags have been populated, entering </ would have no effect on the scripot tag at all.
Very nice response Jon. This behavior is crystal clear now and in fact, it seems to be a feature, not a bug.
Thank you,
Don. -
Language attributes for business objects ERC_CDCY
Hello,
I need to activate TREX index ERC_CDCY from our e-recruiting system using SES_ADMIN transaction.
When I activate it, I receive error message UNCAUGHT_EXCEPTION (CX_SY_OPEN_SQL_DB) at the
relational index level (Relation of candidacy).
I opened a message with SAPnet and got the following answer:
Indexes are only created in english compared to others systems that contains indexes in both languages (EN, FR). We could not find any french attributes for business objects ERC_CDCY which is required (at least 7 words) to index it in french language.
Do you know which transaction or SPRO menu path I could use to maintain de language attributes and the 7 words?
Thanks for you help
HugoHello Huga,
About maintaining the language in E-Rec you can have a look at the table
V_T77RCF_SELANGU, there you can maintain the different language.
The exception you are getting might be coming from the TREX side. please check the following notes:
1260684 SQL statement terminates: "Too Complicated SQL
1249465 TREX 7.1: Installing TREX for Embedded Search
Best Regards,
Deepak. -
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?
MarcIf 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.
-
Indesign library drag drop looses xml attributes of Table tag
Hi all,
I have created a Table with 1 row and 3 coloumns, I have text in all 3 cells. I have attaced xml tags to cell text and after that I have added attibutes to Story tag, Table tag and Text tag. I have drag this table frame to Indesign library to save it for further use.
When I tried to drag it back to document the Table tag attributes are missing. This is happening on Indesign CS4 Win and Mac.
I have saved required information in the xml attributes of table tag and since its attributes are missing after drag from library I am not able to use library of Indesign.
Is this an issue with Indesign CS4?
-Rahul Dalvi.Hi All,
I am still waitng for the reply. I have attached 2 files here, first one is the Indesign document 'TableXMLTags.indd' having a tagged table. second one is the Library file 'TableXMLtagLibrary.indl' in which I have draged table from 'TableXMLTags.indd'. When I tried to drag that table from library to any document it just loses attributes of Table tag. Here each tag has 3 attributes attached to it.
I am using Indesign CS4 on Windows and Macintosh.
Please let me know if there is any way to avoid tag attribute loss.
Thanks,
Rahul Dalvi. -
What is the use of version attribute in jnlp tag??
Hello,
I want to know what is the use of version attribute in jnlp tag.
For ex:
<jnlp spec="6.0+" codebase="$$codebase" href="$$name" version="1.1">
</jnlp>
In the spec it explains:
In the Jnlp tag:
version = The version of the application being launched, as well as the version of the JNLP file itself.
1. Is this version attribute would work as version attribute in jar tag. Ex: <jar href="application.jar" version="1.1"/> ?
i.e. can we specify different jnlp's with the same name as we do for jar's with the help of version.xml.
Any help is greatly appreciated.
//AnjaliHi Reddy,
If one Info Object depends on another info object we will make that dependent info object as a compounding attribute of main Info object.
Eg: Storage Location – Plant
In above eg there is no meaning of Storage Location without Plant. So, we will make storage location as compounding attribute of Plant.
Regards,
Sreehari. -
How to use cm_nodeName attribute of search tag in content queries ?
hello,
i want to know about cm_nodeName,cm_path attributes of search tag.Actually i want to directly reterieve concerned node,so that content should be directly reterieved from that node and it should not search into all the present nodes in repository,to improve performence.
Problem is that above mentioned tags are not working.
Peply as soon as possibleYou could always write your own authenticator (i do not know if you can configure BEA directly)
-
Revision: 12912
Revision: 12912
Author: [email protected]
Date: 2009-12-14 12:08:35 -0800 (Mon, 14 Dec 2009)
Log Message:
With TLF 571 checked in we can now revert the MXML 2009 changes for how the id language attribute is processed.
An unqualified id property will no longer be seen as a setter for a normal public, writable, non-static "id" property - which matches Flex 3 behavior.
As in earlier versions of Flex, the mechanism to retain MXML id attribute information at runtime is to implement mx.core.IMXMLObject. The compiler will generate a call to the intialized() method and pass in the id information.
Note: One exception to this rule seems to be UIComponent which instead get id attribute information via mx.core.IDeferredInstantiationUIComponent (although there seems to be a TODO in the codebase to remove this mechanism and thus should not be relied on by third parties).
QE notes: Please add tests for the TLF id property on flow elements (div, span, p, etc).
Doc notes: Please check that we have not documented
Bugs: N/A
Reviewer: Paul
Tests run: Checkintests, local test cases.
Is noteworthy for integration: Yes
Modified Paths:
flex/sdk/trunk/frameworks/projects/framework/src/FrameworkClasses.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as
flex/sdk/trunk/frameworks/projects/spark/src/spark/core/SpriteVisualElement.as
flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicEleme nt.as
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/ComponentBuilder.jav a
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/StandardDefs.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/reflect/Type.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/reflect/TypeTable.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/init/ValueInitializer.ja va
Removed Paths:
flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IID.asThis is a duplicate post. This should be locked to avoid further confusion.
My CSS wont change
Nancy O. -
"Unterminated value for attribute '' in XML Tag ''.(SBL-UIF-00265)"
Getting this message when I do Edit Web Layout for a view in Siebel tools 7.8.2 "Unterminated value for attribute '' in XML tag ''.(SBL-UIF-00265)"...Anyone have any idea why I am getting this message?
Thanks Joseph,
Actually I looked at the Refer ID 1280569.1 before also, some how I could not figured it out the exact location as I was searching for two "(double quotes).
Today I tried again and finally I found out the culprit. In my case actually there was no two double quotes, instead the " (double quote) was missing.
Thanks again.
Edited by: user624054 on Oct 5, 2011 8:10 AM -
Firefox removes href attribute from anchor tag on copy paste
Hi Support,
I have a text along with the image used as a hyperlink as follows.
"Sample Text.<a href="javascript:myfunction()"><img title="sample image" src="sample.gif" /></a>"
When i copy the above text and paste it inside a HTML Control (for e.g. iframe), the control removes the href attribute of 'anchor' tag. It happens only with firefox and safari. It is working correctly in internet explorer.
"Sample Text.<a ><img title="sample image" src="sample.gif" /></a>"
Is there any solution for this.? Awaiting for sooner response
Try clicking on the below link
http://screencast.com/t/sXq6BcZvJBI tested this in Gmail compose, and what I see is: regular links (href="url") are preserved during copy/paste, but javascript links (href="javascript:") are dropped/cleared.
I don't know whether this is by design. One place to research that would be [https://bugzilla.mozilla.org/]. -
Language Attribute Error while creating PAT files using SSDC & SSDA
When trying to create the .pat file(Add-On package creation) with AAK 4.0 tool.
Error of language attribute at the time of register the delivery in SSDA.
When finally try to register the created package it gives error message :
"Package can not be registered. Check the attributes"
Please suggest possible resolution.Hello
We will get this error message when we run this from application other than "Time and Labor Engine". So try to run this concurrent program (if you registered as a conc. program) from Time and Labor Engine application.
--Lokesh
Maybe you are looking for
-
My old Computer crashed and I lost my old library of recorded CD's and tunes. iTunes says I must delete everything off my iPod in order to add a new CD. It also said I already have an account which I was able to locate. I don't know how to get int
-
How can i share my itunes library with another computer
how can i share my itunes library with another computer
-
How do I change my Itunes ID to UK Store?
I've recently been in UK. I tried updating my games after I updated my Ipod to 'IOS6' but it wont let me. It says I have to change my Itunes ID to UK Store. It is currently in HongKong. How do I change it?
-
How can I run a query in the system that shows me a list of BP which BP Code is blocked/disable ( in other words a list of BP that I'm not allowed to change the BP Code )
-
Friends to surf the flat file function module what we use is 'KDGET_FILENAME_ON_F4'_ like this what is the fuction module for application server?????