Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Rizzi
@RizziCR
2 days to finish and work for 2 weeks :D
Thibault Duchateau
@tduchateau
let's call it "agile" ..
Rizzi
@RizziCR
:)
Rizzi
@RizziCR
nexts question
on export (xls, pdf) sometimes a null value is printed as empty string and sometimes as „null"
also on the same property
Thibault Duchateau
@tduchateau
please provide a test case so that I can reproduce
or it will hard to fix
Rizzi
@RizziCR
if there are for example 10 entities to export
5 of them have propery x null
the exported file have then 3 times an empty string and 2 times the string „null“ as value
Rizzi
@RizziCR
and it’s equal if i set a default content or not.. there are no different
i have to check it later
thx
and the log message is not so useful :)
Something went wrong with the property {}. Check that an accessor method for this property exists in the bean.
Thibault Duchateau
@tduchateau
Oh actually the log message is. All fillWithProperty(*) methods rely on http://commons.apache.org/proper/commons-beanutils/, which uses naming conventions on beans.
So if you call fillWithProperty("beanProperty"), you're supposed to have a getter in the corresponding Bean called getBeanProperty()
It's up to you to check for nulls when you call these getters
Rizzi
@RizziCR
yes.. but on 45 properties its hard to find which on is wrong :D
i do some renaming of properties and have forgotten to change it in the export scripts ;)
Thibault Duchateau
@tduchateau
wow
ok
Rizzi
@RizziCR
but it’s my problem ;) stupid coder have to work longer :P
Thibault Duchateau
@tduchateau
I'll have a look at more recent version. Maybe they now support strong-typed arguments..
Rizzi
@RizziCR
thx
Rizzi
@RizziCR
i think i can specify the „null“ problem.
if the nested property is null the output is an empty string and a null value is outputted as „null“
with nested property i mean: contact.contactData.country.name if contactData or country is null, the log message from above is shown and the output is an empty string.
if name is null, then the output is „null“ as string. And this is the same also if i declare a defaultContent of „“. the output is also „null"
marc
@marcules
Hi there, I've got a 404 trying to access /dandelion-assets/{hash}/{hash}/js/dandelion-datatables-{hash}.js --- how would I debug this? I've got the filters for dandelion and datatables configured in my web.xml and added their dialects, and added antMatchers and added DandelionServlet.class to getServletConfigClasses, and also added the DandelionFilter and DatatablesFilter to getServletFilters - in my dandelion/dandelion.properties I have bundle.includes=bootstrap3
marc
@marcules
huh, I figured it out - it seems my servlet and filter definitions in web.xml were being ignored, and adding the filter and servlet in the onStartup of WebApplicationInitializer solved the problem
Thibault Duchateau
@tduchateau
Glad you solved it. I'm wondering if it could save time to looots of users to register filter & servlet using Servlet 3.x annotations.. Unfortunately, you're not the first on this one :-(
sergderevyanko
@sergderevyanko
Hi, there! I am try to use filtering feature in components.standalone = ddl-dt mode (to prevent loading of jquery second time). I included filtering js and css manually but filtering still doesnot work
so the question is how can I exclude jquery from dependency?
or how to enable filtering option in components.standalone = ddl-dt mode?
Rizzi
@RizziCR
Hi Thibault.
Is it possible to have multiple export buttons of the same type ?
Rizzi
@RizziCR
i define 2 datatables:export sections
both type xls
but with different url
only the second defined button is showin at the website
Rizzi
@RizziCR
as workaround i define one as xls and the other as type xlsx
so, i get both buttons on screen
Rizzi
@RizziCR
but. type xlsx can’t generate a xls export.. damn
pabloyokese
@pabloyokese
hi there
there is a git hub repository to see some examples to export in PDF or excel?
:smile:
pabloyokese
@pabloyokese
found it, thanks
pabloyokese
@pabloyokese
@tduchateau I have a question, I cant see the link generated to export a pdf , do u know why it could happen?
pabloyokese
@pabloyokese
hello everyone
anyone here?
Maxim Mladenov
@maximmladenov
Hi there! I am planning to migrate to thymeleaf 3 in my project and I use dandelion-datables. Is there any chance that dandelion-datatables will support thymeleaf 3?
Hendi Santika
@hendisantika
Hi @all,
Does dandelion still developed?