Coder Social home page Coder Social logo

vstepper's People

Contributors

mlottmann avatar

Stargazers

 avatar  avatar

Watchers

 avatar

vstepper's Issues

Unable to find ServletContextHandler when including VStepper in WAR

Hi Matthias,

When I include VStepper in my WAR, my application will no longer start correctly in Tomcat. It gives the following error:

Caused by: java.lang.IllegalStateException: Unable to find ServletContextHandler for provided ServletContext
at org.eclipse.jetty.websocket.server.NativeWebSocketServletContainerInitializer.onStartup(NativeWebSocketServletContainerInitializer.java:120)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5140)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
... 43 more

I build my application as WAR to easily deploy it to Heroku. Without VStepper, my application works as expected. To isolate the issue, have varied also the Vaadin version, the Spring Boot version and the Tomcat version, but this did not have any effect and gave me the same error with VStepper and no error without VStepper.

I tried to see if I could find anything that could explain this behaviour in the VStepper-1.0.7.jar, e.g. an extra server.xml file, but I did not find anything strange.

I have no problem when I start my application locally via main Application extends SpringBootServletInitializer.

I am using:
Vaadin 14.1.25
Spring Boot 2.2.6.RELEASE
Tomcat 9.0.33

Your thoughts are highly appreciated. ๐Ÿ™๐Ÿป

Skip button [Feature]

It would be nice (if possible) to have at the Step a button SKIP with the respective Override
i.e.

@Override protected void onSkip() { doSomething(); }

Suppose we want to create a user but the address is not mandatory, instead of just enabling the "Next" when everything is correct, we could have a Skip button which is more 'user friendly' right before the "Next" button, have the Step enabled with skip (i.e. on create) so that the button is not shown on Steps are do not need the Skip button,

public class AddressStep extends Step{ public AddressStep(){ setHeader(2,"Address"); setContent(xxxxx); setSkipEnabled(true); } }

and if the user presses the "Skip" button , we could handle that and move on to the next step.

Integrating in a non-white background

Very nice component, thanks...!

Unfortunately, it seems the visuals are off when integrating in a non-white background, see:
Screenshot 2020-04-09 at 16 02 39

I am trying to fix with little CSS experience, see:
Screenshot 2020-04-09 at 16 03 52

The issue is that the greyscale backgrounds add up and become darker, which conflicts in the .number-wrapper style, which is used to move the line ends to the background. Any thoughts on this would be much appreciated.

Would you be able to support a Full Stack App / Bakery demo App style look...?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.