cfdocument font problem

2008-09-26 Thread BJ McShane
I'm trying to deliver a packet of information to my user in a cfdocument 
format.  I have five programs and each program will build a printable page. I 
created a program and have cfdocument tag around it and this program I use the 
cfinclude tag to include the 5 programs.  I do it this way because that is the 
only way I could get the page break to work in the cfdocumentitem tag.  One of 
the called programs has a lot of information on it and it looks like the 
cfdocument reduces the font size to get it all in.  The problem is that it 
reduces the font on all the other ones also. So those pages the font is very 
small. If I comment out the cfinclude tag for this one program then the other 4 
print out in normal size.  Each program has it own style section but it still 
looks like it uses one for the whole group.

My guestion is am I doing something wrong or is there a trick to force it to 
behave one way for one program and another way for another program. I like the 
cfdocument tag but it seems like it still has a lot of problems.  I guess I'm 
going to break the printable button into two so the user can print them 
seperately. 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313111
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: cfdocument font problem

2008-09-26 Thread BJ McShane
Thanks, I'm on CF8 so I'll go ahead and try and set that up.

bj 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313113
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: cfdocument font problem

2008-09-26 Thread BJ McShane
Thanks! That did it.  I put the cfdocumentsction around each include and each 
page came out the way I wanted it to.

I'll need to mess around with the cfpdf tag in the future to see what I can do 
with that.

bj

try putting them in different cfdocumentsection's. one section for each 
program 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313139
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: cflayout weird problem

2008-08-25 Thread BJ McShane
Dave,  Thanks for the help.  The code sample worked great. 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311499
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


cflayout weird problem

2008-08-22 Thread BJ McShane
I'm using the cflayout for tabs on my form.  When the form submits, I check a 
couple of the fields for error checking and if the fields are wrong or not 
filled in I send the user back using the history.back() function.  The forms 
returns but all the input the user put in is gone.  If I take off the cflayout 
and just have a regular form the input data stays if there is an error.  Does 
any one know of a work around or something I can do.

thanks,

bj 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311434
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: cflayout weird problem

2008-08-22 Thread BJ McShane
Dave, thanks for the reply.  I did run it in firefox and the data doesn't get 
wiped out in that browser.  So you are right it looks like it is a browser 
issue.  I've never validated with just javascript, I'll have to look around for 
examples.

thanks

bj 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311438
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: cflayout weird problem

2008-08-22 Thread BJ McShane
Dave,

  I am using cfform and some of the validation on tags with it.  The two places 
I don't is a custom tag I'm using cf_betterselect and the regular select.  the 
betterselect allows the user to type and narrow down the list.  the select tag 
I want the user to select a location and not have it default to one so I put in 
an empty option tag.  With this the validation will not work when I set the 
cfselect tag to required.

Here's my code:

cfform action=NewEmployeeEntry.cfm name=newEmpInsertForm 
method=POST
cflayout type=tab style=width:900;
cflayoutarea title=Employee Info 
style=background-color:##CC
table id=formTable
tr
td colspan=4 align=right  
input type=submit 
name=insertHRpartButton value=Update
/td
/tr 
trtd colspan=4hr width=80% 
align=center/td/tr
tr
thName:/th
td
cfinput type=text name=p_employeeName 
class=boxes size=50 maxlength=70 required=yes message=Please enter the 
new employee's name onChange=spacesCk(this);
/td
thEmployee No.:/th
td
cfinput type=text name=p_employeeNo 
class=boxes size=4 maxlength=4 required=yes message=Please enter the 
employee's number validate=integer onChange=spacesCk(this);
/td
/tr
tr
thTitle:/th
td colspan=3
cfinput type=text name=p_employeeTitle 
class=boxes size=80 maxlength=100 required=yes message=Please enter 
the new employee's title onChange=spacesCk(this);
/td
/tr
tr
thRCN:/th
td   
cfinvoke 
component=/hr/hr_CFCs/HR_employee method=HREmployeeRCNInfo 
returnvariable=rcnlist
select name=p_employeeRCN class=boxes
option value=/option
cfoutput query=rcnlist
option 
value=#emp_rcn##emp_rcn# - #mid(emp_rcn_name,9,35)#/option
/cfoutput
/select
/td
thTime Reporting Group:/th
td
cfinput type=text 
name=p_employeeRptRCN class=boxes size=6 maxlength=6 required=no 
message=Please enter the new employee's Time Reporting Group 
onChange=spacesCk(this);
/td
/tr
tr
thSupervisor:/th
td 
cf_betterselect name=p_supervisor 
formname=newEmpInsertForm class=boxes
option/option
cfoutput query=EmpInfoQuery
option 
value=#emp_no#,#emp_last_name#,#emp_nick_name##emp_last_name#, 
#emp_nick_name#/option
/cfoutput
/cf_betterselect  

/td
thStart Date:/th
td
cfinput type=text name=p_startDate 
class=boxes size=10 maxlength=10 required=yes validate=date 
message=Please enter the new employee's start date 
onChange=spacesCk(this);   
/td
/tr 
tr
thLocation:/th
td   
cfselect name=p_Location class=boxes 
required=yes message=select location
cfoutput query=EmpLocationsList
option 
value=#emp_locat##emp_locat#/option
/cfoutput
/cfselect
/td
/tr 
!---tr
thFunctional Area:/th

Re: cflayout weird problem

2008-08-22 Thread BJ McShane
Dave,  I'll try it and let you know.  Thanks for the help. 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311448
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


cftextarea richtext Basic

2008-08-14 Thread BJ McShane
I'm using the cftextarea tag with richtext and toolbar=Basic turned on. My form 
is on a grey background and when the form is displayed, there is a white border 
around the cftextarea box.  How do I turn off the border or change it to my 
background color?

thanks,

bj 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310972
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


javascript question

2008-08-14 Thread BJ McShane
I built a form for my users where they enter IP addresses.  They are use to 
putting in the .(period) in between the numbers but I built the form so all 
they would have to do is type in the number.  Is there a way I can change the 
keystroke of a . (period) to a tab.  So when they are typing they could type in 
the . but it would tab over to the next field?

thanks for any help,

bj 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310974
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: javascript question

2008-08-14 Thread BJ McShane
Dave thanks for the input.  I did do some google searches on this but never 
found a solution that would work. I'll try what you posted and try some more 
searches to see what I can find.
thanks! 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310990
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: javascript question

2008-08-14 Thread BJ McShane
Yes I did take that into account. If I keep in at the input tag level I think 
it should only effect the fields I want.  I'll have to do more testing.

thanks, 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310992
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: javascript question

2008-08-14 Thread BJ McShane
I'll probably change it that way.  I stored it in 4 different field in the DB 
since each of the 4 parts mean certain things to the user. They could search 
and sort based on what they are trying to find.  Also when they search they can 
just put input into any of the fields to find all the IPs with that number. So 
if the third part of the IP address is 10 they could just input something in 
the 3rd input box. 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310987
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


cfimage Blob problem

2008-07-16 Thread BJ McShane
We have the employee photos stored in an oracle DB (blob format).  I'm reading 
the record getting the photo and then using the image tags to store or display 
them.  The problem is that some of the photos look like they are getting cut 
off.  When I look at the photo it is only the person's head or down to their 
eyes and the rest of the image does come out.  I check the photo a different 
way using some DB tools to see if the picture is corupt but the photo checks 
out OK that way.  Photos that are less than 10 KB come out fine.  When I have a 
photo that is 60 KB then the photo gets cropped off.  Is there a limit in size 
that I'm hitting with these image tags.  Below is a sample of a test I set up.  
I wish I could post the photo so you get an idea of what it looks like.

cfinvoke component=/hr/hr_CFCs/HR_employee method=EmployeePhotoSelect 
returnvariable=getEmployeePhoto
cfinvokeargument name=a_empNo value=5773 /cfinvoke
cfif getEmployeePhoto.RecordCount EQ 0
No photo found
cfelse
cfset myImage=imageNew(#getEmployeePhoto.photo#)  
cfset ImageScaleToFit(myImage,100,)  
cfimage source=#myImage# action=write 
destination=\\olympusnew\c$\inetpub\wwwroot\hr\phone\photo\employee_thumbnail_5773.jpg
 overwrite=yes
!---cfoutput
   cfimage source=#getEmployeePhoto.photo# action=write 
destination=\\olympusnew\c$\inetpub\wwwroot\hr\phone\photo\employee_thumbnail_5773.jpg
 overwrite=true 
   cfimage 
source=\\olympusnew\c$\inetpub\wwwroot\hr\phone\photo\employee_thumbnail_5773.jpg
 action=info structname=imageInfo
   cfdump var=#imageInfo# 
/cfoutput ---
/cfif 

thanks,

BJ 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:309163
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: cfimage Blob problem

2008-07-16 Thread BJ McShane
Yes, thanks you very much that was it.  I made that setting bigger and now the 
picture is displaying the full photo.  I didn't even think about the DSN area.

Thanks for the help,

BJ


Check your datasource's advanced settings.

Is the BLOB checkbox checked?

What is the value in the Blob Buffer(bytes) field? 

m!ke

We have the employee photos stored in an oracle DB (blob format).  I'm
reading the record getting the photo and then using the image tags to
store or display them.  The problem is that some of the photos look like
they are getting cut off.  When I look at the photo it is only the
person's head or down to their eyes and the rest of the image does come
out.  I check the photo a different way using some DB tools to see if
the picture is corupt but the photo checks out OK that way.  Photos that
are less than 10 KB come out fine.  When I have a photo that is 60 KB
then the photo gets cropped off.  Is there a limit in size that I'm
hitting with these image tags.  Below is a sample of a test I set up.  I
wish I could post the photo so you get an idea of what it looks like. 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:309174
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4