xwic / jWic

jWic is a java-based development framework for developing dynamic web applications with the convenience and familiarity of 'rich client' style programming.
https://github.com/xwic/jWic/wiki
4 stars 3 forks source link

Update JWIC framework from 3.1 to 5.3 #70

Open jagadishBomma opened 7 years ago

jagadishBomma commented 7 years ago

Hello All,

We would like to upgrade the latest version of JWIC in one of our old Application, which war implemented with JWIC 3.x. Here are the few difficulties, we found

  1. There were nearly 33 classes from jwic-grid.jar file, but this package isn't  part of the repository anymore. Is there a replacement for it or is it still compatible?

2. Is there an option to set the width of a HtmlElement/Control by percent?

3. Is the skeleton renderer comaptible with the IE11?

Please inform us asap.

lippisch commented 7 years ago

Hi there,

jWic 3.x is pretty old, but if I remember correctly, the jwic-grid was used to display data in a tabular fashion. The best replacement today is the TableViewer control, which is quite powerful. You find it in the package ´de.jwic.controls.tableviewer´. There are samples available. It is not editable though - not sure if the Grid was.

Question 2: Most controls support a width now, but that is in pixel (px). There are just a few older ones, that support a string (%), but that is uncommon.

Question 3: The latest version of jWic is compatible to IE11, that is not depending on the renderer. Most new controls though use Velocity templates and not the old skeleton code. If you have custom controls using Skeletons, it may still be able to convert them though if you build a Skeleton Renderer for your controls and register it.

Overall it may be quite some work, given that a lot has happened from 3.x to 5.x., but should be possible (and worth the effort).

Let us know if you need additional help.

jagadishBomma commented 7 years ago

Thank you very much for the immediate reply.

Question 1: The Tableviewer samples are looking good, but grid is used to edit the Data in the our Application. so we are afraid of updating to new Version as the grid classes are missing. Please give us feedback with your experience.

lippisch commented 7 years ago

There is actually no equivalent control to the Grid, which allowed for all kind a editing functions.

I guess the only chance would be to build something equivalent yourself, maybe based upon some jQuery controls like Tabledit Plugin

There are many others out there as well, but we have not adopted one officially. The alternative would be to keep the Grid control and just port that on to jWic 5.

What are the primary reasons for you to upgrade to JWic 5 btw? Is that browser compatibility or are there other reasons?