Problem with Fiji 2 in JSF 2.0

  • itprabu
Posted: Tue, 01/10/2012 - 07:20

Namespace :

xmlns:fiji="http://exadel.com/fiji/chart"
xmlns:fiji2="http://exadel.com/fiji/commonchart"
xmlns:fiji3="http://exadel.com/fiji"

Xhtml code:

From managed bean i am getting the value for (#{test.chart}).

But in browser i was getting below error.

http://localhost:8080/Test/javax.faces.resource/columnchart.swf.jsf?ln=c...

404 (/Test/javax.faces.resource/columnchart.swf.jsf)

How to resolve it ?

Thanks in Advance.
Prabu

This URL doesn't seem

  • maxkatz
  • 02/17/10
  • Tue, 01/10/2012 - 08:32

This URL doesn't seem right:
http://localhost:8080/Test/javax.faces.resource/columnchart.swf.jsf?ln=c...

The 'javax.faces.." part -- are you sure that's the right resource?

This is not the URL.This error i found in Browser console.

  • itprabu
  • 01/09/12
  • Tue, 01/10/2012 - 19:12

This is not the URL.This error i found in Browser console.

My XHTML code is

I don't see your XHTML code

  • maxkatz
  • 02/17/10
  • Tue, 01/10/2012 - 19:57

I don't see your XHTML code but why not just define a single namespace for the entire library?

Xhtml code : <

  • itprabu
  • 01/09/12
  • Tue, 01/10/2012 - 20:44

Xhtml code :
< fiji:columnChart id="Demographicchart_loc" value="#{test.chart}"
barColors="#{test.color}" captionX="X axis" captionY="Y axis"
title="Age distribution of patients" width="500" height="400" displayLegend="no"
rulersValuesHighlight="none" toolTipValue="{X} ({y})">

fiji:columnChart >

If i use xhtml as above i am getting the previous error.

if i use single namespace as
xmlns:fiji="http://exadel.com/fiji"

" fiji:columnChart id="testis" value="#{test.chart}"
barColors="#{test.color}" captionX="X axis" captionY="Y axis"
title="Age distribution of patients" width="500" height="400" displayLegend="no"
rulersValuesHighlight="none" toolTipValue="{X} ({y})">

fiji:columnChart "

then i am getting this error
Tag Library supports namespace: http://exadel.com/fiji, but no tag was defined for name: columnChart

Can any one help to solve this

  • itprabu
  • 01/09/12
  • Thu, 01/12/2012 - 02:46

Can any one help to solve this.

For 2nd approach, does it

  • maxkatz
  • 02/17/10
  • Thu, 01/12/2012 - 05:40

For 2nd approach, does it work if you use any other component?

yes i have tried,but its not working.

  • itprabu
  • 01/09/12
  • Fri, 01/13/2012 - 00:02

yes i have tried, but its not working.

i.e) For linechart,bar chart.....

if u have any sample in Fiji 2 ,kindly can u share it?

Thanks in Advance
Prabu D