You are right. Feel free to change the source that a more user friendly error message is thrown in such a case!
Cheers, Henner > -----Urspr�ngliche Nachricht----- > Von: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Im > Auftrag von Bill Tribley > Gesendet: Mittwoch, 6. April 2005 06:15 > An: [email protected] > Betreff: Re: AW: [dbforms] ClassCast Exception > > Ivan, Henner, > This fixed it. Thank you very much. The big challenge of tags > is stopping and rechecking everything to make sure the tag is > constructed properly. > > It seems that if the page blows up with a NullPointer or some > other drastic, low-level message it means, if all else is > equal, that a tag rule or syntax that could not be expected > by the tab library has been violated. > More ordinary errors, like using "columns" instead of "cols" > for an attribute name in a properly constructed tag, get > nicely trapped and reported. Do you agree? > > Thanks again, > Bill > > On Tue, 5 Apr 2005 08:52:17 +0200, Ivan Codarin > <[EMAIL PROTECTED]> wrote: > > > Hi, > > if you want to display a HTML select where the user should > see a list > > of categories try with: > > > > <db:select fieldName="request_category"> > > > > <db:tableData > > name="select_categ" > > foreignTable="categories" > > visibleField="category" > > storeField="category" > > disableCache="true" /> > > </db:select> > > > > > > I use disableCache if I have different controls with the same > > datasource on the same page. > > > > You have always to embed <tableData> <queryData> <staticData> in a > > "embedding data tags"... select, searchCombo, comboBox, dataLabel, > > etc. > > > > Cheers > > > > ------------------------------------------------------- > 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 > ------------------------------------------------------- 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
