Archive for October, 2010
How to execute additional SQL in After Execute family events in CCS
Hi! This article is about how to execute some addtitional SQL after the primary SQL in the CodeCharge Studio’s Record has been executed.
Very often I have to perform some additional manipulations with the database after the Record submission. In this article I want to share the approach I use to reach the desired result. If you use a different approach to reach the same result I’m waiting your comments!
Hiding Link by condition in CCS
Once my friend asked me about how to hide the Link in CodeCharge Studio by the condition. For example, suppose that we want to hide the Link if the one particular parameter exists in the GET request. I tryed to show it quickly to him but I wasn’t able. I added Hide-Show Component action to the Before Show event of the page. Link still was there. I was confused.
UTF-8 problem in CCS monolingual project
Hi everybody! I’ve just run into an obstacle related with UTF-8 encoding in CodeCharge Studio. I have a one language project. The project is in russian. I want to use UTF-8 for my project but the project isn’t internationalized. So, I removed the english language and added a russian. Also, I turned off the using of internationalized features (Project Settings -> Locales and Encodings -> Use internationalized features) because the project isn’t multilingual. As a result, I have a corrupted text (question marks everywhere).
I started to experiment. The problem was in checkbox “Use internationalized features”. After I checked it the encoding fixed! Huh!
Changing HTML standards of an existing CodeCharge Studio project
I’ve just tryed to change the template type of an exiting project in CodeCharge Studio. To my surprise, there isn’t an option in CCS to change the project template or Section508 compatibility.
When you create a new project in CodeCharge Studio, it allows to create a project that is compatible with HTML or XHTML standards. Also, there’s an option that turns on Section508 compatibility.
But what should you do when you need to change these options of an existing project?