Correct code for removing margin from Flash file
I have an embedded flash file in an .asp page and it's
bulging the table it's embedded in, I added css in the body for a
"0" margin but it's not working, can someone follow the link below
and tell me what i'm doing wrong
thanks!!!!!!!!!!
http://www.lamsystems.com/new_lam_5_08/home.asp
steve
Could someone tell me if I should be able to add parameters
to this code and get results. I have found mention of values like
<param name="loop" value="true" />
but when I used it nothing changed on playback.
Similar Messages
-
Error in java code for removing messages from a Topic
Trying to write a code using oracle.jms package to remove messages from Topic. I have a similar code with javax.jms package for removing messages from Queue and it is working well. Whereas i have written this new code for removing messages from topic using oracle.jms package as methods like CreateBrowser and CreateTopicReceiver for topic are provided in oracle package only and can't be used from javax.jms package.
Error i am getting is JMS-126: Invalid Topic specified at
receiverTopic = (Topic) ctx.lookup(((String)receiverProps.get( "Q_NAME")).trim() );
System.out.println ("receiverTopic is[" + receiverTopic + "]");
MBeanHome home = (MBeanHome) Helper.getAdminMBeanHome("username","pwd","url:port");
((AQjmsSession)topicSession).grantSystemPrivilege("MANAGE_ANY", "SA", true);
for(Iterator i = home.getMBeansByType("JMSTopic").iterator();i.hasNext(); )
WebLogicMBean wmb = (WebLogicMBean)i.next();
System.out.println("topic name found: " + wmb.getName());
topicBrowser = ((AQjmsSession) topicSession).createBrowser(receiverTopic, "Edin");topic handle which i am receiving in receiverTopic is same as what i am expecting but still it says Invalid topic specified on createBrowser method. Anyone who can help me to write this type of code, please reply. If anyone has ready code for this situation, please reply with the same as i am working on a prodcution system and we are in serious situation to resolve this problem.Hi,
I am afraid this is impossible. You need to find another solution like a filtering queue. Your messages can be sent to a queue that is monitored by let say a MDB. This MDB will maintain a map of title and only forward once a given title/message to your topic.
Hope it helps.
Arnaud
www.arjuna.com -
Can't remove music from Flash file
I decided not to use a music (wav) file and want to delete it
from my file. I deleted it from the library and also the layer it
was on. I publish the file and the sound still plays! I have no
idea how to get rid of it!jacwright wrote:
> I decided not to use a music (wav) file and want to
delete it from my file. I
> deleted it from the library and also the layer it was
on. I publish the file
> and the sound still plays! I have no idea how to get rid
of it!
You must be previewing an old file, perhaps cached. If there
is no sound, it's impossible
for flash to play it :)
Save it under new name and publish again.
Best Regards
Urami
"Eat one live toad in the morning and nothing worse will
happen to you for the rest of the day."
<urami>
If you want to mail me - DO NOT LAUGH AT MY ADDRESS
</urami> -
ABAP code for Hierarchy Loading from Flat File
Hi,
Can anyone give me some idea / ABAP code for generating parent - child relationships (NODEIDS) from a flat file and load into BW.
Best regards
Any insight into this development is highly appreciatedHi,
also have a look at this how to to get informations about the file structure:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/0403a990-0201-0010-38b3-e1fc442848cb
/manfred -
Code Challange - Code for extracting content from a file in KM
Hi,
I want to extract content from a file which is in KM Repository using the Webdynpro View. I wrote the following code for the extraction. But it is throwing some exception.
Code Written:
<b>
URLConnection conn = null;
DataInputStream data = null;
String line;
StringBuffer buf = new StringBuffer();
wdContext.currentContextElement().setTextdisp("Hello");
try {
URL theURL = new URL("http://ctssap1:50000/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/News/New%20text.txt");
conn = theURL.openConnection();
// conn.connect();
wdContext.currentContextElement().setTextdisp("Inside Try");
data = new DataInputStream(new BufferedInputStream(
conn.getInputStream()));
while ((line = data.readLine()) != null) {
buf.append(line + "\n");
data.close();
String buffer = new String(buf);
wdContext.currentContextElement().setTextdisp(buffer);
catch (IOException e) {
wdContext.currentContextElement().setTextdisp("IO Error:" + e.getMessage());
}</b>
Exception Got:
<b>IO Error:Server returned HTTP response code: 401 for URL: http://ctssap1:50000/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/News/New%20text.txt</b>
Can anyone help me out in this process... or please suggest some other way to extract the content.
Thanks in Advance.
Regards,
Srinivas.Hi Srinivas,
VaPath will have the path of ur document.
Check this modified code snippet which will answer ur questions and solve ur problem.
IWDClientUser wdClientUser = WDClientUser.getCurrentUser();
IUser sapUser = wdClientUser. getSAPUser();
com.sapportals.portal.security.usermanagement.IUser ep5User = WPUMFactory.getUserFactory().getEP5User(sapUser);
IResourceContext context = new ResourceContext(ep5User);
/Specify the path of ur document here./
RID pathRID = RID.getRID("/documents/file2");
IResource resource = ResourceFactory.getInstance()
.getResource(context);
InputStream in = resource.getContent().getInputStream();
ByteArrayOutputStream out = new ByteArrayOutputStream();
byte[] buffer = new byte[4096];
int bytesread = 0;
while ((bytesread = in.read(buffer)) != -1) {
out.write(buffer, 0, bytesread);
String myData = out.toString();
/*myFile will containS the content of the document./
wdComponentAPI.getMessageManager().reportSuccess(myData);
Hope this solves ur problem.
Regards,
Sowjanya. -
Remove Namespace from XML File except Attribute
Hi XI Experts ,
1.I have referred to the code of xslt Generic XSLT Code to Remove ALL Namespaces from XML:
http://forums.sdn.sap.com/thread.jspa?threadID=1920630
But this removes the Attribute : id from the records .
My expected output is supposed to be :
<?xml version="1.0" encoding="GBK"?>
<body>
<head>
<nsrsbh>112001069711</nsrsbh>
<nsrmc>诺维信(中国)生物技术有限公司出口发票</nsrmc>
<dcrq>20120209</dcrq>
<sssq_q>20111201</sssq_q>
<sssq_z>20120207</sssq_z>
<records>4</records>
</head>
<data>
<record id="1">
<fpdm></fpdm>
</record>
</data>
</body
But after using this XSLT code it removes :id from <record_1 id=> and generated the below code :
The xml file now doesn't contain teh attribute :id
<?xml version="1.0" encoding="GBK"?>
<body>
<head>
<nsrsbh>112001069711</nsrsbh>
<nsrmc>诺维信(中国)生物技术有限公司出口发票</nsrmc>
<dcrq>20120209</dcrq>
<sssq_q>20111201</sssq_q>
<sssq_z>20120207</sssq_z>
<records>4</records>
</head>
<data>
<record>
1
<fpdm></fpdm>
</record>
</data>
</body>
Could you please provide your input
Plaese note : Here XI versin iS x1 3.0 SP7 . I have tried suing the Analyzer bean for the Encoing of Chinese : GBK Intsead of UTF-8 in the Namespace . But AF_Modules/XMLAnonymizerBean is not comptacible with XI 3.0 SP7
Hence i have used the following code to remove namespcae and add Encoding :GBK instead of UTF-8:
<?xml version="1.0" ?>
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output encoding="GBK"/>
<xsl:template match="node()|@*">
<xsl:copy>
<xsl:apply-templates select="node()|@*"/>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>You could use exclude-result-prefixes.
For example:
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:wt="http://www.example.com" exclude-result-prefixes="wt">
</xsl:stylesheet> -
How to remove Unicode from XML file
I get following error when unmarshal xml:
[java] org.xml.sax.SAXParseException: An invalid XML character (Unicode: 0x15) was found in the element content of the document.
Anyone know how to remove Unicode from xml file? Can I remove the unicode by rebuild the file?
ThanksThese sort of error usually occur when you're using a different character encoding to read the file than the one you wrote it with. Perhaps if you were to post the problem section of the file and/or the code that created it in the first place.
-
Hello guys,
I need some help. I have to remove some content of Tolerance "column" (see attach). The string which I wish to remove is "+/- 0s" and replace it with an empty string. I need to remove this for each row where "+/- 0s" appears.
Thanks
Solved!
Go to Solution.
Attachments:
sample.txt 3 KBHi Samoth,
I dont know if I understood your requirement properly, but please check the attached snippet if it helps.
If this does not satisfy your requirement, then please give some more details.
Attachments:
Remove string from txt file.png 21 KB -
48 Hours ago I started to upgrade to Mountain Lion on a now 10 day old IMac - 30 minutes ago I got the email with the content code and redeem code for the download from the app store - it said download was happening, but nothing happened for 30 min - HOW DO I (or you) FIX IT!?
This is a User's Forum, yelling at us won't help. You have 90 days of customer support via telephone. Use them as they can interact with their system and hopefully get you back on track. Otherwise take it to them at the Genius Bar and have them make it good.
-
i create an id. on review option when i enter visa card and security code, it always gives an error msg "Invalid Secruity code". but i use this code for money withdraw from ATM and for shopping also. plz tell the solution ????
The code they are asking for is the last three digits of the number on the back of the card (you don't use this when using an ATM or presenting the card in shops).
-
Dynamic Internal Table for reading data from external file
Hello All,
The task was to create a internal table with dynamic columns,
Actually this is my first task in the WebAS 6.20, my program is based on input file provided by user with certain effort. this file can have different effort for a one yr to five year frame..
I needed to read the raw data from file, based on months create a internal table to hold the data, after this i need to validate the data...
I have browsed thru dynamic internal table topic, but couldn't find any dynamic appending structure, the dynamic structure would contains 12 month fileds.
can any one help me in getting my task completed..
Thanks
KumarHi,
I see that you posted the same question a couple of days ago at Dynamic Internal Table for reading data from external file Didn't Charles's response address your problem?
Regards -
TIFF-VIs for reading/writing from/to files
To whom it may concern,
I'm looking for TIFF-VIs for reading/writing from/to files
for Labview 6 without any add-on package.
Unfortunately I can't use TiffRd04 and TiffSv05 from
Koji Ohashi due to the different file format!
Any hints?
Thank you in advance. Best regards from Germany
Udo WeikHi Udo,
did you check these TIFF related libraries? .. maybe one of them is working.
Good Luck -
ive typed in the correct code for a £15 itunes voucher over and over but still says its invalid please help ive got 4 in total!
Try Here > http://support.apple.com/kb/TS1292
If no joy... Contact iTunes Customer Service
Apple Support iTunes Store Contact Us -
Where can I get a cheap app for removing blemishs from my photos
Where can I get a cheap app for removing blemishs from my photos
iPhoto itself can do that (click the Edit button), but did you have something more detailed in mind?
-
Urgently Need Code for Copy & Paste from Html Table in JSP to Excel file
I am creating a html table in JSP file .
I need code for 'Cut,Copy,Paste' functions ie. if someone wants to copy data from my table to excel file or from excel file to html table he shud be able to do that.
Can someone give me code for 'Cut,Copy and Paste' i.e. some javascript functions which can do cut, copy and paste which i can put in my jsp file
Thanks
Message was edited by:
javatechguru2007package com.chinmayananda
public class Tetris{
// complete here
code]
public abstract class AbstractTetris {
public abstract void start();
public abstract void stop();
}nearly done
Maybe you are looking for
-
Compaq Presario CQ56-115DX Problems
Hello, I have a Compaq Presario CQ56-115DX Laptop. It is still under warranty. Within the last week the power of the laptop has been messed up. When I have the laptop unplugged, which I don't very often, the laptop shuts down after an hour without an
-
Exporting photo from smart photo editor to lightroom catalogue?
I know how to export a photo from lightroom to a program called smart photo editor,but am not sure how to save it back to the same lightrm folder where the image originated from. in lightroom preferences i set up smart photo editor as a secondary edi
-
Changing Business Package ( I award good points )
If for example I import a business package into portal and I try to assign roles defined in the portal to the roles in the business package what are the considerations.Also pls let me know if can I change any particular object in the standard busines
-
Hello, Can we do a secure FTP using ABAP code ?? Thanks John
-
When i open facebook the games always say upgrad ur flash but i have the latest
when i open facebook the games always say upgrad ur flash but i have the latest == URL of affected sites == http://www.facebook.com