I have
project with spring boot(web + thymeleaf)
Idea 2016.3.1
Ubuntu
And I see that I should have code completion for thymeleaf in html files but I dont have it
https://www.jetbrains.com/help/idea/2016.3/thymeleaf.html
I also tried to Under Additional Libraries and Frameworks, select the Thymeleaf check box and also Web Application check box.
but is still doesnt work(code completion for spring model attributes). Does any one have same problem?
If I understood your question correctly then many users actually have this problem.
From the Jetbrains website:
https://youtrack.jetbrains.com/issue/IDEA-132738
Unfortunately this bug is the result of multiple interdependent problems (Spring Boot autoconfig model, upgrade/extension of existing Spring MVC ), each of which needs to be adressed in order to make this fully working. We're working towards a solution for 2016.x and will make results available in Early Access Program ASAP. Thanks for your understanding.
Related
While developping with Thymeleaf, I spotted the HTML5 Validation Dialect under the Community Dialects at the Thymeleaf website.
But now I'm currently integrating it, I found out this dialect is unfortunately not compatible with Thymeleaf 3 because it extends org.thymeleaf.dialect.AbstractXHTMLEnabledDialect which can't be found anymore in thymeleaf-3.0.2.RELEASE.jar
Indeed, someone requested support on 2016-09-22: https://sourceforge.net/p/html5valdialect/tickets/11/
Otherwise, I spotted someone who forked the dialect, but to no avail (because despite some pom.xml dependency updates, it stills extends that AbstractXHTMLEnabledDialect class)
https://stackoverflow.com/a/29758466/666414
Does anyone has a hint to something alternative?
Thanks.
I forked the "Thymeleaf Html 5valdialect",
and updated it to support Thymeleaf 3.
Please take a look.
https://github.com/masa-kunikata/html5valdialect
Two years ago I developed an admin panel using winFroms that is used to configure different settings for specific users, create/remove users etc. This information is retrieved and saved to a SQL Database server.
I want to make this panel accessible through web browsers. I already have a REST API that will communicate with the database.
My question is: which technologies are the best to make this panel?
I've come across WebForms, MVC, HTML with Angular, jQuery etc., or with SPA.
I would appreciate it if someone can enlighten me with this matter. I know its not really a specific programmatic question, but there are so many different approaches that is difficult to find the right or best way.
I guess you already know a lot of .NET so if I was you I would just use a WebForms or MVC project and then call some jQuery on the api to handle the CRUD operations. But if you wanna try something completely new then use Angular.
Having tried to use the example for php/mysql at http://jstree.com/demos I have realized that I needed extra functionality and as well noticed that this works only with PHP 5 due to some errors that Firebug was prompting for the output. I then started to look for more documentation on jstree and found in here someone suggesting to review the example on the following page:
http://luban.danse.us/jazzclub/javascripts/jquery/jsTree/reference/_examples/7_full.html
I did find it very close to what I need for a personal project, however the example is fixed for one DB interaction from what I was able to see in the core dependencies (full/script.js). I'm trying to port this example to PHP 5, but at the moment just would like to know if there is a possibility to extend this to use new plugins such as 'checkbox' even-though this is an earlier version.
I've posted this question in the forums to see if there is any possibility to recreate a PHP/mySQL example using the 'contextmenu' and as well the options at the top of the panel, but since this apparently is not supported by what I was able to understand from the documentation, I thought perhaps someone have tried something similar to this?
Thanks in advance,
JP-
I am getting started researching / creating a groovy portlet that will connect to a REST based ESB service that returns JSON; I will also need to pass the username in the headers. I was wondering if there are any examples out there on how to create the portlet and set the headers? I am new to groovy and from what I understand this can be accomplished rather easily. Essentially I want a portlet that will allow a user to search for a widget via a search box and return a list of matches. Not sure that it matters but the portlet will be deployed to the Vignette Portal. Any info would be much appreciated!
Thanks in Advance!
Doing a portlet with Java/Groovy is very doable with Spring Portlet MVC. I used some sample code from various sources a year ago but googling on it will give you more modern examples and let you pick something more applicable to your app. The real issue comes up with how you plan on building your app. Gradle is the best option for writing a Groovy web app.
However if you are talking about using Grails, then it becomes much more difficult and I would not advise learning Grails as you are trying to get it jammed into a 'portal' implementation. There are plugins for Liferay and 'portlets' in Grails but when I last looked at them earlier this year, they did not seem fully baked.
Calling REST based services with JSON or whatever from your server code doesn't have to care that you are in a 'portal'. The big issues comes up when you are trying to create the UI with your portal provider specific APIs. Don't be fooled into thinking you won't be using portal specific stuff. We used Liferay a bit and from my perspective the Portlet spec was very slim so to do much of anything interesting in a portal, you have to use some portal specific stuff, at least for UI and authentication services.
So my suggestion is build a Gradle Groovy Web project and use the Spring Portlet MVC Java examples to get something going and then you can simplify with Groovy as it makes sense. Initially you might want to simply start with Java if that is your comfort zone because integrating with your portal might be daunting enough without trying to learn a new language to boot.
I am want to use a Telerik RadTextBox inside a MultiView in ASP.NET 2.0. Just dragging a RadTextBox into a view and running the page generates a run-time error of the good old favorite "Object reference nto set to an instance of an object". It seems to be breaking on the Telerik.WebControls.RadInputControl.SaveViewState() call.
Has anyone any ideas on how to get this to work?
Thanks!
This happened to be an issue with RadInput for ASP.NET in one of my previous projects at some point. I got latest from the Telerik site and the exception was gone.
Btw, I switched to the ASP.NET AJAX version of the control already and encourage you to try it out. It is more advanced and have RadInputManager as an addition to speed up the performance when having many textboxes on the page.
Dick