Skip to content

Commit

Permalink
fix some more deployment errors
Browse files Browse the repository at this point in the history
  • Loading branch information
alwin-joseph committed Mar 7, 2022
1 parent b8d682d commit d97a38d
Show file tree
Hide file tree
Showing 8 changed files with 39 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,12 @@
*/
package com.sun.ts.tests.jsf.spec.appconfigresources.common.beans;

import java.io.Serializable;

@jakarta.inject.Named("Answer") @jakarta.enterprise.context.SessionScoped
public class AnswerYesBean {
public class AnswerYesBean implements Serializable {

private static final long serialVersionUID = -2564071088038088087L;

private String answer;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,12 @@
*/
package com.sun.ts.tests.jsf.spec.appconfigresources.common.beans;

import java.io.Serializable;

@jakarta.inject.Named("Ball") @jakarta.enterprise.context.SessionScoped
public class ColorBlueBean {
public class ColorBlueBean implements Serializable {

private static final long serialVersionUID = -2564071088038087108L;

private String color;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,13 @@

package com.sun.ts.tests.jsf.spec.appconfigresources.common.beans;

import java.io.Serializable;

@jakarta.inject.Named("Status") @jakarta.enterprise.context.SessionScoped
public class StatBean {
public class StatBean implements Serializable {

private static final long serialVersionUID = -2538081884483638087L;

private String testString;

/** Creates a new instance of StatBean */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,12 @@
import jakarta.faces.event.AbortProcessingException;
import jakarta.faces.event.ValueChangeEvent;
import jakarta.faces.event.ValueChangeListener;
import java.io.Serializable;

@jakarta.inject.Named("firstname") @jakarta.enterprise.context.SessionScoped
public class FirstNameBean implements ValueChangeListener {
public class FirstNameBean implements ValueChangeListener, Serializable {

private static final long serialVersionUID = -2564031838038087108L;

public ValueChangeListener getValueChangeListener() {
ValueChangeListener fname = new FirstNameBean();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,12 @@
import jakarta.faces.event.ValueChangeEvent;
import jakarta.faces.event.ValueChangeListener;

import java.io.Serializable;

@jakarta.inject.Named("lastname") @jakarta.enterprise.context.SessionScoped
public class LastNameBean implements ValueChangeListener {
public class LastNameBean implements ValueChangeListener, Serializable {

private static final long serialVersionUID = -2564031838083638087L;

public ValueChangeListener getValueChangeListener() {
ValueChangeListener lname = new LastNameBean();
Expand Down
7 changes: 6 additions & 1 deletion src/com/sun/ts/tests/jsf/spec/render/common/StatBean.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,13 @@

package com.sun.ts.tests.jsf.spec.render.common;

import java.io.Serializable;

@jakarta.inject.Named("Status") @jakarta.enterprise.context.SessionScoped
public class StatBean {
public class StatBean implements Serializable {

private static final long serialVersionUID = -2808031838038088087L;

private String formOneOutput = "";

private String formTwoOutput = "";
Expand Down
5 changes: 4 additions & 1 deletion src/com/sun/ts/tests/jsf/spec/render/grid/GridUIBean.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,12 @@
import jakarta.faces.component.html.HtmlOutputText;
import jakarta.faces.component.html.HtmlPanelGrid;
import jakarta.faces.context.FacesContext;
import java.io.Serializable;

@jakarta.inject.Named("location") @jakarta.enterprise.context.SessionScoped
public class GridUIBean {
public class GridUIBean implements Serializable {

private static final long serialVersionUID = -2564031838083638087L;

private HtmlPanelGrid gps;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,12 @@
package com.sun.ts.tests.jsf.spec.render.hidden;

import jakarta.faces.component.html.HtmlInputHidden;
import java.io.Serializable;

@jakarta.inject.Named("scene") @jakarta.enterprise.context.SessionScoped
public class HiddenUIBean {
public class HiddenUIBean implements Serializable {

private static final long serialVersionUID = -2564031838038088087L;

private HtmlInputHidden seeMe;

Expand Down

0 comments on commit d97a38d

Please sign in to comment.