Re: Embedding HTML report generated by JasperReports in a Panel

2017-06-21 Thread Ernesto Reinaldo Barreiro
Hi. You are welcome! I'm not sure about that but they do support SVG images which really have > simplified things. > Or Base64 encoded images so they are port of the HTML. I/m sure they should support all those things... BIRT does and they are not marked leaders... I have played with a

Re: Refreshing form after model objects changed

2017-06-21 Thread Sven Meier
Hi Lon, whatever you are trying to do, it's sounds too complicated. FormComponents keep invalid input. That's an essential feature. Clear the input when you no longer want it. You can use your own implementation that clears invisible components too. I fail to see what that has to do with

Re: Embedding HTML report generated by JasperReports in a Panel

2017-06-21 Thread James Selvakumar
Hi Ernesto, I'm not sure about that but they do support SVG images which really have simplified things. Since there is just a single html file now, I'm just embedding it inside a Panel. But anyhow, this exercise helped me to learn about mounting a folder with the file name as a param and how to

Re: Refreshing form after model objects changed

2017-06-21 Thread Lon Varscsak
Digging in a little deeper, I learned that if my data comes from the forms model (which is not how I’m currently doing things), and then create a new model, everything works as I’d expect. So in my case, I have a bunch of FormComponents that use a PropertyModel to do their work. Rather than

Re: Refreshing form after model objects changed

2017-06-21 Thread Lon Varscsak
Yeah, I had convinced myself on the way home that it was a feature too…until I thought about the model data having changed. So I looked into the form.clearInput() (thanks for that tip) and the model object is in a particular state that has field is hidden at the time I do the clear. So it’s that

Re: Refreshing form after model objects changed

2017-06-21 Thread Sven Meier
Hi, if you reuse a component after a submit with validation errors, you'll have to reset all form components. Otherwise the form components will render their previous invalid input - this is an intended feature, to give the user the ability to edit his previous input. Calling clearInput()

Refreshing form after model objects changed

2017-06-21 Thread Lon Varscsak
I have a scenario where I have a form and the user puts in a bad value in FieldA, and then also puts in proper values in FieldB and FieldC. FieldB and FieldC never receive their values (in the model object), I’m assuming because the form processing stops at the error for FieldA. The user

Re: After upgrade to Wicket 7.6.0, WebSocket logs Broken pipe

2017-06-21 Thread ansc
Could you solve the problem ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/After-upgrade-to-Wicket-7-6-0-WebSocket-logs-Broken-pipe-tp4676630p4678119.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Embedding HTML report generated by JasperReports in a Panel

2017-06-21 Thread Ernesto Reinaldo Barreiro
Hi, I'm sure Jasper would support storing images and so on in a database... IMHO that would be a more robust approach. But you know better your use case. On Wed, Jun 21, 2017 at 3:34 AM, James Selvakumar wrote: > Hi Martin/Ernesto, > > Thanks for all the help. I'll try