CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> Java

 Dinamic grid title

Print topic Send  topic

Author Message
fady005


Posts: 115
Posted: 02/27/2007, 7:17 AM

Hello,
I wanted to know of it's possible to put in the name of a grid a URL parameter and how ?
Thanks
_________________
Be inventive !
View profile  Send private message
miko

Posts: 50
Posted: 02/27/2007, 7:50 AM

If you want to change grid title based on URL parameter it is possible:
place in title label component with wished parameter name and this label will be populated from parameter.
but this way is not safe it can lead to cross site scripting vulnerability. So please set content type correctly.


_________________
Regards,
Michael
View profile  Send private message
fady005


Posts: 115
Posted: 02/27/2007, 8:10 AM

I tried this but it's not working :-<. here's a capture :


Thanks
_________________
Be inventive !
View profile  Send private message
miko

Posts: 50
Posted: 02/27/2007, 11:49 PM

yes, I think all settings are correct.
in runtime if s_keyword parameter is passed it's value will be shown.
_________________
Regards,
Michael
View profile  Send private message
fady005


Posts: 115
Posted: 02/28/2007, 1:06 AM

It's not working :-(


_________________
Be inventive !
View profile  Send private message
miko

Posts: 50
Posted: 02/28/2007, 5:14 AM

it is very strange...
i use this way without any problem.
_________________
Regards,
Michael
View profile  Send private message
fady005


Posts: 115
Posted: 03/01/2007, 6:28 AM

Eureka ! I found the solution ! :-D

I added a special code to the "before show" event of the label :
e.getControl().setValue(e.getPage().getParameter("s_keyword"))

And this way, it works !!!

_________________
Be inventive !
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.