Dear All, now I'm testing... I solved this strange situation with a "strange" solution. I discovered that my <db:updateButton> was between:
<db:header> <here I have a toolbar with my buttons> </db:header> With this context dbforms doesn't produce the correct html input type tag. I moved my toolbar in my body <db:body allowNew="true"> <... my toolbar ...> And now my life is good... Is this strange, isn't it? Cheers Ivan Quoting Ivan Codarin <[EMAIL PROTECTED]>: > Hi Bill, > I know about stable/unstable builds. > But that's not the problem! > > I discovered that with dbforms 2.4 / 2.5 / last checkout I have the same > Behaviour... > > In the file DbUpdateButtonTag.java > there is a piece of code that writes the control on the form > > if (associatedRadio == null) { > tagNameBuf.append("_"); > tagNameBuf.append(getParentForm().getPositionPath()); > } > > In my case in the: > tagNameBuf.append(getParentForm().getPositionPath()); > the part: > getParentForm().getPositionPath() > returns null!!!! > > In my opinion this isn't related to dbforms (I have the same behavior also > with > stable builds). But I don't know what other kind of proble could be... > > > This is my last mail for this night! I'm very very very tired! > > Ivan > > > Quoting Bill Tribley <[EMAIL PROTECTED]>: > > > Dear Ivan, > > If you are saying that your code from February now has the problem it > > means that the dbforms version or the environment must be at fault. > > > > Using weekly builds to write production (i.e. for customer) code is not > > recommended by anyone. Customer code should be written using the latest > > stable release. If you end up with a bug that requires a hot fix, > > typically it patches the latest stable version AND you must test it > > thoroughly to make sure the patch didn't break anything else. > > > > Try it with latest stable. I am using > > > > dbforms_2.5_20050226.tgz > > > > Bill > > > > > > On Fri, 8 Apr 2005 23:25:07 +0200, Ivan Codarin > > <[EMAIL PROTECTED]> wrote: > > > > > Dear Bill, > > > thank you for your answer. > > > I add another information, the I will re.boot my system in my linux > > > partition I > > > will re-do a checkout (if ppp will work) and a ant build. > > > Now I'm working with dbforms-sources directly on my project to debug. > > > > > > The problem is the moment in which dbforms writes the first form. > > > For example this is a HTML translation of a UpdateButton of "image type" > > > > > > <input type="image" src="/sorgeco/layout/buttons/salva.png" > > > name="ac_update_21_null_34"/> > > > > > > > > > for the table defined as: > > > > > > <table name="tbl_provincia"> > > > <field name="id_provincia" fieldType="varchar" isKey="true"/> > > > <field name="provincia" fieldType="varchar" /> > > > .... > > > > > > The other times I click on the same button dbforms works correclty. > > > I've just tested my 26 feb. jar... with no result. > > > > > > > > > Thanks > > > > > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide > > Read honest & candid reviews on hundreds of IT Products from real users. > > Discover which products truly live up to the hype. Start reading now. > > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > > _______________________________________________ > > DbForms Mailing List > > > > http://www.wap-force.net/dbforms > > > > > ------------ > Ivan Codarin > ============ > > ---------------------------------------------------------------- > This message was sent using IMP, the Internet Messaging Program. > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_ide95&alloc_id396&op=cick > _______________________________________________ > DbForms Mailing List > > http://www.wap-force.net/dbforms > ------------ Ivan Codarin ============ ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ DbForms Mailing List http://www.wap-force.net/dbforms