Page content disappears as applet is loaded....
Hello All,
Question 1:
I have a webpage where I have a form. I ask user to input a few things in there, and as user press the submit button I pass this information to the embedded applet.
However as soon as he presses the submit button, the form disappears, quite strangely. I dont know why ??
Can some one tell me whats the solution for this .??
Question 2:
Also after I call the applet, it takes the necessary action, but even after taking the necessary action it keeps on running in the backgrnd for nothing. I tried giving the stop command, but in console i can read that applet stops and starts again.
I dont want applet to comsume memory resources for no reason. Please tell a solution to this also.
Question 3:
Also I dont know why browser cache the applet, i.e if I make some changes in the applet at the backend, they doesnt seems to reflect in the browser, until it is closed and started again.
How can I remove this bug from my application??
Once in edit mode, are you able to view the page's source and do a "Find" on a certain keyword that should normally appear in your page's content? Is it there?
I'm trying to determine if its a server side issue with your master page's code that's causing the content not to be sent back across the wire to the user or if the content is there but just not properly presented. Thanks
Nikolas Charlebois-Laprade Microsoft Certified Professional & Software Engineer http://nikcharlebois.com
Similar Messages
-
Creating Page Layout Problem : Page Content Disappears
Hello,
I am a recent grad and new to the world of Sharepoint and ASP.
I created a Page Layout with 3 columns and I implemented the 'Page Content' in each column.
When I enter anything ( Text or HTML) in the Page Content and save, it immediately discards what I entered and saved.
What am I doing wrong?
Thanks in advance.Hi,
According to your post, my understanding is that Page Content Disappears after you save the created Page Layout.
The issues is caused by that Page Layout is not assocaited with the content type.
Please make sure you create Page Layout correctly. You can refer to:
How to: Create a page layout in SharePoint 2013
Here is a similar thread for you to take a look at:
http://islamkhattab.blogspot.in/2013/04/publishing-page-layout-image-field.html#!/2013/04/publishing-page-layout-image-field.html
Best Regards,
Linda Li
Linda Li
TechNet Community Support -
Firefox UI & Web Page Content Disappears
When using Firefox 27.0.1 with minimal (less than 15 tabs) I have encountered a problem where the entire user interface simply disappears. By that, I mean that the content Tab Bar, Navigation Bar and Bookmarks Toolbar all disappear and are replaced by the "glass" effect of the Windows 7 windows.
Additionally, the web page that should be displayed also disappears and turns completely black.
This seems to happen after browsing through several JavaScript heavy pages (like Google Play) as well as sites with Flash and/or HTML5 video frames (like YouTube).
I recently reinstalled Firefox (12th of January) and am using a completely new profile, though I have reinstalled my most used addons and disabled hardware acceleration.
I have included the Troubleshooting Information with this post.
Thanks guysDisabling hardware acceleration seems to have solved the rendering issues.
However, the crashes on script heavy pages persist. Tried running in Safe Mode and didn't get any crashes. But here's the problem. My sister uses Firefox as well and we use more or less the same Add-ons yet she doesn't get the same level of crashes I do and she browses far more often than I do.
So heres what I did (note: our PC's are custom builds with exactly the same specs, except the graphics card - her's is a Radeon HD4xxx and mine is an HD6770)
I checked what Add-ons she uses and disabled all the Add-ons I use that she didn't have. In theory, that would leave me with a Firefox with Add-ons that are confirmed working. And yet, despite that, Firefox still crashes, particularly on YouTube.
As an example, I can have 3-4 (approximately) YouTube pages open, none of which are showing the video player (Flash or HTML5); such as user pages or subscription pages, etc.
While they are loading Firefox slows to a crawl, eats memory and eventually crashes. My sister on the other hand once had 30+ pages with the video player (Flash in this case) open and yet her Firefox averaged around 900MB RAM with no slow down or crashes.
Again, this is a clean install (not even installed in the same Directory or Disk Partition as my previous install), and it is a clean profile with each Add-on reinstalled/setup manually. I did copy over a few files containing data for a few Add-ons as well as all my Bookmarks. The data copied was just a list of blocked Trackers by DoNotTrackMe and data from a time tracking add-on.
Anyone have any ideas? -
Page content disappears in Edit mode - Custom Master Page
Hi All,
Below are the two issues I have with my master page.
1) I am facing the strange issue with the pages created using custom page layouts and custom master page.
In browse mode, everything looks perfect and as expected. But when I try to edit the same page, all content disappears as soon as page ribbon appears. When I click back on Browse tab on the ribbon, everything appears back normally.
2) Also When I apply my custom master page as site master for Publishing site it works I can see all my custom design and layout. But when I apply same for team sites, unless I change system master to my custom master page, it doesn't reflect my design.
Does anyone face this issue before?
Thanks
Pramod
PramodOnce in edit mode, are you able to view the page's source and do a "Find" on a certain keyword that should normally appear in your page's content? Is it there?
I'm trying to determine if its a server side issue with your master page's code that's causing the content not to be sent back across the wire to the user or if the content is there but just not properly presented. Thanks
Nikolas Charlebois-Laprade Microsoft Certified Professional & Software Engineer http://nikcharlebois.com -
Page content disappearing when longer than 1 page
When creating a Welcome page or About Me page in iWeb 08, all page content completely disappears if it is longer than one page and I scroll to the second page.
The outline of the text box still appears to be visible, but none of the text displays inside of it. Also, the rest of the graphics/content for the page disappear as well. The only thing left is the background and the outline of the text box that I was previously typing in.
This makes it impossible to create a page that is any longer than one screen length on my machine. Anyone else see this issue or a fix for it?
Currently using a shiny new 2.4Ghz iMac and just started with iLife 08 today.
Thanks!Roddy wrote:
To make a page longer you can delete the "made on a Mac" thing, add a text box as a "footer" and put your copyright info into it eg
Copyright © Me - 2007 - All Rights Reserved
Click and hold on this box and drag it down the page.
The page will get longer and longer and longer........ before your very eyes!
The problem isn't the actual page length of the page. The problem is with the rendering of it within iWeb. Once the page is published all of the content shows up in a browser as it should.
The problem occurs within iWeb itself when trying to edit and add content to a page. Once I do any scrolling on a page within iWeb all of the content of the page completely disappears. The only things left are the background and the outline of the text box that is selected. Everything else is gone, including the footer, etc. -
Page Content Disappears When Adding WebPart SP 2010
I have been working on a project (wiki page). I have added WPs. There are only 2 on the page. One day one of the WPs was not there I am trying to upload the same one. When I do, the entire page disappears. So I close it without
editing it and it returns. Any suggestions would be great. I have not altered the master pages.
d.bellYou can try checking if the other web part is already on the page or not. Someone might have closed that web part.
At the end of your page URL type
contents=1
e.g.
http://intranet.contoso.com/Project1/Pages/Default.aspx?contents=1
If you see your two web parts there then Delete the one which is not visible on the page. You may have to checkout the page for this.
Now go back and add the web part back and see if that works.
Amit -
IWeb not saving site / page content disappears
I have tried to create a website several times with my new Mac running leopard and ilife 08.
I am pretty familiar with iWeb but this has me confused. I create a site with several pages....then save it. Publish it to .mac and everything looks fine.
Then I close iWeb and when I open it later the pages are there, and in order, but there is no content on them at all...just a white screen. No theme is even selected.
My library/applications support/iweb folder does have a domain file but it is just called: Domain with no extension.
Anyone that can lead me in the right direction? ThanksHi all,
Just reading the topic at hand and I have exactly the same problem. Upload the website, its online but when I close and reopen iweb all the contents are gone from the pages!!!
However, I imported my old iweb domain from my old macbook pro and all the contents are there to be seen. Its only after I added more pages that the content on the new pages ONLY has disappeared.
A real pain in the neck cause I cant figure out why one batch of info (the old info) is in tact but the new stuff is missing!!
HELP APPLE PLEASE!!!
dsupreme -
Whenever I make applets. As soon as I minimize the applet or resize it or move any other window over the applet...the content of the applet disappears. can someone please tell me how to get rid of it and how to retain the contents of the applet even after it is minimized or resized. Thanks :)
I am an absolute beginner. I made the following code.
import java.applet.*;
import java.awt.*;
import java.awt.event.*;
<applet code ='Scribble.java' width=300 height =300>
</applet>
public class Scribble extends Applet
implements MouseListener,ActionListener, MouseMotionListener,ItemListener
Choice shape;
String msg="";
int last_x = 0;
int last_y = 0;
int clickx=0,clicky=0;
public void init()
shape = new Choice();
shape.add("Line");
shape.add("FreeHand");
shape.add("Oval");
shape.select("FreeHand");
shape.addItemListener(this);
add(shape);
Button clear = new Button("clear");
add(clear);
addMouseListener(this);
addMouseMotionListener(this);
clear.addActionListener(this);
public void paint(Graphics g)
g.drawString(msg,30,40);
public void mousePressed(MouseEvent me)
last_x=me.getX();
last_y=me.getY();
clickx=me.getX();
clicky=me.getY();
public void mouseEntered(MouseEvent me)
public void mouseExited(MouseEvent me)
public void mouseReleased(MouseEvent me)
public void mouseClicked(MouseEvent me)
public void mouseMoved(MouseEvent me)
public void mouseDragged(MouseEvent me)
//For drawing Freehand
if(shape.getSelectedItem().equals("FreeHand"))
Graphics g = getGraphics();
g.drawLine(last_x,last_y,me.getX(),me.getY());
last_x = me.getX();
last_y = me.getY();
//For Drawing Line
if(shape.getSelectedItem().equals("Line"))
Graphics g = getGraphics();
g.setColor(Color.white);
g.drawLine(clickx,clicky,last_x,last_y);
g.setColor(Color.red);
g.drawLine(clickx,clicky,me.getX(),me.getY());
last_x = me.getX();
last_y = me.getY();
//For Drawing Oval
if(shape.getSelectedItem().equals("Oval"))
Graphics g = getGraphics();
g.setColor(Color.white);
g.drawOval(clickx,clicky,last_x-clickx,last_y-clicky);
g.setColor(Color.red);
g.drawOval(clickx,clicky,me.getX()-clickx,me.getY()-clicky);
last_x = me.getX();
last_y = me.getY();
/*For Button*/
public void actionPerformed(ActionEvent ae)
String str=ae.getActionCommand();
if(str.equals("clear"))
repaint();
public void itemStateChanged(ItemEvent ie)
}I've got loads of doubts with this.
1. The applet content disappears when I resize/minimize it.
2. I've tried to do it the MSpaint/Photoshop way. Where if you are drawing a Line/Shape then while the mouse is dragged ..the user gets an idea as to what is being drawn. So for that..for every new pixel position the mouse is dragged to, I've redrawn the previous shape in WHITE color. But then that gives me a problem that if a previous shape was already drawn at that position. It gets erased too. So I would like to rectify that too.
3. I Don't know how to use getGraphics to the fullest. [Guide me to a tutorial?]
Thanks.
Edited by: axl.r0se on Mar 28, 2010 1:04 AM -
Loading CSS Body background before page content?
Hi all,
I'm doing this homepage for a publisher:
http://www.alma.dk/
When testing it with sloppy (www.dallaway.com/sloppy/), I can
see that the background image of the logo, which is the most
important graphic, loads LAST.
I've figured this is because the body style is set in the CSS
file, and browser logic doesn't load CSS defined images first.
Is there any way to make the page load the CSS defined images
before it loads the rest of the page contents? I've got a few large
images hidden in layers on that page that the browser attempts to
load before displaying the background image, which is not ideal. -
And I'd rather use CSS styling for the body, ofcourse.
Thank you for any pointers!> Your stats are wrong, because in that one HTML page,
there are 198KBs of
> graphics. Try MouseOver on one of the book graphics,
that'll reveal the
> hidden
> larger images, that are contained in Layers, with Snap
Layers by PVII. -
> Or try
> the site with Sloppy.
If you eliminated the heavy js hit of snap layers (using CSS
instead), and
adopted the Set Text method of writing the image source link
to an ID
element, you could probably cut 80% of this page's weight.
Then you
wouldn't have to worry about the slow load.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"Mathias(DK)" <[email protected]> wrote in
message
news:[email protected]...
> Murray!
>
> I came here hoping that it would be you that answered my
call. You've been
> a
> tremendous help on this forum before whenever I needed
it, and for that I
> owe
> you...
>
> > I've figured this is because the body style is set
in the CSS file, and
> > browser logic doesn't load CSS defined images
first.
>
> >I'd be interested to know where you learned this.
>
> As I wrote, this is something I figured myself, since
looking at the page
> through Sloppy, I can see that the BG image persistently
loads as one of
> the
> last graphics.
>
> Your stats are wrong, because in that one HTML page,
there are 198KBs of
> graphics. Try MouseOver on one of the book graphics,
that'll reveal the
> hidden
> larger images, that are contained in Layers, with Snap
Layers by PVII. -
> Or try
> the site with Sloppy.
>
> Counting Angels, huh? Well, I take pride in what I do,
whatever I do, and
> at
> the same time I'm interested in learning. Even if I
optimized the BG
> graphic
> more (GIF), it'd still load last (after 161KBs of
graphics + HTML and
> CSS).
>
> So there is the problem. And just for the record, the
page will go dynamic
> in
> the future, so there wont be hidden graphic hacks on it,
but I'm
> interested
> still, for future reference and for learning.
>
>
>
>
> -
Frequently when selecting a download directory/filename in the "save to" dialog the entire dialog is overwritten with the active page content. It appears the dialog has closed, but if you tab through the dialog the active field/control is written but the rest of the dialog remains hidden/overwritten. This has also happened with the "open file" dialog. The the drop down menus on the menu bar are occasionally being overwritten after being activated/pulled down. I have not been able to determine a common/specific event causing this problem.
I seem to have fixed it by putting <div class="clearfloat"></div> after the navigation bar?
-
Flex 3 project, all visible content disappears
This is a bit hard to describe. It's a complex Flex app for a realtime multiplayer game using socket connections. Previously, everything worked fine, but after some recent changes there is a point where all visible content disappears.
What is REALLY odd is that this ONLY happens when the SWF is embedded in an HTML page. If the SWF is loaded directly by the browser, either locally using file:/// or served by a webserver (i.e. http://localhost:8080/swfs/MySwf.swf) then the SWF works as expected and transitions to the next state without a problem.
Also of note is that no error is thrown and, yes, I have the debug version of flash installed and can see popup errors by intentionally causing them to test.
I'm at a loss for how to debug this. I started by commenting out all sections of the code that had recently changed, but the problem persisted. Since then, I'm shooting in the dark, commenting out sections and testing. For a bit, I thought the problem might be with the embed code itself, but I'm using the default generated by Flex Builder and it has not changed in the past 10 months that the last version of this SWF was working. I've tried using every alternate window mode, but that didn't change anything.
I've been testing mainly in Safari 4 (OS X), but tried Firefox 3.5 to confirm that the problem wasn't mac-browser specific, and tried Firefox 3 (Ubuntu) to confirm it wasn't OS specific.
Does anybody know, on a high level, what could cause this kind of problem? Specifically...
1) What can cause the display to suddenly clear?
2) What differences are there between running the SWF directly (even loaded from a webserver, so it's not local content) that could affect rendering?
3) Any other advice on things to try?
Attached are two images:
(a) the one with content elements is the desired effect, and was the result of loading the swf directly, and
(b) the one with just the plain background image is the result at the same step but embedded in an HTML page
Thanks!Thanks for the suggestion Barna. I've been doing that, though, and discovered that the code continues to run in the background, not having hit any error. I literally had logging statements between every line of code in the function where the content disappears, and every logging statement was output as it should be.
So, I tried executing a different function that does nothing but change the current state instead, and the problem still occurred.
The keys points thus far are:
(1) no error messages thrown
(2) no errors in the AS3 code
(3) but a call to currentState = "lobby" (which is the next desired state) causes the contents of the display to vanish
(4) again, only happens when embedded
If there is an error, it seems to be in the state change... which is MXML, so I can't log output there, but I'll see if commenting out particular element(s) or changes will shed some light on where an error might be... -
While in edit mode in the Moodle course management system, the Page Content window should display the page as it will appear to the user. If you click on the "Edit" button, you are able to view the HTML code for the page. However, when you return to the normal display mode, the page is blank. This has occurred after the upgrade to Firefox 11.0. Page is normally rendered in Internet Explorer.
A possible cause is security software (firewall,anti-virus) that blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
Remove all rules for Firefox and the plugin-container from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process and the updater process.
See:
*https://support.mozilla.org/kb/Server+not+found
*https://support.mozilla.org/kb/Firewalls
See also:
*http://kb.mozillazine.org/Error_loading_websites
*https://support.mozilla.org/kb/Error+loading+web+sites -
My Yahoo like Dynamic web page content creation
Are there any methodologies/best practices available for creation of pages like My Yahoo.
Basically, display of page depends on sections chosen by the user for display and inside those sections content is also what is chosen by the user. Page is different for different users based on their options.
Are there any methodologies/best practices available for this kind of work using JSP.If your ISP don't support JSP / Servlets,
1.use any server side technolgy, something like ASP.
2.Read the files and transform them as Strings (or StringBuffers).
3.Pass these Strings as parameters to the applet (if you are forced to use java technology, otherwise you can do it using ASP itself).
4.Construct the required format (content) in your applet.
Don't forget that the stuff will be in applet but not a complete web page. The ideal solution is asking your ISP to provide JSP engine. -
Using Java for dynamic web page content
I've currently got a Perl program that I'd like to convert to Java. It merges two files that are stored on a web server and generates a "dynamic" HTML response.
For example, if I have the following files on the server:
File1:
<Comment1>This stuff</Comment1>
<Comment2>That stuff</Comment2>
File2:
<HTML>
<Comment1><br><Comment2>
</HTML>
When I go to the URL
www.mysite.com\cgibin\merge.pl?file1&file2
the Perl program will produce a web page saying:
This stuff
That stuff
The major obstical for the rewrite: NO JSP ALLOWED. It's not allowed by the ISP.
Now for the questions:
- Could this be done using Java?
- How could I initiate the Java app and pass it the parameters? (applet tag, access Java inside Perl, use Java Script somehow)
- Will an applet tag even work for this since the final page is generated completely from other files?
Thank you very much for your help.If your ISP don't support JSP / Servlets,
1.use any server side technolgy, something like ASP.
2.Read the files and transform them as Strings (or StringBuffers).
3.Pass these Strings as parameters to the applet (if you are forced to use java technology, otherwise you can do it using ASP itself).
4.Construct the required format (content) in your applet.
Don't forget that the stuff will be in applet but not a complete web page. The ideal solution is asking your ISP to provide JSP engine. -
Java Applet Wont Load Past 80%
Someone is running a java based paint chat off of their home system, so far all of us have been able to load it all the way, except for one person who can't seem to get the applet to load past 80%.
She says she's got the latest update for OS X and she's gotten it to load before. She's tried updating Java and restarting her system. We don't think it's a firewall, seeing as other people can access it and she doesn't think she's running one.
Any thoughts on what the issue could be would be greatly appreciated.Have her go to this Sun page and test her Java installation.
http://java.com/en/download/help/testvm.jsp
If there's no problem, she should look for a cause other than Java/applets.
If there is a problem, the page has troubleshooting information.
Maybe you are looking for
-
Itunes will not read Ipod Nano...
I just got an Ipod Nano for my Windows XP Dell Inspiron 8500. Installed the latest version of Itunes 5... and any 'latest' updated for Ipod software. (uninstalled/reinstalled SEVERAL times) Everytime I open ITunes, I get a message saying: "The softwa
-
Can't setup the Web Services as printer says "cannot connect to the server to get the update"
Just purchased and am setting up my HP Officejet pro 8600. It has set-up wirelessly without a hitch until I tried to install/enable the web services and I continue to get a message saying "the printer could not connect to the server" therefore it can
-
Buggy issues with keyboard buttons.
Getting constant issues with keyboard keys in Photoshop. Delete key does not delete layer, Fill layer (Option Delete) only works when I change tools. And it does this intermittently. It's very annoying! Anyone else have these issues? These are just s
-
Suggestions on best way to switch b/t Analog and Digit
I Just finally got myself the Logitech 5450's Speaker which support analog and digital 5. but Im a bit of a novice when it comes to audio stuff and Im just realizing that as great as digital sound is for movies (which support it of course), that unle
-
My iPad mini keeps turning itself off and then the apple logo keeps flashing constantly, i have charged it fully and restored it many times. what can i do?