Re: Setting focus in JSP

2002-02-28 Thread LaPlante, Bryan
you can do it like this function focusFirst(){ document.frmEmployee.txtName.focus(); } -Original Message- From: Henry S. Hayden [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 28, 2002 3:16 PM To: [EMAIL PROTECTED] Subject: Re: Setting focus in JSP Here is a little mo

page abort from custom tag

2002-02-28 Thread LaPlante, Bryan
Hi all, I am new to the jsp custom tag world and I am having a hard time finding a way to abort the page processing form within a custom tag with soft error handling. I am looking for a way to use a try catch and output an html error to the page and then abort the rest of the page processing. SKIP

Re: Visual page layout and custom JSP tags with height and width

2002-03-11 Thread LaPlante, Bryan
That is an age old dilemma. The solution that we have come up with takes advantage of the wizard markup language and visual tool markup language offered in Cold Fusion Studio or (HomeSite). It is still not drag-n-drop but you can educate the designer as to how you want a particular component used

Re: Formatting numbers.

2002-03-20 Thread LaPlante, Bryan
the simple solution would be to let the database do it for you. Double check my start and finish arguments that they select the correct positions. select substring(number,1,2)+' '+substring(number,3,5)+' '+substring(number,6,len(number)) as formattedNumber Otherwise to reuse the functionality yo

Re: Off-topic!!!!How to set an attribute tabIndex dynamically in IE5.0

2002-03-25 Thread LaPlante, Bryan
the frame is synonymous with window so scripting from another frame would call parent.frames['name'].whatever Bryan LaPlante -Original Message- From: Sharan, Dharmendra [mailto:[EMAIL PROTECTED]] Sent: Monday, March 25, 2002 2:04 PM To: [EMAIL PROTECTED] Subject: Re: Off-topicHow

between head tags

2002-04-12 Thread LaPlante, Bryan
Hi all, I have a custom tag that outputs a JavaScript and for timing reasons it needs to be in the head of the document, however the end coder may place this tag anywhere it is relevant to his/her own code. Has anyone ever tried to change what is in the pageContext.getOut() buffer and insert a str

Re: u can not get COLSPAN in javascript

2002-05-23 Thread LaPlante, Bryan
Try this: function getColSpan(){ chld = mytable.rows[0].cells[0]; alert(chld.getAttribute("colspan",0)); } getColSpan -Original Message- From: [Vaishali S. Pandya] [mailto:[EMAIL PROT