Jaimico

Members
  • Content count

    6
  • Joined

  • Last visited

About Jaimico

  • Rank
    Forum Newbie
  1. Fusion Charts intergration with JSF

    Hello Srividya!! Thank you very much for your tip , you mean to prefix the id at my portlet source or at the taglib source? Greetings!!!!
  2. Fusion Charts intergration with JSF

    Hello Well... I'm not quite sure it's the taglib that handles it... maybe it's the portlet bridge. In my portlet source code I have this: <ice:form id="form1"> And for the FusionCharts taglib: <fc:render chartId="chart"> If I place two portlets on page and look at the page source I see that the ids of the forms (of each portlet) are: _PruebaIcefacesPortlet_WAR_pruebaicefacesfusionchartportlet_INSTANCE_uJI8_:form1 _PruebaIcefacesPortlet_WAR_pruebaicefacesfusionchartportlet_INSTANCE_50fH_:form1 But the ids of the div that conatins the chart are both chartDiv. Something handled my form's id so, in a porltet that is instanceable, I don't have to manually ensure that the ids are unique; but my div's ids wheren't modified. That's why I thought It was something related with the taglib. What do you think Srividya. Jaimico
  3. Fusion Charts intergration with JSF

    Good point... didn't think of that XD. But anyway, that would be easier if the various graphs where on the same portlet, but if they're on different portlets I would have to assign the id dinamically and ensure it's unique (perhaps trying to get the protlet id from the managed bean). Wouldn't be much better if the framework ensures that the id is unique by composing it (like it does with other elements)? Jaimico
  4. Fusion Charts intergration with JSF

    It's on an edit on my first post XD. Jaimico
  5. Fusion Charts intergration with JSF

    Thanks Srividya, I'll start working on that (also will try to fix the bug of the div id) and post my results... em... how can I build the source? just a simple command like javac -jar?? Greetings!!!
  6. Fusion Charts intergration with JSF

    Hello srividya, thank you very much for making the taglib, It's pretty usefull . Does it work with FusionMaps?. The documentation says we have to use FusionMaps.js instead of FusionCharts.js (but I don't know if the scripts are equivalent). If the taglib doesn't work with FusionMaps could update it to make it work or post the source of the latest version so I can try to update it (I've never made a taglib but I can investigate how to do it, if you post the code I would tank you to you point me to the right place to start learning). Edit: I'm using your taglib in aportlet environment (Liferay + ICEfaces) and it works fine... unless I put two or more portlets on the same page, seems that the div generadted by the taglib doesn't have a composed ID (e.g. portletid:formid:containerid:... etc) but a simple one: "chartDiv". So I end up with many elements with the same ID on page and no matter which portlet I interact with the changes are always made on the first portlet on page. Thanks!!!!