swfupload with gwt
i am working out a multiple file upload module with gwt. the most available tool i can find is swfupload, however the samples provided seems to work with php platform only. the progress i am working is to create a HTML widget and embed the flash button , the select dialog prompts and allow multiple selection. however i have no idea how (or if it is possible) to post to server, get status response etc. gmail seems to do the same to embed the flash button for attaching files. can someone share experience about this? any samples? thanks. the object i am embedding is: -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
multi-file selection upload - swfupload can work with gwt?
i am working out a multiple file upload module with gwt (which can support multi-file selection). the most available tool i can find is swfupload, however the samples provided seems to work with php platform only. the progress i am working is to create a HTML widget and embed the flash button , the select dialog prompts and allow multiple selection. however i have no idea how (or if it is possible) to post to server, get status response etc. gmail seems to do the same to embed the flash button for attaching files. can someone share experience about this? any samples? thanks. the object i am embedding is: -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
multi-file selection upload - swfupload can work with gwt?
i am working out a multiple file upload module with gwt (which can support multi-file selection). the most available tool i can find is swfupload, however the samples provided seems to work with php platform only. the progress i am working is to create a HTML widget and embed the flash movie button object, the file-selection dialog prompts and allow multiple selection. however i have no idea how (or if it is possible) to post to server, get status response etc. gmail seems to do the same to embed the flash button for attaching files. can someone share experience about this? any samples? thanks. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: how to make this mouse over effect?
thanks so much! On 7月6日, 上午3時48分, Subhrajyoti Moitra wrote: > try this.. > > public class MyFlexTable extends FlexTable implements HasMouseOutHandlers, > HasMouseOverHandlers { > > public MyFlexTable() { > super(); > Button hiddenButton=new Button("I am hidden"); > hiddenButton.setVisible(false); > setWidget(0, 0, new Hyperlink("Some Link", "somelink")); > setWidget(0, 1, hiddenButton); > setBorderWidth(1); > setWidget(1, 0, new HTML("Some empty line..")); > getFlexCellFormatter().setColSpan(1, 0, 2);//just to see the mouse > rollover in other rows of the table. > > } > > @Override > public HandlerRegistration addMouseOutHandler(MouseOutHandler handler) { > // TODO Auto-generated method stub > return addDomHandler(handler, MouseOutEvent.getType()); > } > > @Override > public HandlerRegistration addMouseOverHandler(MouseOverHandler handler) > { > // TODO Auto-generated method stub > return addDomHandler(handler, MouseOverEvent.getType()); > } > > } > > and now from the client class, which will host this table. > > final MyFlexTable table=new MyFlexTable(); > table.addMouseOverHandler(new MouseOverHandler() { > > @Override > public void onMouseOver(MouseOverEvent event) { > table.getWidget(0, 1).setVisible(true); > > } > }); > table.addMouseOutHandler(new MouseOutHandler() { > > @Override > public void onMouseOut(MouseOutEvent event) { > table.getWidget(0, 1).setVisible(false); > > } > }); > > HTH. > > Thanks, > Subhro. > > > > On Mon, Jul 5, 2010 at 11:57 PM, cy dev wrote: > > i have a flextable where there an anchor link in cell(0,0), and there > > is a button in cell(0,1) which is invisible by default. how to make > > it such that, when mouse over the flextable, the button in cell(0,1) > > becomes visible; when mouse out the flextable, the button becomes > > invisible again? > > > the difficulty is, flextable does not have mouseover and mouseout > > handler. but if i add the flextable to a focuspanel, the anchor and > > the button would then be 'masked' by the focuspanel then cannot be > > clicked. > > > -- > > You received this message because you are subscribed to the Google Groups > > "Google Web Toolkit" group. > > To post to this group, send email to google-web-tool...@googlegroups.com. > > To unsubscribe from this group, send email to > > google-web-toolkit+unsubscr...@googlegroups.com > cr...@googlegroups.com> > > . > > For more options, visit this group at > >http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
how to make this mouse over effect?
i have a flextable where there an anchor link in cell(0,0), and there is a button in cell(0,1) which is invisible by default. how to make it such that, when mouse over the flextable, the button in cell(0,1) becomes visible; when mouse out the flextable, the button becomes invisible again? the difficulty is, flextable does not have mouseover and mouseout handler. but if i add the flextable to a focuspanel, the anchor and the button would then be 'masked' by the focuspanel then cannot be clicked. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
'gwtOnLoad' of object [object DOMWindow] is not a function
i've tried compiled my gwt project and run the project html in my pc, all ie, firefox and safari can open my page except google chrome displays a blank page. errors are displayed in the chrome console. anyone has solution to this? 3Unsafe JavaScript attempt to access frame with URL file:///C:/Users/me/workspace/my%20login/war/my_login.html from frame with URL file:///C:/Users/me/workspace/my%20login/war/my_login/8FB7DF6ED638C1B56A5E3F10B2F065A8.cache.html. Domains, protocols and ports must match. Unsafe JavaScript attempt to access frame with URL file:///C:/Users/me/workspace/my%20login/war/my_login/8FB7DF6ED638C1B56A5E3F10B2F065A8.cache.html from frame with URL file:///C:/Users/me/workspace/my%20login/war/my_login/8FB7DF6ED638C1B56A5E3F10B2F065A8.cache.html. Domains, protocols and ports must match. Uncaught TypeError: Property 'gwtOnLoad' of object [object DOMWindow] is not a function my_login/my_login.nocache.js:39 i tried remove the compiled files and compile again, cannot solve the problem... thanks. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
getAbsoluteTop() / getOffsetHeight() always return 0
i create a custom panel class which draws threads of messages inside. each message (several Labels) is wrapped in a FlowPanel. the flow panels are added to a LayoutPanel which i intend to do some animation. however, i failed to get neither the height nor the position of the flow panels through .getAbsoluteTop()/.getOffsetHeight(). they always return 0 so i cant arrange the positions of the flow panels. may someone help to tell me how the position can be caught with the following codes? class MessageReply extends Composite { private LayoutPanel lpanel = new LayoutPanel(); public MessageReply(){ initWidget(lReplyPanel); FlowPanel fpanel = new FlowPanel(); fpanel.add(new Label("test message")); lReplyPanel.add(fpanel); int textHeight = fpanel.getOffsetHeight(); // i need this height to put the flow panel to correct position but it always return 0 } } -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
does one gwt project support one corresponding html only?
can it support two or more html in the same project? else i need to create one gwt project for one html? thanks. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
is one gwt project for one html only?
can one gwt project support more than one html? how to do this? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.