Re: An Apache Wicket reusable Data List

2025-04-23 Thread andrew goh
It turns out RepeatingView component works in Forms as well https://nightlies.apache.org/wicket/guide/9.x/single.html#_the_repeatingview_component And I've been able to make a reusable form given a java bean and its customized BeanInfo class. The BeanInfo serves as 'configuration metadata' to c

Re: An Apache Wicket reusable Data List

2025-04-16 Thread Rob Audenaerde
Apache isis? On Wed, Apr 16, 2025, 18:45 Ernesto Reinaldo Barreiro wrote: > Hi, > > Over the years I have heard of similar ideas... and I also implemented some > "factory thing" that was able to create some CRUD form out of some > annotated Hibernate JPA/POJO for some private project: I remember

Re: An Apache Wicket reusable Data List

2025-04-16 Thread Martin Grigorov
On Wed, 16 Apr 2025 at 20:39, Rob Audenaerde wrote: > Apache isis? It has been renamed to Causeway https://causeway.apache.org/ > > On Wed, Apr 16, 2025, 18:45 Ernesto Reinaldo Barreiro > wrote: > > > Hi, > > > > Over the years I have heard of similar ideas... and I also implemented > some

Re: An Apache Wicket reusable Data List

2025-04-16 Thread andrew goh
Now for the downsides and gotchas: The use of javabeans depends on java.beans.Introspector https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/beans/Introspector.html among the catches are: - the fields / properties returned are not in source code order (accordingly, there isn't

Re: An Apache Wicket reusable Data List

2025-04-16 Thread Ernesto Reinaldo Barreiro
Yes. I think that was it. Thanks On Wed, Apr 16, 2025 at 12:39 PM Rob Audenaerde wrote: > Apache isis? > > On Wed, Apr 16, 2025, 18:45 Ernesto Reinaldo Barreiro > wrote: > > > Hi, > > > > Over the years I have heard of similar ideas... and I also implemented > some > > "factory thing" that was

Re: An Apache Wicket reusable Data List

2025-04-16 Thread Ernesto Reinaldo Barreiro
Hi, Over the years I have heard of similar ideas... and I also implemented some "factory thing" that was able to create some CRUD form out of some annotated Hibernate JPA/POJO for some private project: I remember it was Spring based too... I think there was also some apache project exploring such

Re: An Apache Wicket reusable Data List

2025-04-16 Thread andrew goh
Taking in context: https://gist.github.com/ag88/a0232510c28b4c45b82943527b7ea87e The templates: DataListPanel.html                                                                 DataRowPanel.html                 And in the demo app where it is implemented https://github.com/ag88/

Re: An Apache Wicket reusable Data List

2025-04-16 Thread andrew goh
Thanks, Rob Audenaerde I'd check out ISortableDataProvider and DataTable. I did this 'experiment' as I'm using handcrafted Bootstrap https://getbootstrap.com/ based pages. And in part coming from spring-boot and Thymeleaf templates, I'm starting to have a lot of HTMLs in the templates and rath

Re: An Apache Wicket reusable Data List

2025-04-16 Thread Rob Audenaerde
I'm also not actively working with Wicket anymore (a shame), but we made extensive use of the `ISortableDataProvider` and `DataTable`. It should not be to hard to create a `BeanSortableDataProvider` and a class that generated the `AbstractColumn` from the beans? On Wed, Apr 16, 2025 at 12:56 PM an

Re: An Apache Wicket reusable Data List

2025-04-16 Thread andrew goh
I think some of these stuff may be good to be added in https://wicketstuff.org/ But for now this is very rough and 'only about works'. Back in the 'early' days of GUI development, there has been lots of re-usable GUI data components, e.g. the old Powerbuilder data windows https://infocenter.

Re: An Apache Wicket reusable Data List

2025-04-16 Thread Jonathan Locke
Hi Andrew, Interesting idea. I’ve been mostly away from Wicket for about 10 years as a committer, but I’m drawn back to the project again by some things I’d like to see done that would provide more automation like this and also improve support for CSS and JavaScript and more concise syntax for

Re: An Apache Wicket reusable Data List

2025-04-16 Thread andrew goh
The codes is committed in part of a demo here as well: https://github.com/ag88/wickettest1 On 16/04/2025 17:25, andrew goh wrote: While I'm learning the ropes of Apache Wicket currently and I'm exploring making reusable components. I tried making An Apache Wicket reusable Data List This comp