RE: graphics

2005-04-26 Thread Yu, Ed
You generate your charts on the server end and use AJAX to call a backend
action to access your session objects and stream the chart content back to
your javascript.

-Original Message-
From: Lucas Bern [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 26, 2005 8:51 AM
To: Struts Users Mailing List
Subject: RE: graphics

oh oh oh!...
AJAX, i have heard about that, but some requirements limit me to use it, i
HAVE to generate the chart on the server side
( would jave been wonderfull!!!, but, clients )

"Yu, Ed" <[EMAIL PROTECTED]> wrote:
AJAX?

-Original Message-
From: Lucas Bern [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 26, 2005 8:39 AM
To: Struts Users Mailing List; Michael Jouravlev
Subject: Re: graphics

Yes, that is a good advise, thanks Michael!...
...but, what i have to do is a litle more complex. Does anyone know how to
acces the page context form a dataProducer in the cewolf tag library???...

I really need it, i have objects in session, objects needesd to create de
chart, but de interface DatasetProducer, doesn't let me take anything form
the pagecontext, just pass a Map as parameter, where the valu just can be a
String, i need my objects!!! and they are in session...

anybody helps Lucas??
Thanks !
Lucas



Michael Jouravlev wrote:
Remember, that you can do a lot with client-side javascript. Send raw
data to the browser, and render chart there. Seems more logical,
because it takes the load off the server and off the network (the
latter may be not true for huge data set...).

Check this out, for example:
http://www.javascriptkit.com/script/script2/graphit.shtml

On 4/25/05, Lucas Bern wrote:
> Hi guys!
> anything better than jFreeChart?... or at least "free" documented?
> Thanks!
> Lucas

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
250MB gratis, Antivirus y Antispam
Correo Yahoo!, el mejor correo web del mundo
Abrí tu cuenta aquí


-
 250MB gratis, Antivirus y Antispam
 Correo Yahoo!, el mejor correo web del mundo
 Abrí tu cuenta aquí


RE: graphics

2005-04-26 Thread Lucas Bern
oh oh oh!...
AJAX, i have heard about that, but some requirements limit me to use it, i HAVE 
to generate the chart on the server side
( would jave been wonderfull!!!, but, clients )

"Yu, Ed" <[EMAIL PROTECTED]> wrote:
AJAX?

-Original Message-
From: Lucas Bern [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 26, 2005 8:39 AM
To: Struts Users Mailing List; Michael Jouravlev
Subject: Re: graphics

Yes, that is a good advise, thanks Michael!...
...but, what i have to do is a litle more complex. Does anyone know how to
acces the page context form a dataProducer in the cewolf tag library???...

I really need it, i have objects in session, objects needesd to create de
chart, but de interface DatasetProducer, doesn't let me take anything form
the pagecontext, just pass a Map as parameter, where the valu just can be a
String, i need my objects!!! and they are in session...

anybody helps Lucas??
Thanks !
Lucas



Michael Jouravlev wrote:
Remember, that you can do a lot with client-side javascript. Send raw
data to the browser, and render chart there. Seems more logical,
because it takes the load off the server and off the network (the
latter may be not true for huge data set...).

Check this out, for example:
http://www.javascriptkit.com/script/script2/graphit.shtml

On 4/25/05, Lucas Bern wrote:
> Hi guys!
> anything better than jFreeChart?... or at least "free" documented?
> Thanks!
> Lucas

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
250MB gratis, Antivirus y Antispam
Correo Yahoo!, el mejor correo web del mundo
Abrí tu cuenta aquí


-
 250MB gratis, Antivirus y Antispam
 Correo Yahoo!, el mejor correo web del mundo
 Abrí tu cuenta aquí

RE: graphics

2005-04-26 Thread Yu, Ed
AJAX?

-Original Message-
From: Lucas Bern [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 26, 2005 8:39 AM
To: Struts Users Mailing List; Michael Jouravlev
Subject: Re: graphics

Yes, that is a good advise, thanks Michael!...
...but, what i have to do is a litle more complex. Does anyone know how to
acces the page context form a dataProducer in the cewolf tag library???...
 
I really need it, i have objects in session, objects needesd to create de
chart, but de interface DatasetProducer, doesn't let me take anything form
the pagecontext, just pass a Map as parameter, where the valu just can be a
String, i need my objects!!! and they are in session...
 
anybody helps Lucas??
Thanks !
Lucas
 


Michael Jouravlev <[EMAIL PROTECTED]> wrote:
Remember, that you can do a lot with client-side javascript. Send raw
data to the browser, and render chart there. Seems more logical,
because it takes the load off the server and off the network (the
latter may be not true for huge data set...).

Check this out, for example:
http://www.javascriptkit.com/script/script2/graphit.shtml

On 4/25/05, Lucas Bern wrote:
> Hi guys!
> anything better than jFreeChart?... or at least "free" documented?
> Thanks!
> Lucas

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
 250MB gratis, Antivirus y Antispam
 Correo Yahoo!, el mejor correo web del mundo
 Abrí tu cuenta aquí


Re: graphics

2005-04-26 Thread Lucas Bern
Yes, that is a good advise, thanks Michael!...
...but, what i have to do is a litle more complex. Does anyone know how to 
acces the page context form a dataProducer in the cewolf tag library???...
 
I really need it, i have objects in session, objects needesd to create de 
chart, but de interface DatasetProducer, doesn't let me take anything form the 
pagecontext, just pass a Map as parameter, where the valu just can be a String, 
i need my objects!!! and they are in session...
 
anybody helps Lucas??
Thanks !
Lucas
 


Michael Jouravlev <[EMAIL PROTECTED]> wrote:
Remember, that you can do a lot with client-side javascript. Send raw
data to the browser, and render chart there. Seems more logical,
because it takes the load off the server and off the network (the
latter may be not true for huge data set...).

Check this out, for example:
http://www.javascriptkit.com/script/script2/graphit.shtml

On 4/25/05, Lucas Bern wrote:
> Hi guys!
> anything better than jFreeChart?... or at least "free" documented?
> Thanks!
> Lucas

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
 250MB gratis, Antivirus y Antispam
 Correo Yahoo!, el mejor correo web del mundo
 Abrí tu cuenta aquí

Re: graphics

2005-04-25 Thread Michael Jouravlev
Remember, that you can do a lot with client-side javascript. Send raw
data to the browser, and render chart there. Seems more logical,
because it takes the load off the server and off the network (the
latter may be not true for huge data set...).

Check this out, for example:
http://www.javascriptkit.com/script/script2/graphit.shtml

On 4/25/05, Lucas Bern <[EMAIL PROTECTED]> wrote:
> Hi guys!
> anything better than jFreeChart?... or at least "free" documented?
> Thanks!
> Lucas

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: graphics

2005-04-25 Thread Lucas Bern
before someone anwser me! ; - )
 
i found something that seems to be great! 
and it is free documented!!!
 
http://cewolf.sourceforge.net/new/index.html
 
joy it!
Lucas

Lucas Bern <[EMAIL PROTECTED]> wrote:
Hi guys!
anything better than jFreeChart?... or at least "free" documented?
Thanks!
Lucas

Greg Pelly wrote:
Is it possible to use or to look up a key that is
not known until runtime (ie, stored in the request)?

I have a results screen that will display a message that varies depending on
the query performed. I would like this message to be retrieved from the
bundle in the struts-config.xml. 

For example, my Action will have logic:

if (isFriend) {
request.setAttribute("friendText", "key.friend");
} else if (isEnemy) {
request.setAttribute("friendText", "key.enemy");
} else {
request.setAttribute("friendText", "key.unknown");
}

I would like my JSP to get the value of the Request Attribute "friendText",
then lookup that key in the MessageResources file:

key.friend = 
Hello friend. I like you.
key.enemy = 
Hello enemy. I hate you.
key.unknown = 
Hello.

I checked the API for bean:write and c:out and looking to see if struts-el
provided this functionality. I didn't see any indication that it does,
though I have not used struts-el in the past.

Any ideas?

Thanks!
Greg

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
250MB gratis, Antivirus y Antispam
Correo Yahoo!, el mejor correo web del mundo
Abrí tu cuenta aquí

-
 250MB gratis, Antivirus y Antispam
 Correo Yahoo!, el mejor correo web del mundo
 Abrí tu cuenta aquí