mp
06/05/2018, 11:13 PMamanda.hinchman-dominguez
06/06/2018, 12:37 AMnoncom
06/06/2018, 2:57 PM<table>
elements with data in them. How can I achieve that with kotlinx
without generating the full proper HTML structure with <html>
and <body>
?amanda.hinchman-dominguez
06/06/2018, 3:24 PMnoncom
06/06/2018, 3:34 PMtipsy
06/06/2018, 6:25 PMtipsy
06/06/2018, 6:27 PMkenkyee
06/06/2018, 10:07 PMorangy
ktor-cio
and coroutines, hopefully next round 🙂orangy
fitzoh
06/06/2018, 10:21 PMamanda.hinchman-dominguez
06/06/2018, 11:31 PMFilterRegistrationBean
?amanda.hinchman-dominguez
06/06/2018, 11:31 PMval registration = FilterRegistrationBean<T: Filter!>()
amanda.hinchman-dominguez
06/06/2018, 11:51 PM<*>
in the return type, but when I try to initialize the same way in Kotlin, the IDE tells me it doesn't accept projections in initialization.hho
06/07/2018, 6:41 AMval myFilter = SomeFilter()
val myRegistration = FilterRegistrationBean<SomeFilter>().apply { filter = myFilter }
Max Kramer
06/08/2018, 5:38 PMFailed to bind properties under ‘message.email’ to com.x.y.z.controller.EmailConfig:
Reason: Unable to get value for property email
Max Kramer
06/08/2018, 5:40 PMhttps://i.imgur.com/q8UYexs.png▾
Carlos Ottoboni
06/08/2018, 5:55 PMgregopet
06/11/2018, 7:33 AMHamza
06/11/2018, 8:53 AMHamza
06/11/2018, 9:12 AM<input type="text" name="subjects" placeholder="Subjects" autocomplete="off">
I’m using javalin, and here is how i retrieve the information from the form: val subjects = ctx getParam "subjects"
Looking good, right? Well, with apache velocity, here is how i display the subjects:
#if($book.subjects)
<tr>
<th>Subjects</th>
#foreach($subject in $book.subjects.split(",")))
<td>$subject</td>
#end
</tr>
#end
Every time, the table row is empty. anyone got any clue?Hamza
06/11/2018, 9:13 AM#if($book.publisher)
<tr>
<th>Publisher</th>
<td>$book.publisher</td>
</tr>
#end
tipsy
06/11/2018, 2:15 PMHamza
06/11/2018, 2:16 PMHamza
06/11/2018, 4:09 PMget("<http://api.isbndb.com|api.isbndb.com>", mapOf("X-API-Key" to "MY_API_KEY"), params = mapOf())
im not sure what to do now. am i on the right track?mp
06/11/2018, 5:19 PMHamza
06/12/2018, 12:27 AMHamza
06/12/2018, 12:27 AMmp
06/12/2018, 12:40 AMamanda.hinchman-dominguez
06/12/2018, 12:45 AM