Code Coloring Bug: Ranges in DateFields
Adding ranges to DateFields in an mxml file will cause the
code coloring to stop working. Is this a known bug?
Try a field like this:
<mx:DateField id="dtNeeded" disabledRanges="{[{rangeEnd:
new Date()}]}"
selectedDate="{detailObject.dtNeeded}" editable="true"
/>
andretannus wrote:
> Your reply wasn?t unsatisfactory, just pointless. You
just babble what I said
> back to me.
>
> I say: I found a bug. It has a workaround witch is not
good enough for me.
> Please give the abode bug tracking tool.
>
> You replied: There is a bug. The bug can be fixed with a
workaround (which I
> not only had mentioned but also discarded as useless).
>
> I have already posted my "vote" for (or against) the
problem, for whatever
> that servers.
>
> Still waiting on that bug tracking tool.
>
> cheers, and sorry for the apparent rudeness...
>
> I asked for a bug tracking tool, you gave me a complaint
thing that doesn?t
> remotely come close to a bug tracking system... I posted
whatever I had to
> there, and there has yet been no reply from whoever...
>
> just that
That "complaint thing" is the bug reporting tool, there is no
bug
tracking system, its the only way your going to be able to
communicate
with Adobe about the bug. There is no list of bugs, and you
will never
know for sure if/when it will be fixed. If your lucky you may
get a reply.
Dooza
Posting Guidelines
http://www.adobe.com/support/forums/guidelines.html
How To Ask Smart Questions
http://www.catb.org/esr/faqs/smart-questions.html
Similar Messages
-
ColdFusion Builder 3 Code Coloring Bug
Hello CFBuilders,
I encountered what I believe is a bug within CFBuilder 3 (standalone and Eclipse plugin) where code coloring breaks after you insert a comment in a function with named arguments. To replicate the issue copy/paste the following code in CF Builder:
<!--- Sample Bug: Code Coloring --->
<cfset myFunction(
argument1 = "strawberries",
argument2 = "bananas", <!--- these are my favorite --->
argument3 = "blueberries",
argument4 = "pineapples"
) />
<cfset test = "test" />
You should see argument3,argument4, and the closing bracket are colored incorrectly. If you encounter the same issue and you'd like to see this fixed please feel free to vote for this bug here:
Bug#3831825 - Code Coloring Breaks When Comments Used Within Function with Named Arguments
It should be noted that Dreamweaver can handle this type of code coloring situation fine.They say they fixed this, but the release has been sitting in beta testing for AGES. They said this was fixed last month but they sure are taking their sweet time releasing anything through the update site.
IT's an update site - FOR UPDATES; Ugh -
I am running oc4j version 9.0.3.0.0
I have a client which creates a statefull session bean on the server.
in the session xml, I defined timeout = 0 so the seesion will not be removed if client does not invoke session for amount of time.
the client stores the session interface as a private member.
Every one minute the client invokes the session intensively.
bothe client and server are located on the same host.
The problem is that randomly (generally after 15-20 minutes), the client receives the next exception from the server:
com.evermind.server.rmi.OrionRemoteException: Disconnected: Type code out of range, is 52
void com.evermind.server.rmi.RMIConnection.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(java.lang.Throwable)
RMIConnection.java:1512
java.lang.Object com.evermind.server.rmi.RMIConnection.invokeMethod(com.evermind.server.rmi.RMIContext, long, long, java.lang.reflect.Method, java.lang.Object[])
RMIConnection.java:1435
java.lang.Object com.evermind.server.rmi.RemoteInvocationHandler.invoke(java.lang.Object, java.lang.reflect.Method, java.lang.Object[])
RemoteInvocationHandler.java:53
java.lang.Object com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(java.lang.Object, java.lang.reflect.Method, java.lang.Object[])
RecoverableRemoteInvocationHandler.java:22
java.lang.Object com.evermind.server.ejb.StatefulSessionRemoteInvocationHandler.invoke(java.lang.Object, java.lang.reflect.Method, java.lang.Object[])
StatefulSessionRemoteInvocationHandler.java:31
The real problem is that the session interface that I hold as an attribute on client is no longer valid after the disconnect exception occurs.
In other words, after the exception occurs I have to recreate the session again (and restore its interface) before I can invoke any session's method again......
What really annoyes me, is that I tried to invoke from client a session's method which does nothing on server side (empty implementation on bean) and so no exception should occur on server side!!!!
As I said b4, I invoke this method intensively and get this disconnected exception once in while.
Could it be an oc4j bug/problem ??????Avi -- Please try the latest v903 Developer Preview. A number of changes have gone into it.
Thanks -- Jeff -
Adding code-coloring to file with nonstandard extension
I have PHP files that end in .ctp, which are basically HTML templates with PHP mixed in (as part of the Cake PHP framework). I'd like them to be parsed for code coloring the same way that the PHP files are, but the text is all black. Is there a way that I can tell Dreamweaver to parse it for PHP code coloring? I have already added ".ctp" to the list of file types that open in Code View using DW's Preferences.
This is CS4.
Thanks!Nevermind - I figured it out from here, you just have to edit an XML file to include the new extension that should be treated as PHP:
http://kb2.adobe.com/cps/164/tn_16410.html -
Use PHP code coloring in HTML files
In Dreamweaver CS3, what changes do I need to make to get PHP
code coloring show up in .html files?robot88888888,
First, copy this file from the app config folder:
C:\Program Files\Adobe\Adobe Dreamweaver
CS3\configuration\CodeColoring\PHP.xml
To the user config folder:
C:\Documents and Settings\[username]\Application
Data\Adobe\Dreamweaver
9\Configuration\CodeColoring\
Then open PHP.xml in your favorite editor. You need to add
HTML to all
of the doctype lists Change every occurrence of this:
doctypes="PHP_MySQL"
to be:
doctypes="PHP_MySQL,HTML"
Save and close. If DW is running, close it. Now restart DW.
HTH,
Randy
> In Dreamweaver CS3, what changes do I need to make to
get PHP code coloring show up in .html files? -
Hi Friends,
I have a issue to fix. The issue is releated to PR.
There are some PR's in the system which has wrong release strategy picked up or wrong approvers picked up due to some congif change. now that the config changes are rectified correctly, we need to find a solution to correct the PR's which got affected due this.
I have to retrigger the release strategy for all the affected PR's.
The characterstics which we have consider for release strategy is Document Type, Company Code and Price Range.
Can anyone suggest how can we retrigger the PR in bulk or individual to all the affected PR's, so that it picks up correct release strategy as per new config changes.
Regards,
Manjunath KHi,
Refer the discussion to triggers release again on release code addition/change in release strategy.
release code is changed on PR release strategy - old PR can´t be approved
Regards,
Biju K -
I no longer have code coloring or code hints working on
Dreamweaver. I checked the preferences and everything is still set
the same but whenever I open an existing document it will not give
me the code coloring or code hints. I still get it when I open a
new doc but nothing else. Any ideas on how to fix this?kms5038 wrote:
> I no longer have code coloring or code hints working on
Dreamweaver. I checked
> the preferences and everything is still set the same but
whenever I open an
> existing document it will not give me the code coloring
or code hints. I still
> get it when I open a new doc but nothing else. Any ideas
on how to fix this?
It sounds like DW does not recognize the file type of your
page. What is
the file extension?
Randy -
Code generation bug in C++ 5.0
The enclosed test program generates incorrect code
with C++ 5.0 when -g is not used.
The problem showed up in our production code
and concerns any reference counted smart pointer
implementation.
The test program is specifically written to demonstrate
the problem and diagnose a reference miscount.
With any optimization at all (without -g, and/or with
any level of -O including no -O) it generates
incorrect results. With -g the results are correct.
gcc compiles this correctly with any optimizations
selected.
// main.cc
// test program to demonstrate code generation bug in
// Sun WorkShop Compilers C++ 5.0
// bug exhibited as of 27th April 2001
// relevant patches applied:
// 107289-05 Packages: SPROcc
// 107390-12 Packages: SPROtl7x, SPROsclx, SPROtll7x, SPROcplx, SPROlgcx
// 107311-12 Packages: SPROscl, SPROtll7, SPROtlbn7, SPROcpl, SPROgc, SPROlgc
// 107357-11 Packages: SPROlang
// correct behaviour with CC -g:
// CC -g main.cc -o main; ./main
// incorrect behaviour with CC (no -g):
// CC main.cc -o main; ./main
#include <stdio.h>
class O {
public:
inline O() : m_refCount(0) { };
inline void ref() { m_refCount++; }
inline void deref() { m_refCount--; }
inline int refCount() { return(m_refCount); }
private:
int m_refCount;
class R {
public:
inline R() : m_object(0) { };
inline R(const R &r) : m_object(r.m_object) { if (m_object) m_object->ref(); }
inline R(O *o) : m_object(o) { if (o) o->ref(); };
inline ~R() { if (m_object) m_object->deref(); }
inline R &operator =(const R &r) {
if (this == &r) return(*this);
O *o = m_object;
if (m_object = r.m_object) m_object->ref();
if (o) o->deref();
return(*this);
inline R &operator =(O *n) {
if (m_object == n) return(*this);
O *o = m_object;
if (m_object = n) n->ref();
if (o) o->deref();
return(*this);
inline operator O *() const { return(m_object); }
inline O *operator ->() const { return(m_object); }
private:
O *m_object;
class B {
public:
inline B(const R &r) : m_ref(r) { };
inline const R &ref() { return(m_ref); }
private:
R m_ref;
R buggy(int notnull, B &b)
return(notnull ? b.ref() : 0); // BUG HERE
int main()
O o;
R r(&o);
B b(r);
int i;
for (i = 0; i < 20; i++) {
R s;
s = buggy(!0, b);
printf("refCount: %d (should be 2)\n", o.refCount());How do I file a bug report for this and get
a bug ID assigned? -
Code coloring error in HTML5 templates
Is it just me?
In both HTML5 templates (two or three column), that one can select after select 'New' from the 'File' menu the code is all grayed out after the browser conditional:
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Untitled Document</title>
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js">##HERE##</script>
<![endif]--></head>
<!-- This HTML comment is here for no other reason but to fix the code coloring in Dreamweaver -->
Code coloring is fine up to my indicator ##HERE## above, after that all grayed out till next end HTML commnet '-->'.
I can fix it, lamely, with the comment you see above, "<!-- This HTML...-->"
If the line <script ...>...</script> is removed from in between the conditional tags everything is fine.
Thanks for any help.Just put a blank html comment <!----> after<! [endif] ->, the problem will disappear, the color will appear
example:
<!--[ IF lt IE 9]>
<scriptsrc="http://html5shiv.googlecode.com/svn/trunk/html5.js"> </ script>
<! [endif] -> <!---->
</ head> -
Need to update out put tax classifcation code for a range of items in Orac
Hi,
I need to update out put tax code for a range of items in Oracle EBS. At the moment we update tax code for individual items manually ubder invoice tab. Is there a better way to do this.
RegardsWhere can I find the mtl_system_items_interface table?Under INV schema.
R12 -- INV.MTL_SYSTEM_ITEMS_INTERFACE
http://etrm.oracle.com/pls/et1211d9/etrm_pnav.show_object?c_name=MTL_SYSTEM_ITEMS_INTERFACE&c_owner=INV&c_type=TABLE
11i -- INV.MTL_SYSTEM_ITEMS_INTERFACE
http://etrm.oracle.com/pls/trm11510/etrm_pnav.show_object?c_name=MTL_SYSTEM_ITEMS_INTERFACE&c_owner=INV&c_type=TABLE
Thanks,
Hussein -
Dreamweaver CS6 and Coldfusion 9 - Syntax Errors & Code Coloring
I recently purchased Dreamweaver CS6.
Also, I'm running Coldfusion 9 on Windows 7, but that's probably irrelevant.
The issue is that Dreamweaver keeps on marking my files with syntax errors, and the code coloring gets all messed up.
For instance, such function would indicate an error due to the #var#:
<cfoutput><script>functionXYZ(#var#);<script><cfoutput>
But this would work just fine:
<script>functionXYZ(<cfoutput>#var#<cfoutput>);<script>
The issue is that I have entire pages wrapped in cfoutput, redoing everything would take months.
Or this would break the code coloring for the entire select as such:
<select <cfif test eq 'test'>class="test"</cfif> name="selectbox">
While this breaks the code coloring for the closing cfif as such:
<select class="<cfif test eq 'test'>test</cfif>" name="selectbox">
I'm getting syntax errors on thousands of my files, I understand that I could rewrite the code slightly to remove some of the error indications, but these are not actual errors so I feel that there is no point of me spending months updating the code.
Is there a patch that I can apply so that this would work without any of these issues?
Can someone please help?Have you posted this question in the Cold Fusion Forums?
http://forums.adobe.com/community/coldfusion
I don't use CF myself and the few CF coders I know have long since moved to Eclipse/ColdFusion Builder.
Nancy O. -
Make DW use JS code-coloring instead of PHP
I have a Javascript file that has a .php extension because of
some dynamic elements on the page. I also can't wrap the code in
<script> tags because of the way it loads. So basically, I
need to tell DW to use JS code coloring on this page instead of PHP
(right now, everything except the PHP is black text). Any way to
force it to associate the file with a specific file type, instead
of basing it on the file extension?mattloaf1 wrote:
> I have a Javascript file that has a .php extension
because of some dynamic
> elements on the page. I also can't wrap the code in
<script> tags because of
> the way it loads. So basically, I need to tell DW to use
JS code coloring on
> this page instead of PHP (right now, everything except
the PHP is black text).
> Any way to force it to associate the file with a
specific file type, instead of
> basing it on the file extension?
You can "fake" the script tags and fool the code coloring
scheme by adding to the top of the file:
// <script>
and to the bottom of the file:
// </script>
As the // are single line comments in JavaScript when the
file is loaded by the browser it won't see the script tags, but the
code coloring engine seems to be tricked and begins working on the
JavaScript code that is not within the <?php ?> code blocks.
Danilo Celic
|
http://blog.extensioneering.com/
| WebAssist Extensioneer
| Adobe Community Expert -
My network administrator informed me that he would like to
use all .htm file extensions on our site, and that he will program
the server to render PHP tags within the .htm files for our
web-apps.
However, for development work I would still like to apply the
PHP code-coloring within files that have .htm extension. Can I tell
Dreamweaver to do this?
Thanks!What was old is new again!
Similar to the original poster, my IT area has set up the web server to process all .HTM files as if they were .ASP. Subsequently, I cannot view my HTM files as they would appear if they were "true" ASP files in Dreamweaver CS5. I applied the changes described in TechNote 16410 to MMDocumentTypes.xml (removing the HTM extension from the winfileextension and macfileextension attirbutes of the HTML InternalType and adding the HTM extension to the winfileextension and macfileextension attirbutes of the ASP-VBScript InternalType). I moved HTM in Extensions.txt from the HTML Documents line to Active Server Pages line and I removed the backup I had made of MMDocumentTypes.xml from the Adobe directory.
Based on another posting in this forum regarding code coloring, I added <%@LANGUAGE="VBSCRIPT"%> to the first line of my HTM (ASP) file.
No matter which file with the HTM extension I open in Dreamweaver, I get this message:
I also need to terminate Dreamweaver using Windows XP's Task Manager. File > Close, the application close button, Ctrl+Q and Alt+F4 do not work. -
The changes I make in the Preferences section under Code Coloring do not always stick. I even tried replacing the Colors.xml file with someone else's theme. That does not come through. I replaced it both under my Configuration/Code Coloring folder which appears under Applications as well as my User folder.
I don't understand why some of the changes take and others not. Should there not be an easier way to do this??
Any clues as to how I can make the new (external) Colors.xml stick would be appreciated.CS5. And I should say, the instructions given on the Adobe site on how to swap out the colors.xml file indicate a folder that doesn't exist. There is no Preferences folder. It's Configurations.
-
Code Coloring, ASP/VBScript, & CS5
My IT area has set up the web server to process all .HTM files as if they were .ASP. Subsequently, I cannot view my HTM files as they would appear if they were "true" ASP files in Dreamweaver CS5. I applied the changes described in TechNote 16410 to MMDocumentTypes.xml (removing the HTM extension from the winfileextension and macfileextension attirbutes of the HTML InternalType and adding the HTM extension to the winfileextension and macfileextension attirbutes of the ASP-VBScript InternalType). I moved HTM in Extensions.txt from the HTML Documents line to the Active Server Pages line and I removed the backup I had made of MMDocumentTypes.xml from the Adobe directory.
Based on another posting in this forum regarding code coloring, I added <%@LANGUAGE="VBSCRIPT"%> to the first line of my HTM (ASP) file.
No matter which file with the HTM extension I open in Dreamweaver, I get this message:
When this happens also I need to terminate Dreamweaver using Windows XP's Task Manager. File > Close, application "close" [X] button, Ctrl+Q and Alt+F4 do not work.As far as I know (could be wrong here), DW does not allow you to alter the behavior of htm(l) files. The technote is aimed at adding new file types that DW doesn't already recognize.
Maybe you are looking for
-
Planning Area to Data Store Object (ODS)
Hi, The data source is the Planning area and the target is the ODS object. The transfer rule mapping is 1 to 1 for all key figures, there is no routine used. After executing the info package and data transfer, I am checking the value in ODS update ta
-
Java APM events do not appear in the diagnostics / advisor console
Hi I configured the Java APM and installed / monitoring an application (struts). I can see all 4 performance rules for the application and I also enabled the Java APM monitors for exception and performance events. I am banging now my application to t
-
Nothing is wrong with my account but I cant open skype. This is what it says. The instruction at 0x000000007079AC94 refrenced memory at 0x000000007079AC94. The required data was not placed into memory because of an I/O error status of 0xc0000185. Cli
-
Transfering customer fields from cProjects to PS
Hello, I am starting with programming and would like to pass some customer fields to PS where I have two areas. On the one hand I have some customer fields in PS and on the other hand there are fields like "account assignment element" and "billing el
-
System Disabled: 69539635 What's the bios password? Thanks This question was solved. View Solution.