CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Strange XML problem

Print topic Send  topic

Author Message
itmanvn

Posts: 12
Posted: 06/17/2009, 1:08 AM

When I click Generate Code on Header page



This is my Header.cpp
  
<Page id="1" templateExtension="html" relativePath="." fullRelativePath="." secured="False" urlType="Relative" isIncluded="True" SSLAccess="False" isService="False" cachingEnabled="False" cachingDuration="1 minutes" wizardTheme="Blueprint" wizardThemeVersion="3.0" needGeneration="0" pasteActions="pasteActions">  
	<Components>  
		<Link id="7" visible="Yes" fieldSourceType="DBColumn" dataType="Text" html="False" hrefType="Page" urlType="Relative" preserveParameters="GET" name="Logout" hrefSource="Login.ccp" wizardDefaultValue="Logout" PathID="HeaderLogout" wizardUseTemplateBlock="False">  
			<Components/>  
			<Events>  
				<Event name="BeforeShow" type="Server">  
					<Actions>  
						<Action actionName="Custom Code" actionCategory="General" id="9" eventType="Server"/>  
					</Actions>  
				</Event>  
			</Events>  
			<LinkParameters>  
				<LinkParameter id="8" sourceType="Expression" format="yyyy-mm-dd" name="Logout" source=""True""/>  
			</LinkParameters>  
			<Attributes/>  
			<Features/>  
		</Link>  
	</Components>  
	<CodeFiles>  
		<CodeFile id="Code" language="PHPTemplates" name="Header.php" forShow="True" url="Header.php" comment="//" codePage="utf-8"/>  
		<CodeFile id="Events" language="PHPTemplates" name="Header_events.php" forShow="False" comment="//" codePage="utf-8"/>  
	</CodeFiles>  
	<SecurityGroups/>  
	<CachingParameters/>  
	<Attributes/>  
	<Features/>  
	<Events>  
		<Event name="BeforeShow" type="Server">  
			<Actions>  
				<Action actionName="Custom Code" actionCategory="General" id="10"/>  
			</Actions>  
		</Event>  
		<Event name="AfterInitialize" type="Server">  
<Actions>  
<Action actionName="Custom Code" actionCategory="General" id="11"/>  
</Actions>  
</Event>  
</Events>  
</Page>  

Codechage 4.2
Oracle 10G Express
Apache 2.2 / PHP 5
View profile  Send private message
mentecky

Posts: 321
Posted: 06/17/2009, 9:31 AM

itmanvn,

This line looks suspect:
<LinkParameter id="8" sourceType="Expression" format="yyyy-mm-dd" name="Logout" source=""True""/> 

The ""True"" probably should be "True"

Rick
_________________
http://www.ccselite.com
View profile  Send private message
itmanvn

Posts: 12
Posted: 06/17/2009, 6:44 PM

Quote mentecky:
itmanvn,

This line looks suspect:
<LinkParameter id="8" sourceType="Expression" format="yyyy-mm-dd" name="Logout" source=""True""/> 

The ""True"" probably should be "True"

Rick

Thank Rick,

I changed that line but the error still there :-(
View profile  Send private message
mentecky

Posts: 321
Posted: 06/17/2009, 6:59 PM

Try changing it to:
<LinkParameter id="8" sourceType="Expression" format="yyyy-mm-dd" name="Logout" source="2009-01-01"/>

If it then loads check the parameters for that link. It seems to think it's a date with a boolean source.

Rick

_________________
http://www.ccselite.com
View profile  Send private message
itmanvn

Posts: 12
Posted: 06/17/2009, 11:51 PM

Quote mentecky:
Try changing it to:
<LinkParameter id="8" sourceType="Expression" format="yyyy-mm-dd" name="Logout" source="2009-01-01"/>

If it then loads check the parameters for that link. It seems to think it's a date with a boolean source.

Rick


Hi Rick,

Tried your solution with no luck, I also delete 3 lines:

<LinkParameters>  
				<LinkParameter id="8" name="Logout"/>  
			</LinkParameters>

can not fixed :(
View profile  Send private message
itmanvn

Posts: 12
Posted: 06/19/2009, 6:37 PM

anyone help? :-(
View profile  Send private message
damian

Posts: 838
Posted: 06/19/2009, 7:06 PM

have you tried to replicate the issue in another page?

_________________
if you found this post useful take the time to help someone else.... :)
View profile  Send private message
itmanvn

Posts: 12
Posted: 06/19/2009, 9:04 PM

Quote damian:
have you tried to replicate the issue in another page?


Others page are ok, problem is I included Header to all others page. If this page cannot generated, others page will not run :-(
View profile  Send private message
mentecky

Posts: 321
Posted: 06/19/2009, 9:12 PM

itmanvn,

Recreated the page under a different name.

Then rename the broken HEADER to something else... when CCS asks if you want to update links say NO.

Then rename your new page HEADER.

It should work fine and you don't have to play with the XML.

Rick
_________________
http://www.ccselite.com
View profile  Send private message
itmanvn

Posts: 12
Posted: 06/19/2009, 10:26 PM

Quote mentecky:
itmanvn,

Recreated the page under a different name.

Then rename the broken HEADER to something else... when CCS asks if you want to update links say NO.

Then rename your new page HEADER.

It should work fine and you don't have to play with the XML.

Rick

Thank you Rick,

Will try and report back later :-X
View profile  Send private message
itmanvn

Posts: 12
Posted: 06/20/2009, 10:57 AM

OMG,

I found another problem, I create a new page, try to click Authentication Builder, CC show me a Grid Builder, click others builder still show Grid Builder.

Click any Form Builder, just show Add grid form.

CC gone crazy :-|
View profile  Send private message
peterr


Posts: 5971
Posted: 06/20/2009, 2:12 PM

This means that you are using a software crack to use CodeCharge Studio illegally.

_________________
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.

PHP Reports

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

Home   |    Search   |    Members   |    Register   |    Login


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