im getting error : Consider defining a bean of type 'com.example.test.backend.repository.CompanyRepository' in your configuration.
@barney3142 Жыл бұрын
In grid.setColumns("firstName", "lastName", "email", "status"); can we somehow use the entity's fields to link it? I'm asking because if we changed the entity this would break easily.
@trdngy82303 жыл бұрын
Why muss we remove the key "company" first? I mean why the following implementation does not work grid.setColumns("firstName", "lastName", "email", "status"); grid.removeColumnByKey("company"); it shows the error "...The column with key 'company' is not part of this Grid"
@vaadinofficial3 жыл бұрын
In your example, you have explicitly set the columns to not include "company", so removing it will not work. In the tutorial, company gets automatically added because it's using `new Grid(Contact.class)`. In this case, we want to override the autogenerated column with a custom one, and want to remove the autogenerated one.
@RebecaOprea-kj1tf2 жыл бұрын
Where can you see the users you added?
@AhmadRajab4 жыл бұрын
im getting an error Description: Parameter 0 of constructor in org.vaadin.example.service.ContactService required a bean of type 'org.vaadin.example.backend.repositoryContactRepository' that could not be found. Action:
@vaadinofficial4 жыл бұрын
It seems you're missing a dot before ContactRepository in `org.vaadin.example.backend.repositoryContactRepository`
@FiruzzZ-7774 жыл бұрын
great tutorial, but could u fix the list (order) of videos, when I press next from this one it jumps to the #10, the #10 jumps to #5 and so on...
@vaadinofficial4 жыл бұрын
Thanks for the heads up, we'll take a look at why that's happening
@vaadinofficial4 жыл бұрын
The videos seem to be in the correct order in the playlist and the in-video link at the end of this video is pointing correctly to the next video. Where are you pressing next when you are ending up in the wrong video? So we can look into what's causing it.
@FiruzzZ-7774 жыл бұрын
@@vaadinofficial I didn't access through the playList, I came directly to #6, so I guess the "next" in this way is a suggestion from KZbin and not related to any playlist. Sorry for the misunderstood.
@nayankumarbn37093 жыл бұрын
What i have actualy did was after implementing the one which shown on this video, i had created a tab while switching to employee it will show employee details and while awitching to company in tab it shows company details. Iam facing an nullpointer exception while switching the company tab it says CompanyService.findAll() is nulk do any one know what might be the issue #vaadinofficial
@lumea-arboris4 жыл бұрын
This is amazing. Thank you very much, this is an amazing technology
@rashvitpatel92694 жыл бұрын
I am getting nullpointer exception in updateList something related to autowiring of service please help me I am using eclipse
@vaadinofficial4 жыл бұрын
Autowiring is a part of Spring, so it works the same regardless of the IDE you use. Please check your code against the finished source code here and see if you can spot the issue: github.com/vaadin-learning-center/crm-tutorial
@rashvitpatel92694 жыл бұрын
@@vaadinofficial ok sir till now I have done upto this video and I tried autowiring services as well as repos inside the services but still getting the same null pointer exception. I will look into the github code and proceed from there
@Muescha4 жыл бұрын
i 50% when i run "build application" i get an Error: "Could not navigate to '' Reason: Couldn't find route for '' Available routes: This detailed message is only shown when running in development mode." is there any solution for this?
@Muescha4 жыл бұрын
i found that adding `@SpringBootApplication(scanBasePackages = {"com.vaadin"})` to the `Application` class seems to work
@Muescha4 жыл бұрын
more possible settings i found here: github.com/spring-projects/spring-boot/issues/18109
@Muescha4 жыл бұрын
i think it would be nice to add `scanBasePackages` to the tutorial, so beginners are not have this error
@lauraarias3164 жыл бұрын
This is really helpful, thank you!
@vaadinofficial4 жыл бұрын
Thank you for your feedback. Great to hear that 😊
@Muescha4 жыл бұрын
where exactly was this info about the library reload?
@volkerbechtel87623 жыл бұрын
nice tutorial, thanks ! For me it's the best tutorial in this technology sector, very amazing for getting in, thanks ! But some question: I added (for getting experience) an amount field in the contact entity (BigDecimal) , but can't render it in the grid with grid.addColumn("amount").setRenderer(new NumberRenderer((ValueProvider) new DecimalFormat("$ #,##0.00"))); what do i wrong ? Thanks !
@luisluiscunha3 жыл бұрын
I simply don't understand why only Vaadin is worried with allowing Java developers to be able to make fullstack development in such a clean and simple way. This is like Swing for the 2010/20's+
@dmitryvoronov6694 жыл бұрын
Hi! How do I create a pagination in vaadin with datagrid? What should I add to the code?
@marcushellberg134 жыл бұрын
You can use the callback based DataProvider instead of passing a List: vaadin.com/docs/v14/flow/binding-data/tutorial-flow-data-provider.html#lazy-loading-data-from-a-backend-service
@rashvitpatel92694 жыл бұрын
Autowiring should be shown having issues on eclipse
@hsuanyang98873 жыл бұрын
really helpful
@Takigavin4 жыл бұрын
Something you missed with this one, for the new company column we added. There is no sorting functionality like there is for all of the other columns. Quick fix for everyone is after the .setHeader("Company") insert .setSortable(true); So the entire function would be: grid.addColumn(contact -> { Company company = contact.getCompany(); return company == null ? "-" : company.getName(); }).setHeader("Company").setSortable(true);