How to set cursor type for TextField uses
Hello, hope someone can help. I'm importing HTML into a
TextField called "webText_htm". I'm also calling CSS and it is
working to style the text. Player 8 and ActionScript 2
When I mouseover the TextField, the cursor changes to the
I-bar.
Second problem is that <a href=""> is not signalling
the Hand Cursor, and does not do anything when I click on it.
Thanks in advance
Greg
shrinktight,
> Hello, so this is sort of a dumb question; I've become
> acquainted with the help docs. Is that the best place
> to look up properties for a class?
I think so, mainly because it's so easily within reach. I
tend to fire
up the ActionScript 2.0 and/or Component Language Reference
and start there.
If I can't find what I need, I hit the LiveDocs version
http://livedocs.macromedia.com/),
which has developer notes. If I'm still
stuck, I head to the forums.
> Is thre a reference somewhere that I can study which
> explans each property? Where can I find that stuff?
For 99% percent of it (informal estimate, of course), just
hit the F1
key and search. Every object in ActionScript is defined by
its namesake
class. Again, properties describe the object's
characteristics, methods
describe things the object can do, and events describe things
the object can
react to.
This may help get you started.
http://www.communitymx.com/abstract.cfm?cid=01B54
David
stiller (at) quip (dot) net
Dev essays:
http://www.quip.net/blog/
"Luck is the residue of good design."
Similar Messages
-
I download itext for convert jsp to PDF. How to set content type for PDF.
I download itext for convert jsp to PDF. How to set content type for PDF. I try
<%@ page contentType = "application/pdf;charset=TIS-620" %>
, but the page does not PDF.
Thank.PDF files are usually binary files, JSPs are not well-suited for binary content.
(If you download the result of your JSP you'll see that it is not a valid PDF file; it will have probably a lot of whitespace and linefeeds, that will choke your PDF reader.). The first few characters must be
"%PDF-" without whitespace.
You can try using PDF files encoded as text - check if you can use text-encoded PDFs in iText.
Try using a Servlet instead. -
How to set content-type for outbound mail in BCS
Hey everybody,
can anybody please give me a hint how to set the content-type for outbound email in ABAP using BCS to send mail.
By default the content tyoe is set to text/html. I need other.
Best regards
Roman//add related mutip-part to combine parts
MimeMultipart multipart = new MimeMultipart("related");
//attach a pdf
messageBodyPart = new MimeBodyPart();
fds = new FileDataSource("h:/something.pdf");
messageBodyPart.setDataHandler(new DataHandler(fds));
messageBodyPart.setFileName(fds.getName());
multipart.addBodyPart(messageBodyPart);
//add multipart to the message
message.setContent(multipart);
//send message
Transport.send(message); -
How to set MIME type for JNLP in Windows2000 IIS
Hi!
I try to set up my windows 2000 IIS's MIME type for JNLP to test java web start, but I have no idea how to set
the MIME type. Can anybody help me???
Best wishesIn IIS v4 which comes with the Windows NT4 option pack, you right click the web page you are working with, select properties, then go to the HTTP Headers tab. At the bottom there's a button labelled File Types in the MIME Map section.
After you've clicked that, you can add the two mime types you need;
Associated Extension MIME Type
.jar application/x-java-jar-file
.jnlp application/x-java-jnlp-file
I'm assuming that it is the same in W2k/IIS5. -
How to set security type for lenovo working with hotspot?
How to set wireless security type for lenovo laptop working with hotspot?
Since I can connect with the other laptops except this brand.//add related mutip-part to combine parts
MimeMultipart multipart = new MimeMultipart("related");
//attach a pdf
messageBodyPart = new MimeBodyPart();
fds = new FileDataSource("h:/something.pdf");
messageBodyPart.setDataHandler(new DataHandler(fds));
messageBodyPart.setFileName(fds.getName());
multipart.addBodyPart(messageBodyPart);
//add multipart to the message
message.setContent(multipart);
//send message
Transport.send(message); -
How to set activity type for a cost center
i was practicing the split valuation topic and for the that i was making a routing for a product so that i can have that product for inhouse production.
while using ca01(to create routing), i am facing a problem with the activity type.
when i am setting up the operation i am getting an error " activity type # is not set up for cost center 10004220 in year 2007"
can you please tell me how should i come out of it.
thankyou very muchhi Nandha, i am sorry but i could not do it. i am new in this. let me make my problem more clear to you.
i was creating a routing using ca01
after puttig all the details i switched to operations tab and in operation tab i put workcenter as (1111 - lathe, may be i am wrong as i told you i am just practicing).
i did not put anything on that screen and then when i pressed enter it took me to another screen with name Operation check.
here is the layout of the problem on that screen
std val unit activity type efficiency
set up min 1422
machine min 1421
labor min 1420
and then curser being on the std value i am getting this error "activity type 1422 is not set up for cost center 1000 4220 in the year 2007.when i am ignoring it it is switching to next std val coloumn and the same error.
thankyou for your time -
How to set max length for TextField ?
how do i go about setting a max length for a TextField in jdk1.1.8 ?
a while back there was a topic on this but it was for jdk1.0
please helpwell if it works in 1.0 it will most likely also work in 1.1.8 if it is depricated you can use the -deprication option during compilation to see what is derpricated and what method i advised to use now.
there may however be an easyer way in 1.1.8 but i don't know that.
hope this helps you,
Robert -
How to set content type for the attachment?
Hello Everybody,
I was trying to do the following in my send mail program:-
1. I am making a file using FileWriter:
FileWriter fw = new FileWriter(f);
fw.write(str);
2. I now want to attach this file with my mail. but before that I want to set the Content type of this as "application/smil". and trying the following code:
mimebodyparts[0].setContent(fds[0],"application/smil");
As this is a new MIME type perhaps I need to change the mailcap file. I found the same in the activation jar package but thought instead of chagning the default file i tried putting following code in my program:
File capfile = new File("simple.mailcap");
if (!capfile.isFile())
System.out.println("Cannot locate the \"simple.mailcap\" file.");
System.exit(1);
CommandMap.setDefaultCommandMap( new MailcapCommandMap(new FileInputStream(capfile)));
and in simple.mailcap file put the following value
application/smil;; x-java-content-handler=com.sun.mail.handlers.application_smil but I am still getting the following error:
javax.activation.UnsupportedDataTypeException: no object DCH for MIME type application/smil
Can somebody Please help to sort this out.
regards,
Arun//add related mutip-part to combine parts
MimeMultipart multipart = new MimeMultipart("related");
//attach a pdf
messageBodyPart = new MimeBodyPart();
fds = new FileDataSource("h:/something.pdf");
messageBodyPart.setDataHandler(new DataHandler(fds));
messageBodyPart.setFileName(fds.getName());
multipart.addBodyPart(messageBodyPart);
//add multipart to the message
message.setContent(multipart);
//send message
Transport.send(message); -
How to set default value for Zfeild using statusprofile
hi experts,
I need to set a default value for a zfeild using status profile.Although we can default the values,using getter and setter methods,but in my requirement,the feild will be defaulted when the page is locked,also in display mode,which will require me to write code to unlock then set the value and then write a commit,as there wont be any user action performed.
I have created a zstatus profile and have set the required status to inital,but no luck
please suggest if this canbe achived through status profile.
Regards
Anu.Hi,
You can check in the getter if the Page is locked and then display the value to want to display. Note that this will be just Displaying the default value for the Zfield and it will not set the default value into the Zfield in DB, because when the document is locked ( means locked for editing - mostly when system status is completed ) , setters are not called and so you can display the value but cant set it. This is fine if the value you want to display in Z field is just for user's informations and its not required to save this default value.
The best approach would be to set the value in the Zfield before the page is locking. For example, If you wat to set the zfield value when status is set to "Completed" , then you can configure an action that is 1) triggered during saving of the document with 2) start condition "When status is completed" ( both 1 and 2 you can mention in action defination ), then Implement this action badi in which you can set the Zfield to default value.
This will ensure that default value is always set whenever the page is getting locked for editing ( i assumed that page lock means status completed ).
Thanks & Regards
Suchita -
How to set Mime Type for Static Files
Hi All,
I am working on Apex 3.2.1.00.10.
When I am trying to upload (create) a ".js" file into Static Files under Shared Components of an application; it is saving as "*text/plain*" for Mime Type. But I need Mime type to be set as "*application/x-javascript*".
Please help me to change the Mime type of .js file.
Or is there any way to upload the file directly as "*application/x-javascript*" as its Mime Type.
Thanks in advance.
UmeshIn IIS v4 which comes with the Windows NT4 option pack, you right click the web page you are working with, select properties, then go to the HTTP Headers tab. At the bottom there's a button labelled File Types in the MIME Map section.
After you've clicked that, you can add the two mime types you need;
Associated Extension MIME Type
.jar application/x-java-jar-file
.jnlp application/x-java-jnlp-file
I'm assuming that it is the same in W2k/IIS5. -
How to set content type for a JSF page
Hi,
I want to know is there any way we can specify the content type of a JSF page, like in JSPs we have the page attribute <%@ page contentType="application/vnd.ms-excel" %>
In JSP we can create a html table with values and if we specify the contenType as application/vnd.ms-excel, we would get an excel file generated.
But do we have something similar to this is JSF, as I am using Facelets I cannot use page directive in the xhtml file.
I tried setting the content type in MangedBean's action as follows
((HttpServletResponse)FacesContext.getCurrentInstance().getExternalContext().getResponse()).setContentType("application/vnd.ms-excel"); but it did'nt work.
Thanks in advance.//add related mutip-part to combine parts
MimeMultipart multipart = new MimeMultipart("related");
//attach a pdf
messageBodyPart = new MimeBodyPart();
fds = new FileDataSource("h:/something.pdf");
messageBodyPart.setDataHandler(new DataHandler(fds));
messageBodyPart.setFileName(fds.getName());
multipart.addBodyPart(messageBodyPart);
//add multipart to the message
message.setContent(multipart);
//send message
Transport.send(message); -
How to set encoding type for e4x result
I have a application with front end Flex and Server side App
in Java. I am using HttpService to communicate to Java application
(Web). I am sending data in xml format to flex and parsing it as
e4x format. From service side I am setting the charset as
windows-1252 and xml encoding is also windows-1252. In Flex I am
getting some junk characters. But When I post the same http request
from browser, I am able to view the characters with expected
encoding.
Can anybody clue me on getting xml data in required encoding
type (charset) in Flex.
Thanks in Advance,
Gokul Ram.TThe message is old, but the problem is opened and I believe that many people have troubles with getting appropriate encoding in e4x result.
I have excactly same problem like Gokul, only difference is that I am trying to get ISO-8859-2 charset. HttpService deffinition looks like this:
var source:HTTPService = new HTTPService();
source.method = "POST";
source.resultFormat = "e4x";
source.contentType = "text/xml; charset=ISO-8859-2";
source.headers = {"Content-Type": "text/xml; charset=ISO-8859-2"};
So I suppose that everything what can be set is set. But still in result XMLthere are no national chars. I also get correct XML when I request it in browser, but requesting by Flex and HttpService makes problem.
Does anyone have same problem and find out something to handle this? -
Hi,
I am creating a new output for print PO in NACE. Now I am getting the problem of setting the access key combination. Now I Even want to get that new cretead output type in me23n messaages.
regards
AashishHI,
I think you need not to create OUTPUT type. But you want to assign print program and SAPscript/Smartform to the existing output type.
You can set the output type, print program and SAPscript/Smartform in the table TNAPR.
YOu can do it either from SM30 or from SE16 as Table maintenance is allowed for this Table.
Sample entries are like below:
MANDT 030
KSCHL NEU
NACHA 1
KAPPL EA
PGNAM SAPFM06P
RONAM ENTRY_NEU
FONAM Z_MEDRUCK
PGNAM2
RONAM2
FONAM2
PGNAM3
RONAM3
FONAM3
PGNAM4
RONAM4
FONAM4
PGNAM5
RONAM5
FONAM5
FUNCNAME
SFORM
Message was edited by: Ramakrishna Prasad -
Reminder needed: how to set password protection for all uses of computer
It's been a long time coming, but I feel that I need to limit the access to all materials on a Mac running OS 9.2.
Is there a simple way that I can password protect the whole computer?
Thanks for your time - and stay cool!Hi, Bruce -
Try using Multiple Users to do that. One of its features is password access to use any account.
This will provide a moderate level of security - however, a knowledgeable person will have little trouble defeating it. -
How to set mime types for applet in iAS sp3?
Hi,
Please refer to Adding Mime types and let me know if that address to solve your problem.
Regards
Ganesh .R
Developer Technical Support
Sun Microsystems
http://www.sun.com/developers/support
Maybe you are looking for
-
I'm trying to get my instructional video to play on my company's website. I published the file as HTML, uploaded it, but when I click the link nothing comes up. I then uploaded the flash file by itself and it played, but the quality wasn't as good an
-
How do I change my apple id on my old macbook?
I long ago changed my apple i.d., but my old MacBook Pro is still requesting the password for the old one. The new one is integrated into everything else I use.
-
Dreamweaver CS4 Properties tools are not displaying properly
I've had this problem for a while now and would really like to find a solution for this. My tools in the Properties screen are cut off on the bottom and do not fully display, whether I choose the HTML or CSS button on the left-hand side. Really ann
-
i am downloading a software update, but at the last moment before it finishes, it says in order to continue, please close the following application: safari, and the application is closed, what do they mean, and what should i do?
-
Hi, My queries as below. Hope anyone may know the answer.Thanks. 1) What are the maximun characters in BAPI Parameters can passed in? 265? 2) Could I do the upload 8000 of long text to SAP by passing the data via BAPI from external system? Please adv