You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Maarten Bosteels <mb...@gmail.com> on 2009/02/02 10:28:58 UTC
Re: Graphs, Charts and Wicket
Also have a look at
http://cwiki.apache.org/WICKET/open-flash-chart-and-wicket.html
Maarten
On Thu, Jan 29, 2009 at 2:45 PM, newbieabc <ne...@yahoo.com> wrote:
>
> If you don't mind, could you post your code to display the chart you used?
> I was interested the gradient fill chart they offered, but am really new to
> wicket and didn't understand how to add it in wicket.
>
> Thanks!
>
>
> Jurek Piasek wrote:
> >
> > I have been using Amcharts
> >
> > http://www.amcharts.com/
> >
> > together with SWFObject
> >
> http://cwiki.apache.org/WICKET/creating-a-behavior-to-use-a-javascript-library.html
> >
> > Regards,
> > Jurek
> >
> >
> > On Sun, Nov 16, 2008 at 8:20 PM, Yazbek, Daniel (Daniel)
> > <dy...@avaya.com>wrote:
> >
> >> Hi all,
> >>
> >>
> >>
> >> I'd like to put some simple bar graphs, pie graphs and possible line
> >> graphs into my wicket pages.
> >>
> >>
> >>
> >> Have any of you used a good framework that you can recommend, that also
> >> plays nicely with Wicket?
> >>
> >>
> >>
> >> Thanks!
> >>
> >>
> >>
> >> -Daniel.
> >>
> >>
> >>
> >>
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Graphs%2C-Charts-and-Wicket-tp20532374p21727142.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
Re: Graphs, Charts and Wicket
Posted by Thies Edeling <th...@rrm.net>.
Thanks, that worked !
PY wrote:
> The javascript is done in the SWFObject.
>
> To make it work in a Ajax request you need to add :
> if (AjaxRequestTarget.get() != null) {
> AjaxRequestTarget.get().appendJavascript(js);
> }
>
> where js is the javascript generated .
> This will make evaluate the javascript and therefore add the flash object.
>
> -PY
>
> Thies Edeling-2 wrote:
>
>> Works nicely but how to initialize the chart when the panel is loaded
>> through an ajax req/res ? Is there a javascript method that writes out the
>> Flash object tag ? That seems to be completely missing.
>>
>> On Mon, Feb 2, 2009 at 10:28 AM, Maarten Bosteels
>> <mb...@gmail.com>wrote:
>>
>>
>>> Also have a look at
>>> http://cwiki.apache.org/WICKET/open-flash-chart-and-wicket.html
>>>
>>> Maarten
>>>
>>> On Thu, Jan 29, 2009 at 2:45 PM, newbieabc <ne...@yahoo.com> wrote:
>>>
>>>
>>>> If you don't mind, could you post your code to display the chart you
>>>>
>>> used?
>>>
>>>> I was interested the gradient fill chart they offered, but am really
>>>>
>>> new
>>> to
>>>
>>>> wicket and didn't understand how to add it in wicket.
>>>>
>>>> Thanks!
>>>>
>>>>
>>>> Jurek Piasek wrote:
>>>>
>>>>> I have been using Amcharts
>>>>>
>>>>> http://www.amcharts.com/
>>>>>
>>>>> together with SWFObject
>>>>>
>>>>>
>>> http://cwiki.apache.org/WICKET/creating-a-behavior-to-use-a-javascript-library.html
>>>
>>>>> Regards,
>>>>> Jurek
>>>>>
>>>>>
>>>>> On Sun, Nov 16, 2008 at 8:20 PM, Yazbek, Daniel (Daniel)
>>>>> <dy...@avaya.com>wrote:
>>>>>
>>>>>
>>>>>> Hi all,
>>>>>>
>>>>>>
>>>>>>
>>>>>> I'd like to put some simple bar graphs, pie graphs and possible line
>>>>>> graphs into my wicket pages.
>>>>>>
>>>>>>
>>>>>>
>>>>>> Have any of you used a good framework that you can recommend, that
>>>>>>
>>> also
>>>
>>>>>> plays nicely with Wicket?
>>>>>>
>>>>>>
>>>>>>
>>>>>> Thanks!
>>>>>>
>>>>>>
>>>>>>
>>>>>> -Daniel.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>> --
>>>> View this message in context:
>>>>
>>>>
>>> http://www.nabble.com/Graphs%2C-Charts-and-Wicket-tp20532374p21727142.html
>>>
>>>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>>
>>>>
>>>>
>>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Graphs, Charts and Wicket
Posted by Fernando Wermus <fe...@gmail.com>.
The code to make swfObject to work into a Modal Window
if (AjaxRequestTarget.get() != null){
AjaxRequestTarget.get().appendJavascript(js);
}
shoudnt be by default?
if there is no modal window, it will work too.
On Wed, Feb 11, 2009 at 8:27 PM, PY <po...@py-code.com> wrote:
>
> The javascript is done in the SWFObject.
>
> To make it work in a Ajax request you need to add :
> if (AjaxRequestTarget.get() != null) {
> AjaxRequestTarget.get().appendJavascript(js);
> }
>
> where js is the javascript generated .
> This will make evaluate the javascript and therefore add the flash object.
>
> -PY
>
> Thies Edeling-2 wrote:
> >
> > Works nicely but how to initialize the chart when the panel is loaded
> > through an ajax req/res ? Is there a javascript method that writes out
> the
> > Flash object tag ? That seems to be completely missing.
> >
> > On Mon, Feb 2, 2009 at 10:28 AM, Maarten Bosteels
> > <mb...@gmail.com>wrote:
> >
> >> Also have a look at
> >> http://cwiki.apache.org/WICKET/open-flash-chart-and-wicket.html
> >>
> >> Maarten
> >>
> >> On Thu, Jan 29, 2009 at 2:45 PM, newbieabc <ne...@yahoo.com> wrote:
> >>
> >> >
> >> > If you don't mind, could you post your code to display the chart you
> >> used?
> >> > I was interested the gradient fill chart they offered, but am really
> >> new
> >> to
> >> > wicket and didn't understand how to add it in wicket.
> >> >
> >> > Thanks!
> >> >
> >> >
> >> > Jurek Piasek wrote:
> >> > >
> >> > > I have been using Amcharts
> >> > >
> >> > > http://www.amcharts.com/
> >> > >
> >> > > together with SWFObject
> >> > >
> >> >
> >>
> http://cwiki.apache.org/WICKET/creating-a-behavior-to-use-a-javascript-library.html
> >> > >
> >> > > Regards,
> >> > > Jurek
> >> > >
> >> > >
> >> > > On Sun, Nov 16, 2008 at 8:20 PM, Yazbek, Daniel (Daniel)
> >> > > <dy...@avaya.com>wrote:
> >> > >
> >> > >> Hi all,
> >> > >>
> >> > >>
> >> > >>
> >> > >> I'd like to put some simple bar graphs, pie graphs and possible
> line
> >> > >> graphs into my wicket pages.
> >> > >>
> >> > >>
> >> > >>
> >> > >> Have any of you used a good framework that you can recommend, that
> >> also
> >> > >> plays nicely with Wicket?
> >> > >>
> >> > >>
> >> > >>
> >> > >> Thanks!
> >> > >>
> >> > >>
> >> > >>
> >> > >> -Daniel.
> >> > >>
> >> > >>
> >> > >>
> >> > >>
> >> > >>
> >> > >>
> >> > >
> >> > >
> >> >
> >> > --
> >> > View this message in context:
> >> >
> >>
> http://www.nabble.com/Graphs%2C-Charts-and-Wicket-tp20532374p21727142.html
> >> > Sent from the Wicket - User mailing list archive at Nabble.com.
> >> >
> >> >
> >> > ---------------------------------------------------------------------
> >> > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> >> > For additional commands, e-mail: users-help@wicket.apache.org
> >> >
> >> >
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Graphs%2C-Charts-and-Wicket-tp20532374p21965728.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
--
Fernando Wermus.
www.linkedin.com/in/fernandowermus
Re: Graphs, Charts and Wicket
Posted by PY <po...@py-code.com>.
The javascript is done in the SWFObject.
To make it work in a Ajax request you need to add :
if (AjaxRequestTarget.get() != null) {
AjaxRequestTarget.get().appendJavascript(js);
}
where js is the javascript generated .
This will make evaluate the javascript and therefore add the flash object.
-PY
Thies Edeling-2 wrote:
>
> Works nicely but how to initialize the chart when the panel is loaded
> through an ajax req/res ? Is there a javascript method that writes out the
> Flash object tag ? That seems to be completely missing.
>
> On Mon, Feb 2, 2009 at 10:28 AM, Maarten Bosteels
> <mb...@gmail.com>wrote:
>
>> Also have a look at
>> http://cwiki.apache.org/WICKET/open-flash-chart-and-wicket.html
>>
>> Maarten
>>
>> On Thu, Jan 29, 2009 at 2:45 PM, newbieabc <ne...@yahoo.com> wrote:
>>
>> >
>> > If you don't mind, could you post your code to display the chart you
>> used?
>> > I was interested the gradient fill chart they offered, but am really
>> new
>> to
>> > wicket and didn't understand how to add it in wicket.
>> >
>> > Thanks!
>> >
>> >
>> > Jurek Piasek wrote:
>> > >
>> > > I have been using Amcharts
>> > >
>> > > http://www.amcharts.com/
>> > >
>> > > together with SWFObject
>> > >
>> >
>> http://cwiki.apache.org/WICKET/creating-a-behavior-to-use-a-javascript-library.html
>> > >
>> > > Regards,
>> > > Jurek
>> > >
>> > >
>> > > On Sun, Nov 16, 2008 at 8:20 PM, Yazbek, Daniel (Daniel)
>> > > <dy...@avaya.com>wrote:
>> > >
>> > >> Hi all,
>> > >>
>> > >>
>> > >>
>> > >> I'd like to put some simple bar graphs, pie graphs and possible line
>> > >> graphs into my wicket pages.
>> > >>
>> > >>
>> > >>
>> > >> Have any of you used a good framework that you can recommend, that
>> also
>> > >> plays nicely with Wicket?
>> > >>
>> > >>
>> > >>
>> > >> Thanks!
>> > >>
>> > >>
>> > >>
>> > >> -Daniel.
>> > >>
>> > >>
>> > >>
>> > >>
>> > >>
>> > >>
>> > >
>> > >
>> >
>> > --
>> > View this message in context:
>> >
>> http://www.nabble.com/Graphs%2C-Charts-and-Wicket-tp20532374p21727142.html
>> > Sent from the Wicket - User mailing list archive at Nabble.com.
>> >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> > For additional commands, e-mail: users-help@wicket.apache.org
>> >
>> >
>>
>
>
--
View this message in context: http://www.nabble.com/Graphs%2C-Charts-and-Wicket-tp20532374p21965728.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Graphs, Charts and Wicket
Posted by Thies Edeling <te...@gmail.com>.
Works nicely but how to initialize the chart when the panel is loaded
through an ajax req/res ? Is there a javascript method that writes out the
Flash object tag ? That seems to be completely missing.
On Mon, Feb 2, 2009 at 10:28 AM, Maarten Bosteels
<mb...@gmail.com>wrote:
> Also have a look at
> http://cwiki.apache.org/WICKET/open-flash-chart-and-wicket.html
>
> Maarten
>
> On Thu, Jan 29, 2009 at 2:45 PM, newbieabc <ne...@yahoo.com> wrote:
>
> >
> > If you don't mind, could you post your code to display the chart you
> used?
> > I was interested the gradient fill chart they offered, but am really new
> to
> > wicket and didn't understand how to add it in wicket.
> >
> > Thanks!
> >
> >
> > Jurek Piasek wrote:
> > >
> > > I have been using Amcharts
> > >
> > > http://www.amcharts.com/
> > >
> > > together with SWFObject
> > >
> >
> http://cwiki.apache.org/WICKET/creating-a-behavior-to-use-a-javascript-library.html
> > >
> > > Regards,
> > > Jurek
> > >
> > >
> > > On Sun, Nov 16, 2008 at 8:20 PM, Yazbek, Daniel (Daniel)
> > > <dy...@avaya.com>wrote:
> > >
> > >> Hi all,
> > >>
> > >>
> > >>
> > >> I'd like to put some simple bar graphs, pie graphs and possible line
> > >> graphs into my wicket pages.
> > >>
> > >>
> > >>
> > >> Have any of you used a good framework that you can recommend, that
> also
> > >> plays nicely with Wicket?
> > >>
> > >>
> > >>
> > >> Thanks!
> > >>
> > >>
> > >>
> > >> -Daniel.
> > >>
> > >>
> > >>
> > >>
> > >>
> > >>
> > >
> > >
> >
> > --
> > View this message in context:
> >
> http://www.nabble.com/Graphs%2C-Charts-and-Wicket-tp20532374p21727142.html
> > Sent from the Wicket - User mailing list archive at Nabble.com.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> > For additional commands, e-mail: users-help@wicket.apache.org
> >
> >
>