view postback

mvc binding work
This commit is contained in:
Keith Donald
2008-03-20 02:10:14 +00:00
parent 6a62e98396
commit 07ad145106
7 changed files with 85 additions and 40 deletions

View File

@@ -58,19 +58,6 @@ public class JsfView implements View {
this.context = context;
}
public boolean eventSignaled() {
return context.getExternalContext().getRequestMap().contains(EVENT_KEY);
}
public Event getEvent() {
String eventId = (String) context.getExternalContext().getRequestMap().get(EVENT_KEY);
return new Event(this, eventId);
}
public UIViewRoot getViewRoot() {
return this.viewRoot;
}
/**
* This implementation performs the standard duties of the JSF RENDER_RESPONSE phase.
*/
@@ -92,6 +79,23 @@ public class JsfView implements View {
}
}
public void postback() {
// TODO - implement Postback JSF lifecycle
}
public boolean eventSignaled() {
return context.getExternalContext().getRequestMap().contains(EVENT_KEY);
}
public Event getEvent() {
String eventId = (String) context.getExternalContext().getRequestMap().get(EVENT_KEY);
return new Event(this, eventId);
}
public UIViewRoot getViewRoot() {
return this.viewRoot;
}
public String toString() {
return "[JSFView = '" + viewId + "']";
}