File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
composite-component/src/main/webapp
viewscoped/src/main/java/org/javaee7/jsf/viewscoped Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 5252 < ui:define name ="content ">
5353 < mc:login name ="#{user.name} "
5454 password ="#{user.password} "
55- actionListener ="#{userService.register} "/>
55+ actionListener ="#{userService.register() } "/>
5656 </ ui:define >
5757
5858 </ ui:composition >
Original file line number Diff line number Diff line change 4040package org .javaee7 .jsf .viewscoped ;
4141
4242import java .io .Serializable ;
43+
44+ import javax .faces .bean .ManagedBean ;
4345import javax .faces .view .ViewScoped ;
44- import javax .inject .Named ;
4546
4647/**
4748 * @author Arun Gupta
4849 */
49- @ Named
50+ @ ManagedBean
5051@ ViewScoped
5152public class MyBean implements Serializable {
5253 private int value ;
You can’t perform that action at this time.
0 commit comments