Re: Connecting to site 127.0.0.1

2009-02-16 Thread Zed
I have the same problem, when using hosted mode - "Connecting to site 127.0.0.1" and nothing happens. Don't understand the reason, the problem appeared without any visible trigger and now returns all the time. It happens also when I run the server first time and after very long stay periods. Using

How to implement custom "find" methods in GWT+roo scaffolding app

2011-02-25 Thread Zed
Hellow everyone, I started to deal with GWT+roo scaffolding ap and found the idea very cool. Thank you guys! But I found it hard for me to understanf how to implement custom "find" methods like for example - findAllEmployeesByName. I looked all the documentations and it's written there that I

Re: How to implement custom "find" methods in GWT+roo scaffolding app

2011-03-01 Thread Zed
abstract Request> findAllEmployees(); abstract Request> findEmployeeEntries(int firstResult, int maxResults); abstract Request findEmployee(Long id); abstract InstanceRequest remove(); abstract InstanceRequest persist(); } Tell me please where I'm wrong? How to make fi

Re: How to implement custom "find" methods in GWT+roo scaffolding app

2011-03-01 Thread Zed
abstract Request> findAllEmployees(); abstract Request> findEmployeeEntries(int firstResult, int maxResults); abstract Request findEmployee(Long id); abstract InstanceRequest remove(); abstract InstanceRequest persist(); } Tell me please where I'm wrong? How to make fi

Re: How to implement custom "find" methods in GWT+roo scaffolding app

2011-03-02 Thread Zed
you don't want to explain just say am I right or not. If I can't use custom finder methods I just leave roo and do everything by hands. On 1 мар, 12:50, Zed wrote: > At the moment I moved forward. In ROO-931 its says us "At the moment > the gwt setup command generates request o

Re: How to implement custom "find" methods in GWT+roo scaffolding app

2011-03-03 Thread Zed
http://forum.springsource.org/showthread.php?t=104652 On 2 мар, 15:26, Zed wrote: > As far as I see no one is going to answer me. > I foundhttps://jira.springsource.org/browse/ROO-1595and if I got > them right there is NO custom finder methods available at this time > (it

External Images in CellTable cell

2011-03-11 Thread Zed
Hellow evreyone. Does anybody know how to add external Images in to the CellTable widget? (not Icons) If I do it directly in string renderer like public String render(java.lang.String obj) { return obj == null ? "" : ""; } Re: External Images in CellTable cell
Thanks, I've done it as follows (added new abstract class ImageColumn, don't know if it's the right way): table.addColumn(new ImageColumn() { Renderer renderer = new AbstractRenderer() { public String render(java.lang.String obj) { return obj == null ? "" : String.valu

GWT CellList custom template for Cell Items

By default CellList items rendered as column. I want to add float:Left style to each item. I want them to display as a row. But every my element in CellList is wrapped by CellList . So I want to customize that div style template. Is it possible? I found in CellList.class sources interface : inter

Re: GWT CellList custom template for Cell Items

Thanks it works now. I'm happy. On 25 мар, 18:07, Thomas Broyer wrote: > Override the CellList styles (pass an overridden CellList.Resource to the > constructor) to add the appropriate CSS properties to cellListEvenItem and > cellListOddItem. > I'd recommend using display:inline-block instead of