[flexcoders] Re: DataGrid Problem

2006-08-04 Thread Silpa sirivella
But i don't know what are the dataFields in the XML to hard code it.

I mean in your code i don't want to hard code dataFields.

 
 
 

I'm try to create DataGrid Dynamically, now i'm passing XML data that 
i'm receiving, i have to construct data grid.

var metaDataMap:Dictionary = new Dictionary(false);
var dg:DataGrid = new DataGrid();
//Construct Grid Headers
for(var i:int=0;ihttp://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[flexcoders] DataGrid Problem

2006-08-03 Thread Silpa sirivella
How can populate data dynamically in data grid??
For ex: i have a XML data, i've to read through  


 34214
 something
 $23

 and more items

i want put all these elements in a array and bind to a DataGrid. Is 
Dynamic datagrid possible??







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[flexcoders] Re: How can open a Stream?

2006-07-19 Thread Silpa sirivella
Hi drome, Doug Lowder thanks a lot for your help.. i could able to 
open the stream now. Once again thanks a lot.

-silpa
--- In flexcoders@yahoogroups.com, "Doug Lowder" <[EMAIL PROTECTED]> 
wrote:
>
> If you want the Save/Open/Cancel dialog, use Flex 2's 
> flash.net.navigateToURL() method instead of HTTPService.
> 
> If this is Flex 1.5, use Application.getURL().
> 
> 
> --- In flexcoders@yahoogroups.com, "Silpa sirivella"  
> wrote:
> >
> > Atleast tell me whether it is possible With flex?
> > 
> > thanks
> > -silpa
> > --- In flexcoders@yahoogroups.com, "Silpa sirivella"  
> > wrote:
> > >
> > > Hi all,
> > >  
> > > I have a requirement to open Steam coming from J2EE layer. More 
> > > clearly, I've MXML file where i'm requesting a servlet using 
> > > HTTPService. Here is the code
> > > 
> > >  > > url="/inventory/search.do" showBusyCursor="true">
> > > 
> > > Export
> > > pdf
> > > 
> > > 
> > > 
> > > And here is my struts application
> > > 
> > > ByteArrayOutputStream baos =new ByteArrayOutputStream();
> > > 
> > > if(exportMode.trim().equalsIgnoreCase("pdf")) {
> > > response.setContentType ("application/pdf");
> > > response.setHeader ("Content-Disposition", "attachment; 
> > > filename=\"SearchResults.pdf\"");
> > > try{
> > > JasperExportManager.exportReportToPdfStream(jasperPrint, baos);
> > > }catch(JRException jre) {}
> > >   
> > >   response.setContentLength(baos.size());
> > >   ServletOutputStream outStream = response.getOutputStream();
> > >   baos.writeTo(outStream);
> > >   baos.close();
> > >   outStream.flush();
> > > it works fine when i made a call from HTML. I've to get a popup 
> > > contains "Save" "Open" and "Cancel" options.
> > > I appreciate any help on this.
> > > 
> > > -silpa
> > >
> >
>






 Yahoo! Groups Sponsor ~--> 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM
~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[flexcoders] Re: How can open a Stream?

2006-07-19 Thread Silpa sirivella
Atleast tell me whether it is possible With flex?

thanks
-silpa
--- In flexcoders@yahoogroups.com, "Silpa sirivella" <[EMAIL PROTECTED]> 
wrote:
>
> Hi all,
>  
> I have a requirement to open Steam coming from J2EE layer. More 
> clearly, I've MXML file where i'm requesting a servlet using 
> HTTPService. Here is the code
> 
>  url="/inventory/search.do" showBusyCursor="true">
> 
> Export
> pdf
> 
> 
> 
> And here is my struts application
> 
> ByteArrayOutputStream baos =new ByteArrayOutputStream();
> 
> if(exportMode.trim().equalsIgnoreCase("pdf")) {
> response.setContentType ("application/pdf");
> response.setHeader ("Content-Disposition", "attachment; 
> filename=\"SearchResults.pdf\"");
> try{
> JasperExportManager.exportReportToPdfStream(jasperPrint, baos);
> }catch(JRException jre) {}
>   
>   response.setContentLength(baos.size());
>   ServletOutputStream outStream = response.getOutputStream();
>   baos.writeTo(outStream);
>   baos.close();
>   outStream.flush();
> it works fine when i made a call from HTML. I've to get a popup 
> contains "Save" "Open" and "Cancel" options.
> I appreciate any help on this.
> 
> -silpa
>







 Yahoo! Groups Sponsor ~--> 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM
~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[flexcoders] Re: How can open a Stream?

2006-07-19 Thread Silpa sirivella
I'm getting an ERROR message..

[RPC Fault faultString="Error #1090: XML parser failure: element is 
malformed." faultCode="Client.CouldNotDecode" faultDetail="null"]
at 
mx.rpc.http::HTTPService/http://www.adobe.com/2006/flex/mx/internal::p
rocessResult()
at 
mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::re
sultHandler()
at mx.rpc::Responder/result()
at mx.rpc::AsyncRequest/acknowledge()
at ::DirectHTTPMessageResponder/completeHandler()
at 
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEv
entFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/flash.net:URLLoader::onComplete()

thanks
-silpa
--- In flexcoders@yahoogroups.com, "Silpa sirivella" <[EMAIL PROTECTED]> 
wrote:
>
> Hi all,
>  
> I have a requirement to open Steam coming from J2EE layer. More 
> clearly, I've MXML file where i'm requesting a servlet using 
> HTTPService. Here is the code
> 
>  url="/inventory/search.do" showBusyCursor="true">
> 
> Export
> pdf
> 
> 
> 
> And here is my struts application
> 
> ByteArrayOutputStream baos =new ByteArrayOutputStream();
> 
> if(exportMode.trim().equalsIgnoreCase("pdf")) {
> response.setContentType ("application/pdf");
> response.setHeader ("Content-Disposition", "attachment; 
> filename=\"SearchResults.pdf\"");
> try{
> JasperExportManager.exportReportToPdfStream(jasperPrint, baos);
> }catch(JRException jre) {}
>   
>   response.setContentLength(baos.size());
>   ServletOutputStream outStream = response.getOutputStream();
>   baos.writeTo(outStream);
>   baos.close();
>   outStream.flush();
> it works fine when i made a call from HTML. I've to get a popup 
> contains "Save" "Open" and "Cancel" options.
> I appreciate any help on this.
> 
> -silpa
>






 Yahoo! Groups Sponsor ~--> 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM
~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] How can open a Stream?

2006-07-19 Thread Silpa sirivella
Hi all,
 
I have a requirement to open Steam coming from J2EE layer. More 
clearly, I've MXML file where i'm requesting a servlet using 
HTTPService. Here is the code



Export
pdf



And here is my struts application

ByteArrayOutputStream baos =new ByteArrayOutputStream();

if(exportMode.trim().equalsIgnoreCase("pdf")) {
response.setContentType ("application/pdf");
response.setHeader ("Content-Disposition", "attachment; 
filename=\"SearchResults.pdf\"");
try{
JasperExportManager.exportReportToPdfStream(jasperPrint, baos);
}catch(JRException jre) {}

response.setContentLength(baos.size());
ServletOutputStream outStream = response.getOutputStream();
baos.writeTo(outStream);
baos.close();
outStream.flush();
it works fine when i made a call from HTML. I've to get a popup 
contains "Save" "Open" and "Cancel" options.
I appreciate any help on this.

-silpa





 Yahoo! Groups Sponsor ~--> 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM
~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[flexcoders] Problem using Serena Plugin for Eclipse.

2006-07-02 Thread Silpa sirivella
Hi, I'm new to PVCS. I'm trying to configure my IDE(Eclipse 3.1) with 
ChangeMan Version Manager 8.1. I got plugins from C:\Program 
Files\Serena\vm\Integrations\Eclipse folder of Serena installation 
folder. 

And i copied all following folders to my eclipse plugin folder
(ECLIPSE_HOME\plugins)
com.serena.team.core_3.0.1 
com.serena.team.docs_3.0.1 
com.serena.team.ui.vm_3.0.1 
com.serena.team.ui_3.0.1 
And i copied following folders to my eclipse features folder
(ECLIPSE_HOME\features) 
com.serena.team_3.0.1 
And i enabled Serena check box from Window>Customize Perspective 
window. 
Then i try to Get Projects from Version Manager, i'm getting 
following error 
Plug-in com.serena.team.ui.vm was unable to load class 
com.serena.team.ui.vm.wizards.NewProjectWizard. 

If i click any option under Serena Menu i'm getting "The Chosen 
operation is not currently available". 

I know i'm posting at wrong place.. but i did'nt find right place. 

Thanks 
-silpa








 Yahoo! Groups Sponsor ~--> 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM
~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[flexcoders] Problem with parsing mxml file

2006-06-19 Thread Silpa sirivella
Hi all,

I'm new to Flex. I may have to develop some RIA application using 
Flex2.0. I'm using Weblogic as my application server. When try to 
locate my index.mxml(http://localhost:7001/index.mxml), i'm getting 
following error.

22 Errors found. 
 
Error /index.mxml:2 
Unknown attribute 'layout' on mx.core.Application



Error /index.mxml:3 
Don't know how to parse 
element "http://www.adobe.com/2006/mxml:Style";. It is not a known 
type or a property of mx.core.Application.


I've configured name space in my flex-config.xml in the following way


http://www.adobe.com/2006/mxml";>
/WEB-INF/flex/mxml-manifest.xml

http://www.macromedia.com/2003/mxml";>
/WEB-INF/flex/mxml-manifest.xml


I've got Flex 1.5 jars(flex-bootstrap.jar). do i need to update any 
jars for flex 2.0? if so where can i get new jar files. I've 
installed flex2.0 builder on my system. I'll be thankful for the help 
on this. Thanks in advance.

-silpa









 Yahoo! Groups Sponsor ~--> 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM
~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[flexcoders] New to Flex 2.0 Help please

2006-06-19 Thread Silpa sirivella
Hi all,

I'm new to Flex. I may have to develop some RIA application using 
Flex2.0. I'm using Weblogic as my application server. When try to 
locate my index.mxml(http://localhost:7001/index.mxml), i'm getting 
following error.

22 Errors found. 
 
Error /index.mxml:2 
Unknown attribute 'layout' on mx.core.Application



Error /index.mxml:3 
Don't know how to parse 
element "http://www.adobe.com/2006/mxml:Style";. It is not a known 
type or a property of mx.core.Application.


I've configured name space in my flex-config.xml in the following way


http://www.adobe.com/2006/mxml";>
/WEB-INF/flex/mxml-manifest.xml

http://www.macromedia.com/2003/mxml";>
/WEB-INF/flex/mxml-manifest.xml


I've got Flex 1.5 jars(flex-bootstrap.jar). do i need to update any 
jars for flex 2.0? if so where can i get new jar files. I've 
installed flex2.0 builder on my system. I'll be thankful for the help 
on this. Thanks in advance.

-silpa









 Yahoo! Groups Sponsor ~--> 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM
~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/