Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

some syntax errors #286

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions guides/functional_testing_using_graphene.textile
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ bc(prettify).. <!DOCTYPE html>
</head>
<body>
<h:messages/>
<h:form id="loginForm" prependIds="false">
<h:form id="loginForm" prependId="false">
<h:panelGrid columns="2">
<h:outputLabel for="userName">Username:</h:outputLabel>
<h:inputText id="userName" value="\#{credentials.username}"/>
Expand All @@ -456,7 +456,7 @@ bc(prettify).. <!DOCTYPE html>
</h:head>
<h:body>
<h:messages />
<h:form prependIds="false">
<h:form prependId="false">
<h:commandButton value="Who Am I ?" action="\#{loginController.renderLoggedIn}">
<f:ajax render="whoami" />
</h:commandButton>
Expand Down Expand Up @@ -875,7 +875,7 @@ public class HomePage {
return facesMessage.getText().trim();
}

public String getUserName {
public String getUserName() {
if (!signedAs.isPresent()) {
whoAmI();
}
Expand Down