Re: GWT 2.5-rc1 feature uirender is not working as expected.

2014-11-29 Thread पांडुरंग पाटिल
try using the same variable name which is being passed to render method of
UiRenderer interface as well as when you define the  inside
.ui.xml refer below highlighted code in RED colour.

  interface PlayCellBinder extends UiRenderer {
void render(SafeHtmlBuilder sb, PlayCellProxy *myCellRenderer*);
  }





[image: Pandurang Patil on about.me]

Pandurang Patil
about.me/pandurangpatil

website: http://www.agnie.net
twitter: @agniesoftware
Cell : +91-9823241535

On Fri, Nov 28, 2014 at 8:27 PM, Aleksey Popryadukhin 
wrote:

> Thank you for answer.
>
> Sorry for response delaying I tried to get GWT 2.8-SNAPSHOT.
>
> I have such code:
> PlayCell.java
>
> public class PlayCell extends AbstractCell {
>
>   private static final PlayCellBinder cellRenderer = 
> GWT.create(PlayCellBinder.class);
>
>   interface PlayCellBinder extends UiRenderer {
> void render(SafeHtmlBuilder sb, PlayCellProxy myCellRenderer);
>   }
>
>   @Override
>   public void render(Context context, PlayCellProxy value, SafeHtmlBuilder 
> sb) {
> if (value == null) {
>   return;
> }
> cellRenderer.render(sb, value);
>   }
>
> }
>
>
> PlayCell.ui.xml
>
>
> 
>  type="net.rushashki.shashki64.client.cell.renderer.PlayCellProxy"/>
>
> 
> 
> Title:
> 
> 
> Player:
> 
> 
> 
>
>
> PlayCellProxy.java
>
> public class PlayCellProxy {
>
>   private PlayDto playDto;
>
>   public PlayCellProxy(PlayDto playDto) {
> this.playDto = playDto;
>   }
>
>   public String getTitle() {
> return playDto.getTitle();
>   }
>
>   public String getWhitePlayer() {
> return playDto.getWhitePlayer();
>   }
>
>   public String getBlackPlayer() {
> return playDto.getBlackPlayer();
>   }
>
>   public String getDeskHtml() {
> return playDto.getDeskHtml();
>   }
>
> }
>
>
> With such code page is rendered. But fields of playCellProxy are empty.
>
> четверг, 27 ноября 2014 г., 10:06:04 UTC+3 пользователь Vasu написал:
>>
>> you need to provide your code snippets which will enable us to help you.
>>
>> [image: Pandurang Patil on about.me]
>>
>> Pandurang Patil
>> about.me/pandurangpatil
>> 
>> website: http://www.agnie.net
>> twitter: @agniesoftware
>> Cell : +91-9823241535
>>
>> On Wed, Nov 26, 2014 at 12:15 AM, Aleksey Popryadukhin 
>> wrote:
>>
>>> Hi all.
>>>
>>> I'm see this old topic but I stuck with this problem. I tried to remove
>>> the type tag but I'm getting an error anyway in compile time. @UiFactory
>>> either not working. Any clue?
>>>
>>> четверг, 26 июля 2012 г., 15:26:22 UTC+3 пользователь Vasu написал:

 Woow.. really quick thanks Rodrigo. Also would like to thanks Thomas
 for giving right direction.

 On Thursday, 26 July 2012 02:41:03 UTC+5:30, Rodrigo Chandia wrote:
>
> I think this patch (under review) fixes this issue:
>
> http://gwt-code-reviews.appspot.com/1794803
>
> On Tuesday, July 24, 2012 3:27:29 PM UTC-4, Rodrigo Chandia wrote:
>>
>> Hmm, this seems like a bug to me. Hopefully I'll have a fix ready for
>> rc2.
>>
>>
>> On Mon, Jul 23, 2012 at 11:11 PM, Vasu wrote:
>>
>>>
>>> Yea  you are absolutely right. It worked when I removed type
>>> attribute from  tag. I was wondering it has to identify type 
>>> to
>>> call respective methods on the same and I realized that it tries to 
>>> match
>>> the variable name with that of name of the parameter to render method
>>> (which I marked in blue color in below code).
>>>
>>> 
>>> 
>>> --
>>> interface MyUiRenderer extends UiRenderer {
>>> void render(SafeHtmlBuilder sb, *Person person*);
>>> }
>>> 
>>> --
>>>
>>>
>>>
>>> So Finally working code looks like this.
>>>
>>>
>>> PersonCell.java
>>> 
>>> 
>>> --
>>>
>>>
>>> public class PearsonCell extends AbstractCell {
>>>
>>>
>>> interface MyUiRenderer extends UiRenderer {
>>> void render(SafeHtmlBuilder sb, Person person);
>>>
>>> }
>>>
>>> private static MyUiRendererrenderer=
>>> GWT.create(MyUiRenderer.class);
>>>
>>> @Override
>>> public void render(com.google.gwt.cell.client.Cell.Context
>>> context, Person value, SafeHtmlBuilder sb) {
>>> renderer.render(sb, value);
>>> }
>>>
>>> }
>>>
>>> ---

Re: GWT 2.5-rc1 feature uirender is not working as expected.

2014-11-26 Thread पांडुरंग पाटिल
you need to provide your code snippets which will enable us to help you.

[image: Pandurang Patil on about.me]

Pandurang Patil
about.me/pandurangpatil

website: http://www.agnie.net
twitter: @agniesoftware
Cell : +91-9823241535

On Wed, Nov 26, 2014 at 12:15 AM, Aleksey Popryadukhin 
wrote:

> Hi all.
>
> I'm see this old topic but I stuck with this problem. I tried to remove
> the type tag but I'm getting an error anyway in compile time. @UiFactory
> either not working. Any clue?
>
> четверг, 26 июля 2012 г., 15:26:22 UTC+3 пользователь Vasu написал:
>>
>> Woow.. really quick thanks Rodrigo. Also would like to thanks Thomas for
>> giving right direction.
>>
>> On Thursday, 26 July 2012 02:41:03 UTC+5:30, Rodrigo Chandia wrote:
>>>
>>> I think this patch (under review) fixes this issue:
>>>
>>> http://gwt-code-reviews.appspot.com/1794803
>>>
>>> On Tuesday, July 24, 2012 3:27:29 PM UTC-4, Rodrigo Chandia wrote:

 Hmm, this seems like a bug to me. Hopefully I'll have a fix ready for
 rc2.


 On Mon, Jul 23, 2012 at 11:11 PM, Vasu wrote:

>
> Yea  you are absolutely right. It worked when I removed type
> attribute from  tag. I was wondering it has to identify type to
> call respective methods on the same and I realized that it tries to match
> the variable name with that of name of the parameter to render method
> (which I marked in blue color in below code).
>
> 
> 
> --
> interface MyUiRenderer extends UiRenderer {
> void render(SafeHtmlBuilder sb, *Person person*);
> }
> 
> --
>
>
>
> So Finally working code looks like this.
>
>
> PersonCell.java
> 
> 
> --
>
>
> public class PearsonCell extends AbstractCell {
>
>
> interface MyUiRenderer extends UiRenderer {
> void render(SafeHtmlBuilder sb, Person person);
>
> }
>
> private static MyUiRendererrenderer=
> GWT.create(MyUiRenderer.class);
>
> @Override
> public void render(com.google.gwt.cell.client.Cell.Context
> context, Person value, SafeHtmlBuilder sb) {
> renderer.render(sb, value);
> }
>
> }
>
> 
> 
> --
>
> PersonCell.ui.xml
> 
> 
> --
>
> 
> 
>
> 
> First Name :
> 
> 
> 
> 
> Last Name :
> 
> 
> 
> 
> 
> Email :
> 
> 
> 
> 
> 
> 
> 
> 
> --
>
> Thanks Thomas for your valuable inputs. Without that it would have
> been painful to identify the issue.
>
> Thanks,
> -Pandurang.
>
>
> On Thursday, 19 July 2012 13:34:11 UTC+5:30, Thomas Broyer wrote:
>>
>>
>>
>> On Thursday, July 19, 2012 5:36:13 AM UTC+2, Vasu wrote:
>>>
>>> Yes you were right, it is instantiating new Person object. But if I
>>> try to set Type to empty string validation fails and I cannot run the
>>> application.
>>
>>
>> I didn't mean to set it to the empty string, but to not use the
>> attribute: 
>>
>   --
> You received this message because you are subscribed to a topic in the
> Google Groups "Google Web Toolkit" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/google-web-toolkit/TWYcWRfICXk/unsubscribe
> .
> To unsubscribe from this group and all its topics, send an email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> Visit this group at http://groups.google.com/group/google-web-toolkit.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an e

GWT Wrapper for CodeMirror

2014-09-13 Thread पांडुरंग पाटिल
Hi All,
 I tried multiple GWT wrappers for CodeMirror how ever I didn't find
anything which is quite good for use. So Initiated new project
gwt-codemirror with base sample for each feature with minimum required
features. Please feel free to use the same and enhance it.
https://github.com/Agnie-Software/gwt-codemirror




[image: Pandurang Patil on about.me]

Pandurang Patil
about.me/pandurangpatil

website: http://www.agnie.net
twitter: @agniesoftware
Cell : +91-9823241535

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: GWT wrapper on top of YouTube

2014-04-02 Thread पांडुरंग पाटिल
Its my pleasure to see it is useful for somebody.

--
Regards,
Pandurang Patil
website: http://www.pandurangpatil.com/



On Thu, Apr 3, 2014 at 5:39 AM, Segun Razaq Sobulo
wrote:

> Cool. Embedding youtube video in the player was straightforward. JSNI
> comments also made it easy to get it to not show related videos, the
> comments in the jsni file are helpful. Event handlers also seem to work
> fine, not using it currently but could see from the GWT.log files that it
> tracks pause, play, stopped etc states. Thanks again.
>
>
> On Wednesday, 2 April 2014 17:09:45 UTC+1, Vasu wrote:
>
>> There was version change. I missed to push my last change, fixed it now.
>>
>> --
>> Regards,
>> Pandurang Patil
>> website: http://www.pandurangpatil.com/
>> Cell : +91-9823241535
>>
>>
>> On Wed, Apr 2, 2014 at 8:18 PM, Segun Razaq Sobulo <
>> sob...@fertiletech.com> wrote:
>>
>>>  ok mvn clean install seems to do the trick. FYI the test build failed.
>>>
>>> I don't use maven in my projects, just. All I need
>>> is gwt-youtube-player-1.0.jar right?  i.e. no other dependencies.
>>>
>>> [INFO] Reactor Summary:
>>> [INFO]
>>> [INFO] GWT maven helper .. SUCCESS [
>>> 22.500 s]
>>> [INFO] gwt-youtube-player  SUCCESS
>>> [01:27 min]
>>> [INFO] gwt-youtube-test .. FAILURE [
>>>  3.935 s]
>>> [INFO] 
>>> 
>>> [INFO] BUILD FAILURE
>>> [INFO] 
>>> 
>>> [INFO] Total time: 01:54 min
>>> [INFO] Finished at: 2014-04-02T15:33:16+01:00
>>> [INFO] Final Memory: 15M/120M
>>> [INFO] 
>>> 
>>> [ERROR] Failed to execute goal on project gwt-youtube-test: Could not
>>> resolve dependencies for project open.pandurang.gw
>>> t:gwt-youtube-test:war:1.0: Could not find artifact
>>> open.pandurang.gwt:gwt-youtube-player:jar:0.1 in central (http://rep
>>> o.maven.apache.org/maven2) -> [Help 1]
>>> [ERROR]
>>>
>>> On Wednesday, 2 April 2014 15:30:03 UTC+1, Segun Razaq Sobulo wrote:

 Is there a jar available for download? if not what are instructions on
 how to build the jar?

 On Sunday, 23 March 2014 10:21:51 UTC+1, Vasu wrote:
>
> I tried multiple GWT libraries for YouTube player but kept on getting
> multiple issues. So I end up writing one GWT wrapper on top of YouTube
> Iframe api. Check it here https://github.com/pandur
> angpatil/gwt-youtube if someone want to use it.
>
  --
>>> You received this message because you are subscribed to a topic in the
>>> Google Groups "Google Web Toolkit" group.
>>> To unsubscribe from this topic, visit https://groups.google.com/d/
>>> topic/google-web-toolkit/na_rr69UMko/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to
>>> google-web-toolkit+unsubscr...@googlegroups.com.
>>> To post to this group, send email to google-we...@googlegroups.com.
>>>
>>> Visit this group at http://groups.google.com/group/google-web-toolkit.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>  --
> You received this message because you are subscribed to a topic in the
> Google Groups "Google Web Toolkit" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/google-web-toolkit/na_rr69UMko/unsubscribe
> .
> To unsubscribe from this group and all its topics, send an email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> Visit this group at http://groups.google.com/group/google-web-toolkit.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: GWT wrapper on top of YouTube

2014-04-02 Thread पांडुरंग पाटिल
There was version change. I missed to push my last change, fixed it now.

--
Regards,
Pandurang Patil
website: http://www.pandurangpatil.com/
Cell : +91-9823241535


On Wed, Apr 2, 2014 at 8:18 PM, Segun Razaq Sobulo
wrote:

> ok mvn clean install seems to do the trick. FYI the test build failed.
>
> I don't use maven in my projects, just. All I need
> is gwt-youtube-player-1.0.jar right?  i.e. no other dependencies.
>
> [INFO] Reactor Summary:
> [INFO]
> [INFO] GWT maven helper .. SUCCESS [
> 22.500 s]
> [INFO] gwt-youtube-player  SUCCESS [01:27
> min]
> [INFO] gwt-youtube-test .. FAILURE [
>  3.935 s]
> [INFO]
> 
> [INFO] BUILD FAILURE
> [INFO]
> 
> [INFO] Total time: 01:54 min
> [INFO] Finished at: 2014-04-02T15:33:16+01:00
> [INFO] Final Memory: 15M/120M
> [INFO]
> 
> [ERROR] Failed to execute goal on project gwt-youtube-test: Could not
> resolve dependencies for project open.pandurang.gw
> t:gwt-youtube-test:war:1.0: Could not find artifact
> open.pandurang.gwt:gwt-youtube-player:jar:0.1 in central (http://rep
> o.maven.apache.org/maven2) -> [Help 1]
> [ERROR]
>
> On Wednesday, 2 April 2014 15:30:03 UTC+1, Segun Razaq Sobulo wrote:
>>
>> Is there a jar available for download? if not what are instructions on
>> how to build the jar?
>>
>> On Sunday, 23 March 2014 10:21:51 UTC+1, Vasu wrote:
>>>
>>> I tried multiple GWT libraries for YouTube player but kept on getting
>>> multiple issues. So I end up writing one GWT wrapper on top of YouTube
>>> Iframe api. Check it here https://github.com/pandurangpatil/gwt-youtubeif 
>>> someone want to use it.
>>>
>>  --
> You received this message because you are subscribed to a topic in the
> Google Groups "Google Web Toolkit" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/google-web-toolkit/na_rr69UMko/unsubscribe
> .
> To unsubscribe from this group and all its topics, send an email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> Visit this group at http://groups.google.com/group/google-web-toolkit.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: GWT wrapper on top of YouTube

2014-04-02 Thread पांडुरंग पाटिल
You can download it from this link

https://github.com/pandurangpatil/pandurang-mvn-repo/raw/master/releases/open/pandurang/gwt/gwt-youtube-player/1.0/gwt-youtube-player-1.0.jar

--
Regards,
Pandurang Patil
website: http://www.pandurangpatil.com/
Cell : +91-9823241535


On Wed, Apr 2, 2014 at 8:00 PM, Segun Razaq Sobulo
wrote:

> Is there a jar available for download? if not what are instructions on how
> to build the jar?
>
>
> On Sunday, 23 March 2014 10:21:51 UTC+1, Vasu wrote:
>>
>> I tried multiple GWT libraries for YouTube player but kept on getting
>> multiple issues. So I end up writing one GWT wrapper on top of YouTube
>> Iframe api. Check it here https://github.com/pandurangpatil/gwt-youtubeif 
>> someone want to use it.
>>
>  --
> You received this message because you are subscribed to a topic in the
> Google Groups "Google Web Toolkit" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/google-web-toolkit/na_rr69UMko/unsubscribe
> .
> To unsubscribe from this group and all its topics, send an email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> Visit this group at http://groups.google.com/group/google-web-toolkit.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.