Getting compile error when i reference flashx module
I am building an ioS/Android app in Flash Builder 4.7.
I am using the TLF classes to do some advanced text handling. so import :
import flashx.textLayout.elements.TextFlow;
import flashx.textLayout.formats.TextLayoutFormat;
however it says "Definition... could not be found" on those two lines, so my program won't compile.
I am including in my library path "tlfRuntime.swc", but that doesn't seem to fix it.
i realize that the TLF classes are not part of Flash, so i gotta include and specify to merge into the code the class, but i swear this code used to work before I updated to SDK 3.9 beta, which I have to do because IOS7 broke all my air apps, so I am rebuilding them now, and can't remember how I got this compile before.
i downloaded the Flex SDK, but this is an AIR app, so not sure what to do with the flex stuff anyway.
I am trying to build a standalone app, so is flex even part of the equation? It sure is confusing to me how Adobe mixes air and flex, why can't they just have a single environment, with different libraries...
any help is appreciated.
hi
you havnt assign event handler for button e.g.
Private Sub Plus_Click() handles Plus.Click
Oper1 = Val(Text1.Text)
operator = "+"
Text1.Text = ""
Equals.Enabled = True
End Sub
Private Sub Minus_Click() handles Minus.Click
Oper1 = Val(Text1.Text)
operator = "-"
Text1.Text = ""
Equals.Enabled = True
End Sub
Private Sub Multiply_Click() handles Multiply.Click
Oper1 = Val(Text1.Text)
operator = "*"
Text1.Text = ""
Equals.Enabled = True
End Sub
Shridhar J Joshi Thanks a lot
Similar Messages
-
Getting Compilation error when used SET or MULTISET operator on nested tabl
Dear All,
I am getting Compilation error when used SET or MULTISET operator on nested tables inside a procedure.
This is working fine in other DB installations of 10g but does not work in another 10g DB.
it says "wrong number of parameter or datatype used in SET"
Can any one suggest what went wrong here?
Thanks in advance.Can any one suggest what went wrong here?Only if you would post the query and Oracle versions on both databases.
Besides, this forum deals with issues in Oracle product installation. So post this query in SQL PL/SQL forum for better response. -
Converter Web Client: get compiler error when run URL
When I try to run the Converter's web client with the the URL:
http://localhost:8000/converter
I got a compiler error on the lines:
import Converter;
import ConverterHome;
The J2EE server wants to have a "." after the Converter and ConverterHome.
Any one has any idea?
The error messages are:
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: -1 in the jsp file: null
Generated servlet error:
[javac] Compiling 1 source file
C:\app\j2sdkee1.4\web\repository\Standard-Engine\localhost\converter\index_jsp.java:7: '.' expected
import Converter;
^
C:\app\j2sdkee1.4\web\repository\Standard-Engine\localhost\converter\index_jsp.java:8: '.' expected
import ConverterHome;
^
C:\app\j2sdkee1.4\web\repository\Standard-Engine\localhost\converter\index_jsp.java:20: cannot resolve symbol
symbol : class Converter
location: class org.apache.jsp.index_jsp
private Converter converter = null;
^
C:\app\j2sdkee1.4\web\repository\Standard-Engine\localhost\converter\index_jsp.java:26: cannot resolve symbol
symbol : class ConverterHome
location: class org.apache.jsp.index_jsp
ConverterHome home = (ConverterHome)PortableRemoteObject.narrow(objRef, ConverterHome.class);
^
C:\app\j2sdkee1.4\web\repository\Standard-Engine\localhost\converter\index_jsp.java:26: cannot resolve symbol
symbol : class ConverterHome
location: class org.apache.jsp.index_jsp
ConverterHome home = (ConverterHome)PortableRemoteObject.narrow(objRef, ConverterHome.class);
^
C:\app\j2sdkee1.4\web\repository\Standard-Engine\localhost\converter\index_jsp.java:26: cannot resolve symbol
symbol : class ConverterHome
location: class org.apache.jsp.index_jsp
ConverterHome home = (ConverterHome)PortableRemoteObject.narrow(objRef, ConverterHome.class);
^
6 errors
at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:125)
at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:293)
at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:387)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:410)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:570)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:289)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.util.SecurityUtil$1.run(SecurityUtil.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:499)
at org.apache.catalina.util.SecurityUtil.execute(SecurityUtil.java:210)
at org.apache.catalina.util.SecurityUtil.doAsPrivilege(SecurityUtil.java:147)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274)
at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:99)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:177)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:271)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2505)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at com.sun.enterprise.webservice.EjbWebServiceValve.invoke(EjbWebServiceValve.java:133)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:383)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:469)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:223)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:380)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:533)
at java.lang.Thread.run(Thread.java:536)
Apache Tomcat/5.0I have exactly the same error.
Me too, I'm running on Win XP. And I have had lots of trouble to deploy the converter.
I cannot install J2EE 1.3 as I am supposed to write a report on how Web Services may help my company. By the moment I can only say it takes me much more time than expected to run the J2EE 1.3 tutorial. As SUN didn't deliver a tutorial one can use.
So by the moment if anyone can HELP me to finish this converter tutorial I will be thankful.
Bye
Manuel Acevedo -
Getting compiler error when running EnvExample.cpp
Hi All,
Im a newbie to use Berkeley DB and facing the problem when running the EnvExample.cpp.
Please let me know what could be the problem??
here is the command I used to run and the error I got.
gcc -I/usr/local/BerkeleyDB.4.5/include EnvExample.cpp -L/usr/local/BerkeleyDB.4.5/lib -ldb_cxx-4.5
In file included from /usr/lib/gcc/i386-redhat-linux/4.0.0/../../../../include/c++/4.0.0/backward/iostream.h:31,
from /usr/local/BerkeleyDB.4.5/include/db_cxx.h:60,
from EnvExample.cpp:19:
/usr/lib/gcc/i386-redhat-linux/4.0.0/../../../../include/c++/4.0.0/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
In file included from EnvExample.cpp:19:
/usr/local/BerkeleyDB.4.5/include/db_cxx.h:61:23: error: exception.h: No such file or directory
/usr/local/BerkeleyDB.4.5/include/db_cxx.h:1053: error: expected class-name before ‘{’ token
Thanks
Senthil
Message was edited by:
user586105Hi Senthil,
A few pointers:
Since you are compiling the C++ version, you should probably be using g++, not gcc.
The problem is probably that you don't have the HAVE_CXX_STDHEADERS flag defined. Try running the following instead:
g++ -DHAVE_CXX_STDHEADERS -I/usr/local/BerkeleyDB.4.5/include EnvExample.cpp -L/usr/local/BerkeleyDB.4.5/lib -ldb_cxx-4.5Let us know if that helps.
- Alex -
Compilation error when used SET or MULTISET operator on nested tables
Dear All,
I am getting Compilation error when used SET or MULTISET operator on nested tables inside a procedure.
This is working fine in other DB installations of 10g but does not work in another 10g DB.
it says "wrong number of parameter or datatype used in SET"
Can any one suggest what went wrong here?
Thanks in advance.Hi,
Thanks for ur reply...
Since MULTISET and SET operators are the new additions in base 10g release for manipulation of nested tables data, I am surprised that same is working in similar 5 DBs installations with 10.2.0.1.0 version, but does not work in the sixth.
SET and MULTISET operators are used inside the PL/SQL procedure which is getting compiled in the above mentioned 5 DBs but not in sixth DB.
it gives
On line: 3112
PLS-00306: wrong number or types of arguments in call to 'SET'
Hope this clarifies the issue... -
I get this error when trying to compile a plain C++ project
Tool:0: Couldn't run '/usr/bin/gcc-3.3' because it does not refer to an accessible executable.
I get this error when I try to compile/build a normal C++ project.
I make a new project. C++ tool. Call it "test"
It automatically makes a main.cpp file which should output "hello world" but instead I get that error above. Not sure what is going on.I'm not sure where the "verbose" icon is, but I did get this, if it helps
Native Build of Target "Test" using Build Style "Development"
CompileC build/Test.build/Test.build/Objects-normal/ppc/main.o main.cpp normal ppc c++ com.apple.compilers.gcc.3_3
cd /Users/Eric/Documents/Test
/usr/bin/gcc-3.3 -x c++ -arch ppc -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -g -O0 -Wreturn-type -Wunused-variable -fmessage-length=0 -ffix-and-continue -mtune=G5 -Wp,-header-mapfile,/Users/Eric/Documents/Test/build/Test.build/Test.build/Test .hmap -F/Users/Eric/Documents/Test/build -I/Users/Eric/Documents/Test/build/include -I/Users/Eric/Documents/Test/build/Test.build/Test.build/DerivedSources -c /Users/Eric/Documents/Test/main.cpp -o /Users/Eric/Documents/Test/build/Test.build/Test.build/Objects-normal/ppc/main. o
And my version of Xcode and such is..
Xcode 2.0
Xcode IDE 514.0
Xcode Core 515.0
ToolSupport 514.0
Not sure about the SDK.
iBook G4 and iPod Mini Mac OS X (10.4.5) -
Getting an error when installing BI Publisher Desktop
Hi,
Is anyone getting an error when installing BI Publisher Desktop? I'm getting an error when I'm installing BI Publisher Desktop and the error message is compile error in hidden module: Module_ini.
Any feedback would be appreciated.Ravi,
Yes, I have java run time on my machine and I'm in a Windows XP SP2 environment. Also note that I'm installing BI Publisher Desktop for 10.1.3.2 and I have all the prerequisites installed prior to the Publisher Desktop installation.
The exact error message for the BI Publisher Desktop is:
Compile error in hidden module: Module_ini (Microsoft Visual Basic) -
I keep getting this error when I publish the SWF file.
I keep getting this error when I publish my SWF file.
Fonts should be embedded for any text that may be edited at runtime, other than text with the "Use Device Fonts" setting. Use the Text > Font Embedding command to embed fonts.
ReferenceError: Error #1065: Variable TLFTextField is not defined.
And these compiled errors
Symbol 'Symbol 6', Layer 'Layer 1', Frame 1
Warning: The instance name 'staff' is declared on an object of type fl.text.TLFTextField but there is a conflicting use of the instance name 'staff' on an object of type flash.display.InteractiveObject.
Scene 1, Layer 'action', Frame 1, Line 7
1061: Call to a possibly undefined method gotoAndPlay through a reference with static type fl.motion:AnimatorFactory.
Scene 1, Layer 'action', Frame 1, Line 3
1061: Call to a possibly undefined method addEventListener through a reference with static type fl.motion:AnimatorFactory.
This is the only action script 3.0 script that I wrote.
import flash.events.MouseEvent;
skipbtn.addEventListener(MouseEvent.CLICK, btnClick);
function btnClick (event:MouseEvent):void{
skipbtn.gotoAndPlay("home");the first line is a warning, not an error.
and you have more actionscript than you think. open the movie explorer panel and toggle the actionscript only button to find all the actionsript in your fla. -
I keep getting an error when trying to download a tv series right on my iPad from the iTunes store. I am able to download on my laptop then synchronize but it's a hassle specially if my laptop is not with me. All other Apps seem to be working fine. Help!
If anyone is reading this still looking for what caused the issue and how to fix it here is what I discovered.
The antivirus program our company uses, Bitdefender Antivirus Plus, was causing some of the PDF files not to open. After troubleshooting the different modules and settings the culprit was..
Scan SSL in Privacy Control Settings. Turning it OFF solved the problem and all the PDF files that previously would not open now open just fine. This issue has been sent to Bitdefender for them to review. If you use a different antivirus program and are having this issue try locating the Scan SSL setting and see if turning it off solves the problem. -
I am getting this error when i run the webdynpro application
I am getting follwoing error, when i click on the link available in the webdypro application. Please tell me what is the reason,
Error stacktrace:
com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: is.eimskip.pdfmodel.Zmulti_Pdf
Found in negative cache
Loader Info -
ClassLoader name: [local/SalesOrder]
Parent loader name: [Frame ClassLoader]
References:
common:service:http;service:servlet_jsp
service:ejb
common:service:iiop;service:naming;service:p4;service:ts
service:jmsconnector
library:jsse
library:servlet
common:library:IAIKSecurity;library:activation;library:mail;library:tcsecssl
library:ejb20
library:j2eeca
library:jms
library:opensql
common:library:com.sap.security.api.sda;library:com.sap.security.core.sda;library:security.class;library:webservices_lib;service:com.sap.security.core.ume.service;service:connector;service:dbpool;service:keystore;service:security;service:userstore
interface:resourcecontext_api
interface:webservices
interface:ejbserialization
sap.com/tcwddispwda
sap.com/tcwdcorecomp
service:webdynpro
service:sld
library:tcddicddicservices
library:com.sap.aii.proxy.framework
library:tcgraphicsigs
library:com.sap.mw.jco
library:com.sap.lcr.api.cimclient
library:sapxmltoolkit
library:com.sap.aii.util.rb
library:com.sap.util.monitor.jarm
library:tcddicddicruntime
library:com.sap.aii.util.xml
library:tccolapi
library:com.sap.aii.util.misc
library:tc~cmi
library:tccolruntime
Resources:
D:\usr\sap\EPD\JC01\j2ee\cluster\server0\apps\local\SalesOrder\webdynpro\public\lib\app.jar
Loading model: {parent,references,local}
at com.sap.tc.webdynpro.modelimpl.dynamicrfc.AiiModelClass.createNewBaseTypeDescriptor(AiiModelClass.java:378)
at com.sap.tc.webdynpro.modelimpl.dynamicrfc.AiiModelClass.descriptor(AiiModelClass.java:186)
at is.eimskip.pdfmodel.Zbapi_Salesorder_Getpdf_Output_Input.<init>(Zbapi_Salesorder_Getpdf_Output_Input.java:51)
at is.eimskip.comp.PDFCust.GetPdfFileName(PDFCust.java:145)
at is.eimskip.comp.wdp.InternalPDFCust.GetPdfFileName(InternalPDFCust.java:171)
at is.eimskip.comp.ResultView.onActionShowBL(ResultView.java:409)
at is.eimskip.comp.wdp.InternalResultView.wdInvokeEventHandler(InternalResultView.java:365)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)
at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleAction(WebDynproMainTask.java:100)
at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleActionEvent(WebDynproMainTask.java:299)
at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:640)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:251)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:55)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:391)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:265)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:345)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:323)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:865)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:240)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
Caused by: java.lang.ClassNotFoundException: is.eimskip.pdfmodel.Zmulti_Pdf
Found in negative cache
Loader Info -
ClassLoader name: [local/SalesOrder]
Parent loader name: [Frame ClassLoader]
References:
common:service:http;service:servlet_jsp
service:ejb
common:service:iiop;service:naming;service:p4;service:ts
service:jmsconnector
library:jsse
library:servlet
common:library:IAIKSecurity;library:activation;library:mail;library:tcsecssl
library:ejb20
library:j2eeca
library:jms
library:opensql
common:library:com.sap.security.api.sda;library:com.sap.security.core.sda;library:security.class;library:webservices_lib;service:com.sap.security.core.ume.service;service:connector;service:dbpool;service:keystore;service:security;service:userstore
interface:resourcecontext_api
interface:webservices
interface:ejbserialization
sap.com/tcwddispwda
sap.com/tcwdcorecomp
service:webdynpro
service:sld
library:tcddicddicservices
library:com.sap.aii.proxy.framework
library:tcgraphicsigs
library:com.sap.mw.jco
library:com.sap.lcr.api.cimclient
library:sapxmltoolkit
library:com.sap.aii.util.rb
library:com.sap.util.monitor.jarm
library:tcddicddicruntime
library:com.sap.aii.util.xml
library:tccolapi
library:com.sap.aii.util.misc
library:tc~cmi
library:tccolruntime
Resources:
D:\usr\sap\EPD\JC01\j2ee\cluster\server0\apps\local\SalesOrder\webdynpro\public\lib\app.jar
Loading model: {parent,references,local}
at com.sap.engine.frame.core.load.ReferencedLoader.loadClass(ReferencedLoader.java:348)
at com.sap.tc.webdynpro.modelimpl.dynamicrfc.AiiModelClass.createNewBaseTypeDescriptor(AiiModelClass.java:373)
... 32 moreFound in negative cache.... very strange.
RFC found in negative cache
What is the negative cache? -
I am getting an error when trying to download the new Game of Thrones shows. The error is err = -61 You do not have the privilege to make changes. (err = -61) you do not have the privilege to make changes. I have not had this problem before
Solution:
Open Disk Utility.
Select your external hard disk and run a “verify” on it. After a few minutes (depending on the size of your drive), you should be good to go. You don’t need to run a “repair” on it... (at least I didn’t have to). See photo for reference.
This should fix the permissions issue, because on my Mac running Mountain Lion I was unable to edit the permissions in the get info dialog window even after "unlocking" the drive. -
JSP Compile Error when using dynamic ID in logic:iterate and bean:size
Hello,
I try to create a dynamic table with logic:iterate and bean:size tag. Dynamic means the attributes are written by scriptlet. Eg.:
<logic:iterate id="customerBean" name="<%= formName %>" property="<%= propertyName%>" length="<%= sRowSize%>">When I replace the id Attribute with propertyName I get compile errors, such as
the compiler doesn't know the value at runtime:
Unable to compile class for JSP An error occurred at line: 179 in the jsp file: /pages/formContent.jsp Generated servlet error: _newCustomer.java:1046: Missing term. java.lang.Object <%= propertyName %> = null; ^
Whats wrong ?
Thanks for your helpSolution: don't use a runtime expression for the id attribute.
The id attribute is used to declare
- an attribute in scope
- a scriptlet variable on the page
These are only available for the duration of the <logic:iterate> tag
The "id" is only used in your programming. You don't need to make it dynamic. -
GetDefinitionByName() error when calling class between modules
i have a main application which loads two modules - lets call them x and y.
module x has a class called dataObject. i have made a dummy instance of this class in module x.
in module y, i have the following code:
flash.utils.getDefinitionByName( 'dataObject' )
the main app loads both module x and y successfully in seperate child domains BEFORE calling the line above.
i am getting a variable 'dataObject' is not defined error.
i know the reason why this error occurs under normal single-app circumstances. however, i could not find any posts relating to this error when dealing with multiple modules loaded dynamically. i have tried loading both modules in the same domain as the main app but still no luck.
any help appreciated!
thanks!i looked it at a cursory level.
basically, the class that you want the definition for needs to either be in the module app domain loading it or its parent app domain? in my case it is in a seperate child app domain of the parent, which is why it can't be found.. am i right?
however, this forces me to put the module containing the class in the same app domain as the main app. is there a way i can get the definition of the class regardless of what app domain it is in (assuming it is in the same security domain, however) ?
thanks! -
I get this error when i run diagnostic 4MEM/9/40000000 : 0x7f561d90
MacBook Pro 13-inch, Mid 2012,
2.5 GHz Intel Core i5
16 GB 1600 MHz DDR3
YOSEMITE 10.10
My computer started shutting down. error message stated Your computer restarted because of a problem. Press any key.
I get this error when i run diagnostic 4MEM/9/40000000 : 0x7f561d90 but can't find the error code reference.Check to see if your MBP has a kernel panic report. If so use these instructions and post it:
http://support.apple.com/en-us/HT2546
Ciao. -
Keep getting compile error. dunno why.
i keep getting compile error that Compilation errors for PACKAGE BODY NRMS_INTERFACE.PKGNDW
Error: PLS-00113: END identifier 'BOOLISDATAAVAILABLE' must match 'PKGND' at line 1, column 29
Line: 3309
Text: end boolIsDataAvailable;
function boolIsDataAvailable(o_errorcode OUT NUMBER,
o_errortext OUT VARCHAR2) return boolean is
DataAccess number;
boolResult boolean;
begin
begin
select DATA_ACCESS
into DataAccess
from INTERFACEPARAMETER
where NUMBER_VALUE = 0;
boolResult := true;
exception
WHEN OTHERS THEN
-- coder assumes that any exceptions here will lead to data not being available.
boolResult := false;
end;
return boolResult;
end;
end boolIsNDWAvailable;Argh....again the importance of formatting and indentation is proved...
In other words: the tag
before and after samples.
Thanks for the followups ;)
+it's past 21.00/09.00PM over here, so already a while no more coffee for me+
+Yes, that's a disclaimer+ ;)
Maybe you are looking for
-
I just got the new itunes and I can open itunes and see my music but whenI try and go to the itunes store it just loads to a white page. I try and refresh and go to the home page and nothing happens. I can sign into my account and the tabs for the it
-
Your photo library is either in use by another application or has become unreadable. The solution suggested is restart and hold option/command down. I have done this and the options given make sense but when I try to run any of the suggested solution
-
Hi Guys, X240 will not work correctly on any Mitsubishi Electric XD490U projector. I know this is one of the older projectors we have but I don't understand why it would be playing up. The X240's all work perfectly fine on all our other projectors ju
-
Noise In Edges of Title (video/motion graphics)
Anyone have tips on an approach to reduce Noise In the Edges of a Title? Here is the title: http://img407.imageshack.us/img407/7535/textpw2.jpg Its really just a "cut out" with a stroke that then overlays a flashy and colorful video in an NLE. It loo
-
Syncing multiple family calendars to Iphone with seperate Apple Ids.
My Son, Daughter, and Myself all have the Iphone4. I want to be able to see their calendars on my phone and using ICal. They have separate Apple Ids. How do I go about doing this properly? I assume the only way would be through ICloud? Thanks in adva