Hi I am currently using ExtJS 4.2 and Siesta testing framework. In my test case I look up/traverse a component tree using Ext.ComponentQuery.query. I had to go back to ExtJS 3.4 and was wondering if there is an equivalent to Ext.ComponentQuery.query(other than DomQuery) that lets you search/traverse components.
i think, "Ext.Element.query" would be helpful.
it uses css selector internally...
I recently encountered the same issue as you, the solution I found was using Ext.Element.Select('selector')[0]
Related
We've recently upgraded from ASP.NET Core 1.0 to 3.1.
And in our code we're using the interface INodeServices and call its InvokeAsync method to activate some JavaScript library. After the upgrade to Core 3.1 the compiler complains that INodeServices is obsolete and should be replaced with 'Microsoft.AspNetCore.SpaServices.Extensions', but I couldn't find any type within this library that I could use instead of INodeServices, and I also coudn't find any documentation about it. What is the replacement for INodeServices.InvokeAsync in ASP.NET Core 3.1?
Thanks,
ashilon
Consider using this library instead https://github.com/JeringTech/Javascript.NodeJS
For more detailed informations and to see what other people did, i suggest you give a look at this thread https://github.com/dotnet/AspNetCore/issues/12890
I'm using Play framework 2.2.x and I'm looking for some plugin/lib for generating PDF.
I found this plugin:
https://github.com/joergviola/play20-pdf,
but it's for Java and is not supported already
Do u know some repository with this library? Or some alternatives for Scala and Play Framework?
=== Update
I found some fork, but still no working repository
https://github.com/alias1/play2pdf
Try this one https://github.com/Kaliber/scala-pdf. It is really easy to use, and you can define your own css or even use bootstrap.
This seems to be a very good solution : https://github.com/cloudify/sPDF
Otherwise, I highly recommend http://www.html2pdf.it/
Well javascript can be easy solution . You can use jspdf .
Since I am already implementing the old version of mongodb from alexbilbie, but the current mongoDB driver newer than 1.3 for php is not compatible anymore except I am migrating to alexbilbie’s new library called mongoQB, anyone has experience with that or could give a sample procedure to integrate this mongoQB to codeigniter? I am scratching my head currently…
I know I could also use a native implementation of mongoDB to php but I have already made many models based on alexbilbie’s old version and it would be better for me to change syntax names than to rewriting all the models
I have forked mongoqb and modified it a bit to integrate it with codeigniter. You can find the library here mongoci
I'm trying to create a RichTextArea (following the GWT Showcase : link )
When I do a code completion of RichTextToolbar, I'm not able to find it. Is this an external library?
And then I googled and found this : google code link. Is this the same library in the Google Showcase? Or is the RichTextToolbar is an old implementation that not being brought to version 2.3?
Update:I tested this and what I feel is although the implementation the same, the UI looks different though.
It seems that they created their own version of RichTextToolbar.
This class is part of the GWT Showcase.
Here is a decent explanation to get the RichTextToolbar working. You take the source code from showcase basicaly.
http://www.jeanhsu.com/2010/06/10/how-to-use-richtexttoolbar-in-gwt/
Do you know where i can find some code examples for the new GWT 2.1 RequestFactory? Google's tutorial is not good enough to begin with.
please check this
http://javaasylum.blogspot.com/2010/11/gwt-21-request-factory.html
and from googler :
https://wave.google.com/wave/?pli=1#restored:wave:googlewave.com!w%252BWU4iAICkI.1
And written in 2011 there are these tutorials which use ServiceLocators and show how to split the server side code using DAOs.
http://cleancodematters.wordpress.com/2011/06/04/tutorial-gwt-request-factory-part-i/
http://turbomanage.wordpress.com/2011/03/25/using-gwt-requestfactory-with-objectify/
Have a look at the DynaTableRf sample from a GWT 2.1 distribution.
Here is the Simple example for Gwt Request Factory...
code is here
AND WORKING URL IS
here