User Profile

Collapse

Profile Sidebar

Collapse
leenadiwan
leenadiwan
Last Activity: Oct 23 '07, 04:58 AM
Joined: Jan 10 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Used History Framework - RSH?

    Has anyone used History Framework - RSH?

    I want to know more about its use. It would be helpful if someone could provide link to a detailed documentation.

    Regards,
    Leena
    See more | Go to post

    Leave a comment:


  • Code:
    //At the start of the JS file-
    var currPosition = new Array();
    
    //Down in the JS file, in the code for DWR, we have the following
    var cellfuncs = [
    	function (data) { return parseData(data,currPosition[0],0);},
    	function (data) { return parseData(data,currPosition[1],1);},
    ...
    ...
            function (data) { return parseData(data,currPosition[10],10);}
    ];
    Note that...
    See more | Go to post

    Leave a comment:


  • Back Button + DWR problem using RSH history framework

    Hello All,

    We have implemented dynamic data load in an HTML table. The next set of records are loaded using DWR and the HTML table is updated.

    The trouble is when we click any link and go to other page, and then come back using browser's back button, the latest set of data is not shown.

    For this Im trying to use the history framework - RSH. Using this I stored the data retrieved by DWR into on historyStorage...
    See more | Go to post

  • leenadiwan
    started a topic Need help to get client's system colour
    in Java

    Need help to get client's system colour

    Hi All!!

    We are doing a POC currently wherein we need to get the System colours in the JSP file.
    Example: If user has set a specific theme, we want to be able to get the theme details through API's on the JSP.
    Based on these we want to apply colours to some custom display components.

    All we are getting is AWT related classes. And that too is the server system colours and not the client's.

    ...
    See more | Go to post

  • leenadiwan
    started a topic Creating a hyperlink dynamicaly in TD

    Creating a hyperlink dynamicaly in TD

    Hi All!!

    We want to create a hyperlink dynamically in an html table TD.

    We have tried the following and evenon some internet sites the code examples are samilar but the adding to the td part is not there.. any other settings that we do to the td are being reflected expect creating a hyperlink for the TD content. We could even add an image using similar code but not a hyperlink. Any suggestions?

    Code:
    var td
    ...
    See more | Go to post

  • bgraphics2031, can you please share the code that works in FF as well?
    I checked your site and http://blogs.crankygob lin.com/blogs/geoff.appleby/archive/2005/02/09/50712.aspx and it may help me if it works in FF too....
    See more | Go to post

    Leave a comment:


  • leenadiwan
    started a topic commons fileupload progress listener
    in Java

    commons fileupload progress listener

    Has anyone implemented the commons file upload progres listener?

    1. Can it be used only with streaming API and not normal upload?
    2. Not sure where to put the following code referred on the site under watch progress:

    Code:
    //Create a progress listener
    ProgressListener progressListener = new ProgressListener(){
       public void update(long pBytesRead, long pContentLength, int pItems) {
    ...
    See more | Go to post

  • leenadiwan
    started a topic Get file size before upload begins
    in Java

    Get file size before upload begins

    I want to throw an error immediately if user is trying to upload a file of size greater than the specified limit. We are checking content-Length for this.

    But, if Im not mistaken, for large files the issue is because of the behaviours of HTML and Java: Once the user hits on upload button, the file is included in the request body as the enctype is multipart/form-data. If the connection is slower [this application can be used over internet...
    See more | Go to post

  • leenadiwan
    started a topic problem with accessing a JS file

    problem with accessing a JS file

    Friends,
    Im having problem with accessing a JS file placed in another folder from a JSP popup.

    I tried all the following:
    <SCRIPT LANGUAGE="JavaS cript1.1"
    SRC="../js/SpellCheckForm. js"></SCRIPT>

    <SCRIPT LANGUAGE="JavaS cript1.1"
    SRC="/js/SpellCheckForm. js"></SCRIPT>

    <SCRIPT LANGUAGE="JavaS cript1.1"...
    See more | Go to post

  • leenadiwan
    started a topic How to remove fieldset margin in IE?

    How to remove fieldset margin in IE?

    Dear Friends,

    How to remove fieldset margin in IE?

    I want one image closer to the bottom border of the fieldset. but when I put the image, IE leaves some space as a margin.

    Any ideas how can i get rid of it?

    Thanks in advance!!

    Regards,
    Leena
    See more | Go to post

  • leenadiwan
    started a topic why setTimeout is needed?

    why setTimeout is needed?

    Real Questions:
    1. Why do we need such timeouts in Javascript?
    2. Is there any standard and elegant workaround for such timeouts?
    3. What causes these inconsistencies because of timeout not put? Is that the order of the js files being downloaded or anything else?

    Background:
    If you need the background is like the following
    We have a grid solution in place for the HTML tables.

    This HTML...
    See more | Go to post

  • leenadiwan
    started a topic Two simultaneously fired events

    Two simultaneously fired events

    Hello Friends!

    We are finding it difficult to separate onclick event of image and onmousedown event of TD on which the image is present. Both these events are getting fired simultaneously.

    How can we specify like in the image's area the TD event should not get caught? Or how can we handle this?

    Regards,
    Leena
    See more | Go to post

  • leenadiwan
    replied to DIV display similar to tooltip
    Anyone can help?
    See more | Go to post

    Leave a comment:


  • leenadiwan
    replied to DIV display similar to tooltip
    I added the following to the css of my DIV
    Code:
    	float: left;
    	width: 40%;
    	margin: 0.5em;
    Now Im getting the box but then-
    1. Its appearing at a wrong location. How do I change its position?
    2. The buttons and text on top of which this box appears are all visible. How do I make sure that once this box is shown the items below it on page are not seen?

    Regards,
    Leena
    See more | Go to post

    Leave a comment:


  • leenadiwan
    started a topic DIV display similar to tooltip

    DIV display similar to tooltip

    Hello Friends,

    I have a DIV tag that is not visible on page load.
    COnditionally I want to make is visible and that too as if its floating box on the page.

    Something like on this link when one tries to mouse over to the icons.
    http://brianmcnitt.com/wp/2005/08/15/10-best-resources-for-css/

    How do I do it?

    Regards,
    Leena
    See more | Go to post

  • Thank you for the reply.

    I tried the following-
    document.body.c lientHeight = document.body.c lientHeight - 200;

    but it gives me error saying setting a property that only has a getter.

    I need to alter the increased page size.

    Regards,
    Leena
    See more | Go to post

    Leave a comment:


  • Reducing height of the displayed page in Mozilla

    Hello Friends,

    I have a textarea at the bottom of my JSP page. User can toggle its height to 100px and 300px by clicking a button.

    When the toggle happens from 300px to 100px, in IE the page height also gets adjusted. But in Mozilla once extended, the page remains extended. The sroll bar remains of the same size and a white area gets displayed in the space of 200px [contracted value]

    Any idea if I can...
    See more | Go to post

  • leenadiwan
    replied to IE issue with setting action
    Yes I do have.. I commented the hidden field and tried it again.
    It worked. I did not get the error.

    Why is this so? Im not using it like document.form1. action like in the example.

    Im using it like -
    document.getEle mentById('form1 ').action

    Actually I cannot do without this hidden field on the form.

    Regards,
    Leena
    See more | Go to post

    Leave a comment:


  • leenadiwan
    replied to IE issue with setting action
    In the JSP page from which this JS function is called I have declared it as follows:
    Code:
    <script language=JavaScript>
    var theContextRoot = "<%=request.getContextPath()%>";
    </script>
    The JS function is in a JS file which is included in the JSP page.

    When I print its values, Im getting it right in the JS function.
    See more | Go to post

    Leave a comment:


  • leenadiwan
    replied to IE issue with setting action
    Yes I know that IE supports this. I had seen the W3C site page you referred to.

    While I am removing some sensitive information from the html page code to post it here, why do you think the form code will make a difference?
    Any pointers I can myself check and test? Like use of some tags or nesting related issues etc you are aware of that will cause such a problem?

    Regards,
    Leena
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...