CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Odd error

Print topic Send  topic

Author Message
Finian826

Posts: 29
Posted: 10/06/2005, 7:55 AM

Good day,
I am not really sure on how I can explain this error, but here it goes.
I have a HTML link object on a page that has the URL changed from the default listed in the IDE based on a session variable.
That is all working perfectly, the problem lies in the target part of the HTML link. I have a Label object inserted in the target portion of the HTML link, but it appears that after each successive page build or full site build, the HTML source keeps getting modified. I can't explain how the modification is, but will attach the source code of the HTML page in question.

<a class="PurpleDataLink" href="{ReturnToMain_Src}" target="{Target}">{ReturnToMain}</a>
</body>
</html>{Target}">{ReturnToMain}</a>
</body>
</html>{Target}">{ReturnToMain}</a>
</body>
</html>{Target}">{ReturnToMain}</a>
</body>
</html>

I hope this snippit is self explanitory. If i fix the HTML source to remove the extra code after the first <html> tage, it just re-appears after a full site build.
I have this code on several pages and it is a pain to have to fix each and every one, every time, before doing a site upload.
If I should be opening a Support ticket, let me know.
Below is the code from the events page surrounding the objects in question:

function ReturnToMain_BeforeShow()
{
$ReturnToMain_BeforeShow = true;
//End ReturnToMain_BeforeShow

//Custom Code @37-4FED29B9
// -------------------------
global $ReturnToMain;
global $Target;
// Write your own code here.
if(CCGetSession("ReturnSource") != "") {
$ReturnSource=CCGetSession("ReturnSource");
$ReturnSourceTarget=CCGetSession("ReturnSourceTarget");
$ReturnSourceValue=CCGetSession("ReturnSourceValue");
$ReturnToMain->SetValue($ReturnSourceValue);
$ReturnToMain->SetLink(RelativePath . $ReturnSource);
$Target->SetValue($ReturnSourceTarget);
}
// -------------------------
//End Custom Code

//Close ReturnToMain_BeforeShow @36-0830F6B5
return $ReturnToMain_BeforeShow;
}

The bottom line is as follows: I have a frames and non frames version of the site, I want to return to either the main menu in the frames version, or return to a status page in the main frame, or update the side menu in the frames version.

Terry
View profile  Send private message
mrachow


Posts: 509
Posted: 10/07/2005, 1:14 AM

There is a known issue for the A tag if it was enterd manually and is a little bit more complex for example due to dynamic properties or the link text.
Let's hope Yes can fix it in .50
_________________
Best regards,
Michael
View profile  Send private message
Finian826

Posts: 29
Posted: 10/07/2005, 5:58 AM

Opps forgot to mention that this is in CCS 2.3 and not in CCS 3.0 Beta.
View profile  Send private message
Benjamin Krajmalnik
Posted: 10/07/2005, 7:20 AM

I have seen something similar on one of my pages, where after the closing
</html> tag it duplicates the html - so I end up with a doubled up HTML
file.
However, this only happens when I go into the page in design mode.
Generating the pages / publishing does not affect that.


Finian826

Posts: 29
Posted: 10/13/2005, 10:59 AM

Any input from the Yes Support team on this issue?

It is getting rather annoying fixing all the html pages if I have to open them up for any modifications.

Terry
View profile  Send private message
peterr


Posts: 5971
Posted: 10/14/2005, 11:44 AM

Terry,
Yes support team can be reached at http://support.yessoftware.com.
If you don't see responses on the forums I recommend contacting the support. The forums' main purpose is for CCS users to communicate with others, while I may post comments whenever I am able to help :-)
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message

Add new topic Subscribe to topic   


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

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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