Re: PDF Form Filling alternate in MS-Word???

2010-02-04 Thread Arsalan Tariq Keen

Gerald,

could you be more elaborative ...plz
could you provide some code? I don't get the variables  ... :s

Many thanks for your suggestion.

--
From: "Gerald Guido" 
Sent: Thursday, February 04, 2010 8:09 PM
To: "cf-talk" 
Subject: Re: PDF Form Filling alternate in MS-Word???

>
> I have done this in the past using RTF format. About 1/2 way into it I 
> wish
> I hadn't. It can be very tedious for large forms. You can try saving the
> document in .xml format but Word's XML parser is VERY picky and I never 
> got
> it to work right. Hence the RTF approach.
>
> Basically I saved the document as RTF with markers where the variables 
> would
> go and filled it in with CF variables and forced it to be downloaded as a
> .doc file
>
> 
> 
> 
>
>   
> type="application/unknown">#Trim(MyDoc)# showdebugoutput="false">
>
> HTH,
> G!
>
> On Thu, Feb 4, 2010 at 2:36 AM, Arsalan Tariq Keen 
> wrote:
>
>>
>> Dear Experts,
>>
>> I want to know is there any way I can auto-fill my word documents with
>> specific data at specific locations using ColdFusion. I have done this 
>> using
>> PDF Forms, where I used to add texfields and then later populate them 
>> using
>> CF. Is there anyway to achieve this using CF + MS-Word
>>
>>
>> Regards,
>> Arsalan
>>
>>
>
> 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330414
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Chrome cfgrid flash

2010-02-04 Thread Paul Ihrig

Hey guys. I have cfform flash with a simple cfgrid inside it. Every
thing tenets corectly but in chrome no data is displayed and editing
isn't avaiable. This is cf8. Seems very odd. Every thing I'd copasetic
in ff and ie. Thanks.

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330413
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Problem setting up a new instance of CF

2010-02-04 Thread Mike Chabot

If you copy/paste that error message into Google you will find the
answer to your question.

-Mike Chabot

On Thu, Feb 4, 2010 at 5:17 PM, Phillip B  wrote:
>
> I'm migrating an instance of CF8 from one server to another. I created an EAR 
> of the original. Then I created a new instance using the EAR on the new 
> server. Everything is great up until I try to set up the site in IIS on Win 
> 2003. It worked once but but now I keep getting the message "Either the 
> Macromedia application server(s) are unreachable or none of them has a 
> mapping to process this request."
>
> I've checked the CF services and they are running. I checked the settings in 
> IIS and they look to be pointing to the right jrun. Any suggestions? I've had 
> this happen in the past but cant remember what I did to fix it.
>
> Thanks
>
> Phil
>
> 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330412
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Content-transfer-Encoding: quoted-printable

2010-02-04 Thread Claude Schnéegans

 >>If you're using CFMAIL should be sure to set the type as HTML

Sure I declare the type as HTML.
My question is about encoding the body in quoted-printable.
The text is in French iso-8859-1, and 8bit transfer is said not sure, so 
I need to use 7bit, then the body needs to be quoted-printable.

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330411
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Content-transfer-Encoding: quoted-printable

2010-02-04 Thread Claude Schnéegans

 >>and 8bit transfer is said not sure

I mean 8bit transfer is not safe.

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330410
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Content-transfer-Encoding: quoted-printable

2010-02-04 Thread Claude Schnéegans

 >>If you're using CFMAIL should be sure to set the type as HTML

Sure I declare the type as HTML.
My question is about encoding the body in quoted-printable.
The text is in French iso-8859-1, and 8bit transfer is said not sure, so 
I need to use 7bit, then the body needs to be quoted-printable.

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330409
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Problem setting up a new instance of CF

2010-02-04 Thread Phillip B

I'm migrating an instance of CF8 from one server to another. I created an EAR 
of the original. Then I created a new instance using the EAR on the new server. 
Everything is great up until I try to set up the site in IIS on Win 2003. It 
worked once but but now I keep getting the message "Either the Macromedia 
application server(s) are unreachable or none of them has a mapping to process 
this request." 

I've checked the CF services and they are running. I checked the settings in 
IIS and they look to be pointing to the right jrun. Any suggestions? I've had 
this happen in the past but cant remember what I did to fix it. 

Thanks

Phil 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330408
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Content-transfer-Encoding: quoted-printable

2010-02-04 Thread Robert Harrison

If you're using CFMAIL should be sure to set the type as HTML. I believe the
default is MIME. That could sure do it. See the CFMAIL tag documentation.

Also you may want to look at CFMAILPART and look into doing multi-part mail.
It works great when it's set up correctly. 


Robert B. Harrison
Director of Interactive Services
Austin & Williams
125 Kennedy Drive, Suite 100 
Hauppauge NY 11788
P : 631.231.6600 Ext. 119 
F : 631.434.7022
http://www.austin-williams.com 

Great advertising can't be either/or.  It must be &.

Plug in to our blog: A&W Unplugged
http://www.austin-williams.com/unplugged

 

__ Information from ESET Smart Security, version of virus signature
database 4836 (20100204) __

The message was checked by ESET Smart Security.

http://www.eset.com
 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330407
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Content-transfer-Encoding: quoted-printable

2010-02-04 Thread Claude Schnéegans

Hi,

I have some news letters sent to customers in HTML by some CF code.
Although I read them perfectly myself using Thunderbird, some users are 
complaining that they see the HTML codes instead of a well formated page.
So I'm trying to improve the way messages are encoded.
I can see in many messages I receive that they are "quoted-printable" 
encoded.
Who is responsible for this encoding ? Me in my CF module, CF itself, or 
the SMTP server?
I do not see any reference to this in the CF docs.

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330406
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: cfgrid flash href

2010-02-04 Thread Svetlin Roussev

Right after you are closing your cfgrid you can do something like that:

http://mygrid.selecteditem.id/>}'>Edit">


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330405
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: cfgrid flash href

2010-02-04 Thread Svetlin Roussev

Right after you are closing your grid you can do something like that:


On Thu, Feb 4, 2010 at 1:18 PM, Paul Ihrig  wrote:

>
> "if" i was using an html cfgrid i would just use the href attribute
> inside cfgridcolumn
> but i am not. am using cffrom type flash
>
> any how..
> appreciate it.
>
>
> On Thu, Feb 4, 2010 at 8:34 AM, Martin Franklin 
> wrote:
> >
> > You might consider getting the underlying ext using
> > ColdFusion.Grid.getGridObject("myGrid") and attaching to appropriate
> logic
> > to do this. Of course you would have to use an html grid in lieu of
> flash.
> >
> > Maybe something like this?
> >   
> > > attributeCollection="#Application.Settings.GRIDFORMAT#" pageSize="12"
> >
> bind="cfc:CoreComponents.searchService.RWSgetData({cfgridpage},{cfgridpagesize},{cfgridsortcolumn},{cfgridsortdirection},{rwsfindForm:l...@none
> },{rwsfindForm:date_fl...@none},{rwsfindForm:date_ceil...@none
> },{rwsfindForm:opera...@none},{rwsfindForm:st...@none
> },{rwsfindForm:status_va...@none},{rwsfindForm:sva...@none})"
> > selectonload="true">
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > > width="149">
> > > width="55">
> >
> >
> >
> >
> >
> >
> >  
> >
> >  
> >
> > JS...
> > /*initalize grid*/
> >  initrwsGrid = function(){
> >  var gridObj = ColdFusion.Grid.getGridObject("rwsGrid");
> >  var cm = gridObj.getColumnModel();
> >  cm.setRenderer(2,render); /*Format date in column 2 to look like a
> > hyperlink*/
> >  gridObj.reconfigure(gridObj.getDataSource(),cm);
> >  gridObj.addListener("cellclick",gridfunc);
> >  }
> >
> >  /*Render data as link*/
> >  render = function(data,cellmd,record,row,col,store) {
> >   if(data != null ){
> >   return '' + data + '';
> >   } else {
> >   return data;
> >  }
> >  }
> >
> > /*called by init for grid render on cellclick*/
> >  gridfunc = function(grid,rowIndex,columnIndex,e){
> >   var record = grid.getDataSource().getAt(rowIndex);
> >  var fieldName = grid.getColumnModel().getDataIndex(columnIndex);
> > /*On Cell Click logic*/
> >if(record.get(fieldName) != null){
> >/* Build hyperlink */
> >window.location.href =
> "somepage.cfm?urlval="+record.get('NUMBER');;
> >}
> > }
> >
> > - Original Message -
> > From: "Svetlin Roussev" 
> > To: "cf-talk" 
> > Sent: Wednesday, February 03, 2010 6:25 PM
> > Subject: ***SPAM*** Re: cfgrid flash href
> >
> >
> >>
> >> You can do optionitem and bind it with the href.
> >>
> >> On Wed, Feb 3, 2010 at 7:10 AM, morchella
> >> wrote:
> >>
> >>>
> >>> hey guys.
> >>> i know cfgrid flash doesn't support href in cfgridcolumn
> >>> but there has to be a way?
> >>>
> >>>  >>> height="210" width="800" rowheaders="no"
> >>> onchange="getUrl('_edit_hoverArea.cfm?ha_1Id=' +
> >>> hoverArea.dataProvider[hoverArea.selectedIndex]['ha_Id']);" >
> >>>
> >>> make the entire row a link.
> >>> but i only want a link in the id column, since the other columns are
> >>> for editing data.
> >>>
> >>> has any one done this.
> >>> i have googled till i can google no more..
> >>> so i come here =]
> >>>
> >>> cf8
> >>>
> >>> thanks!
> >>> -m
> >>>
> >>>
> >>
> >>
> >
> >
>
> 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330404
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: cfgrid flash href

2010-02-04 Thread Paul Ihrig

"if" i was using an html cfgrid i would just use the href attribute
inside cfgridcolumn
but i am not. am using cffrom type flash

any how..
appreciate it.


On Thu, Feb 4, 2010 at 8:34 AM, Martin Franklin  wrote:
>
> You might consider getting the underlying ext using
> ColdFusion.Grid.getGridObject("myGrid") and attaching to appropriate logic
> to do this. Of course you would have to use an html grid in lieu of flash.
>
> Maybe something like this?
>   
>         attributeCollection="#Application.Settings.GRIDFORMAT#" pageSize="12"
> bind="cfc:CoreComponents.searchService.RWSgetData({cfgridpage},{cfgridpagesize},{cfgridsortcolumn},{cfgridsortdirection},{rwsfindForm:l...@none},{rwsfindForm:date_fl...@none},{rwsfindForm:date_ceil...@none},{rwsfindForm:opera...@none},{rwsfindForm:st...@none},{rwsfindForm:status_va...@none},{rwsfindForm:sva...@none})"
> selectonload="true">
>            
>            
>            
>            
>            
>            
>            
>            
>            
>             width="149">
>             width="55">
>            
>            
>            
>            
>            
>        
>      
>
>      
>
> JS...
> /*initalize grid*/
>  initrwsGrid = function(){
>  var gridObj = ColdFusion.Grid.getGridObject("rwsGrid");
>  var cm = gridObj.getColumnModel();
>      cm.setRenderer(2,render); /*Format date in column 2 to look like a
> hyperlink*/
>  gridObj.reconfigure(gridObj.getDataSource(),cm);
>  gridObj.addListener("cellclick",gridfunc);
>  }
>
>  /*Render data as link*/
>  render = function(data,cellmd,record,row,col,store) {
>   if(data != null ){
>   return '' + data + '';
>   } else {
>   return data;
>  }
>  }
>
> /*called by init for grid render on cellclick*/
>  gridfunc = function(grid,rowIndex,columnIndex,e){
>   var record = grid.getDataSource().getAt(rowIndex);
>      var fieldName = grid.getColumnModel().getDataIndex(columnIndex);
> /*On Cell Click logic*/
>    if(record.get(fieldName) != null){
>        /* Build hyperlink */
>        window.location.href = "somepage.cfm?urlval="+record.get('NUMBER');;
>        }
> }
>
> - Original Message -
> From: "Svetlin Roussev" 
> To: "cf-talk" 
> Sent: Wednesday, February 03, 2010 6:25 PM
> Subject: ***SPAM*** Re: cfgrid flash href
>
>
>>
>> You can do optionitem and bind it with the href.
>>
>> On Wed, Feb 3, 2010 at 7:10 AM, morchella
>> wrote:
>>
>>>
>>> hey guys.
>>> i know cfgrid flash doesn't support href in cfgridcolumn
>>> but there has to be a way?
>>>
>>> >> height="210" width="800" rowheaders="no"
>>> onchange="getUrl('_edit_hoverArea.cfm?ha_1Id=' +
>>> hoverArea.dataProvider[hoverArea.selectedIndex]['ha_Id']);" >
>>>
>>> make the entire row a link.
>>> but i only want a link in the id column, since the other columns are
>>> for editing data.
>>>
>>> has any one done this.
>>> i have googled till i can google no more..
>>> so i come here =]
>>>
>>> cf8
>>>
>>> thanks!
>>> -m
>>>
>>>
>>
>>
>
> 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330403
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: PDF Form Filling alternate in MS-Word???

2010-02-04 Thread Jake Churchill

You could check out the apache POI project.  Not sure how much support
they'll have for this sort of thing.  You still might have to insert markers
to look for (i.e. replace $$VAR1$$ with the contents of your first variable
or something like that).

Here's the link:  http://poi.apache.org/

-Jake

On Thu, Feb 4, 2010 at 9:09 AM, Gerald Guido  wrote:

>
> I have done this in the past using RTF format. About 1/2 way into it I wish
> I hadn't. It can be very tedious for large forms. You can try saving the
> document in .xml format but Word's XML parser is VERY picky and I never got
> it to work right. Hence the RTF approach.
>
> Basically I saved the document as RTF with markers where the variables
> would
> go and filled it in with CF variables and forced it to be downloaded as a
> .doc file
>
> 
> 
> 
>
>   
> type="application/unknown">#Trim(MyDoc)# showdebugoutput="false">
>
> HTH,
> G!
>
> On Thu, Feb 4, 2010 at 2:36 AM, Arsalan Tariq Keen  >wrote:
>
> >
> > Dear Experts,
> >
> > I want to know is there any way I can auto-fill my word documents with
> > specific data at specific locations using ColdFusion. I have done this
> using
> > PDF Forms, where I used to add texfields and then later populate them
> using
> > CF. Is there anyway to achieve this using CF + MS-Word
> >
> >
> > Regards,
> > Arsalan
> >
> >
>
> 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330402
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: PDF Form Filling alternate in MS-Word???

2010-02-04 Thread Gerald Guido

I have done this in the past using RTF format. About 1/2 way into it I wish
I hadn't. It can be very tedious for large forms. You can try saving the
document in .xml format but Word's XML parser is VERY picky and I never got
it to work right. Hence the RTF approach.

Basically I saved the document as RTF with markers where the variables would
go and filled it in with CF variables and forced it to be downloaded as a
.doc file





   
#Trim(MyDoc)#

HTH,
G!

On Thu, Feb 4, 2010 at 2:36 AM, Arsalan Tariq Keen wrote:

>
> Dear Experts,
>
> I want to know is there any way I can auto-fill my word documents with
> specific data at specific locations using ColdFusion. I have done this using
> PDF Forms, where I used to add texfields and then later populate them using
> CF. Is there anyway to achieve this using CF + MS-Word
>
>
> Regards,
> Arsalan
>
> 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330401
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: cfgrid flash href

2010-02-04 Thread Martin Franklin

You might consider getting the underlying ext using 
ColdFusion.Grid.getGridObject("myGrid") and attaching to appropriate logic 
to do this. Of course you would have to use an html grid in lieu of flash.

Maybe something like this?
   


















  

  

JS...
/*initalize grid*/
 initrwsGrid = function(){
  var gridObj = ColdFusion.Grid.getGridObject("rwsGrid");
  var cm = gridObj.getColumnModel();
  cm.setRenderer(2,render); /*Format date in column 2 to look like a 
hyperlink*/
  gridObj.reconfigure(gridObj.getDataSource(),cm);
  gridObj.addListener("cellclick",gridfunc);
  }

 /*Render data as link*/
 render = function(data,cellmd,record,row,col,store) {
   if(data != null ){
   return '' + data + '';
   } else {
   return data;
  }
 }

/*called by init for grid render on cellclick*/
  gridfunc = function(grid,rowIndex,columnIndex,e){
   var record = grid.getDataSource().getAt(rowIndex);
  var fieldName = grid.getColumnModel().getDataIndex(columnIndex);
/*On Cell Click logic*/
if(record.get(fieldName) != null){
/* Build hyperlink */
window.location.href = "somepage.cfm?urlval="+record.get('NUMBER');;
}
}

- Original Message - 
From: "Svetlin Roussev" 
To: "cf-talk" 
Sent: Wednesday, February 03, 2010 6:25 PM
Subject: ***SPAM*** Re: cfgrid flash href


>
> You can do optionitem and bind it with the href.
>
> On Wed, Feb 3, 2010 at 7:10 AM, morchella 
> wrote:
>
>>
>> hey guys.
>> i know cfgrid flash doesn't support href in cfgridcolumn
>> but there has to be a way?
>>
>> > height="210" width="800" rowheaders="no"
>> onchange="getUrl('_edit_hoverArea.cfm?ha_1Id=' +
>> hoverArea.dataProvider[hoverArea.selectedIndex]['ha_Id']);" >
>>
>> make the entire row a link.
>> but i only want a link in the id column, since the other columns are
>> for editing data.
>>
>> has any one done this.
>> i have googled till i can google no more..
>> so i come here =]
>>
>> cf8
>>
>> thanks!
>> -m
>>
>>
>
> 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330400
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4