Re: Question on scopes
C'Mon Claude, store a 4 character value to the db, and hit the db for that value every time a session starts? Just use the cookie. If there's a lot of info, then sure, but don't add unnecessary overhead if you don't have to. Steve 'Cutter' Blades Adobe Community Professional Adobe Certified Expert Advanced Macromedia ColdFusion MX 7 Developer http://cutterscrossing.com Co-Author Learning Ext JS 3.2 Packt Publishing 2010 https://www.packtpub.com/learning-ext-js-3-2-for-building-dynamic-desktop-style-user-interfaces/book The best way to predict the future is to help create it On 9/18/2011 5:44 PM, =?ISO-8859-1?Q?Claude_Schn=E9egans wrote: I will need the values to be available for multiple browsers. I mean, the user might want to open a new browser using 'CTRL + N', This is actually not a new browser, but a new window in the same browser. Session variables are available in any window of the same browser. There is no need to save variables in a cookie, session is already maintained through an id in a cookie. If you need to use the same variables across sessions, you will need to save them in the database, set a cookie with some user id. With this id, you can retreive the variables from the database. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347513 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CreateObject referencing a .NET assembly on Network Storage
by default it uses the SYSTEM account like all other CF services, so you may need to change this as well. Good catch, the .NET service was not using this account. Unfortunately, I'm still getting the error. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347514 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CreateObject referencing a .NET assembly on Network Storage
it may be then that the request is running under the application pool identity. try changing that, or trying impersonating another user. On Mon, Sep 19, 2011 at 2:31 PM, Andrey Baranov andrey.bara...@dmv.ny.gov wrote: by default it uses the SYSTEM account like all other CF services, so you may need to change this as well. Good catch, the .NET service was not using this account. Unfortunately, I'm still getting the error. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347515 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Question on scopes
Thanks for the replies. I got my scenario wrong I guess. So when the user select a year say '2000' and proceeds to next page to see some data for that year. then he clicks 'ctrl + n' to open new window. and now he wants to select a different year say 2003 and want to see 2003 data. The purpose for new window is to compare 2000 and 2003 data. I see that session scope/client scope are not valid in this type of case. Any thoughts? On Mon, Sep 19, 2011 at 6:59 AM, Steve 'Cutter' Blades cold.fus...@cutterscrossing.com wrote: C'Mon Claude, store a 4 character value to the db, and hit the db for that value every time a session starts? Just use the cookie. If there's a lot of info, then sure, but don't add unnecessary overhead if you don't have to. Steve 'Cutter' Blades Adobe Community Professional Adobe Certified Expert Advanced Macromedia ColdFusion MX 7 Developer http://cutterscrossing.com Co-Author Learning Ext JS 3.2 Packt Publishing 2010 https://www.packtpub.com/learning-ext-js-3-2-for-building-dynamic-desktop-style-user-interfaces/book The best way to predict the future is to help create it On 9/18/2011 5:44 PM, =?ISO-8859-1?Q?Claude_Schn=E9egans wrote: I will need the values to be available for multiple browsers. I mean, the user might want to open a new browser using 'CTRL + N', This is actually not a new browser, but a new window in the same browser. Session variables are available in any window of the same browser. There is no need to save variables in a cookie, session is already maintained through an id in a cookie. If you need to use the same variables across sessions, you will need to save them in the database, set a cookie with some user id. With this id, you can retreive the variables from the database. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347516 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Question on scopes
session scope is perfectly valid in this case, either by requiring the form to be submitted or by using AJAX to autosave form fields when they change. You just need to make sure the data is saved before opening a new window. Alternately you could just pass the values to the new window via Javascript on on the URL as a querystring. On Mon, Sep 19, 2011 at 3:07 PM, funand learning funandlrnn...@gmail.com wrote: Thanks for the replies. I got my scenario wrong I guess. So when the user select a year say '2000' and proceeds to next page to see some data for that year. then he clicks 'ctrl + n' to open new window. and now he wants to select a different year say 2003 and want to see 2003 data. The purpose for new window is to compare 2000 and 2003 data. I see that session scope/client scope are not valid in this type of case. Any thoughts? On Mon, Sep 19, 2011 at 6:59 AM, Steve 'Cutter' Blades cold.fus...@cutterscrossing.com wrote: C'Mon Claude, store a 4 character value to the db, and hit the db for that value every time a session starts? Just use the cookie. If there's a lot of info, then sure, but don't add unnecessary overhead if you don't have to. Steve 'Cutter' Blades Adobe Community Professional Adobe Certified Expert Advanced Macromedia ColdFusion MX 7 Developer http://cutterscrossing.com Co-Author Learning Ext JS 3.2 Packt Publishing 2010 https://www.packtpub.com/learning-ext-js-3-2-for-building-dynamic-desktop-style-user-interfaces/book The best way to predict the future is to help create it On 9/18/2011 5:44 PM, =?ISO-8859-1?Q?Claude_Schn=E9egans wrote: I will need the values to be available for multiple browsers. I mean, the user might want to open a new browser using 'CTRL + N', This is actually not a new browser, but a new window in the same browser. Session variables are available in any window of the same browser. There is no need to save variables in a cookie, session is already maintained through an id in a cookie. If you need to use the same variables across sessions, you will need to save them in the database, set a cookie with some user id. With this id, you can retreive the variables from the database. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347517 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Question on scopes
C'Mon Claude, store a 4 character value to the db If the Tax year is the ONLY information needed, then a cookie may be used. But in my mind, there are often more informations to store about the user, like his name, eMail, address, etc. Then the database approach is better. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347518 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Question on scopes
@Russ. I am not sure I understand what you are saying. if my index.cfm is as follows: cfset StructClear(session) form name=frm method=post action=results.cfm select name=dd_year option value=20002000/option option value=20012001/option option value=20022002/option option value=20032003/option /select input type=submit value=Submit name=sbtbutton / /form The second page is as follows: *results.cfm* cfset structappend(session,form) cfdump var=#session# a href=onemorepage.cfmGo to next page/a *onemorepage.cfm* cfdump var=#session# a href=index.cfmGo to search page/a I have application.cfm too which has the following line: CFAPPLICATION NAME=myapp setclientcookies=Yes clientmanagement=Yes sessionmanagement=Yes sessiontimeout=#CreateTimeSpan(1,0,0,0)# applicationtimeout=#CreateTimeSpan(1,0,0,0)# so now the user is on 'onemorepage.cfm' and from here he opens a new window using 'ctrl + N'. On new window he clicks on 'Go to search page' link, and then select a dfferent tax year. Now, I want the old window to show the old tax year for all pages, and new window to show new tax year for all pages. I tested using both session/client. The problem is If I select a different tax year on new window, and then refresh the old window, the old window shows the new value I hope I am clear. On Mon, Sep 19, 2011 at 10:23 AM, wrote: C'Mon Claude, store a 4 character value to the db If the Tax year is the ONLY information needed, then a cookie may be used. But in my mind, there are often more informations to store about the user, like his name, eMail, address, etc. Then the database approach is better. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347519 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Question on scopes
session variables can only be set on the server, a form only exists in HTML if you are not submitting the form then nothing is being sent to the server for you to store in any scope. Therefore you will either need to pass the current form field values between your windows using Javascript or you will need to use AJAX to store the current selection in session scope so that you can then access it on the new window. Russ On Mon, Sep 19, 2011 at 4:10 PM, funand learning funandlrnn...@gmail.com wrote: @Russ. I am not sure I understand what you are saying. if my index.cfm is as follows: cfset StructClear(session) form name=frm method=post action=results.cfm select name=dd_year option value=20002000/option option value=20012001/option option value=20022002/option option value=20032003/option /select input type=submit value=Submit name=sbtbutton / /form The second page is as follows: *results.cfm* cfset structappend(session,form) cfdump var=#session# a href=onemorepage.cfmGo to next page/a *onemorepage.cfm* cfdump var=#session# a href=index.cfmGo to search page/a I have application.cfm too which has the following line: CFAPPLICATION NAME=myapp setclientcookies=Yes clientmanagement=Yes sessionmanagement=Yes sessiontimeout=#CreateTimeSpan(1,0,0,0)# applicationtimeout=#CreateTimeSpan(1,0,0,0)# so now the user is on 'onemorepage.cfm' and from here he opens a new window using 'ctrl + N'. On new window he clicks on 'Go to search page' link, and then select a dfferent tax year. Now, I want the old window to show the old tax year for all pages, and new window to show new tax year for all pages. I tested using both session/client. The problem is If I select a different tax year on new window, and then refresh the old window, the old window shows the new value I hope I am clear. On Mon, Sep 19, 2011 at 10:23 AM, wrote: C'Mon Claude, store a 4 character value to the db If the Tax year is the ONLY information needed, then a cookie may be used. But in my mind, there are often more informations to store about the user, like his name, eMail, address, etc. Then the database approach is better. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347520 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Question on scopes
Or, you could just use js (be it vanilla or a framework like jQuery) to set a cookie when the onChange event of the drop down menu is fired? Unless I misunderstand, it sounds like it doesn't really need to be in the users session. On Mon, Sep 19, 2011 at 11:15 AM, Russ Michaels r...@michaels.me.uk wrote: session variables can only be set on the server, a form only exists in HTML if you are not submitting the form then nothing is being sent to the server for you to store in any scope. Therefore you will either need to pass the current form field values between your windows using Javascript or you will need to use AJAX to store the current selection in session scope so that you can then access it on the new window. Russ On Mon, Sep 19, 2011 at 4:10 PM, funand learning funandlrnn...@gmail.com wrote: @Russ. I am not sure I understand what you are saying. if my index.cfm is as follows: cfset StructClear(session) form name=frm method=post action=results.cfm select name=dd_year option value=20002000/option option value=20012001/option option value=20022002/option option value=20032003/option /select input type=submit value=Submit name=sbtbutton / /form The second page is as follows: *results.cfm* cfset structappend(session,form) cfdump var=#session# a href=onemorepage.cfmGo to next page/a *onemorepage.cfm* cfdump var=#session# a href=index.cfmGo to search page/a I have application.cfm too which has the following line: CFAPPLICATION NAME=myapp setclientcookies=Yes clientmanagement=Yes sessionmanagement=Yes sessiontimeout=#CreateTimeSpan(1,0,0,0)# applicationtimeout=#CreateTimeSpan(1,0,0,0)# so now the user is on 'onemorepage.cfm' and from here he opens a new window using 'ctrl + N'. On new window he clicks on 'Go to search page' link, and then select a dfferent tax year. Now, I want the old window to show the old tax year for all pages, and new window to show new tax year for all pages. I tested using both session/client. The problem is If I select a different tax year on new window, and then refresh the old window, the old window shows the new value I hope I am clear. On Mon, Sep 19, 2011 at 10:23 AM, wrote: C'Mon Claude, store a 4 character value to the db If the Tax year is the ONLY information needed, then a cookie may be used. But in my mind, there are often more informations to store about the user, like his name, eMail, address, etc. Then the database approach is better. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347521 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Question on scopes
Ok, that wasn't clear in the beginning. You want to keep track of DIFFERENT years in each window. Since they're both in the same browser and visiting the same site, they'll be receiving the same cookies and therefore the same session. To do this you'll probably need to pass the year along in the URL as you go from page-to-page. On 9/19/11 8:10 AM, funand learning wrote: @Russ. I am not sure I understand what you are saying. if my index.cfm is as follows: cfset StructClear(session) form name=frm method=post action=results.cfm select name=dd_year option value=20002000/option option value=20012001/option option value=20022002/option option value=20032003/option /select input type=submit value=Submit name=sbtbutton / /form The second page is as follows: *results.cfm* cfset structappend(session,form) cfdump var=#session# a href=onemorepage.cfmGo to next page/a *onemorepage.cfm* cfdump var=#session# a href=index.cfmGo to search page/a I have application.cfm too which has the following line: CFAPPLICATION NAME=myapp setclientcookies=Yes clientmanagement=Yes sessionmanagement=Yes sessiontimeout=#CreateTimeSpan(1,0,0,0)# applicationtimeout=#CreateTimeSpan(1,0,0,0)# so now the user is on 'onemorepage.cfm' and from here he opens a new window using 'ctrl + N'. On new window he clicks on 'Go to search page' link, and then select a dfferent tax year. Now, I want the old window to show the old tax year for all pages, and new window to show new tax year for all pages. I tested using both session/client. The problem is If I select a different tax year on new window, and then refresh the old window, the old window shows the new value I hope I am clear. On Mon, Sep 19, 2011 at 10:23 AM, wrote: C'Mon Claude, store a 4 character value to the db If the Tax year is the ONLY information needed, then a cookie may be used. But in my mind, there are often more informations to store about the user, like his name, eMail, address, etc. Then the database approach is better. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347522 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
CFPOP
I'm using CFPOP to import mail into an online archive. I'm just going to use the textbody to display the messages in the browser. My question is, what is the ideal way of formatting the message, replacing all the LF's, etc with br's. I'm thinking someone must have done this before, maybe I don't need to reinvent the wheel Many thanks in advance! Jenny Gavin-Wear Fast Track Online Tel: 01262 602013 http://www.fasttrackonline.co.uk/ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347523 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFPOP
pre#messageBody#/pre On Mon, Sep 19, 2011 at 12:34 PM, Jenny Gavin-Wear jenn...@fasttrackonline.co.uk wrote: I'm using CFPOP to import mail into an online archive. I'm just going to use the textbody to display the messages in the browser. My question is, what is the ideal way of formatting the message, replacing all the LF's, etc with br's. I'm thinking someone must have done this before, maybe I don't need to reinvent the wheel Many thanks in advance! Jenny Gavin-Wear Fast Track Online Tel: 01262 602013 http://www.fasttrackonline.co.uk/ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347524 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CreateObject referencing a .NET assembly on Network Storage
Have you tried making sure your code works in a development environment with the DLL available locally? -Mike Chabot On Wed, Sep 14, 2011 at 2:21 PM, Andrey Baranov andrey.bara...@dmv.ny.gov wrote: The main issue is that the dll is not being found. I am getting the error: Class FMSMQ.MSMQWriter not found in the specified assembly list. The assembly that contains the class must be provided to the assembly attribute. The IIS virtual directory is serving up content from the same root level directory on the Network Storage. The page I'm calling, is trying to create the class object, and then call a single method. cfscript variables.assemblyPath = \\NETWORK_STORAGE_DRV\PRD\DMV\Assemblies\Feeds\FMSMQ.dll; objVar = CreateObject(.NET, FMSMQ.MSMQWriter, variables.assemblyPath); rc = FMSMQ.Write(variables.INPUTXML); //WriteOutput(rc); /cfscript So, both IIS and Coldfusion are installed on the same server, but the actual web content resides elsewhere. Coldfusion is running under a local account that's synced to an account for the Network Storage, so it has access to the pages it needs. As far as I can see, there should be no problem accessing assembly, since it resides under the same share. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347525 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Question on scopes
@Jonah, Thanks for the solution. Currently, I have been using the same way as you suggested. Was just wondering if there a different way to do the same instead of passing url variables on each page, like define once, use everywhere. (in my case session/client scope have to be ruled out) Thanks. On Mon, Sep 19, 2011 at 12:10 PM, .jonah jonah@creori.com wrote: Ok, that wasn't clear in the beginning. You want to keep track of DIFFERENT years in each window. Since they're both in the same browser and visiting the same site, they'll be receiving the same cookies and therefore the same session. To do this you'll probably need to pass the year along in the URL as you go from page-to-page. On 9/19/11 8:10 AM, funand learning wrote: @Russ. I am not sure I understand what you are saying. if my index.cfm is as follows: cfset StructClear(session) form name=frm method=post action=results.cfm select name=dd_year option value=20002000/option option value=20012001/option option value=20022002/option option value=20032003/option /select input type=submit value=Submit name=sbtbutton / /form The second page is as follows: *results.cfm* cfset structappend(session,form) cfdump var=#session# a href=onemorepage.cfmGo to next page/a *onemorepage.cfm* cfdump var=#session# a href=index.cfmGo to search page/a I have application.cfm too which has the following line: CFAPPLICATION NAME=myapp setclientcookies=Yes clientmanagement=Yes sessionmanagement=Yes sessiontimeout=#CreateTimeSpan(1,0,0,0)# applicationtimeout=#CreateTimeSpan(1,0,0,0)# so now the user is on 'onemorepage.cfm' and from here he opens a new window using 'ctrl + N'. On new window he clicks on 'Go to search page' link, and then select a dfferent tax year. Now, I want the old window to show the old tax year for all pages, and new window to show new tax year for all pages. I tested using both session/client. The problem is If I select a different tax year on new window, and then refresh the old window, the old window shows the new value I hope I am clear. On Mon, Sep 19, 2011 at 10:23 AM, wrote: C'Mon Claude, store a 4 character value to the db If the Tax year is the ONLY information needed, then a cookie may be used. But in my mind, there are often more informations to store about the user, like his name, eMail, address, etc. Then the database approach is better. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347526 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: CFPOP
pre tags would be easiest. If you don't want pre tags then something like #replace(content, char(13), 'br /', 'all')# .:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com http://cf4em.com -Original Message- From: Jenny Gavin-Wear [mailto:jenn...@fasttrackonline.co.uk] Sent: Monday, September 19, 2011 12:34 PM To: cf-talk Subject: CFPOP I'm using CFPOP to import mail into an online archive. I'm just going to use the textbody to display the messages in the browser. My question is, what is the ideal way of formatting the message, replacing all the LF's, etc with br's. I'm thinking someone must have done this before, maybe I don't need to reinvent the wheel Many thanks in advance! Jenny Gavin-Wear Fast Track Online Tel: 01262 602013 http://www.fasttrackonline.co.uk/ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347527 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFPOP
#paragraphFormat(messageBody)# does the same thing. Billy Cravens bdcrav...@gmail.com On Sep 19, 2011, at 11:41 AM, Michael Grant wrote: pre#messageBody#/pre On Mon, Sep 19, 2011 at 12:34 PM, Jenny Gavin-Wear jenn...@fasttrackonline.co.uk wrote: I'm using CFPOP to import mail into an online archive. I'm just going to use the textbody to display the messages in the browser. My question is, what is the ideal way of formatting the message, replacing all the LF's, etc with br's. I'm thinking someone must have done this before, maybe I don't need to reinvent the wheel Many thanks in advance! Jenny Gavin-Wear Fast Track Online Tel: 01262 602013 http://www.fasttrackonline.co.uk/ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347528 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: CFPOP
Not really but probably good enough for most people's preference. .:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com http://cf4em.com -Original Message- From: Billy Cravens [mailto:bdcrav...@gmail.com] Sent: Monday, September 19, 2011 4:57 PM To: cf-talk Subject: Re: CFPOP #paragraphFormat(messageBody)# does the same thing. Billy Cravens bdcrav...@gmail.com On Sep 19, 2011, at 11:41 AM, Michael Grant wrote: pre#messageBody#/pre On Mon, Sep 19, 2011 at 12:34 PM, Jenny Gavin-Wear jenn...@fasttrackonline.co.uk wrote: I'm using CFPOP to import mail into an online archive. I'm just going to use the textbody to display the messages in the browser. My question is, what is the ideal way of formatting the message, replacing all the LF's, etc with br's. I'm thinking someone must have done this before, maybe I don't need to reinvent the wheel Many thanks in advance! Jenny Gavin-Wear Fast Track Online Tel: 01262 602013 http://www.fasttrackonline.co.uk/ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347529 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: CFPOP
Thanks for all the replies, but not quite there yet. I copied/pasted a mail from this list into Dreamweaver, and it looks about as perfect as could be, that's what I am aiming for. Jenny Gavin-Wear Fast Track Online Tel: 01262 602013 http://www.fasttrackonline.co.uk/ -Original Message- From: Bobby Hartsfield [mailto:bo...@acoderslife.com] Sent: 19 September 2011 22:17 To: cf-talk Subject: RE: CFPOP Not really but probably good enough for most people's preference. .:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com http://cf4em.com -Original Message- From: Billy Cravens [mailto:bdcrav...@gmail.com] Sent: Monday, September 19, 2011 4:57 PM To: cf-talk Subject: Re: CFPOP #paragraphFormat(messageBody)# does the same thing. Billy Cravens bdcrav...@gmail.com On Sep 19, 2011, at 11:41 AM, Michael Grant wrote: pre#messageBody#/pre On Mon, Sep 19, 2011 at 12:34 PM, Jenny Gavin-Wear jenn...@fasttrackonline.co.uk wrote: I'm using CFPOP to import mail into an online archive. I'm just going to use the textbody to display the messages in the browser. My question is, what is the ideal way of formatting the message, replacing all the LF's, etc with br's. I'm thinking someone must have done this before, maybe I don't need to reinvent the wheel Many thanks in advance! Jenny Gavin-Wear Fast Track Online Tel: 01262 602013 http://www.fasttrackonline.co.uk/ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347530 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: CFPOP
unless you tell us what the difference is with what you see in DW and what you see in a browser (and the code you are using to display it), I dont think there is much else to tell you to try. .:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com http://cf4em.com -Original Message- From: Jenny Gavin-Wear [mailto:jenn...@fasttrackonline.co.uk] Sent: Monday, September 19, 2011 5:30 PM To: cf-talk Subject: RE: CFPOP Thanks for all the replies, but not quite there yet. I copied/pasted a mail from this list into Dreamweaver, and it looks about as perfect as could be, that's what I am aiming for. Jenny Gavin-Wear Fast Track Online Tel: 01262 602013 http://www.fasttrackonline.co.uk/ -Original Message- From: Bobby Hartsfield [mailto:bo...@acoderslife.com] Sent: 19 September 2011 22:17 To: cf-talk Subject: RE: CFPOP Not really but probably good enough for most people's preference. .:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com http://cf4em.com -Original Message- From: Billy Cravens [mailto:bdcrav...@gmail.com] Sent: Monday, September 19, 2011 4:57 PM To: cf-talk Subject: Re: CFPOP #paragraphFormat(messageBody)# does the same thing. Billy Cravens bdcrav...@gmail.com On Sep 19, 2011, at 11:41 AM, Michael Grant wrote: pre#messageBody#/pre On Mon, Sep 19, 2011 at 12:34 PM, Jenny Gavin-Wear jenn...@fasttrackonline.co.uk wrote: I'm using CFPOP to import mail into an online archive. I'm just going to use the textbody to display the messages in the browser. My question is, what is the ideal way of formatting the message, replacing all the LF's, etc with br's. I'm thinking someone must have done this before, maybe I don't need to reinvent the wheel Many thanks in advance! Jenny Gavin-Wear Fast Track Online Tel: 01262 602013 http://www.fasttrackonline.co.uk/ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347531 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Solr Summary Text
Dean, did you find a solution to this? I have cf 901 with CHF901 installed and no luck Regards Victor On Thu, Mar 17, 2011 at 9:56 AM, Dean Lawrence dean...@gmail.com wrote: I don't believe so. I'll have to double check. I did look at the release notes though and did not see anything related to Solr. If I don't have the newest CHF installed, I will try to get it installed this evening to see if that changes anything. On Thu, Mar 17, 2011 at 9:41 AM, Raymond Camden rcam...@gmail.com wrote: Ah ok - thanks for the clarification. You mentioned 901. Are you also running the CHF? -- --- Dean M. Lawrence INTERNET DATA TECHNOLOGY p // 888.438.4381 ext. 701 w // www.idatatech.com f // www.facebook.com/idatatech t // www.twitter.com/idatatech Social Marketing | SEO | Design | Internet Development ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347532 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Solr Summary Text
You can change solr's configuration through editing its text file to include the context when the entries in that collection are updated. I can't recall off the top of my head how to do this, but I can you can dig around on google for adding context to solr coldfusion 9 or something. They say the reason they excluded that is because it makes the index much smaller to omit the context and only include the title. I guess I see their point but in my experience it would save me tons of time if they would just enable it by default. Dan On Mon, Sep 19, 2011 at 6:52 PM, Victor Moore victor.mo...@gmail.comwrote: Dean, did you find a solution to this? I have cf 901 with CHF901 installed and no luck Regards Victor On Thu, Mar 17, 2011 at 9:56 AM, Dean Lawrence dean...@gmail.com wrote: I don't believe so. I'll have to double check. I did look at the release notes though and did not see anything related to Solr. If I don't have the newest CHF installed, I will try to get it installed this evening to see if that changes anything. On Thu, Mar 17, 2011 at 9:41 AM, Raymond Camden rcam...@gmail.com wrote: Ah ok - thanks for the clarification. You mentioned 901. Are you also running the CHF? -- --- Dean M. Lawrence INTERNET DATA TECHNOLOGY p // 888.438.4381 ext. 701 w // www.idatatech.com f // www.facebook.com/idatatech t // www.twitter.com/idatatech Social Marketing | SEO | Design | Internet Development ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347533 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Solr Summary Text
Hey Victor, Yes, I was finally able to get this working. If I remember correctly, it was a combination of editing the schema.xml and the solrconfig.xml files. However, I don't remember what updates I actually made. I will try to compare my backup files with the live files that are working. I'm pretty swamped over the next couple of days, but I will try to post my results as soon as I can. Dean On Mon, Sep 19, 2011 at 8:52 PM, Victor Moore victor.mo...@gmail.com wrote: Dean, did you find a solution to this? I have cf 901 with CHF901 installed and no luck Regards Victor -- --- Dean M. Lawrence INTERNET DATA TECHNOLOGY p // 888.438.4381 ext. 701 w // www.idatatech.com f // www.facebook.com/idatatech t // www.twitter.com/idatatech Social Marketing | SEO | Design | Internet Developmen ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347534 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Solr Summary Text
I will check it out and let you know. You are right, kind of disappointing that some many things were left out of the cf9 implementation of solr . Thank you Sir Victor On Mon, Sep 19, 2011 at 8:57 PM, Dan Baughman dan.baugh...@gmail.com wrote: You can change solr's configuration through editing its text file to include the context when the entries in that collection are updated. I can't recall off the top of my head how to do this, but I can you can dig around on google for adding context to solr coldfusion 9 or something. They say the reason they excluded that is because it makes the index much smaller to omit the context and only include the title. I guess I see their point but in my experience it would save me tons of time if they would just enable it by default. Dan On Mon, Sep 19, 2011 at 6:52 PM, Victor Moore victor.mo...@gmail.comwrote: Dean, did you find a solution to this? I have cf 901 with CHF901 installed and no luck Regards Victo ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347535 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm