Rant on ColdFusion 8 Report Builder... anyone used it?
It is nice to see Adobe taking development time to build up a FREE Report Building application for ColdFusion. I never used the CF 7 MX version of it but just tried the latest build to see if I can adapt it for some reporting I need to do. I also evaluated Crystal Reports 2008 just to measure up the two products. Since Crystal Reports is almost an industry standard and an independent product, I don't expect CF8 Report Builder to reach that level. I was just trying to find instruction on how to use it, but it is hard to find anything on the net. There are some articles floating around for the older MX 7 version of the builder. I found that I learned more doing the step by step process on the Crystal Report Evaluation guide then attempting the CREATE YOUR FIRST report instructions on the HELP of the application. Overall the application feels a bit rough (levels of undo limited, limited snapping on grid, preview takes over the whole application) but surprisingly powerful. I was looking for more documentation to perhaps unlock the full potential of the application but couldn't really find anything on it. I mean which one of Ben Fortaâs ColdFusion 8 book has more detailed information of this tool? What kind of resources is Adobe giving to make this application used? Or is it like HomeSite? I guess since it is FREE we shouldnât expect much. I do feel a bit sad on the developers who spend time making this application as it seems like only a very small percentage of users (even CF users) use it or even understand how to use it. Am I missing something here? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304856 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CF 8.0.1 Update and CFMENU
Oh... a new issue: One of the fixes to remove the upper border line of the VERITCAL CFMENU will also remove the ability. Those dividing lines are now gone if you remove the top border width from the CSS below. This part has been modified in the YUI.CSS ..yuimenu ul { list-style-type:none; border:solid 1px #c4c4be; border-width:1px 0 0 0; margin:0; padding:4px 0; } Just want to make sure the next update has these fixes done. Thanks. > This sucks. I would expect that they would have tested these new YUI > updates before releasing it as an official CF update. There was a > decent amount of changes done to the YUI.CSS (it is actually SMALLER > then in the original release) and I think someone at Adobe didn't > fully test it. > > For the mystery underline (even after modifying YUI.CSS. > > This is the normal reference > href="/CFIDE/scripts/ajax/resources/yui/yui.css" /> > > I found it that it is the CFMENU's SELECTEDITEMCOLOR parameter which > triggers the extra CSS tag. > > It will add this: > #hmenu .yuimenuitem a.selected > {background-color:#ff;text-decoration:underline;color:#fff;} > > > Too bad there is no parameter for text formating (the background color > is based on the selected item color). Add in MENUSTYLE = > "text-decoration:none;" doesn't do anything. > > I am using IE6. > > I think CFGRID also got modified (since EXT seems to be updated). Some > of the tutorials on the web on extending the CFGRID function won't > work properly anymore (e.g. drop down list). > > GRRR. :( ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304430 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF 8.0.1 Update and CFMENU
This sucks. I would expect that they would have tested these new YUI updates before releasing it as an official CF update. There was a decent amount of changes done to the YUI.CSS (it is actually SMALLER then in the original release) and I think someone at Adobe didn't fully test it. For the mystery underline (even after modifying YUI.CSS. This is the normal reference I found it that it is the CFMENU's SELECTEDITEMCOLOR parameter which triggers the extra CSS tag. It will add this: #hmenu .yuimenuitem a.selected {background-color:#ff;text-decoration:underline;color:#fff;} Too bad there is no parameter for text formating (the background color is based on the selected item color). Add in MENUSTYLE = "text-decoration:none;" doesn't do anything. I am using IE6. I think CFGRID also got modified (since EXT seems to be updated). Some of the tutorials on the web on extending the CFGRID function won't work properly anymore (e.g. drop down list). GRRR. :( ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304214 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF 8.0.1 Update and CFMENU
Wow... I must have clicked on post instead of reply. Here's the thread I am talking about: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:55996 Examining the yui.css file it looks like there are lots of new features added and the CSS is actually trimmed down from the original yui.css on CF 8.0 release. I wonder if that could be a cause of all these problems. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304197 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CF 8.0.1 Update and CFMENU
I am experiencing similar problems with the CF 8.0.1 update. When doing the update, it messed up a few of my CFMENUs (the thick upper menu bar, the active underline text, and messed up submenus). I think the YUI.CSS modification should fix some issues but... How did you solve the problem of the submenu indicator being rendered below the menu item? (in my case it was render ON the menu text) This kind of sucks because now I need to go through an almost released product to fix up changes caused by this update. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304193 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: cfmenu menus disappear behind flashpaper
> I have a very simple page that I am using both cfmenu and flashpaper > on. The flashpaper starts about 1/4 of a way down the page and really > long cfmenu items disappear behind the flashpaper. > > I don't know much about CSS and even less about flash, but does flash > and by extension should flash paper run at the same layer that > everything else on the page does? > > Has anyone seen this issue before, any idea of ways around it? Are > there different versions of flashpaper? I think my flashpaper SWFs > were mostly produced with an early version that come out with the > first contribute. > > Thanks. > -Nate Are you using IE6? There is a weird CSS bug with IE6 which make CFMENU items to go behind various Flash/AJAX based objects. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:303686 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: cftextarea onChange bug
> I am having two issues using CFTextarea (richtext) that I wonder > about: > > 1) when richtext is enabled the onchange attribute doesn't seem to > work. > > 2) I can't seem to get the value of the text in the textarea when > richtext is on. I want to access the value of the field with > javascript. > > Thank you. I am going to guess that since the richtext editor goes through FCKEditor, the basic CFTEXTAREA triggers don't work. It could be similar to what I am experiencing with the CFINPUT Type=DATEFIELD problem. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:299008 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Triggering Javascript within CFINPUT - DATEFIELD
Exactly. That is the problem I am having. The onChange event is not firing with the datepicker. That is why I was thinking if there is another event which could work or is it a real bug? Looking at various sites it seems like it "should be" onChange. > I do not know how to fix the problem but I think I can clarify the > general issue. > > The datepicker is not causing the onChange event to fire. Run the > following code on your server and you will see the 'Hi' alert if you > manually alter the date field and press the tab key or the submit > button. However, if you just use the datepicker, you do not see a 'Hi' > message when the date field is changed and you press the tab key or > the submit button: > > > > > > Date: >type="datefield"> > >value="Submit"> > > > > > >What kinds of form fields are you using to select the 'from' and 'to' > dates? > > > > >Javascript or CF date selector? > > > > >William > > > >-- > >William E. Seiter > > > >Have you ever read a book that changed your life? > >Go to: www.winninginthemargins.com > >Enter passkey: goldengrove > > > >Web Developer / ColdFusion Programmer > >http://William.Seiter.com > > > >Hi everyone, > > > >This might be a stupid question but I can't seem to trigger a > javascript > >script (ColdFusion.navigate) within a CFINPUT TYPE="DATEFIELD". > > > >I have a TO and FROM dates fields and would like it to execute a > Javascript > >ColdFusion.navigate command to refresh a section of the page once the > TO or > >FROM fields are changed. I used OnChange but nothing happens. > > > >I used OnBlur but it only works if the mouse is over the field and > leaves > >it. > >I used OnClick but it only works if someone clicks on the field (not > after > >they click on the selected date). > > > >Am I missing something that would make it work? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:299007 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Triggering Javascript within CFINPUT - DATEFIELD
I am using CFINPUT with TYPE=DATEFIELD. Here's a code exerpt (simplified a bit): From: To: Basically the goal is be able to trigger the javascript after the person selects a date. With the ColdFusion.navigate function, I can have it dynamically show a reduced result set upon change. Now though, it doesn't seem to be triggering it. >What kinds of form fields are you using to select the 'from' and 'to' dates? > >Javascript or CF date selector? > >William > >-- >William E. Seiter > >Have you ever read a book that changed your life? >Go to: www.winninginthemargins.com >Enter passkey: goldengrove > >Web Developer / ColdFusion Programmer >http://William.Seiter.com > >Hi everyone, > >This might be a stupid question but I can't seem to trigger a javascript >script (ColdFusion.navigate) within a CFINPUT TYPE="DATEFIELD". > >I have a TO and FROM dates fields and would like it to execute a Javascript >ColdFusion.navigate command to refresh a section of the page once the TO or >FROM fields are changed. I used OnChange but nothing happens. > >I used OnBlur but it only works if the mouse is over the field and leaves >it. >I used OnClick but it only works if someone clicks on the field (not after >they click on the selected date). > >Am I missing something that would make it work? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:299006 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: opening a new windows, a browser problem!
>Hi: >I'm using CF8 to make an image gallery. There are many thumbnails and I want >to open each larger image in a new window with fixed size and without >address bar and browser options. Most of the javascripts doing this are >useless in FireFox. What do you do to make fixed size popups. Plus most of >the browsers stop new popups. What's the solution to make an image gallery >that doesn't involve browser compatibility or browser popup blockers? >Thanks >Benign Since you are using CF8, have you tried CFWINDOW? That should do the trick. It won't trigger any popups and should work with FireFox with no problem. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298928 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Triggering Javascript within CFINPUT - DATEFIELD
Hi everyone, This might be a stupid question but I can't seem to trigger a javascript script (ColdFusion.navigate) within a CFINPUT TYPE="DATEFIELD". I have a TO and FROM dates fields and would like it to execute a Javascript ColdFusion.navigate command to refresh a section of the page once the TO or FROM fields are changed. I used OnChange but nothing happens. I used OnBlur but it only works if the mouse is over the field and leaves it. I used OnClick but it only works if someone clicks on the field (not after they click on the selected date). Am I missing something that would make it work? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298925 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF 8 code analyzer question
>> According to the article, CF 8 requires that > >This sounds like an error in the code analyzer. If your code works in CF8, >it's correct. > >Dave Watts, CTO, Fig Leaf Software >http://www.figleaf.com/ > >Fig Leaf Software provides the highest caliber vendor-authorized >instruction at our training centers in Washington DC, Atlanta, >Chicago, Baltimore, Northern Virginia, or on-site at your location. >Visit http://training.figleaf.com/ for more information! I concur, I get errors with the Code Analyzer with the GetUserRoles and IsUserLoggedIn system functions. It thinks that I am having a UDF under that name. Now I just ignore those particular errors since everything is running fine. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:297662 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: cf8 cftextarea richtext - niggles
I am using the FCKEditor with a lot of modifications to it (download the CFM file from the FCKEditor's site, using CFFM for the file manager). From an earlier post, it looks like Adobe knows about the issues and will be working on some sort of fix in the future to at least make it easier for us. As for when the update will be released... only Adobe knows. :P >Having given the new FCKeditor functionality the once-over I'm far from >convinced. > >I've been using FCK for quite some time now, it's a doddle to configure and >customise. I can't see the advantage of changing from what I have to a CF8 >richtext element. > >Under CF8 it appears there's going to be very little difference in the >amount of code required and configuration I think is all done in the same >way. > >Additionaly, the CF8 Beta version of FCK is 2.3.3 .How will this be >updated? Current FCK is 2.4.2 > >I can see it's a no-brainer for a novice to throw-up an FCK editor or two or >three. But once you need specific confgurations, there's no difference in >ease of set up between CF8 and the standard instructions on the FCK docs >(which have been lifted into CFDOCS v8 :). > >Spell checker? That might convince me. > >Well I am niggling:) > >Chris ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:291432 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Best Database Engine for ColdFusion (Survey)
My vote is SQL Server 2000 since it is very mature and that is the one I have been using. I haven't tried MS SQL 2005, but I would let the beta testers.. umm... users work out the bugs first and then migrate SQL 2000 - SQL 2005 sometime in the future. In my opinion, don't go for mySQL if you are building something for an enterprise. > Hi to all, > i have to create a Database Server to work with ColdFusion. I'd like > to know what is (obvious by your personal opinion) the best Database > Engine to use (performance level, easiest sql language,compatibility, > etc...). > That are my requirements: > - Op.System: Windows 2003 r2 Standard Edition > > - My possible DB Engines: > 1- SQL Server 2000 > 2- SQL Server 2005 > 3- My SQL > N- etc...(suggestions accepted, not oracle) > > > Tank you all ~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:291428 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: <cftextarea richtext="true"> question
> Yeah, because only you know your sites security policy. > I certainly don't want Joe Blogs able to upload files on a default CF8 > install. Hi Tom, Did you try using the file/image upload feature? It wasn't like it was a flag which was disabled. The CFM file was "compiled" and SAVED as disabled. There is NO WAY a normal user can enable it without going to the FCKEditor site and get the original Configuration file. > > We're you on the beta ? Did you apply to go on the beta ? > Yup I was on BETA. I gave the feedback through normal channel and on the BETA forum. I even wrote that the default connector was set to be ASP. The functions that wasn't really supported were removed from the FULL toolbar configuration. I was just disappointed by the sloppy way it was removed because doing some actions like creating a hyperlink (do they expect no one to do that?) will trigger options which weren't integrated properly. Anyways, I would hope they revisit it and clean it up on the next patch. They should do one of the following: a) FIX the file manager/upload function. I know it works because I am using it (though with the CFFM file manager). Of course, it could be set to disabled by default but make the configuration file non-compiled so people can actually configure the editor. b) Or TOTALLY disable it. Remove references to BROWSE SERVER and UPLOAD FILE from the program so that users can't accidentally access it. It will be hard to explain to the higher ups why certain features are there but were disabled. Am I asking something totally unreasonable? ~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289864 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... a black box?
I added in the tag around the whole text but it doesn't seem to do anything. Basically the black box does one of the following: - Squeeze the text so it actually overlaps itself - Add in spaces vistually (almost like justified) but it doesn't actually add anything when I cut and paste. More clues. I find that on some pages, it spills over horizontally (meaning adding new pages to continue the text while messing up the presentation). Other times, it does the word wrap to fit in a page. Sometimes it will cut off text at the bottom margin. Other times it works fine. Weird... >Not sure here, but would paragraph format work for this? >I know that it works for data that is entered in a textarea field. It >converts certain characters like carriage returns into single newline >characters, and I believe that it takes HTML like the tag and puts >it into a double newline character. > >Bruce > >Andy Chen wrote: >> Am I doing something wrong? ~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289778 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
CFDOCUMENT... a black box?
Basically what I did is I am using the CFEXCHANGE tag to strip out E-mail from the exchange server, store it into a database and can use CFDOCUMENT to make PDF files out of them. The tricky part is not everyone formats their E-mail the same way. The problem is, even though it appears properly in HTML... CFDOCUMENT layout changes from one E-mail to another. Some text will squeeze together in appearance and most importantly printing (if you cut and paste through notepad, the space is still there). So what looks properly if printed directly from Outlook... format looks I tried various tips online from changing margins, scale... but it might work for some but not all the layouts. All I want is just so it looks the same as the HTML I see on the non-PDF page. Stuff I tried: - Basic wrapping CFDOCUMENT around the content I want to display - Wrapping the whole content that I want to display in and then put the CFDOCUMENT around a CFOUTPUT of the CFCONTENT. This is the parameters I use for the CFDOCUMENT: Am I doing something wrong? ~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289775 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Automated Way of Getting #### of lines of code?
I am making an assumption based on the fact a normal web application (say CFFM) is around 15500 and CF is supposed to reduce the number of lines. At 1,317,749 lines... Brad has over 60 average web projects. OR he's building an OS lite out of ColdFusion. If it is only one project... I would hate to be a debugger for it. ;-) BTW... this is all in jest. Only Brad would know what is calculated... >> If you are using Coldfusion for those pages, you are either: >> a) Commenting a lot >> b) Not using CF functions properly. > > >Well, that's kind of a silly assumption -- possibly, Brad's application is >much larger in scope, and thus requires more code. > >-- Josh ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289770 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Automated Way of Getting ## of lines of code?
Ack... the database here should use another key field instead of the subject. > If you are using Coldfusion for those pages, you are either: > a) Commenting a lot > b) Not using CF functions properly. > > Heh heh... ;-) > > Checked it through two web apps I am making at they are around 5000 to > 11000 lines of code using CF8 (not even cleaned up for any junk files). > > > >Sweet dang-- that function from the blog works pretty good. > >(I moved the cffile inside of the file extension loop though. No > sense > >reading in files which you aren't going to count). > > > >We've got 1,317,749 lines of code! > > > >~Brad > > > >http://blog.strikefish.com/blog/index. > cfm?mode=entry&entry=02007134-1422 > >-201A-550F66FDEA46EFAB, > >althought I haven't tried it myself... ~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289766 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CFTEXTAREA RICHTEXT=YES - Hopefully the subject line will be fixed.
Thank you. :) >HI Andy, >I do understand your frustration regarding the image upload. We will >take it up more effectively. >Regarding the image upload I will mail you back with a better >workaround. > >Thanks, >Bhakti >Adobe ColdFusion Team > >be fixed. > >Hi, >Sorry for entering the thread late. >I would just like to summarize the way you can customize a FCK Editor >1)Specifying the toolbar (default/basic).On specifying toolbar default >you can mention the fontnames,toolbaronfocus, fontformats, fontsizes as >required >3)You can also customize the fckstyles.xml and specify it in the >stylesxml attribute. >4)You might want to play with the complete css and specify that in the >ScriptSrc. > >I am not sure if you know about this. If you expect something more in >this feature, feel free to mention. We shall definitely take it into >consideration. > >Thanks, >Bhakti Pingale >Adobe ColdFusion Team > >fixed. > >Ah... thanks for point that out. I thought it was something for >FCKEditor customization that I missed. Basically ScriptSrc tag would be >used if I want to map the form to look at another locations for scripts >(e.g. FCKEditor). So basically I would copy the scripts I want and use >the ScriptSrc parameter to point to it. > >I hope Adobe will fix it up though. I am sure I am not the only person >fustrated with that tag CFTEXTAREA RICHTEXT=YES ~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289767 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Automated Way of Getting ## of lines of code?
If you are using Coldfusion for those pages, you are either: a) Commenting a lot b) Not using CF functions properly. Heh heh... ;-) Checked it through two web apps I am making at they are around 5000 to 11000 lines of code using CF8 (not even cleaned up for any junk files). >Sweet dang-- that function from the blog works pretty good. >(I moved the cffile inside of the file extension loop though. No sense >reading in files which you aren't going to count). > >We've got 1,317,749 lines of code! > >~Brad > >http://blog.strikefish.com/blog/index.cfm?mode=entry&entry=02007134-1422 >-201A-550F66FDEA46EFAB, >althought I haven't tried it myself... ~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289761 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=YES - Hopefully the subject line will be fixed.
Ah... thanks for point that out. I thought it was something for FCKEditor customization that I missed. Basically ScriptSrc tag would be used if I want to map the form to look at another locations for scripts (e.g. FCKEditor). So basically I would copy the scripts I want and use the ScriptSrc parameter to point to it. I hope Adobe will fix it up though. I am sure I am not the only person fustrated with that tag CFTEXTAREA RICHTEXT=YES >> Where is this ScriptSrc doc? > >Right within the documentation for the CFFORM tag: >http://livedocs.adobe.com/coldfusion/8/htmldocs/Tags_f_13.html#2433198 > >Dave Watts, CTO, Fig Leaf Software >http://www.figleaf.com/ > >Fig Leaf Software provides the highest caliber vendor-authorized >instruction at our training centers in Washington DC, Atlanta, >Chicago, Baltimore, Northern Virginia, or on-site at your location. >Visit http://training.figleaf.com/ for more information! ~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289666 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: <cftextarea richtext="true"> question
Where is this ScriptSrc doc? I think Adobe did a POOR job integrating FCKEditor. Besides basic mapping of the CFINPUT tag, all they did is "hide" (and poorly) features which they didn't want to support for it (specifically file and image management). Yes, the default connector is currently set to be ASP. When I told management that CF8 has WYSIWYG HTML Editor, they expect something decent. Of course besides basic text editing, they want something which allows for image upload too. Adobe didn't even bother modifying the other menu options which triggers the BROWSE SERVER or UPLOAD FILE/IMAGE buttons. If anyone clicks on those, it will cause an error. All you need to do is either create a hyperlink and right click on it (non-source) within the editor, it will pull up the "hidden" options. All that Adobe did is disable the upload/file manager feature with a flag and "encrypt" the CFM file so that people can't enable it. I was able to go to FCKEditor site and get the files needed to get the file connectors working. Go get the config and upload file and over write the one that is there now. You will then be able to edit it. If you want, get the CFFM file manager to make it work even better. Now people say go use something else... WHY? Isn't this a FEATURE of CF8? During a presentation of CF8 from Adobe, I asked the question and even BEN FORTA himself said the image/file upload is there (which is true but the amount of work to get it working isn't right). Maybe if you are currently using CF7 which you already integrated a WYSIWYG editor, it's no big deal... but right now I am working on a new site with CF8 and would like to maximize the use of the platform we purchased. Sorry... had to get that out. Andy >Hi All, >ScriptSrc should definitely help. > >Thanks, >Bhakti >Adobe ColdFusion team > > ~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289650 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CFMENU with submenus dynamically created
OK solved it by thinking of it from another angle. I had to tweak the database structure to work with it. I can't juse use a flag for submenu but need to do a parent-child type of linkage. So basically need to run a separate query to get all the submenus and keep everything within the CFMENUITEM tags. > OK.. I don't know if it is some sort of brainblock or just me. > > I am trying to create a loop which will dynamically create a menu with > submenu (if needed). To make it easier, there is only 1 level for > submenu which is just a flag in the DB. There MAY or MAY NOT be any > submenus in a menu. > > Now the problem I am getting is simple, CFMENU chokes when I put a > CFIF condition to close and open a CFMENUITEM tag. The error would be > a missing START or END tag no present for the CFMENUITEM tag. > > The only way I think I can solve it is check to see if there IS any > submenu and if there is, use a special submenu loop. Otherwise, use > the non-submenu loop. > > My brain must be tired from waiting for Halo 3 earlier (didn't really > even play it). ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289462 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
CFMENU with submenus dynamically created
OK.. I don't know if it is some sort of brainblock or just me. I am trying to create a loop which will dynamically create a menu with submenu (if needed). To make it easier, there is only 1 level for submenu which is just a flag in the DB. There MAY or MAY NOT be any submenus in a menu. Now the problem I am getting is simple, CFMENU chokes when I put a CFIF condition to close and open a CFMENUITEM tag. The error would be a missing START or END tag no present for the CFMENUITEM tag. The only way I think I can solve it is check to see if there IS any submenu and if there is, use a special submenu loop. Otherwise, use the non-submenu loop. My brain must be tired from waiting for Halo 3 earlier (didn't really even play it). ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289433 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Forums?
>Can anyone make recommendations on a decent ColdFusion-based forum >application similar to phpBB or vBulletin. Free is preferred, but I >don't mind dropping some $$$ on a decent app. Thanks in advance! > > >-Justin Scott No one likes FuseTalk? Too bad they don't have the source code version anymore. Yes, it's not free ... nor is it really cheap anymore. ~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288982 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
FCKEditor Revisited
I am able to enable the "file manager" / "image uploading" fuctions of FCKEditor within CF8. Adobe "encrypted" the config files for both the file manager and image uploading to be DISABLED. So by going to the main FCKEditor's site and downloading the current version, you can get those missing files and replace the ones Adobe "locked out". Now the reason that I heard is that it was disabled in the first place is that the FCKEditor file manager isn't too good (which I can agree) and there is a potential security problem which can happen if you do this... what is the security problem? Besides seeing a bit of the directory structure of the site and overwriting image files that other people may have placed, I can't see what other security issue that might be present. My current project is an internal project (intranet) which means less chance of internal people trying to hack it. Is it safe to use the inbuilt features? ~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288429 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: remove a number from a series of numbers
Yup... convert it to a string using the ToString(). Remove the digit/char you want using RemoveChars() and use Val() to convert it back into a number. >Hi, > >Is it possible to remove a digit from a multi-digit number IE: >2007 would become 207? > >Thanks, > >John ~| Check out the new features and enhancements in the latest product release - download the "What's New PDF" now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288291 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Coldfusion and Bar code APi
With CF8 couldn't you use CFIMAGE and "type" the Bar Code with a bar code font on the server? > http://www.bifrost.com.au/blog/index. > cfm/2006/8/24/Generating-Barcodes-with-Barbecue-and-Coldfusion > > On 9/12/07, vishnu prasad <[EMAIL PROTECTED]> wrote: > > Hi > > > > Are there any Barcode api for coldfusion > > If yes what is that > > > -- > mxAjax / CFAjax docs and other useful articles: > http://www.bifrost.com. au/blog/ ~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288275 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: UI recommendations needed
Basically for me I openned up a CFWINDOW with the following code (simplified a lot): The iframe_upload.cfm page will have the UPLOAD code and the UUID will help the uploads be associated to the original form. I think Dan has an idea of using an IFRAME be the target for a form so my example might not be exactly what he meant. However using IFRAME will allow you to UPLOAD content within the AJAX UI layout. For me, the uploads will be saved in a temp directory (which will be cleared regularly) and will only be transferred to the final location once the main form is saved. Hope this helps. >Andy, > >Can you share the code you used for the iframe? > >Thanks ~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287800 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: UI recommendations needed
Just an update. It seems like it is working. :) I need to tweak it some more to get the result I want but at least the file is being uploaded... within a CFWINDOW. So IFRAME is the answer. Thanks DAN! > Thanks Dan, > > I haven't really used IFRAME much except to display external sites, so > I haven't played with the JS interaction between them. I should give > it a try and see if I can get it to solve the upload problem. Will > tell you how it goes. > > Andy > > >Andy, > > > >>Interesting... I wonder. I used IFRAME to display a PDF file within > a > >>CFLAYOUT (pushing data one way). However I am not sure of the level > of > >>interactivity possible with IFRAME (data going both ways). It might > work if > >>you just want to pass the form information one way to the IFRAME. > > > >What I've done in the past is set the "target" attribute of the /> tag > >to point to the . Then whatever script your posting to in > the > > you can just use a JS callback function to notify the main > page > >when the upload is complete. That's a technique that I've used since > 1998. > > > >-Dan ~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates. http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287708 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CFIMAGE Text Length
I used CFIMAGE to dyanmically create title bars and I don't think there is an automated way using the ImageDrawText function. Tere is no parameter for position besides the x,y coordinates. You would probably have to do some math in figuring out how big each character is and how to get it centered or right justified. What I did is Left align the text and made sure there is enough room for the number of characters I need. >Working with CFIMAGE. > > > >I can't find a way of getting the length of text that you want to render on >an image. > > > >Without this ability how would you centre or right align a bit of text. >Surely this function must exist, am I missing something. > > > >Regards > >Dale Fraser > > > >http://dalefraser.blogspot.com ~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287700 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: UI recommendations needed
Thanks Dan, I haven't really used IFRAME much except to display external sites, so I haven't played with the JS interaction between them. I should give it a try and see if I can get it to solve the upload problem. Will tell you how it goes. Andy >Andy, > >>Interesting... I wonder. I used IFRAME to display a PDF file within a >>CFLAYOUT (pushing data one way). However I am not sure of the level of >>interactivity possible with IFRAME (data going both ways). It might work if >>you just want to pass the form information one way to the IFRAME. > >What I've done in the past is set the "target" attribute of the tag >to point to the . Then whatever script your posting to in the > you can just use a JS callback function to notify the main page >when the upload is complete. That's a technique that I've used since 1998. > >-Dan ~| Check out the new features and enhancements in the latest product release - download the "What's New PDF" now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287541 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: AJAX Security
Hi Rey, The information from your link is excellent. Since my current project is internal and we aren't using any external JSON sources, some of the security warnings may not be applicable. However I do see how "dangerous" it could be for an external site and double so for those which are doing E-commerce or anything with $$. Thanks... >Hi Andy, > >Apart from Ray's feedback, also keep in mind that the security issues >with Ajax typically stem from using eval() on JSON packets and external >JS scripts. While not all-inclusive, of late this has been the biggest >attack vector for hackers looking to exploit JS weaknesses. > >This article will give you some additional info: > >http://www.ibm.com/developerworks/library/x-ajaxsecurity.html > >Rey... > > > >Andy Chen wrote: >> ~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287540 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: AJAX Security
Thanks... nice read. So the easiest way to add another layer of Ajax security is the Prefix serialized JSON option in CF Admin but from I understand, it won't break anything either right? Sort of like the supress white space function. > Have you seen my blog posts on CF8 and Ajax Security? > > http://www.coldfusionjedi.com/index. > cfm/2007/7/31/ColdFusion-8-Ajax-Security-Features > > On 8/30/07, Andy Chen <[EMAIL PROTECTED]> wrote: > > Not sure how many attended but I attended today's eSeminar - Beyond > HTML: using Ajax, PDF, and more to create engaging applications with > ColdFusion 8. > > > > Some people were worried about AJAX security and how easy it is to > "hack" RIA (Rich Internet Applications). My take is AJAX is almost > like a web service. It allows you to access common information easily. > Anything which writes to a database, I have more checks in place > (checking UUIDs and various form fields) to prevent someone from just > messing around with it. > > > > For my current project, it's an intranet one so I am not too worried > about security but is there something even more dangerous that I might > be missing when using AJAX that I might not of thought about? > > > > ~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287528 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
AJAX Security
Not sure how many attended but I attended today's eSeminar - Beyond HTML: using Ajax, PDF, and more to create engaging applications with ColdFusion 8. Some people were worried about AJAX security and how easy it is to "hack" RIA (Rich Internet Applications). My take is AJAX is almost like a web service. It allows you to access common information easily. Anything which writes to a database, I have more checks in place (checking UUIDs and various form fields) to prevent someone from just messing around with it. For my current project, it's an intranet one so I am not too worried about security but is there something even more dangerous that I might be missing when using AJAX that I might not of thought about? ~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287496 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: UI recommendations needed
Interesting... I wonder. I used IFRAME to display a PDF file within a CFLAYOUT (pushing data one way). However I am not sure of the level of interactivity possible with IFRAME (data going both ways). It might work if you just want to pass the form information one way to the IFRAME. - Andy ~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287495 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: UI recommendations needed
Hi Steve, I am using CFLAYOUT (AJAX) for the administration pages to help so a lot of information on a screen and making it easier to work with content. I don't use it for the front end since I want it to be "lighter". Anyways, I am experiencing the same problem with you. You CAN'T as far as I know, upload any files within the CFLAYOUT tag. It keeps complaining about the form encoding format (even when I tried multiple ways to get around it). I had to make a special page to do the file uploading. Ideally it would be to be able to create a CFWINDOW which allows you to upload file(s). Anyone else got sucess with it? Andy > Chris, thanks for the insight. You are correct the frames way is > quicker to develop in but the AJAX way is a nicer user experience. > > Thing is I still have some issues doing it with cflayouts. I guess I > just need to make a decision which way to go. > > I really want to get into Flex, I am just not sure how long it will > take to get up to speed with it enough to pop out a small app. > > Thanks again! > > >My $.02: > > > >The Ajax is going to be far more user-friendly, but about 50 - 100% > more > >work > >The frames work fine, and its easy to target links / forms to it. > > > >If your admin is going to be used by tons of folks, I would spend > the > >extra time on the Ajax version, if its gonna be 2 - 5 people, don't > >waste time and go with the frame approach. > > > > > >Chris Peterson > >Gainey IT > >Adobe Certified Advanced Coldfusion Developer > > > >I am currently working on a small web app and I am struggling with > some > >UI issues. > > > >I have in the past liked to use frames (I know) for the general > layout. > >Here is a simple sample of a layout using frames that I have used in > the > >past: http://demo.thinksys.com/ui/frames/ > > > >On this project I wanted to utilize some of the new CF8 AJAX UI tags. > So > >I designed a layout like this: http://demo.thinksys.com/ui/cflayout/ > >using cflayout. I really like the general layout and the fact that it > is > >asynchronous but I am running into some issue. One major problem I > am > >having now is uploading files (I posted about this). Being that all > the > >forms submit asynchronous cffile does not work. I am also running > into > >some other strange things that are making me rethink this strategy. > > > >I guess what I am looking for is some feedback about what other > people > >are doing for UI development. I know that Flex is very popular but I > >really don't know much about it and have never used it. > > > >Any guidance on this would be greatly appreciated. > > > >Thanks ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287470 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Mimicking .NET session state
Hi, Basically here's the situation. There is already a ASP.NET web application developed which let's say is untouchable since it is predeveloped, being used and has certain module attached. Otherwise I would create a CF version of the app. I would like to use some of it's functionality for my project. I am using CFHTTP to access the form part of the application. I copied the form fields and the various VIEWSTATES, EVENTSTATES used for the CFHTTP to mimic the user. The .NET datagrid presentation works well (sorting, next page, etc) however the part which I have problem is when it accesses the .NET session to display the detail information of the datagrid cell. Supposedly the session information ID is stored in as a cookie (ASP.NET_SessionId) and when I pass the cookie information back to the .NET datagrid, it stopped sending the Set-Cookie request. I am using an IE cookie viewer to see what is being passed but I don't see the ASP.NET_SessionId information being stored as a cookie. Is it some weird variable which can't be seen in IE? Is there other hidden variables controling .NET sessions. This is driving me bonkers. Any pointers or where to go to find more information would be appreciated. Thanks. ~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:286288 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF8 - Getting image upload to work with the Rich Text Editor (FCKEditor)
Actually I don't care about the file manager too much (thanks for pointing me to Rick Root's filemanger). I just want the user to have ability to upload images to include with their text document. I can hard code the path if needed to however currently the integration with FCKEditor is pretty bad with CF8. Just for example, the FCKEditor "hyperlink" icon will allow the user to "browse server". You click on that and you instantly get an error (JRUN Servlet Error). I will have to hide those icons since they might cause users to access functions which has been "disabled". It looks like I might have to modify the actual FCKEditor to allow for some sort of basic image uploading functions however if those source code has been "secured", wouldn't that defeat the purpose of having it integrated with CF8 in the first place? >He told you that the file upload/manager was enabled? I don't think that's >correct. > >The file manager with FCK Editor is disabled by default and isn't very good >anyway. I've heard that people replaced it with Rick Root's custom file >manager. Google for rick root, fck editor file manager or something like >that. > >(FCKEditor) > >Hi everyone, > >I don't know how many attended the Adobe's Amazing new features in >ColdFusion 8 online presenation where Ben Forta was helping out answering >questions. > >I asked Ben if the file/image upload works on the FCKEditor included with >CF8. He said yes. The person who did the presentation also talked about the >image upload for the Rich Text Editor also. > >Of course, there is no mention on how to activate the feature of the editor >in the docs (CFML Reference or Dev guide). So how can I get it to work? The >instructions on the FCKEditor's site isn't exactly the same as the one with >CF8 since the integration method is different. > >Maybe it is something Ben knows for his upcoming book which isn't disclosed >yet? ;-) ~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:286079 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF8 - Getting image upload to work with the Rich Text Editor (FCKEditor)
Yeah... he said something about it being disabled "due to security" but the feature is there to be enabled. The problem is "how to enable it". The FCKEditor is already built into CF8 (or rather integrated into CF8). I would hate to mess up the integration. It would be like having a 3rd party create a module which you know support certain functions which are "disabled due to security". Now I have to recreate those functions or get another module? :S >He told us in Nashville that "certain features of the editor will be >closed off due to security reasons" - at least that was my best >recollection. > >I would say just run fckEditor yourself... it really isn't hard to get >going at all and it will be open for you to use the full API and to >upgrade on your on terms. > >I think it is cool to have the editor as an option but just like >CFForms if you really want to get fancy you have to write your own. > >J.J. > > >> ~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:286077 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
CF8 - Getting image upload to work with the Rich Text Editor (FCKEditor)
Hi everyone, I don't know how many attended the Adobe's Amazing new features in ColdFusion 8 online presenation where Ben Forta was helping out answering questions. I asked Ben if the file/image upload works on the FCKEditor included with CF8. He said yes. The person who did the presentation also talked about the image upload for the Rich Text Editor also. Of course, there is no mention on how to activate the feature of the editor in the docs (CFML Reference or Dev guide). So how can I get it to work? The instructions on the FCKEditor's site isn't exactly the same as the one with CF8 since the integration method is different. Maybe it is something Ben knows for his upcoming book which isn't disclosed yet? ;-) ~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:286074 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: How would I go by doing this?
Steve, You are da man! Never head of Firebug but I will give it a shot. I am pretty much developing for IE so I never thought about installing Firefox. Thanks, Andy > Andy, > > Move the JS to the form_test1.cfm page. It works when you do that. > > Here it is: > > http://demo.thinksys.com/cf8/cfwindow/form_test1.cfm > > Are you using Firebug? As Ray Camden has told me many times, use > Firebug. It is really great for this stuff. You would see that the > actual error was updateit() is not defined. > > But just move the JS to form_test1.cfm and you should be good. > > -Steve > > > > Steve, that is it. Similar to what I want to do but something is > weird. > > I still get the Javascript: Object Expected error. This means I did > > > something stupid like typed something wrong however I don't see it, > > > and I simplified it a lot already. This test is just to copy what is > > > typed in the Window onto the main form. > > > > (form_test1.cfm) > > > > > > > > > > > > > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> > > http://www.w3.org/1999/xhtml";> > > > > /> > > Input Test > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > (form_test1_win.cfm) > > > > > > function updateit() { > > document.mainform.test1.value = document.winform.wintxt.value; > > } > > > > > > > > TYPE SOMETHING: > onkeyup="javascript: updateit();"> > > > > > > > > > > > If you are using cfwindow than the window is on the same page. You > > > > should be able to use JS to control the value on the original form. > > > > > > Like: > > > > > > document.formName.name.value; > > > > > > Check out this demo I did: > > > > > > http://demo.thinksys.com/cf8/cfwindow/addContacts.cfm > > > > > > I think the concept is kind of the same. Click the new company > link > > > > > and a cfwindow opens. After the new company is inserted there is a > > > > close button that uses JS to update the company picklist on the > > > original form. It then closes the window. > > > > > > I hope this helps. > > > > > ~| Check out the new features and enhancements in the latest product release - download the "What's New PDF" now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:285728 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: How would I go by doing this?
Steve, that is it. Similar to what I want to do but something is weird. I still get the Javascript: Object Expected error. This means I did something stupid like typed something wrong however I don't see it, and I simplified it a lot already. This test is just to copy what is typed in the Window onto the main form. (form_test1.cfm) http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> http://www.w3.org/1999/xhtml";> Input Test (form_test1_win.cfm) function updateit() { document.mainform.test1.value = document.winform.wintxt.value; } TYPE SOMETHING: > If you are using cfwindow than the window is on the same page. You > should be able to use JS to control the value on the original form. > Like: > > document.formName.name.value; > > Check out this demo I did: > > http://demo.thinksys.com/cf8/cfwindow/addContacts.cfm > > I think the concept is kind of the same. Click the new company link > and a cfwindow opens. After the new company is inserted there is a > close button that uses JS to update the company picklist on the > original form. It then closes the window. > > I hope this helps. > ~| Check out the new features and enhancements in the latest product release - download the "What's New PDF" now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:285722 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: How would I go by doing this?
Thanks you for the Javascript. That will work with a whole new Window - childWindow=open(file,window,'resizable=no,width=200,height=400') and not with the CFWindow tag. Using the script with CFWindow, I will get a Javascript (Object expected) error (tried it with parent and opener). I think it has to be controlled through AJAX. I tried the ColdFusion.getElementValue but it has to be within the same form (since it doesn't have a container parameter). Any other ideas? > The only way I know of doing what you've indicated below is to use a > JavaScript. > > You can reference the "parent" or "opener" window by using the > "opener" keyword: > opener.document.parentForm.pf1.value = document.childForm.cf1.value; > > A good example of how to do this from a JavaScript can be seen here: > http://www.rgagnon.com/jsdetails/js-0066.html > > -- Original message -- > From: "Andy Chen" <[EMAIL PROTECTED]> > > Here's a situation: > > > > Basically there is a form (CFFORM) which there are various fields. > One of the > > field would be a basic CFINPUT text field where an image ID can be > entered. The > > user will be able to click on a button to preview available images > (CFWINDOW). > > Whatever image they select in the Window (via radio button or drop > down), it > > will populate the main form with the value. > > > > I can't figure out how to pass a variable from the Window back to > the parent > > form. To use some of the UI features, the Window will need to have a > CFFORM > > also. I tried binding but it would only work if it is in the same > form (or > > section). Most commands support FORMNAME.FORMFIELD naming to apply a > function > > but is there a WINDOW.FORMNAME.FORMFIELD naming scheme? > > > > I tried looking at the CF 8 Developer Guide and CF 8 CFML Refence > guide for > > pointers but I can't seem to find out what to use. It seem pretty > straight > > forward so I figure I must be missing something obvious... please > help. > > > > Thanks, > > Andy > > > > ~| Check out the new features and enhancements in the latest product release - download the "What's New PDF" now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:285716 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
How would I go by doing this?
Here's a situation: Basically there is a form (CFFORM) which there are various fields. One of the field would be a basic CFINPUT text field where an image ID can be entered. The user will be able to click on a button to preview available images (CFWINDOW). Whatever image they select in the Window (via radio button or drop down), it will populate the main form with the value. I can't figure out how to pass a variable from the Window back to the parent form. To use some of the UI features, the Window will need to have a CFFORM also. I tried binding but it would only work if it is in the same form (or section). Most commands support FORMNAME.FORMFIELD naming to apply a function but is there a WINDOW.FORMNAME.FORMFIELD naming scheme? I tried looking at the CF 8 Developer Guide and CF 8 CFML Refence guide for pointers but I can't seem to find out what to use. It seem pretty straight forward so I figure I must be missing something obvious... please help. Thanks, Andy ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:285707 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: One form with two submit buttons in <cflayoutarea>
>So i did a test when I changed your cfform to post to test2.cfm, and >dumped the form scope there, and I saw the same - it doesn't recognize >the second button. I mean the button works, but the value is the same. > > >> > Yeah, experienced the same problem too. I used a CFDUMP var="#form#" and couldn't get the 2nd submit form field to show up. I am thinking it would need to be a button and use the Coldfusion.navigation tag to make it work. I posted another problem regarding that. ~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:285705 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Help with CFNavigate
I am going to try it here since no one from the Adobe support forum knew... Now maybe I am doing it wrong but with CFNavigate, it has the parameter for a "container" to refresh. What if I want the whole page to refresh with the form fields passed into it? Based on the CFML Reference Guide (pg 127) all I have to do is... "If you omit this argument, the link is treated as a normal URL and the entire page is refreshed." So here's the basic thing I am trying to do... use CFLAYOUTAREA which has a form in it and I have a link which should pass the form variables from myform to the test_submit.cfm page. Here's the basic code I am using: Submit it If I leave the container field out of it... (no quotes), I get: Syntax Error. If I enter a '' (no space), I get: Error replacing HTML, element not found. If I enter a ' ' (with a space), I get the same error as above: Error replacing HTML, element not found. Am I using it wrong? is there a _root or something I need to put in the container field for it to work? Thanks, Andy ~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:285703 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4