So is this a bug? Can somebody please fix it? > -----Original Message----- > From: Shawn [SMTP:[EMAIL PROTECTED] > Sent: 28 May 2004 23:39 > To: J M Okomba > Cc: dbf interest > Subject: Re: [dbforms] <db:gotoButton /> not able to use classic > navigation > > > > However when I put <db:gotoButton caption="button.edit.displayname" > > destination="<%=editURL%>" destTable="data" destPos="<%= position_data > > %>" > > /> and check logs I am seeing: > > > > *** e = [EMAIL PROTECTED] > > I am seeing the too now that you pointed it out. A few lines before that > is .. > > 126786 [http8080-Processor23] INFO org.dbforms.event.EventFactory - > ::createEvent - got event [event: id = navGoto; type = navGoto; className > = org.dbforms.event.datalist.GotoEvent] from action [ac_goto_-1_45] > > It seems that the classic GotoEvent is ignored. > > Debugging I found > NavEventFactoryImpl-- > logCat.info("::createEvent - got event [" + einfo + "] from action [" > + action + "]"); > > EventInfo einfo = getEventInfo(eventId); > > > EventInfo-- public String getId() > > > //return id; > return (!Util.isNull(id)) ? id : type; > } > > For the navGoto, the id is returned null > > id: null > > for navFirst, it has the value I set in dbforms.config.xml > > ACUTALLY, _stricktly speaking_ the "return (!Util.isNull(id)) ? id : > type;" line is called twice for each event -- > > NAVFIRSTEVENT > 1701282 [http8080-Processor23] INFO > org.dbforms.event.eventtype.DbFormsEventTypeStrategy - ::getEventType - > returned the event type [navFirst] from [ac_first_2_77] > "id: "+id +"---type:"+type = id: fc---type:navFirst > 1701508 [http8080-Processor23] INFO org.dbforms.event.EventFactory - > ::getEventIdFromDestinationTable - eventId = [fc] > "id: "+id +"---type:"+type = id: fc---type:navFirst > > for the navFirst event it is set both times, but for navGoTo it is only > set the second time. (should be set to ---id="gtc")-- > > GOTOEVENT > 1789353 [http8080-Processor24] INFO > org.dbforms.event.eventtype.DbFormsEventTypeStrategy - ::getEventType - > returned the event type [navGoto] from [ac_goto_2_100] > > *********************ID IS NOT SET HERE (second calling is way > below)*************************************** > "id: "+id +"---type:"+type = id: null---type:navGoto > 1789550 [http8080-Processor24] INFO org.dbforms.event.EventFactory - > ::createEvent - got event [event: id = navGoto; type = navGoto; className > = org.dbforms.event.datalist.GotoEvent] from action [ac_goto_2_100] > 1789552 [http8080-Processor24] INFO org.dbforms.event.EventEngine - > setting follow up to:/FB_J_Lessons_single_local.jsp > 1789558 [http8080-Processor24] INFO org.dbforms.event.EventEngine - > setting follow up on Error to:/FB_J_Lessons_single_local.jsp > 1789623 [http8080-Processor24] DEBUG org.dbforms.util.SqlUtil - About to > close connection - [EMAIL PROTECTED] > 1789629 [http8080-Processor24] DEBUG org.dbforms.util.SqlUtil - > Connection closed > *** e = [EMAIL PROTECTED] > *** e.getFollowUp() = /FB_J_Lessons_single_local.jsp > 1789688 [http8080-Processor24] INFO org.dbforms.taglib.DbFormTag - > servlet path = /FB_J_Lessons_single_local.jsp > 1789690 [http8080-Processor24] INFO org.dbforms.taglib.DbFormTag - > servlet getPathInfo = null > 1789692 [http8080-Processor24] INFO org.dbforms.taglib.DbFormTag - > servlet getContextPath = /FluencyBuilder > 1789694 [http8080-Processor24] INFO org.dbforms.taglib.DbFormTag - > servlet getRequestURI = /FluencyBuilder/FB_J_Lessons_single_local.jsp > 1789696 [http8080-Processor24] DEBUG org.dbforms.taglib.DbFormTag - pos1 > 1789698 [http8080-Processor24] DEBUG org.dbforms.taglib.DbFormTag - pos2 > 1789700 [http8080-Processor24] DEBUG org.dbforms.taglib.DbFormTag - pos4 > 1789702 [http8080-Processor24] DEBUG org.dbforms.taglib.DbFormTag - pos5 > 1789705 [http8080-Processor24] DEBUG > com.koyuru.FluencyBuilder.interceptors.FB_J_AddNewLesson - > FB_Eng_AddNewLesson preSelect invoked interceptor functioning > 1789707 [http8080-Processor24] INFO > com.koyuru.FluencyBuilder.interceptors.FB_J_AddNewLesson - > FB_Eng_AddNewLesson preSelect invoked interceptor functioning > FB_Eng_AddNewLesson preSelect invoked interceptor functioning > 1789709 [http8080-Processor24] DEBUG org.dbforms.taglib.DbFormTag - pos7 > 1789711 [http8080-Processor24] INFO org.dbforms.taglib.DbFormTag - > resetting values of tag > 1789737 [http8080-Processor24] DEBUG org.dbforms.taglib.DbFormTag - first > > steps finished > 1789741 [http8080-Processor24] DEBUG org.dbforms.taglib.DbFilterTag - > setting current filter: -1 > 1789743 [http8080-Processor24] DEBUG org.dbforms.taglib.DbFormTag - > filter to apply : > 1789746 [http8080-Processor24] INFO org.dbforms.taglib.DbFormTag - > !comparing page /FluencyBuilder/FB_J_Lessons_single_local.jsp TO > /FluencyBuilder/FB_J_Lessons_single.jsp > 1789758 [http8080-Processor24] DEBUG org.dbforms.taglib.DbFormTag - > orderBy=null > 1789761 [http8080-Processor24] DEBUG org.dbforms.config.Table - @@@ 1 > 1789764 [http8080-Processor24] DEBUG org.dbforms.config.Table - @@@ 2 > 1789767 [http8080-Processor24] DEBUG org.dbforms.config.Table - > fieldValue field [name] has value, oldvalue [null, null] > > 1789770 [http8080-Processor24] DEBUG org.dbforms.config.Table - > fieldValue field [tier] has value, oldvalue [null, null] > > 1789774 [http8080-Processor24] DEBUG org.dbforms.config.Table - > fieldValue field [course] has value, oldvalue [null, null] > > 1789777 [http8080-Processor24] DEBUG org.dbforms.config.Table - > fieldValue field [number] has value, oldvalue [null, null] > > 1789780 [http8080-Processor24] INFO org.dbforms.taglib.DbFormTag - using > > OverrulingOrder (dbform tag attribute) > 1789784 [http8080-Processor24] INFO org.dbforms.taglib.DbFormTag - > firstposition 0:4:cute-14:16:monash_sentences-15:7:shawn's-16:1:0 > 1789787 [http8080-Processor24] INFO org.dbforms.taglib.DbFormTag - > lastPosition 0:4:cute-14:16:monash_sentences-15:7:shawn's-16:1:0 > *********************ID IS FINALLY SET > HERE*************************************** > "id: "+id +"---type:"+type = id: gtc---type:navGoto > > > > -- > Shawn > > Happily using M2, Opera's revolutionary e-mail client: > http://www.opera.com/m2/ DISCLAIMER: This email and any files transmitted with it are confidential and intended solely for the use of the recipient. Any disclosure, copying or distribution of all or part of the information contained herein to or by third parties is prohibited and may be unlawful.
In any event the contents herein is without prejudice. ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ DbForms Mailing List http://www.wap-force.net/dbforms