Currently, I am working on a Vaadin web application project in Netbeans. Recently, I looked into using the ExpandingTextArea addon, which ended up running into an unfortunate compilation error.
Apparently, the Property class in com.vaadin.data was missing. After searching through my dependencies, I found the com.vaadin.data package in my vaadin-server jar, and as expected, property was missing.
https://vaadin.com/api/7.7.6/com/vaadin/data/Property.html indicated that Property has been present since version 3.0, and as the URL indicates, it's been present up to 7.7.6.
Unfortunately, I am using 8.4.2; looking at https://vaadin.com/framework/releases, no versions between 8.4.2 and 8.5.0 (the most up-to-date version) contain Property (I installed the vaadin-server.jar's and then looked inside each one).
I'm thinking about making a Vaadin 8 version of ExpandingTextArea.
As such, is there some alternative to Property in Vaadin 8 that I could use?
Related
I have a grails application with multiple internally developed plugins. Since upgrading from 4.x to 5.2.3, codecs are not found in one plugin, but are found in others. Specifically, I can place the same file (UsernameListCodec.groovy, package name changed from one plugin to the next but otherwise no changes) in grails-app/utils in one plugin and it works; when placed in grails-app/utils in another plugin it fails with MissingMethodException.
What could cause this? The plugins are fairly different in terms of what they provide, but very similar in terms of how they're built, published, etc. Clearly this is something I'm doing wrong (since the codec works in another plugin) but I don't even know where to begin looking. Does a plugin need to do something in particular to be able to provide custom codecs as of grails 5?
We are building a web app with Vaadin 19 Fusion, and I'm following this tutorial:
https://vaadin.com/docs/latest/fusion/security/spring-login
(I have selected the V19+ Docs and then Fusion)
In the tutorial there is a reference to VaadinWebSecurityConfigurerAdapter which is used for setting up the security with Spring, but this class is not available on the classpath. I have tried downloading a plain starter project (v19) from start.vaadin.com, and here I am also not able to use VaadinWebSecurityConfigurerAdapter.
Is there an alternative in v19 or am I missing a dependency? I have the same dependency tree as the starter project, so I was assuming the pom is correct.
It looks like the VaadinWebSecurityConfigurerAdapter will end up in V20, which is scheduled for release in June.
The documentation page you linked has a tag V20 pre-release at the top. This could certainly be made more visible.
Can someone please explain me the difference between Xamarin.Android.Support.V7.AppCompat and Xamarin.Android.Support.Compat?
I totally get why we have to use Xamarin.Android.Support.V7.AppCompat. This is basically to support old verison of Android OS.
I have this reference in my android project but after installing Xamarin.Essentials nuget package, I get the following error:
java.lang.IllegalArgumentException: already added : Landroid/support/annotation/AnimRes
Also after installing Xamarin.Essentials nuget package, my project references Xamarin.Android.Support.Compat library. I am not sure if both the libraries(V7Compat and Compat) needs to be there on my project or should I get rid of the V7Compat library.
Just not sure if I should remove V7AppCompat nuget package from my project?
The Xamarin.Android.AppCompat is just what it says. It is a library for App Compatibility for backward compatibility for previous versions of Android. AppCompat should add the functionality of the latest API to older APIs when needed. For instance, lollipop added the CardView class, which can be used in older Android APIs when AppCompat is used, with some minor differences (some of the Android L animations may not apply on older versions of Android for example).
And more specifically this version (v7) brings support for Action Bar support.
It is recommended to use AppCompat in most cases since more users will be able to run your app when you do (depending on your MinSdkVersion).
If you want to know what classes you can access in AppCompat, you can take a look at the features here:
https://developer.android.com/topic/libraries/support-library/features.html
Besides, after I installed Xamarin.Android.Support.V7.AppCompat,I could install Xamarin.Essentials nuget package normally.
I have no problem in Google Play services. the thing is I can't build for Xcode because I'm using the Unity Google Play Services plugin. I don't plan on using iOS. I read that I have to put NO_GPGS on Scripting Define Symbols but it gives me this error
error CS0246: The type or namespace name 'TokenClient' could not be found. Are you missing a using directive or an assembly reference?
thanks in advance
According to the official github issues page (https://github.com/playgameservices/play-games-plugin-for-unity/issues/689) they have fixed this issue in the latest release (released 10 hours ago as I write this) which is 0.9.25. You may need to delete the old plugin before installing this one. Just delete the Assets/GooglePlayGames folder and any lingering google files in your Assets/Editor and Assets/Plugins/Android folders. Maybe back up first as well, if you don't use source control.
The issues page used to be dormant but they seem to be actively responding to questions these days.
IDEA 11.1.2
I have a Grails app I need to upgrade. The application consists of several modules. One being the application and a few others being plugins. I right clicked on the application and went to Grails -> Change SDK Version. I chose the version I wanted, then IDEA asked me if I wanted to upgrade the application. Clicked yes and all was good.
I've been trying to do the same thing on the plugin modules. IDEA never asks if I want to upgrade and it doesn't appear to change the SDK. If I upgrade the modules from the command line, when I come back to IDEA, it thinks there is a version mismatch and automatically downgrades me without even asking.
Is there a workaround for this?
It worked for me in this IDEA version. Make sure that you change Grails version in application.properties of all plugins:
app.grails.version=2.1.0
Then right-click on every module (plugin), Grails, Change SDK version. It should be changed already.
Have exactly same problem - app + plugins wich requires different SDK (for testing).
After some investigation found that it's an IntelliJ IDEA bug IDEA-114418. So, I think, it will be good if you'll vote for this bug there too.
I also had the same bug. I took extreme measures to rectify it.
I deleted the old grails from the Global Libraries. Go to file>Project Structure > Global Libraries . It should complain that this is used by a module.
Then I had to add grails framework support, but added the new one.