Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
ivy-edp committed Aug 16, 2023
1 parent 84420e4 commit d35aa13
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<ui:define name="title">checkWeatherForm</ui:define>
<ui:define name="content">

<h3>Please enter the ZIP code of the city for which you'd like
<h3>Please enter the city for which you'd like
to retrieve the weather information.</h3>

<h:form id="form">
Expand All @@ -19,8 +19,11 @@
styleClass="ui-panelgrid-blank ui-fluid"
columnClasses="ui-g-12 ui-md-3 ui-lg-2, ui-g-12 ui-md-9 ui-lg-4, ui-g-12 ui-md-3 ui-lg-2, ui-g-12 ui-md-9 ui-lg-4">

<p:outputLabel for="dataZip" value="Zip" />
<p:inputText id="dataZip" value="#{data.data.location.zip}"></p:inputText>
<p:outputLabel for="dataLName" value="Location" />
<p:inputText id="dataLName"
value="#{data.data.location.locationName}"></p:inputText>
<!-- <p:outputLabel for="dataZip" value="Zip" /> -->
<!-- <p:inputText id="dataZip" value="#{data.data.location.zip}"></p:inputText> -->
</p:panelGrid>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,11 @@
"path" : "/geolocationNames",
"queryParams" : {
"limit" : "",
"name" : "",
"zip" : "in.data.location.zip"
"name" : "in.data.location.locationName",
"zip" : ""
},
"headers" : {
"Authorization" : "\"Bearer oYhSGDRliAdnfE5hqIFzLCImRj0J\""
"Authorization" : "\"Bearer JeAGGB2vOuhvSAMbPlZT400ZzAlv\""
}
},
"response" : {
Expand All @@ -111,7 +111,7 @@
"",
"ObjectNode objectNode = firstNode as ObjectNode;",
"",
"in.data.location.locationName = objectNode.get(\"description_short\").asText();",
"//in.data.location.locationName = objectNode.get(\"description_short\").asText();",
"",
"ObjectNode geoNode = objectNode.get(\"geolocation\") as ObjectNode;",
"in.data.location.geolocationId = geoNode.get(\"id\").asText();"
Expand All @@ -122,13 +122,6 @@
"visual" : {
"at" : { "x" : 264, "y" : 248 }
},
"boundaries" : [ {
"id" : "f18",
"type" : "ErrorBoundaryEvent",
"visual" : {
"at" : { "x" : 296, "y" : 288 }
}
} ],
"connect" : [
{ "id" : "f11", "to" : "f9" }
]
Expand All @@ -144,7 +137,7 @@
"geolocationId" : "in.data.location.geolocationId"
},
"headers" : {
"Authorization" : "\"Bearer oYhSGDRliAdnfE5hqIFzLCImRj0J\""
"Authorization" : "\"Bearer JeAGGB2vOuhvSAMbPlZT400ZzAlv\""
}
},
"response" : {
Expand All @@ -158,7 +151,7 @@
}
},
"visual" : {
"at" : { "x" : 448, "y" : 248 }
"at" : { "x" : 456, "y" : 248 }
},
"connect" : [
{ "id" : "f12", "to" : "f7" }
Expand Down Expand Up @@ -228,7 +221,7 @@
"id" : "f15",
"type" : "HtmlDialogEnd",
"visual" : {
"at" : { "x" : 520, "y" : 384 }
"at" : { "x" : 392, "y" : 392 }
}
} ]
}

0 comments on commit d35aa13

Please sign in to comment.