Re: What is the best way to render complex cell?

2010-11-29 Thread Konstantin Scheglov


 We plan to introduce UiBinder for Cells in a future version of GWT,
 hopefully GWT 2.2.  We want Cells to be a complete replacement for Widgets,
 but we realize that the potential for an HTML syntax error grows as the
 level of complexity of a Cell increases.  UiBinder for Cells should make it
 much easier to template Cells.

  Ah... Very good that you mentioned Cells.
  Are there also plans for CellTable Columns support?

  One of GWT Designer users asked if we will provide easier way to
generate form for displaying some entities in CellTable. With some
efforts we can do this in Java code, may be using special wizard, but
of course we should now also think about UiBinder.



 Thanks,
 John LaBanca
 jlaba...@google.com







 On Fri, Nov 26, 2010 at 1:01 PM, ailinykh ailin...@gmail.com wrote:
  Hello, everybody!
  I have CellList which contains custom cells. It's pretty close to Cell
  List example from show case, but my custom cell is more complicated.
  It has several images, several links and I want to handle clicks on
  images and links. Generating html code by overriding render method
  seems to very difficult and error prone. Is there a better way to do
  it? What I wish to have is implementing widget using UiBinder and then
  converting it into Cell.
  Is it possible?

  Thank you,
   Andrey

  --
  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.comgoogle-web-toolkit%2Bunsubs 
  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.



Re: What is the best way to render complex cell?

2010-11-29 Thread ailinykh
Good news.
Thank you,
  Andrey

On Nov 28, 6:22 pm, John LaBanca jlaba...@google.com wrote:
 We plan to introduce UiBinder for Cells in a future version of GWT,
 hopefully GWT 2.2.  We want Cells to be a complete replacement for Widgets,
 but we realize that the potential for an HTML syntax error grows as the
 level of complexity of a Cell increases.  UiBinder for Cells should make it
 much easier to template Cells.

 Thanks,
 John LaBanca
 jlaba...@google.com







 On Fri, Nov 26, 2010 at 1:01 PM, ailinykh ailin...@gmail.com wrote:
  Hello, everybody!
  I have CellList which contains custom cells. It's pretty close to Cell
  List example from show case, but my custom cell is more complicated.
  It has several images, several links and I want to handle clicks on
  images and links. Generating html code by overriding render method
  seems to very difficult and error prone. Is there a better way to do
  it? What I wish to have is implementing widget using UiBinder and then
  converting it into Cell.
  Is it possible?

  Thank you,
   Andrey

  --
  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.comgoogle-web-toolkit%2Bunsubs 
  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.



Re: What is the best way to render complex cell?

2010-11-29 Thread Stephen Haberman

 We plan to introduce UiBinder for Cells in a future version of GWT,
 hopefully GWT 2.2.

Sweet!

I was mulling that the flyweight-ness of cells would allow them to be
used within the static/no-iteration nature of ui.xml files.

The current API seems like it might need to change though--take
ActionCell, which takes the ActionCell.Delegate as a cstr parameter. If
UiBinder creates the ActionCell, it seems like a more traditional
ActionHandler would be easier to hook up after cell creation with
with @UiHandler or a cell.addActionlHandler method.

Unless ActionCells used provided=true I guess.

A HTMLPanel-ish cell would also be great.

 We want Cells to be a complete replacement for Widgets,

Interesting--only within iteration-based UI components (lists/tables),
or across the board?

- Stephen

-- 
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: What is the best way to render complex cell?

2010-11-28 Thread John LaBanca
We plan to introduce UiBinder for Cells in a future version of GWT,
hopefully GWT 2.2.  We want Cells to be a complete replacement for Widgets,
but we realize that the potential for an HTML syntax error grows as the
level of complexity of a Cell increases.  UiBinder for Cells should make it
much easier to template Cells.

Thanks,
John LaBanca
jlaba...@google.com


On Fri, Nov 26, 2010 at 1:01 PM, ailinykh ailin...@gmail.com wrote:

 Hello, everybody!
 I have CellList which contains custom cells. It's pretty close to Cell
 List example from show case, but my custom cell is more complicated.
 It has several images, several links and I want to handle clicks on
 images and links. Generating html code by overriding render method
 seems to very difficult and error prone. Is there a better way to do
 it? What I wish to have is implementing widget using UiBinder and then
 converting it into Cell.
 Is it possible?

 Thank you,
  Andrey

 --
 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.comgoogle-web-toolkit%2bunsubscr...@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.