Float property problem

I have a div inside another div
The pearent div is NOT floated (and has height auto)
When i apply float to the inside DIV it behaves as if it is not inside the pearent DIV
is this normal?
if yes
how do i float objects inside a non-floated pearent div with auto height?

When i apply float to the inside DIV it behaves as if it is not inside the pearent DIV
is this normal?
Yes. What is happening is due to the nature of floats.  When you float an object it is removed from the normal flow of the page.  This means that its parent container will suddenly lose sight of that object as a descendent element.  This usually causes the parent to collapse to the height of its non-floated content, and if there is none, the parent container could collapse all the way down to a thin line.  The floated element will appear to be OUTSIDE of the parent and for many purposes, it *is* outside the parent (CSS will still cascade into it properly though).
if yes
how do i float objects inside a non-floated pearent div with auto height?
Auto height is misleading in that it's the default.  Assigning NO height is the same as assigning auto height.  It really does nothing for you and is usually therefore both redundant and unnecessary.  What you must do to 'keep the descendent element in the parent' is one of these three things (haven't we been through these with you before?):
1.  Assign a width to the parent element and float it (a floated element will always contain its descendent floated elements).
2.  Apply an overflow:hidden style to the parent (this forces the parent to acquire a new block formatting context, and thereby contain its descendent floats).
3.  Clear the floats before closing the parent tag (perhaps with something as simple as '<br style="clear:both;">'.
Make sense?

Similar Messages

  • Floating keyboard problem

    I have this floating keyboard problem. Is there a fix to this?
    I jail broke my device and I know it's not anything I downloaded after that because none of the things I downloaded have anything to do with mail or photos. This only happens when I try to send a photo through email. Help please!
    Link to pic of problem: http://i252.photobucket.com/albums/hh24/freaktrains/EA41C579-2212-4CCC-912D-6EB0 2D19BB81-2136-000000C6A8F32FCD_zpsa2359318.jpg

    Jailbreaking voids the Apple warranty and also means that you will not get any support from Apple, including from this Apple forum. Jailbreaking can't be discussed in this Apple forum.
      Unauthorized modification of iOS has been a major source of instability, disruption of services, and other issues

  • Float property in Div

    Is float property supported in Div TLF 2.0?

    No, it's only for <img>, which is flashx.textLayout.elements.InlineGraphicElement.

  • DWCS3 Float Drop Problem?

    My site passed the Browser compatibility check in DWCS3, however, after launching site online and viewing it on a IE6 PC computer, the home page does not display correctly: the center section drops down. I checked for a potential float drop problem by adding up my widths including margins and padding: Sidebar left is 170 px, main content area is 370 px (this is the area that drops), sidebar right is 180 px = 720 px. The container is 780 width so I don't understand why the center doesn't fit but drops down because there seems to be 60 px left in the overall width to provide plenty of room. The main content area doesn't have a width specified, just a left and right margins (left set at 170 and right set at 180). I didn't try a conditional comment because I am not that familiar with coding. Any suggestions would be helpful. Also, don't understand why this wasn't flagged in the DWCS3 Browser compatibility check when it scanned for IE6. The address is http://www.eastontroop66.org and it's the home page. Thank you!

    My site passed the Browser compatibility check in DWCS3, however, after launching site online and viewing it on a IE6 PC computer, the home page does not display correctly: the center section drops down. I checked for a potential float drop problem by adding up my widths including margins and padding: Sidebar left is 170 px, main content area is 370 px (this is the area that drops), sidebar right is 180 px = 720 px. The container is 780 width so I don't understand why the center doesn't fit but drops down because there seems to be 60 px left in the overall width to provide plenty of room. The main content area doesn't have a width specified, just a left and right margins (left set at 170 and right set at 180). I didn't try a conditional comment because I am not that familiar with coding. Any suggestions would be helpful. Also, don't understand why this wasn't flagged in the DWCS3 Browser compatibility check when it scanned for IE6. The address is http://www.eastontroop66.org and it's the home page. Thank you!

  • "Floating ownership" problem on eSATA DS4600

    I have a Promise DS4600 unit that is hooked up with eSATA. Previously, I used System Preferences to move some user account home directories to this unit since some of them are just gigantic. It's worked great... until...
    ...somehow, this volume has acquired the "floating ownership" problem. The floating ownership problem is where the system shows the currently-logged on user as the owner of every file and directory inside the volume even though "ignore ownership on this volume" has been disabled for quite some time.
    Does anyone have any idea how this happened or how to fix it? I'm trying to avoid a data move/permissions rework because the amount of data is huge (3 terabytes or so) and it would be difficult. I have a feeling there is a setting stuck, but I cannot find any data on it. I know there is a post about this issue on the SuperDuper! blog, but there is no information on how to fix it. They just talk about how they worked around the issue on their application.

    I have a Promise DS4600 unit that is hooked up with eSATA. Previously, I used System Preferences to move some user account home directories to this unit since some of them are just gigantic. It's worked great... until...
    ...somehow, this volume has acquired the "floating ownership" problem. The floating ownership problem is where the system shows the currently-logged on user as the owner of every file and directory inside the volume even though "ignore ownership on this volume" has been disabled for quite some time.
    Does anyone have any idea how this happened or how to fix it? I'm trying to avoid a data move/permissions rework because the amount of data is huge (3 terabytes or so) and it would be difficult. I have a feeling there is a setting stuck, but I cannot find any data on it. I know there is a post about this issue on the SuperDuper! blog, but there is no information on how to fix it. They just talk about how they worked around the issue on their application.

  • Float type problem helppppppppp

    I have a jsp page, which retrieves values from a html page, my problem is that
    i can insert the values in database, but the problem is that it does not insert the flot type values...
    like 21.21, 242.52. It shows only 21,242
    it does not shows in float type.
    html form:
    <input type="text" name="code" size="5" maxlength="5">
    <input type="text" name="Description" size="65">
    <input type="text" name="DrAmount" size="12" >
    <input type="text" name="CrAmount" size="12" >
    <SELECT name="type">
    <option value="" selected></option>
    <option VALUE="C">C</option>
    <option VALUE="O">O</option>
    <option VALUE="OI">OI</option>
    <option VALUE="OR">OR</option>
    <option VALUE="S">S</option>
    <option VALUE="SB">SB</option>
    <option VALUE="SG">SG</option></select>
    <input name="pct" type="text" size="6" maxlength="5" >
    jsp page:
    <html>
    <head>
    <%@ page
         import = "java.io.*"
         import = "java.lang.*"
         import = "java.sql.*"
    %>
    <title></title>
    </head>
    <body>
    <h1></h1>
    <%
         String Code,Description,Dr_Amount,Cr_Amount,Pct,Type, sql1 ;
         ResultSet results;
         PreparedStatement sql;
         try
              Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
              Connection conn=DriverManager.getConnection("jdbc:odbc:pf","scott","ttlscott");
              try
                   int gl_code;
                   Float db_amt,cr_amt,gl_pct;
                   String gl_descr, gl_type;
                   boolean     doneheading = false;
    Statement s=conn.createStatement();
    Code = request.getParameter("code");
    Description = request.getParameter("Description");
    Dr_Amount=request.getParameter("DrAmount");               
    Cr_Amount=request.getParameter("CrAmount");
    Type = request.getParameter("type");
    Pct=request.getParameter("pct");
    PreparedStatement pstmt = conn.prepareStatement(
    ("INSERT INTO gl_mast VALUES (?, ?, ?, ?, ?,?)"));
    pstmt.setInt(1,Integer.parseInt(request.getParameter("Code")));
    pstmt.setString(2, request.getParameter("Description"));
    pstmt.setFloat(3,Float.parseFloat(request.getParameter("Dr_Amount")));
    pstmt.setFloat(4,Float.parseFloat(request.getParameter("Cr_Amount")));
    pstmt.setString(5, request.getParameter("Type"));
    pstmt.setFloat(6,Float.parseFloat(request.getParameter("Pct")));
    pstmt.executeUpdate();
                   sql = conn.prepareStatement("SELECT * FROM gl_mast WHERE gl_code = '" + Code + "'");
                   results = sql.executeQuery();
                   while(results.next())
                        if(! doneheading)
                             out.println("<table border=2>");
                             doneheading = true;
    gl_code = results.getInt("gl_code");
    gl_descr = results.getString("gl_descr");
    db_amt = results.getFloat("db_amt");
    cr_amt = results.getFloat("cr_amt");
    gl_type = results.getString("gl_type");
    gl_pct = results.getFloat("gl_pct");
                        out.println("<BODY bgColor=blanchedalmond text=#008000 topMargin=0>");
                        out.println("<P align=center><FONT face=Helvetica><FONT color=fuchsia > <BIG>GL MASTER INFORMATION</BIG></FONT></P>");
                        out.println("<P align=center>");
                        out.println("<TABLE align=center border=1 cellPadding=1 cellSpacing=1 width=\"75%\">");
                        out.println("<TR>");
                        out.println("<TD>Code No.</TD>");
                        out.println("<TD>Description</TD>");
                        out.println("<TD>Dr. Amount</TD>");
                        out.println("<TD>Cr. Amount</TD>");
                        out.println("<TD>Type</TD>");
                        out.println("<TD>Percentage</TD></TR>");
                        out.println("<tr><td>" + gl_code);
                        out.println("<td>" + gl_descr);
                        out.println("<td>" + db_amt);
                        out.println("<td>" + cr_amt);
                        out.println("<td>" + gl_type);
                        out.println("<td>" + gl_pct);
                   if(doneheading)
                        out.println("</table>");
                   else
                        out.println("No matches for " + Code);
              catch (SQLException s)
                   out.println("Dupliacte Entry<br>");
         catch (ClassNotFoundException err)
              out.println("Class loading error");
    %>
    </body>
    </html>
    error:
    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: 13 in the jsp file: /gl_master/gl_save.jsp
    Generated servlet error:
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\work\Catalina\localhost\abhi\org\apache\jsp\gl_005fmaster\gl_005fsave_jsp.java:100: incompatible types
    found : float
    required: java.lang.Float
    db_amt = results.getFloat("db_amt");
    ^
    An error occurred at line: 13 in the jsp file: /gl_master/gl_save.jsp
    Generated servlet error:
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\work\Catalina\localhost\abhi\org\apache\jsp\gl_005fmaster\gl_005fsave_jsp.java:101: incompatible types
    found : float
    required: java.lang.Float
    cr_amt = results.getFloat("cr_amt");
    ^
    An error occurred at line: 13 in the jsp file: /gl_master/gl_save.jsp
    Generated servlet error:
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\work\Catalina\localhost\abhi\org\apache\jsp\gl_005fmaster\gl_005fsave_jsp.java:103: incompatible types
    found : float
    required: java.lang.Float
    gl_pct = results.getFloat("gl_pct");
    ^
    3 errors
         org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
         org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:332)
         org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:437)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:497)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:476)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:464)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.0.30 logs.
    Apache Tomcat/5.0.30

                   Float db_amt,cr_amt,gl_pct;
    found : float
    required: java.lang.Float
    db_amt = results.getFloat("db_amt");The messages are self-explainatory. You are having objects of type Float. and the ResultSet.getFloat() would return float.
    Cheers
    -P

  • NJawin: User32 and property problems

    Hi everybody, especially Vitaly Shelest ;)
    I'm using latest NJawin (1.1.31) and jsdk1.4.2 for wrapping some DLLs. It works, but there are several problems:
    1) When null and "" (empty strings) are passes in IDispatch property put methods for String properties, there is an exception thrown;
    2) HelloJava sample from Jawin distribution won't work. It ends with
    Exception in thread "main" java.lang.OutOfMemoryError: requested -627650838 bytes
    It won't work with Jawin either.
    It's sad, but there is no source code available for NJawin. So I experience a little bit of helplessness =(
    Did anybody manage to create a window with NJawin WinAPI fuctions? Do you know any workarounds for String properties in IDispatch?
    Regards,
    Vladimir Kirillov
    vladikir SOBAKA pochta TOCHKA ru

    Hi Vladimir,
    I have made a test: wrote COM server DLL with one property testString
    STDMETHODIMP CnjTest::get_testString(BSTR *pVal);
    STDMETHODIMP CnjTest::put_testString(BSTR newVal);and java code
    import NJAWINTESTLib.InjTest;
    import NJAWINTESTLib.njTest;
    import com.develop.jawin.COMException;
    public class jawinTest {
        public static void main(String[] args) throws COMException {
            InjTest obj = new InjTest(njTest.clsID);
            obj.settestString(new String());
            String str = obj.gettestString();
            System.exit(0);
    }When the parameter in settestString is null njawin generates VARIANT type VT_NULL. This is wrong. If you want to path an empty string use new String() or "". This is equivalent to null and njawin will generate VARIANT with type VT_BSTR.
    Vitaly

  • Fill floating KF problem

    Hello
    In extractor and ODS I have key figure type floating.
    Sometimes extractors return value '0' for this field.
    In such cases, in update rules,   I fill KF using FM CONVERT_TO_LOCAL_CURRENCY.
    Problem is when I read value '4.1' i get '4.099999996E00' in KF instead '4.100000006E00'.
    How to resolve this problem?
    THX
    Adam

    Hi Kumar
    It is not reporting problem but calculating.
    I use this KF to calculate another.
    This small difference give disparity in large values.
    Multiplication 
    1.000.000 x 1,1 = 1.100.000
    but
    1.000.000 x 1,0999999996E+00 = 1.099.999
    I must insert to KF value 1,1000 not 1,099999999.
    THX

  • Float Drop Problem

    I'm having a float drop issue with my layout. I've read
    several articles on this but can't figure it out, because my layout
    isn't just 3 columns.
    Here's the problem:
    *I have a <div> for my logo, floated left, then I have
    a <div> for a banner heading floated right.
    *I then have a top horizontal navbar, also a <div>, no
    floating.
    *below this I have my three columns (side bar-float left,
    contents-float left and right bar-float right).
    The problem is that Dreamweaver is showing a float drop error
    on the navbar div.
    I just don't know what to do to fix this and I've spent
    several days trying to figure it out. I'm using IE6 which is where
    the problem is supposed to occur, but the page displays correctly,
    so I can't actually see the error.
    My web site is not up so I can't provide a link but here is
    some of the code.
    CSS:
    #wrap {
    background: #999966;
    color: #303030;
    margin: 0 auto;
    width: 780px;
    #banner_logo {
    float: left;
    width: 190px;
    height: 100px;
    background-color: #cccc99;
    padding: 10px;
    border-bottom: 3px solid #FFFFFF;
    #banner_text {
    width: 550px;
    float: right;
    height: 100px;
    background-color: #cccc99;
    padding: 10px;
    border-bottom: 3px solid #FFFFFF;
    * html #navbar {
    height: 1px;
    #navbar {
    width: 758px;
    color: #FFFFFF;
    text-decoration: none;
    #navbar ul {
    margin: 5px 0px 5px 5px;
    padding: 0px;
    text-align: center;
    #navbar li {
    list-style-type: none;
    font-size: 8pt;
    padding-right: 50px;
    display: inline;
    HTML:
    <body>
    <div id="wrap">
    <div id="banner_logo"><img
    src="../Images/logo_smaller2.png" alt="logo" width="174"
    height="100" /></div>
    <div id="banner_text">
    <h1 align="center">Attic 2 Basement Home
    Inspections</h1>
    <h2 align="center">905-286-9586</h2>
    <div align="center"><span class="sub_head">Each
    home inspection is performed as if it were our
    own!</span><br />
    <span class="sub_head">Your peace of mind is our
    goal.</span></div>
    </div>
    <div id="navbar"> - HERE'S WHERE THE FLOAT DROP ERROR
    SHOWS UP-
    <ul>
    <li><a
    href="../index.html">Home</a></li>
    <li><a href="../about_us.html">About
    Us</a></li>
    <li><a
    href="../buying_selling.html">Services</a></li>
    <li><a href="../Contact_us.html">Contact
    Us</a></li>
    </ul>
    </div>
    <!-- TemplateBeginEditable name="SideNavBar" -->
    <div id="avmenu">
    <ul>
    <li><a href="#">LINK </a></li>
    </ul>
    </div>
    <!-- TemplateEndEditable --><!--
    TemplateBeginEditable name="SideBar" -->
    <div id="right_side_bar">
    <h3>Book Your Inspection</h3>
    </div>
    <!-- TemplateEndEditable --><!--
    TemplateBeginEditable name="MainContent" -->
    <div id="content">
    <h2>Page Heading Here</h2>
    <p>Content here</p>
    </div>
    </div>
    </body>
    I would appreciate any direction offered!
    Thanks so much,
    Deb

    I'm having a float drop issue with my layout. I've read
    several articles on this but can't figure it out, because my layout
    isn't just 3 columns.
    Here's the problem:
    *I have a <div> for my logo, floated left, then I have
    a <div> for a banner heading floated right.
    *I then have a top horizontal navbar, also a <div>, no
    floating.
    *below this I have my three columns (side bar-float left,
    contents-float left and right bar-float right).
    The problem is that Dreamweaver is showing a float drop error
    on the navbar div.
    I just don't know what to do to fix this and I've spent
    several days trying to figure it out. I'm using IE6 which is where
    the problem is supposed to occur, but the page displays correctly,
    so I can't actually see the error.
    My web site is not up so I can't provide a link but here is
    some of the code.
    CSS:
    #wrap {
    background: #999966;
    color: #303030;
    margin: 0 auto;
    width: 780px;
    #banner_logo {
    float: left;
    width: 190px;
    height: 100px;
    background-color: #cccc99;
    padding: 10px;
    border-bottom: 3px solid #FFFFFF;
    #banner_text {
    width: 550px;
    float: right;
    height: 100px;
    background-color: #cccc99;
    padding: 10px;
    border-bottom: 3px solid #FFFFFF;
    * html #navbar {
    height: 1px;
    #navbar {
    width: 758px;
    color: #FFFFFF;
    text-decoration: none;
    #navbar ul {
    margin: 5px 0px 5px 5px;
    padding: 0px;
    text-align: center;
    #navbar li {
    list-style-type: none;
    font-size: 8pt;
    padding-right: 50px;
    display: inline;
    HTML:
    <body>
    <div id="wrap">
    <div id="banner_logo"><img
    src="../Images/logo_smaller2.png" alt="logo" width="174"
    height="100" /></div>
    <div id="banner_text">
    <h1 align="center">Attic 2 Basement Home
    Inspections</h1>
    <h2 align="center">905-286-9586</h2>
    <div align="center"><span class="sub_head">Each
    home inspection is performed as if it were our
    own!</span><br />
    <span class="sub_head">Your peace of mind is our
    goal.</span></div>
    </div>
    <div id="navbar"> - HERE'S WHERE THE FLOAT DROP ERROR
    SHOWS UP-
    <ul>
    <li><a
    href="../index.html">Home</a></li>
    <li><a href="../about_us.html">About
    Us</a></li>
    <li><a
    href="../buying_selling.html">Services</a></li>
    <li><a href="../Contact_us.html">Contact
    Us</a></li>
    </ul>
    </div>
    <!-- TemplateBeginEditable name="SideNavBar" -->
    <div id="avmenu">
    <ul>
    <li><a href="#">LINK </a></li>
    </ul>
    </div>
    <!-- TemplateEndEditable --><!--
    TemplateBeginEditable name="SideBar" -->
    <div id="right_side_bar">
    <h3>Book Your Inspection</h3>
    </div>
    <!-- TemplateEndEditable --><!--
    TemplateBeginEditable name="MainContent" -->
    <div id="content">
    <h2>Page Heading Here</h2>
    <p>Content here</p>
    </div>
    </div>
    </body>
    I would appreciate any direction offered!
    Thanks so much,
    Deb

  • Httpservice url property problem

    hello everyone
    I need to include non latin characters in my httpservice url property. It points to a file. (http://www.myurl.com/nonLatinCharactersInFilename.xml)And its giving me errors.
    When I check the error, the url appears like so: http://www.myurl.com/??????????????????.xml
    Im using these character set everywhere in the code and there are no problems except when im sending the httpservice call.
    I also have same characters in the result event. and theres no prpblem with that.
    Any ideas how I can include these file names in the url property? or is there another way?
    In my app the user clicks a list (of file names with non latin characters) and an http service is sent to load the corresponding file to a richEditableText component.
    every thing except the non latin character part works fine
    any help in the right direction will be appreciated.
    thanx

    Hello,
    I am not shure, but I think you have to use a webserver, with
    a folder directing to your desktop. Then you can use something like
    that:
    http://localhost/Desktop.
    Otherwise you can try file:///C://Documents and
    Settings/[username]/Desktop/flex/...xml
    I hope this will help

  • Floating point problem in method

    When I got a method, like moveTo(float,float), originally, it should be, for example moveTo(30.45f,100.894f). But if I passed an array which id of type float but don't have the 'f' at the back. Does this matter? An Example:
    float x1Points[]=new float[ix.length];
    float y1Points[]=new float[iy.length];
         for(int i=0;i<ix.length;i++){
         x1Points=ix[i]*100000-299900;
         y1Points[i]=iy[i]*1000-101710;
    GeneralPath polygon = new GeneralPath(GeneralPath.WIND_EVEN_ODD);
    polygon.moveTo(x1Points[0], y1Points[0]);//problem here
    for ( int i = 1; i < x1Points.length; i++ ) {
    polygon.lineTo(x1Points[i], y1Points[i]);
    g2d.draw(polygon);

    No, this does not matter.
    The "f" is only for numeric literal values, to indicate that the value is a float, instead of an int or double (which it is by default).
    For variables, there is no need to specify the type with a postfix letter like the "f", because the type of variables is always known; for example, the compiler already knows that you have an array of floats, so there is no need to tell the compiler again that you want to pass floats to the method.
    Jesper

  • DateTimeConverter pattern property problem

    Anyone else have a problem entering a date/time pattern using the custom editor button [...] in the Properties tab?
    Every time I enter a pattern (eg. EEE, d MMM yyyy HH:mm:ss zzzz) using the pop-up custom editor (accessed by clicking the little [...] button in the Properties tab for a seleted dateTimeConverter object) the pattern property doesn't take. After clicking 'OK' in the custom editor the pattern property remains blank.
    The pattern is saved if you enter it directly in the Property tab text box without using the custom editor pop up.
    Is this supposed to happen?
    I noticed this as I went through the 'Tutorials About Converters' at http://devservices.sun.com/premium/jscreator/standard/learning/tutorials/converters.html - specifically Example Three: Using Converters for Date and Time Formatting.
    Many thanks to anyone who can explain what I am doing wrong.
    Regards,
    J

    I put this little method into the session bean and it works well for me. I wrote it so it is in the pattern that
    MySql likes for datetime.
    Its handy for calling anywhere in the programme.
    public String getTimeStamp(){      
    SimpleDateFormat formatter= new SimpleDateFormat("yy-MM-dd HH:mm:ss");
    Date currentTime_1 = new Date();
    String dateString = formatter.format(currentTime_1);
    return dateString;
    Hope this helps Phil.

  • OO4O 10g and VB6 Bookmark Property Problem

    Hi All,
    I'm facing a problem with the BookMark property. It's throwing OIP-04121 Error.
    Below are the details
    Controls used:
    1) SSDBGrid of v3.11
    2) ORADC of v10g
    Code:
    Private Sub gridMain_RowLoaded(ByVal Bookmark As Variant)
    Dim PubHol As PUBLIC_HOLIDAY
    Dim Rs As Object 'Oracle DynaSet
    Set Rs = datMain.Recordset.dbClone()
    Rs.Bookmark = Bookmark ' Getting OIP-04121 Error here
    If Rs("year") = 0 Then
    gridMain.Columns(1).text = "----"
    Else
    gridMain.ColText(1) = Rs("year")
    End If
    The code is working fine in VB3.0, OO4O 1.0 and Sheridan Data Widgets 1.0e. However it's throwing error with VB6, OO4O latest versions and Sheridan Data Widgets 3.11.
    Please help me I tried many ways but failed. Kindly provide some alternate way to achieve this BookMark.
    Thanks and Regards,

    Hi All,
    I'm facing a problem with the BookMark property. It's throwing OIP-04121 Error.
    Below are the details
    Controls used:
    1) SSDBGrid of v3.11
    2) ORADC of v10g
    Code:
    Private Sub gridMain_RowLoaded(ByVal Bookmark As Variant)
    Dim PubHol As PUBLIC_HOLIDAY
    Dim Rs As Object 'Oracle DynaSet
    Set Rs = datMain.Recordset.dbClone()
    Rs.Bookmark = Bookmark ' Getting OIP-04121 Error here
    If Rs("year") = 0 Then
    gridMain.Columns(1).text = "----"
    Else
    gridMain.ColText(1) = Rs("year")
    End If
    The code is working fine in VB3.0, OO4O 1.0 and Sheridan Data Widgets 1.0e. However it's throwing error with VB6, OO4O latest versions and Sheridan Data Widgets 3.11.
    Please help me I tried many ways but failed. Kindly provide some alternate way to achieve this BookMark.
    Thanks and Regards,

  • Bound property problem

    Can the property binding in javabeans work if the bean doesnt have a "PropertyChange" method implemented in it. If yes, then how ?
    Similarly, how does a bean handle the case of multiple bound properties. This question arises because, there is only one "propertyChange" method in a bean and it recieves a PropertyChangeEvent parameter. In case of multiple bound properties how does a bean know which properties propertychange event has been fired?

    But this means that the property change listener has to be aware of the names of all the properties that it can bind, which is a severe limitation ! This is because , if I want to make a bean which has a property color , then it would be very difficult to make the bean so generic so that it can be bound to any bean containing a property representing a color. Unless and Until I know the name of the property of the source bean, I cannot make use of the propertyChange method of the destination bean to handle the change in property.
    The problem comes when a bean has multiple properties . In that case, in it's property change method, it has to filter based on the names which are not known until runtime.

  • Component binding property problem

    following problem:
    I have a form where I built a dataTable with a dynamic number of columns. To achieve this, I used a component binding (backing bean) to dynamically add columns.
    The form is used for different kind of queries and every query has it's own number of columns. The query-identification is submitted via a request parameter.
    All the data in the query-form are o.k. (bean values) but the backing bean will not be called in case of a new request (same jsf-form, but other request-parameter).
    example:
    http://host/url.faces?id=1
    http://host/url.faces?id=2
    <h:dataTable id="test"
                 value="#{test.values}"
                 var="i"
                 rendered="true"
                 binding="#{test.table}">
    </h:dataTable>whereas test is a bean which is created in a servlet listener and also updated with the corresponding id from the request.
    The table-property depends on the id given in the request.
    why ?

    ok, I found out, that using the <h:commandLink> with a param-tag solves this issue.
    Now the backing-bean's method to build the table is all-time called.
    And it works even after an expired session.
    But unfortunately I do not really know, why it works this way and the other it doesn't...

Maybe you are looking for

  • Sender RFC Adapter

    Hi all, where will be input for following values for RFC Sender Adapter? RFC Server Adapter :- Application Server ( Which server IP is required here  ( SAP 4.6 or SAP XI)? Application server service : Where do i find this service name? Program Id ? T

  • Internal table problem

    Hi Friends, I am not an expert in ABAP, but I seem to have a weird problem with the following piece of code. When I uncomment the write statement in the first loop code and execute, it actually displays values for itab_zsel-zdate1, itab_zsel-ztime1,

  • Cannot delete devices in PI 2.2

    Hi all, I'm trying to delete two VG202 but I'm getting: Delete Device(s) Failed: 10.12.109.18, 10.12.109.19. Please see ifm_inventory.log to get initial information . Please contact system administrator for further details ifm_inventory.log says: 201

  • Adding forms in iWeb

    Is there a way to add forms comparable to the Windows textboxes, checkboxes, drop-down menus, etc, using iWeb? Thanks! Lynn

  • Folio Producer Tools changed interface - HELP!!

    Hello, I'm new to DPS and it appears that there have been some changes to the Atricles and Folio producer in the latest version. Amongst all other problems, I can't find the Article Properties panel. Does anyone have any good tutorials for the latest