CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> CodeChargeStudio.Discussion

 Regenrate portion of Code

Print topic Send  topic

Author Message
Daniel Gaudreault
Posted: 05/02/2002, 8:17 AM

While exploring CCS, I made some changes to the code pane in the editor.
for example, I added an echo to see what was being set as the value of a
var. After fiddling with it, I was no longer able to get CCS to rebuild
that portion of the code. Big problem, as I was trying to add more
parameters to a query using the query builder, and any changes I made were
being ignored.

Is there a button, flag or menu options somewhere to reset changed code to
default behaviour?

Dan

CodeCharge Support
Posted: 05/02/2002, 10:52 AM

Hi Dan,

CCS is designed not to overwrite your code changes so that you have the
flexibility of making modifications and not loosing them.
If you like to regenerate a section, you can:
a) Remove all your changes from the block of code that you like to recover
b) Remove the whole block of code that was modified. Once you remove it, the
block will be regenerated

Konrad


"Daniel Gaudreault" <danielg@cadlink.com> wrote in message
news:aarlb2$3ip$1@news.codecharge.com...
> While exploring CCS, I made some changes to the code pane in the editor.
> for example, I added an echo to see what was being set as the value of a
> var. After fiddling with it, I was no longer able to get CCS to rebuild
> that portion of the code. Big problem, as I was trying to add more
> parameters to a query using the query builder, and any changes I made were
> being ignored.
>
> Is there a button, flag or menu options somewhere to reset changed code to
> default behaviour?
>
> Dan
>
>

Barry G. Sumpter
Posted: 05/02/2002, 1:45 PM

Hi all,

CCS novice here.

My opinions only.

I haven't used this option yet and DO NOT plan to.

I suggest we work out a way to point to a standard library of functions.
This standard library would hold the function scripts forever.
And the CCS project wold either use them or not.

I find CCS so easy to use and generate standard apps that I would prefer
to build more wizards/template as a standard starting point and
regenerate
all asp web pages each and everytime I modify anything in my project.

Using this function is a workaround for a feature CCS can't support, as
yet.
Which becomes a high maintenance issue.

Coding in cumersome and very expensive.

We should enhance CCS instead of using this function.

I want to be a web producer and not a asp coder, so I'm not excited
about delving into the code at all.

I'm happy to use CCS's GUI interface only and produce CCS pages only.
If I ever do need to update the code then I'll be contacting a
contractor to
do this for me.


Thanks,
Barry G. Sumpter


"CodeCharge Support" <support@codecharge.com> wrote in message
news:aaruct$krs$1@news.codecharge.com...
> Hi Dan,
>
> CCS is designed not to overwrite your code changes so that you have the
> flexibility of making modifications and not loosing them.
> If you like to regenerate a section, you can:
> a) Remove all your changes from the block of code that you like to recover
> b) Remove the whole block of code that was modified. Once you remove it,
the
> block will be regenerated
>
> Konrad
>
>
> "Daniel Gaudreault" <danielg@cadlink.com> wrote in message
>news:aarlb2$3ip$1@news.codecharge.com...
> > While exploring CCS, I made some changes to the code pane in the editor.
> > for example, I added an echo to see what was being set as the value of a
> > var. After fiddling with it, I was no longer able to get CCS to rebuild
> > that portion of the code. Big problem, as I was trying to add more
> > parameters to a query using the query builder, and any changes I made
were
> > being ignored.
> >
> > Is there a button, flag or menu options somewhere to reset changed code
to
> > default behaviour?
> >
> > Dan
> >
> >
>
>

Daniel Gaudreault
Posted: 05/03/2002, 5:10 AM

I realize that coding is "cumersome and very expensive", but being a
programmer analyst by profession, I often run accross situations that no IDE
will handle gracefully. I prefer to try and keep all my changes withing the
environment that I am working in, rather than try and make quick little
hacks.

BTW, I am the contractor that you would hire to make update and fixes to
your code, therefore the ability to have CCS regenerate specific portion of
code tends to be a little useful to me. I've been using the old version of
codecharge for a year now. The handiest thing I have found is the ability
to hit the "Get Generated Code" button, make changes. If something goes
really wrong, at least I can hit it again to fix it.

But I agree in the sense that there shoule be some more wizards, or maybe
some code templates to handle some of the stranger circustances.

Dan

"Barry G. Sumpter" <bsumpter@bigpond.net.au> wrote in message
news:aas8gc$8lk$1@news.codecharge.com...
> Hi all,
>
> CCS novice here.
>
> My opinions only.
>
> I haven't used this option yet and DO NOT plan to.
>
> I suggest we work out a way to point to a standard library of
functions.
> This standard library would hold the function scripts forever.
> And the CCS project wold either use them or not.
>
> I find CCS so easy to use and generate standard apps that I would
prefer
> to build more wizards/template as a standard starting point and
> regenerate
> all asp web pages each and everytime I modify anything in my project.
>
> Using this function is a workaround for a feature CCS can't support,
as
> yet.
> Which becomes a high maintenance issue.
>
> Coding in cumersome and very expensive.
>
> We should enhance CCS instead of using this function.
>
> I want to be a web producer and not a asp coder, so I'm not excited
> about delving into the code at all.
>
> I'm happy to use CCS's GUI interface only and produce CCS pages only.
> If I ever do need to update the code then I'll be contacting a
> contractor to
> do this for me.
>
>
> Thanks,
> Barry G. Sumpter
>
>
> "CodeCharge Support" <support@codecharge.com> wrote in message
>news:aaruct$krs$1@news.codecharge.com...
> > Hi Dan,
> >
> > CCS is designed not to overwrite your code changes so that you have the
> > flexibility of making modifications and not loosing them.
> > If you like to regenerate a section, you can:
> > a) Remove all your changes from the block of code that you like to
recover
> > b) Remove the whole block of code that was modified. Once you remove it,
> the
> > block will be regenerated
> >
> > Konrad
> >
> >
> > "Daniel Gaudreault" <danielg@cadlink.com> wrote in message
> >news:aarlb2$3ip$1@news.codecharge.com...
> > > While exploring CCS, I made some changes to the code pane in the
editor.
> > > for example, I added an echo to see what was being set as the value of
a
> > > var. After fiddling with it, I was no longer able to get CCS to
rebuild
> > > that portion of the code. Big problem, as I was trying to add more
> > > parameters to a query using the query builder, and any changes I made
> were
> > > being ignored.
> > >
> > > Is there a button, flag or menu options somewhere to reset changed
code
> to
> > > default behaviour?
> > >
> > > Dan
> > >
> > >
> >
> >
>
>

Daniel Gaudreault
Posted: 05/03/2002, 6:44 AM

Morning Konrad,

Hate to say it but it didn't work, either method.
Could you be a little bit more specific in regards to what delimieters I
should be selecting to delete blocks of code? Is the routine that detects
changes very fussy?

Dan

"CodeCharge Support" <support@codecharge.com> wrote in message
news:aaruct$krs$1@news.codecharge.com...
> Hi Dan,
>
> CCS is designed not to overwrite your code changes so that you have the
> flexibility of making modifications and not loosing them.
> If you like to regenerate a section, you can:
> a) Remove all your changes from the block of code that you like to recover
> b) Remove the whole block of code that was modified. Once you remove it,
the
> block will be regenerated
>
> Konrad
>
>
> "Daniel Gaudreault" <danielg@cadlink.com> wrote in message
>news:aarlb2$3ip$1@news.codecharge.com...
> > While exploring CCS, I made some changes to the code pane in the editor.
> > for example, I added an echo to see what was being set as the value of a
> > var. After fiddling with it, I was no longer able to get CCS to rebuild
> > that portion of the code. Big problem, as I was trying to add more
> > parameters to a query using the query builder, and any changes I made
were
> > being ignored.
> >
> > Is there a button, flag or menu options somewhere to reset changed code
to
> > default behaviour?
> >
> > Dan
> >
> >
>
>

Brent
Posted: 05/04/2002, 8:59 PM

"Daniel Gaudreault" <danielg@cadlink.com> wrote:

:Morning Konrad,
:
:Hate to say it but it didn't work, either method.
:Could you be a little bit more specific in regards to what delimieters I
:should be selecting to delete blocks of code? Is the routine that detects
:changes very fussy?
:
:Dan

Dan,
It does indeed work as described. If you delete the lines of
code you added, the background of entire procedure will turn gray
again. Or you can delete all of the code between the //Show Method
@nnnnnn and the //End Show Method (including these comments), press
Generate Page, and the lines for this procedure will re-appear. (If
you regenerate from the Code tab, the code does not immediately
appear. You have to switch back to Design tab then back to Code tab.)

Now it would be nice if we could tell which lines were
altered. Perhaps if CC could set the line# blue for the changed rows
or make the background of the changed text light yellow. Otherwise you
have to remember to add a comment to the end of each line.

Brent
Brent
Posted: 05/04/2002, 9:12 PM

"Barry G. Sumpter" <bsumpter@bigpond.net.au> wrote:

:Hi all,
:
: CCS novice here.
:
: My opinions only.
:
: I haven't used this option yet and DO NOT plan to.
:
: I suggest we work out a way to point to a standard library of functions.
: This standard library would hold the function scripts forever.
: And the CCS project wold either use them or not.
:
: I find CCS so easy to use and generate standard apps that I would prefer
: to build more wizards/template as a standard starting point and
:regenerate
: all asp web pages each and everytime I modify anything in my project.
:
: Using this function is a workaround for a feature CCS can't support, as
:yet.
: Which becomes a high maintenance issue.
:
: Coding in cumersome and very expensive.
:
: We should enhance CCS instead of using this function.
:
: I want to be a web producer and not a asp coder, so I'm not excited
: about delving into the code at all.
:
: I'm happy to use CCS's GUI interface only and produce CCS pages only.
: If I ever do need to update the code then I'll be contacting a
:contractor to
: do this for me.
:

Barry,
The code editor is very important and allows for a "back door"
around the events. As you mentioned it does have its drawbacks and
shouldn't be heavily relied upon because the code won't be
automatically regenerated when the form changes. CCS has a ways to go
yet before the events are made more useable and I'm afraid the code
editor may be the only solution for some tasks.

Brent

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.