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

 Paramater save

Print topic Send  topic

Author Message
fady005


Posts: 115
Posted: 03/02/2007, 5:29 AM

Hello,
Do somebody know how to stock the value of a parameter that is going to change later...
Actually I have to make several selection in the same parameter but I have to show every choice on the page.
Thanks for your help.
_________________
Be inventive !
View profile  Send private message
matheus

Posts: 386
Posted: 03/02/2007, 8:58 AM

Maybe using session?
_________________
Matheus Trevizan

Dynamix Software Ltda.
Blumenau SC Brasil
www.dynamix.com.br
View profile  Send private message
fady005


Posts: 115
Posted: 03/05/2007, 1:00 AM

Can you develop please ?
Thanks ;-)
_________________
Be inventive !
View profile  Send private message
matheus

Posts: 386
Posted: 03/05/2007, 3:34 AM

Didn't are you the developer? I just give tips.
_________________
Matheus Trevizan

Dynamix Software Ltda.
Blumenau SC Brasil
www.dynamix.com.br
View profile  Send private message
fady005


Posts: 115
Posted: 03/05/2007, 4:46 AM

I agree but I didn't understood your tip... What's session ?
Thanks
_________________
Be inventive !
View profile  Send private message
negociant

Posts: 31
Posted: 03/05/2007, 5:18 AM

Perhaps better way is to reed some book about web development?
And ask question only after this?
View profile  Send private message
matheus

Posts: 386
Posted: 03/05/2007, 5:23 AM

Do you wanna stock the value of a parameter.

When? After a post?
After a loading?

Save in Session, using Action: "Save Control Value" or Save Variable Value" and choose Session in Listbox.

I cannot help more, if I don't know when do you wanna save this value.
_________________
Matheus Trevizan

Dynamix Software Ltda.
Blumenau SC Brasil
www.dynamix.com.br
View profile  Send private message
fady005


Posts: 115
Posted: 03/05/2007, 6:54 AM

Thanks Matheus !
As I read on the CCS Help what I need is "Save Control Value" But I don't know where and how should I use it (in Jsp main page or in Handlers page)... Should I use :
HttpSession session = request.getSession();
Should I use cookies or URL rewriting ?

Actually I'll try to explain my application... I have to select a medical tool than it's characteristics than an option to this characteristic. For the first characteristic everything work fine but when I try to select another characteristic it replace the old one so I can't show all the characteristics at the same time.


Negociant could you advice me a good JSP book ? It would help me a lot.
_________________
Be inventive !
View profile  Send private message
eserver220

Posts: 41
Posted: 03/06/2007, 12:47 AM

Core servlets and jsp
View profile  Send private message
eserver220

Posts: 41
Posted: 03/06/2007, 12:50 AM

I hope the code below will give you some help:

SessionStorage.getInstance(e.getPage().getRequest()).setAttribute("uptmsg",mesg);

e.getControl().setValue(SessionStorage.getInstance(e.getPage().getRequest()).getAttribute("uptmsg"));
View profile  Send private message
negociant

Posts: 31
Posted: 03/06/2007, 1:58 AM

There is many greate java resources.

http://java.sun.com (Easy to guess)
http://resources.coreservlets.com/jsp+servlet-books.html
http://www-128.ibm.com/developerworks/views/java/library.jsp
http://dev2dev.bea.com/

Here you can found mamy boocs, docs, articles and of course google groups.
http://groups.google.com

About subjects... eserver220 right. Servlets and JSP core.
Wery helpfull, to read some white papers about it.
View profile  Send private message
fady005


Posts: 115
Posted: 03/06/2007, 4:28 AM

Thanks Eserver220 it's working wonderfully :-D It's exactly the code that I was searching for.

Thanks Negociant for the sites... :-)
_________________
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.

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.