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 -> Wishes

 More properties from database to link objects

Print topic Send  topic

Author Message
cleyan


Posts: 136
Posted: 03/29/2009, 7:05 PM

Hi,
would be great if the propeties target and title could came from the database as the other properties of an link object.

Regards


Carlos
_________________
**************************************************
Carlos Leyan B.
Temuco, Chile
www.leytec.net
View profile  Send private message
melvyn


Posts: 333
Posted: 03/29/2009, 10:33 PM

They can now. Simply place a label and put it's name in the property as {title} or {target}
_________________
Melvyn Perez
Puro Codigo
http://purocodigo.com
View profile  Send private message
cleyan


Posts: 136
Posted: 03/30/2009, 12:34 PM

but if I try to put a label inside a link, I receive an error from codecharge, how you do that?
_________________
**************************************************
Carlos Leyan B.
Temuco, Chile
www.leytec.net
View profile  Send private message
melvyn


Posts: 333
Posted: 03/31/2009, 9:06 AM

You can always place a label at your entire pleasure, inside whatever you like.
When you open the HTML view you can see the code, like this:
  
<a href="{producto_Src}" id="productosRowComponentsproducto_{productos:rowNumber}">{producto}</a>   

So, if you modify it in html mode and place a label, when you open the properties windows you can see the added labels, which are <a href="#" target="{your_label}" title="{another_label}"

Example:
  
<a href="{seccion_Src}" id="productosRowComponentsseccion_{productos:rowNumber}" target="{target}"   
title="{title}">{seccion}</a> »  

So, you can create a label and place it anywhere and assign it via the windows properties. Yes I know you want something more....
_________________
Melvyn Perez
Puro Codigo
http://purocodigo.com
View profile  Send private message
paulmason411


Posts: 127
Posted: 04/08/2009, 7:21 PM

A tidier way IMO is to use page attributes.

Right click anywhere in the html code an click add attribute.

Call the attribute 'test' and the source type as 'expression'.

Then add the following custom code for the 'before show' for the page:
  
$Component->Attributes->SetValue('test', 'database_variable');  

_________________

http://paulmason.name - Web Development Blog

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.