Hi salvador,

  i tried by giving the size to my panel.
  Panel.setsize("100%","100%");


  But still the same issues.

   i am not geting where i am doing wrong..Please help...



On Sun, Apr 19, 2009 at 2:14 PM, shajeer kt <[email protected]> wrote:

>
>
> Hi,
>
>   Thanks for your reply.
>
> I am pretty new to GWT . Please dont harsh on me if i asked any foolish
> question.
>
>   I am not using an Absolute Panel . I am using
> Panel(com.gwtext.client.widgets.Panel) .
>
>   I am using a similar application like  http://www.gwt-ext.com/demo/ .
> There they are using Panel.
>
>
> On Sun, Apr 19, 2009 at 1:07 PM, Salvador Diaz <[email protected]>wrote:
>
>>
>> You either didn't bother to read my post or you didn't bother trying
>> what I suggested. As I said before:
>>
>> "if you don't set the size of the absolutePanel (ie:
>> absolutePanel.setSize("100%", "100%")) the widgets will be visible in
>> Firefox but not in IE"
>>
>> So try setting a size for your panels !
>>
>> Salvador
>>
>> On Apr 19, 11:56 am, shajeer kt <[email protected]> wrote:
>> > Helloo,
>> >
>> >       Some body  please help me to solve this issue............
>> >
>> > On Tue, Apr 14, 2009 at 4:29 PM, shajeer kt <[email protected]>
>> wrote:
>> >
>> > > Hiii,
>> >
>> > >   Thanks for your reply,
>> >
>> > > Fusioncharts are widgets which are working with Flash.
>> >
>> > > FusionCharts is a flash charting component that can be used to render
>> > > data-driven animated charts. Made in Adobe Flash 8 (formerly
>> Macromedia
>> > > Flash),
>> >
>> > > My application is like that,initially when the page is loaded a fusion
>> > > chart is loaded along with that.Now if i clicked on the fusion chart
>> bar
>> > > another chart is getting loaded.If i clicked the second one,third
>> fusion
>> > > chart is loaded. So this is in a drill down manner.
>> >
>> > > That means fusion charts are working fine.
>> > > Now i am going to load the second page and the fusion chart is loaded
>> > > perfectly.Now i am going to click the fusion chart for the drill down
>> chart.
>> > > But it is going to blank page where nothing is viewed even the grid in
>> the
>> > > page..
>> >
>> > > Now again  i tried to restart my application and loaded the page which
>> > > caused problem previously,it will work fine,But the other page which
>> was
>> > > working fine had gone to a blank page as i said early.
>> >
>> > > This is happening only in gogle hosted mode and IE.Its working fine in
>> > > Mozilla firefox.
>> >
>> > > I am calling the fusion chart in GWT in below manner.
>> >
>> > > *    public static Panel createRequestFusionChart(Map<String,UrlParam>
>> > > urlsParam,int chartWidth, int chartHigh) {
>> >
>> > >         Panel chartPanel = new Panel();
>> > >         final Panel fusionPanel1 = new Panel();
>> >
>> > >         chartPanel.setWidth(chartWidth);
>> >
>> > >         final Map<String, Object> parameters = new HashMap<String,
>> > > Object>();
>> > >         Iterator<UrlParam> params = urlsParam.values().iterator();
>> > >         UrlParam urlParam;
>> > >         while(params.hasNext())
>> > >         {
>> > >             urlParam = params.next();
>> > >             parameters.put(urlParam.getName(), urlParam.getValue());
>> >
>> > >         }
>> >
>> > >         ParametersProvider parmParametersProvider = new
>> > > ParametersProvider() {
>> >
>> > >             public Map<String, Object> getParameters() {
>> >
>> > >                 //Map parameters = new HashMap();
>> > >                 parameters.put("userid", "0");
>> > >                 parameters.put("charttype", "1");
>> > >                 parameters.put("chartmethod", "Request");
>> > >                 parameters.put("dept", "19");
>> > >                 parameters.put("link", "1");
>> > >                 return parameters ;
>> > >             }
>> > >         } ;
>> >
>> > >         String chartName = "StackedColumn3D";
>> > >         String chartUrl = GWT.getModuleBaseURL() + "FusionCharts/" +
>> > > chartName + ".swf";
>> > >         String dataUrl = GWT.getModuleBaseURL() + "ChartServletNew";
>> >
>> > >         FusionChart fusionChart = new FusionChart(chartUrl, 450, 400,
>> > > dataUrl, parmParametersProvider) ;
>> >
>> > >         fusionPanel1.add(fusionChart);
>> >
>> > >         final Panel firstRowPanel = new Panel("Requests");
>> > >         firstRowPanel.setLayout(new HorizontalLayout(30));
>> >
>> > >         ////////////////////
>> >
>> > >         ParametersProvider parmParametersProvider1 = new
>> > > ParametersProvider() {
>> >
>> > >             public Map<String, Object> getParameters() {
>> > >                 //Map parameters = new HashMap();
>> > >                 parameters.put("userid", "0");
>> > >                 parameters.put("charttype", "1");
>> > >                 parameters.put("chartmethod", "emptychart");
>> >
>> > >                 return parameters ;
>> > >             }
>> > >         } ;
>> >
>> > >         chartName = "StackedBar3D";
>> > >         chartUrl = GWT.getModuleBaseURL() + "FusionCharts/" +
>> chartName +
>> > > ".swf?ChartNoDataText=Click left chart to view Services Details";
>> > >         dataUrl = GWT.getModuleBaseURL() + "ChartServletNew";
>> >
>> > >         fusionChart = new FusionChart(chartUrl, 450, 550, "Human
>> Resources
>> > > (Development)ServDetails", dataUrl, parmParametersProvider1) ;
>> >
>> > >         final Panel fusionPanel2 = new Panel();
>> > >         fusionPanel2.add(fusionChart);
>> >
>> > >         firstRowPanel.add(fusionPanel1);
>> > >         firstRowPanel.add(fusionPanel2);
>> >
>> > >         ////////////////////
>> >
>> > >         ParametersProvider parmParametersProviderSubServ = new
>> > > ParametersProvider() {
>> >
>> > >             public Map<String, Object> getParameters() {
>> >
>> > >                 //Map parameters = new HashMap();
>> > >                 parameters.put("userid", "0");
>> > >                 parameters.put("charttype", "1");
>> > >                 parameters.put("chartmethod", "emptychart");
>> > >                 return parameters ;
>> > >             }
>> > >         } ;
>> >
>> > >         chartName = "StackedBar3D";
>> > >         chartUrl = GWT.getModuleBaseURL() + "FusionCharts/" +
>> chartName +
>> > > ".swf?ChartNoDataText=Click Services chart to view subservices
>> details";
>> > >         dataUrl = GWT.getModuleBaseURL() + "ChartServletNew";
>> >
>> > >         fusionChart = new FusionChart(chartUrl, 450, 500, "Human
>> Resources
>> > > (Development)SubServDetails", dataUrl, parmParametersProviderSubServ)
>> ;
>> >
>> > >         final Panel secondeRowPanel = new Panel("Subservices Chart");
>> > >         secondeRowPanel.add(fusionChart);
>> >
>> > >         chartPanel.add(firstRowPanel);
>> > >         chartPanel.add(secondeRowPanel);
>> > >         return chartPanel;
>> > >     }
>> > > *
>> > > Here *ChartServletNew* is a Servlet which is used to create the xml of
>> > > fusion chart. Inside this *ChartServletNew  *there is a link attrubute
>> in
>> > > which will call a javascript function which in turn will call the
>> Servlet
>> > > again.
>> >
>> > > This is done in this manner
>> >
>> > >
>> *xStreamWriter2.writeAttribute("link","JavaScript:updateFusionChart(\""+newCondQuery+"\",\""+funcNameList.get(k)+"\",\""+statusNameList.get(k)+"\",\""+DrillDownKPI+"\"
>> > > );");
>> > > *
>> > >  Below is my javascript function
>> >
>> > > *function updateFusionChart(condQuery,Mngmnt,stutus,kpi,serviceID){
>> >
>> > >         if ( !serviceID){
>> >
>> > >             var strURL = "ChartServletNew?GM=" + Mngmnt + "&status="
>> > > +stutus + "&kpi=" +kpi+ "&condQuery=" +condQuery;
>> > >             strURL = escape(strURL);
>> > >              var chart_CityDetails = new
>> > > FusionCharts('FusionCharts/StackedBar3D.swf?ChartNoDataText=Click
>> right
>> > > chart to view Services Details',
>> > >             'ServDetails', '550', '450', '0', '1');
>> > >             chart_CityDetails.setDataURL(strURL);
>> > >             chart_CityDetails.render(Mngmnt+kpi+"ServDetailsDiv");
>> >
>> > >         }
>> > >         else if (serviceID){
>> > >             var strURL = "ChartServletNew?GM=" + Mngmnt + "&status="
>> > > +stutus + "&serviceID=" +serviceID + "&kpi="
>> > > +kpi+"&condQuery="+condQuery;
>> > >             //URLEncode it - NECESSARY.
>> > >             strURL = escape(strURL);
>> > >              var chart_CityDetails = new
>> > > FusionCharts('FusionCharts/StackedBar3D.swf?ChartNoDataText=Click
>> right
>> > > chart to view Services Details',
>> > >             'SubServDetails', '800', '450', '0', '1');
>> > >             chart_CityDetails.setDataURL(strURL);
>> > >             chart_CityDetails.render(Mngmnt+kpi+"SubServDetailsDiv");
>> >
>> > >         }
>> > >         else {
>> > >             //Show error
>> > >             alert("Please wait for the charts to load.");
>> > >             return;
>> > >         }
>> > >     }
>> > > *
>> >
>> > >  So like this it will again call the GWT fusion chart calling method
>> and
>> > > give the appropriate chart.
>> >
>> > >  So according to my issue if i loaded a page with a fusion chart and
>> > > clicked on the link attribute on the fusion chart,then the second time
>> i am
>> > > loading another page with
>> >
>> > > On Mon, Apr 13, 2009 at 8:34 PM, Salvador Diaz <
>> [email protected]>wrote:
>> >
>> > >> It looks like you're having several problems and they might be
>> > >> unrelated, you should try to explain your setup a little more clearly
>> > >> (for instance, what are those fusion charts you're talking about and
>> > >> how do you call them from your gwt code ?).
>> >
>> > >> As for the display differences between Firefox and IE, I've
>> > >> encountered similar issues when widgets are displayed in an
>> > >> AbsolutePanel: if you don't set the size of the absolutePanel (ie:
>> > >> absolutePanel.setSize("100%", "100%")) the widgets will be visible in
>> > >> Firefox but not in IE, so make sure you're setting the size of the
>> > >> absolutePanel.
>> >
>> > >> Cheers,
>> >
>> > >> Salvador
>> >
>> > >> On Apr 13, 12:11 pm, shajeer kt <[email protected]> wrote:
>> > >> > Hii,
>> >
>> > >> >    Where can i get OOPHM plugin.. Whether i have to add the jar
>> file to
>> > >> my
>> > >> > existing project. Or adding that plugin directly to Internet
>> Explorer
>> > >> > Browser . Please any one tell me,what should i do....??
>> >
>> > >> > On Sun, Apr 12, 2009 at 8:23 AM, shajeer kt <
>> [email protected]>
>> > >> wrote:
>> > >> > > So what may be the reason it is working perfectly in mozilla
>> firefox
>> > >> and
>> > >> > > not in IE.
>> > >> > >   Whether Mozilla firefox already have this OOPHM plugin .
>> > >> > >        Could any one give me more informations regarding OOPHM
>> with
>> > >> respect
>> > >> > > to my issue.?
>> >
>> > >> > > On Sat, Apr 11, 2009 at 3:44 PM, Vitali Lovich <
>> [email protected]>
>> > >> wrote:
>> >
>> > >> > >> It looks like you start your code in hosted mode, but then hit
>> the
>> > >> page
>> > >> > >> using a regular browser.  You cannot run HostedMode code against
>> a
>> > >> regular
>> > >> > >> browser without the OOPHM plugin for obvious reasons.  In
>> HostedMode,
>> > >> your
>> > >> > >> code runs ins a regular JVM with GWT code that acts as a
>> > >> communication layer
>> > >> > >> between the browser & native Java code.  But without the hosted
>> mode
>> > >> browser
>> > >> > >> or the OOPHM plugin, there's nothing for it to communicate with.
>> >
>> > >> > >> So what you are seeing here is perfectly expected.  Either use
>> the
>> > >> > >> HostedMode browser or build from trunk & use the OOPHM plugin
>> > >> according to
>> > >> > >> the instructions on the wiki.  Or run the regular browser
>> against the
>> > >> > >> compiled code.
>> >
>> > >> > >> Those are your options.
>> >
>> > >> > >> On Sat, Apr 11, 2009 at 8:28 AM, babu <[email protected]>
>> > >> wrote:
>> >
>> > >> > >>> Dear all,
>> >
>> > >> > >>> I am currently
>> >
>> > ...
>> >
>> > read more ยป
>> >>
>>
>
>
> --
> Regards,
>
> Shajeer Kannamthodi
> Riyadh
> Mob:009665-64566832
>



-- 
Regards,

Shajeer Kannamthodi
Riyadh
Mob:009665-64566832

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to