📺 Develpreneur YouTube Episode

Video + transcript

Spring Boot Application - Filter results by URL

2023-12-28 •Youtube

Detailed Notes

We are continuing a series of tutorials focused on Spring Boot. The crux of the project is to convert/migrate an old JSP/Tomcat application to a modern Spring Boot application and Java 7/8 to a current version. This tutorial continues our code conversion as we add in filtering results by selecting a value and clean up our display of data.

You can learn more through our online classes at https://school.develpreneur.com and register for free. Registration will add you to our email list, and you will periodically receive coupons for courses and notifications of the latest releases.

Transcript Text
[Music]
well hello and welcome back we are
continuing converting our little
application from Old School JSP to New
School spring Boot and we are sort of in
the middle of a little bit of a a
minseries within this series and we're
just working on like what we have is
some projects and we're working on
getting project list going and being
able to edit a project because we want
to be able to get in and turn this form
on and be able to actually edit
information now first we found last time
had a couple little things we want to
clean up a couple buttons and we want to
be able to filter so we want to be able
to come in here and say Hey I want
everybody that is
new
and I want let's say I want everybody
that is submitted or pending and if I do
that then I'm not getting what I want I
am getting that sent across I'm getting
projects with a but it is not it is
having an issue so let's take a look at
that
and let's see if we can get in if we're
getting an error so if we go to
new it tries
to and it was an unexpected
so uh oh let's see that was projects if
it goes
[Music]
here uh oops let's do
pending it is projects with a p so let's
go look here at
our uh we're going to look into our
controller because that's probably where
we need to go first so if we go find
projects right
here then one of the things that we have
is no we do not have our second
parameter uh in there at all so what we
would need is probably a second param we
can do a second one so we can do it with
and just leave that as is and then we
can say hey if we've
got this then we can add a parameter I
believe we have looked at that here
before adding that second yeah so we did
it like we did here and so we're going
to take something let's go look at this
very similar to what we did with edit
project so now if we do projects uh
second one there we go this is the
second
one and what we want to do is we're
going to send a
um let's call it a code which is our
it's going to be a onlet code and then
we're going to come in here and we're
going to make sure that we have a path
variable that will take that so we're
going to do our
request and we will do that I don't
think we need a local but that's okay
let's see what happens um if we do
our and he's going to be a string it's
actually going to be a character but
that's okay and we're going to call him
code and then here
and we're going to do list projects
let's see if we
have uh project
list and let's go see if we already have
that built by a type so if we go into
our Dao for our
projects let's just go to our Dao let's
see if we have something looks right so
we have this is based on
name here we go name and Status we have
the same thing with a name and a status
so that's going to be super easy because
that means that we will be able to call
this uh where do we call it list and
we're just going to do it and we're
going to add code to the
end and we don't need that we don't need
that and so let's see what happens now
oh let's um let's go back to this though
one of the things we were running into
is we've got these really nasty
buttons and let's make that button
primary button
primary and we are going
to I think we can leave them just as is
because I think we're going to be okay
so if we go nbsp we're going to put a
space on both
wh I'm put space on both sides of this
because I think it's going to be really
tight without it we could go in and mess
with the margins on our CSS we're not
going to do that right
now so let's see and that is do we want
those on a different row yeah we're
going to want those on a different row
so then we're going to come in
here and let's do this
wh
and well no we did not we wanted them on
potentially the same
row okay so let's put a space here
oh yeah let's put a space after that in
any case so even if we don't have a user
we'll have that now let's go take a look
at this stuff oh we also had another one
here we had this new project thing let's
make him
also a primary uh button
primary and let's go take a look at how
this all
looks so let's see if we got our filter
going plus cleaned up a couple of our
display issues so if we come in here and
we log
in
and we go to projects list oh I didn't
get that we did get it but they're
still spreading all the way
out so we will work on that in uh
momentarily because it is let's look at
this that's an
H5 that's in that
div so if it's there we want that in a
row so we probably want do I have one I
can just copy and paste real quick no so
I'm going to take
this
and let's see within here he's going to
do I call MD we'll call him an
11
and let's see if that gives me something
now the other thing we wanted to do is
whoops is we want to see if we can
filter so now did we get our filter
right so if we come into filter for
new there we go now interesting thing is
is it's getting us stuff but we have an
issue here is it's getting us to
apparently a different
page or it's breaking something so let's
go back and look at our hello hello
hello hello
controller and before we're doing
projects and now we're doing
projects which is a slightly different
list now we do see
um yeah see they're all if you look like
here you can see they're all new so
that's at least and oh and so we have
got something simple that we blew up
here so when it comes through oh it is
probably because the model is not set up
right did we have that before
um we did okay so we had lcal and
model and so I'm guessing that's going
to be a
problem we want him to be so he's
project oh that's our problem he's got
the same name uh projects
filter
so let's try
that looking
good didn't introduce something new come
up here we do our
projects we filter on what do we say
submitted and we're still not getting
this so let's go look at our code
here got our time Leaf we've got our
head here we go let's look at our errors
so oh see so that's saying Project's
bootstrap and so that
maybe if we load it
here
we go to bootstrap he's in Project's
bootstrap I don't think he's loading it
right and
[Music]
so oh that may be it
is and this is where we can run into
some issues because what we've got here
is it's trying to go with a uh it's
trying to go off of this level instead
of one level back when we do that uh
when we load those values so if we go
here um is it no I'm yeah it's
projects so here this is within main I
bet if we look at Main it is not going
to get me my
base oh actually I wonder if it's even
if it lost
the
port and if we look
and look here oh it did so it's a so
it's
there so if I do
this let's do that see if I can do
that and go
look so he's not going to like that but
he is he going to
like
that yes he is and so it's because it's
built on top of this so we've got
something a little bit we got to do here
to make sure that we and this is
something we run into on a fairly
regular basis in apps of this sort is
that when we run
it uh right here it's actually not going
back to the level it needs to be so we
have to go to our main uh which
is
where did our man go where did our man
go uh he is in let's see if I'm the
right place yep and I think he
was did we just call him
header think we did
yes and so
here see we've got all of this stuff and
it really needs to be probably
like this
so let's see if we pull just
those uh let's see how that looks I
think that'll get us there we're going
to find out in a minute so we're going
to come in
here instead of building it off the core
page oh see we got some issues
here so it is complaining because
oh it cannot parse as an
expression so well that's
why because I put that in the wrong
place and that's probably okay so now
let's try to run
it and let's try this there we go
okay and now if we get ourself going
here and we go to projects
so so far so good if we come in here oh
look at that now we are able to actually
see a project we're actually bringing
stuff in because before we were having
issues with our our slashes so now we've
got our opportunities um I don't think
we can click on that we have our
projects at my admin doesn't exist so we
go to projects and so now we should be
able to
filter there we go we can filter we can
click and so our issue is uh making sure
that when we do this stuff that we make
sure we have a you know a root call to
it so we should be able yeah from here
we were able to test these so these were
funny enough we had it here we just
didn't have it whoops don't want to do
that uh we didn't have it for a couple
of our included files so let's just make
sure uh we've got Link Link Link we've
got our banner and that showed up up
here and I think we had a problem before
we were seeing Rush running into that we
just didn't fix it and looks like we're
good so now if we go to
home then it's looking good we can click
on this and now we can edit a project so
now we've gotten a lot of our stuff back
into place now we do oops one things we
wanted to do is note that we did get our
uh button straightened out a little bit
there uh we do need to do so let's get
from our project list let's just get
that piece
in and we wanted to go somewhere down
here here we go because this buttons out
on its own it is not a happy camper so
what we're going to do is we're just
going to take this create new button
we're going to throw it in a div and
actually we can just throw it in this
huge div um yeah we'll just throw it in
some well we're not going to go huge
with it we'll just you know cut it to
like six doesn't really matter because
it's on it it's a essentially its own
row and if we do
that and then this is what our project
list so we're going to come in and do
that projects there now we got our
button straightened out a little bit we
still probably do some more stuff with
them later but for now hey we have
buttons and
now we're going to go in here and you
can see as we've seen before where we've
got a lot of this stuff we can see
leftover code so we want to go fix that
first so let's take all of the uh C's
here see like this this everywhere we've
got an if we can take that and we're
going to do a Time Leaf if and we're
going to do a
div and then we can just close the
div and we don't need test equals uh so
it's going to be if equals that so now
we'll be able to see where this message
is showing up that's going to get
cleaned
up and let's see what else we got we've
got so we've got this our action is just
going to be save
project
wh delete that and now cruising down
through here let's see what else we got
so we didn't have to worry about that
one but we do have to worry about this
uh what is that project report we're
going to pull that thing wh
we're going to pull him all the way in
like that
and oh that's project report so we'll
just leave it like
that and that gives us let's see so
that's that one do we have a save and
update yeah that one is right here and
same thing I don't have to worry about
that so we've got him split up start
walking down here we do have our titles
uh we've got our tasks here but now we
have issues with that so what we need to
do is our tried and true here we
go uh that site is that what it was
called oh that one looks like that came
in twice okay so let's start with
tasks because that's where we're at so
we going to look at tasks so let's go
find
that there we go so in here we don't
need to C
if and but we do want it to be a loop so
we do
want uh that's just going to be
a
if and if project ID is greater than
zero then it's going to come in here and
we do a task
submit so it may have some tasks and
then for here
remember we need to do a time and let's
go back and look at the projects cuz I
forget that one let me just copy that
that's the easiest way to get my little
Looper here we
go that'll give me the whole kitten
Kaboodle so if I come in here to this
one so what we're going to want to do
here is this is going to
be call it task and Status it's going to
be list of
tasks and let's see so we want to select
task and that's going to be task. ID
oh oh interesting
um I think that wants to be test.
ID we I think that was a problem that we
had there is that it was not working
right before oh I see project ID so it's
two
things uh select task is going to be
task
ID
and task. project
ID so we've already got that little
JavaScript
built we don't need to worry about
our our little status thing
there and so we don't need to worry
about this setting a
status uh we don't need the 4 e
each we don't need our on click because
we've got
that and then for each of
these I think we're going to be good
we're going to find out in a minute uh
oh it's not going to
be like
that oh this going to be an interesting
one right there because what we're going
to have
is uh t H text
equals there we
go and there is going to
be
th text
equals and that's how we had it before
right is we yep we had to close our date
we don't have to put anything special in
there and this one's going to be
a text equals and we're just going to do
we're not going to worry about the
formatting the number right
now and I did a underbar instead of a
column and then this is going to be th
text equals test
name and same
thing equals
and we'll do the
description so let's go ahead and get
that and let's verify this one
works and if it
does then I think we will call it a wrap
for this episode so we're going to come
in we're going to do our projects um
pick one and uh here we're seeing
there's no tasks it gives us the header
uh as we see
here it's giving us a header because the
project ID is greater than zero but this
probably needs to be something that is a
check to say hey if you know the number
of if my tasks is list of tasks is
greater than zero then I'm going to say
that otherwise I'm going to say nothing
found and so I do have something going
here let's see do I have one that's
got um I don't know if I've got any that
have a
task just oh here we go go here's one oh
and we do it does look like we've got
something if you look over here you can
see where we did not close stuff up
right
somewhere so if we go
here div div and a close oh that one
doesn't have a close there we go so we
can close that
oh if I don't typo that then if we come
in which project is that that was called
project Administration okay and we know
that we've got oh we've got a value in
there let's go look at that real quick
there is something up here on total
hours where' it go where' it go all the
way towards the top here we go total
hours and so this needs to
be probably a
text
equals we'll put him in
there and we will put our bar
here and our bar
here
and let's do this that close that bar
and let's run
it go check it
out and what was that I think it was
[Music]
called uh oh it one that think was
Plumbing reseller there we go so now we
can see we've got our hours showing up
we're seeing values basically in places
here uh we're not getting our values
coming up in our form up at the top uh
it's probably may have something to do
with that so that is going to be our
next thing is let's make sure that we
are getting values because these should
be populated which if you look up
here um like here we've got yeah see
we're doing these old form inputs and so
we're going to have to actually go back
and we're going to pick those up so
those are going to be rth texts and we
will convert those next time around so
thank you once again if you have any
questions shoot us an email at info@
developer.com but go out there and have
yourself a great day a great week we
will come back next time and just keep
chunking Along on this have a good one
hello this is Rob with develop or also
known as building better developers
wanted to announce that we have school.
developer.com feel free to check it out
if you like any any of this information
any of the content that we've sent and
you would like to see more you can come
out you can enroll for free we have free
courses we've got places for you to get
better at just learning a technology or
howtos you can work on your business
skills we can help you with becoming a
better developer as in coding and things
like that a lot of the stuff you've seen
on YouTube we also have out at school.
develop preneur we just have it in a
little more of a uh educational format
and a way for you to track your progress
As you move forward becoming a better
[Music]
developer
Transcript Segments
1.35

[Music]

27.359

well hello and welcome back we are

29.96

continuing converting our little

31.32

application from Old School JSP to New

34.399

School spring Boot and we are sort of in

37.399

the middle of a little bit of a a

38.8

minseries within this series and we're

41.079

just working on like what we have is

43.32

some projects and we're working on

44.76

getting project list going and being

47.44

able to edit a project because we want

49.12

to be able to get in and turn this form

50.84

on and be able to actually edit

52.199

information now first we found last time

55.199

had a couple little things we want to

56.879

clean up a couple buttons and we want to

60.559

be able to filter so we want to be able

61.8

to come in here and say Hey I want

63.239

everybody that is

64.96

new

66.479

and I want let's say I want everybody

69.119

that is submitted or pending and if I do

71.759

that then I'm not getting what I want I

74.6

am getting that sent across I'm getting

76.2

projects with a but it is not it is

79.68

having an issue so let's take a look at

82.72

that

85.159

and let's see if we can get in if we're

87.6

getting an error so if we go to

90.759

new it tries

93

to and it was an unexpected

96.04

so uh oh let's see that was projects if

99.399

it goes

100.19

[Music]

101.68

here uh oops let's do

106.159

pending it is projects with a p so let's

109.799

go look here at

112.2

our uh we're going to look into our

114.28

controller because that's probably where

115.56

we need to go first so if we go find

118.84

projects right

122.56

here then one of the things that we have

125.24

is no we do not have our second

129.84

parameter uh in there at all so what we

132.8

would need is probably a second param we

137.36

can do a second one so we can do it with

139.68

and just leave that as is and then we

142.44

can say hey if we've

145.68

got this then we can add a parameter I

149.879

believe we have looked at that here

152.4

before adding that second yeah so we did

154.959

it like we did here and so we're going

157.04

to take something let's go look at this

159

very similar to what we did with edit

160.64

project so now if we do projects uh

164

second one there we go this is the

165.159

second

166.159

one and what we want to do is we're

168.84

going to send a

171.2

um let's call it a code which is our

174.319

it's going to be a onlet code and then

177.56

we're going to come in here and we're

179.84

going to make sure that we have a path

183.159

variable that will take that so we're

186.159

going to do our

189.519

request and we will do that I don't

192.36

think we need a local but that's okay

194.2

let's see what happens um if we do

198.599

our and he's going to be a string it's

201.48

actually going to be a character but

203.72

that's okay and we're going to call him

207.28

code and then here

210.4

and we're going to do list projects

211.64

let's see if we

214.28

have uh project

217.519

list and let's go see if we already have

220.12

that built by a type so if we go into

224.239

our Dao for our

228.2

projects let's just go to our Dao let's

230.519

see if we have something looks right so

232.319

we have this is based on

236.4

name here we go name and Status we have

239.28

the same thing with a name and a status

240.959

so that's going to be super easy because

242.599

that means that we will be able to call

245.2

this uh where do we call it list and

247.64

we're just going to do it and we're

248.72

going to add code to the

250.84

end and we don't need that we don't need

255

that and so let's see what happens now

259.639

oh let's um let's go back to this though

262.56

one of the things we were running into

263.96

is we've got these really nasty

267.16

buttons and let's make that button

269.28

primary button

271.88

primary and we are going

277.759

to I think we can leave them just as is

280.6

because I think we're going to be okay

281.6

so if we go nbsp we're going to put a

283.24

space on both

285.199

wh I'm put space on both sides of this

287.96

because I think it's going to be really

290

tight without it we could go in and mess

292.32

with the margins on our CSS we're not

294.039

going to do that right

296.639

now so let's see and that is do we want

300.919

those on a different row yeah we're

302.88

going to want those on a different row

303.96

so then we're going to come in

307.24

here and let's do this

313.6

wh

315.56

and well no we did not we wanted them on

318.52

potentially the same

321.56

row okay so let's put a space here

327.08

oh yeah let's put a space after that in

329.919

any case so even if we don't have a user

332.12

we'll have that now let's go take a look

333.52

at this stuff oh we also had another one

335.72

here we had this new project thing let's

338.919

make him

340.759

also a primary uh button

345.6

primary and let's go take a look at how

347.68

this all

348.56

looks so let's see if we got our filter

350.919

going plus cleaned up a couple of our

353.36

display issues so if we come in here and

356.96

we log

358.479

in

361.319

and we go to projects list oh I didn't

364.88

get that we did get it but they're

369

still spreading all the way

374

out so we will work on that in uh

378.319

momentarily because it is let's look at

381.039

this that's an

383.479

H5 that's in that

386.639

div so if it's there we want that in a

390.599

row so we probably want do I have one I

393.16

can just copy and paste real quick no so

395.919

I'm going to take

397.96

this

400.44

and let's see within here he's going to

404.8

do I call MD we'll call him an

410.84

11

413.28

and let's see if that gives me something

416.919

now the other thing we wanted to do is

419.039

whoops is we want to see if we can

420.599

filter so now did we get our filter

423.319

right so if we come into filter for

427.319

new there we go now interesting thing is

430.8

is it's getting us stuff but we have an

433.759

issue here is it's getting us to

436.72

apparently a different

439.319

page or it's breaking something so let's

441.759

go back and look at our hello hello

444.16

hello hello

446.72

controller and before we're doing

454.639

projects and now we're doing

457.84

projects which is a slightly different

460.16

list now we do see

464

um yeah see they're all if you look like

467.319

here you can see they're all new so

469.12

that's at least and oh and so we have

472.36

got something simple that we blew up

476.159

here so when it comes through oh it is

478.8

probably because the model is not set up

482.879

right did we have that before

487.12

um we did okay so we had lcal and

492.24

model and so I'm guessing that's going

494.84

to be a

496.36

problem we want him to be so he's

499.8

project oh that's our problem he's got

502.639

the same name uh projects

508.24

filter

510.68

so let's try

516.959

that looking

519.599

good didn't introduce something new come

523.2

up here we do our

524.92

projects we filter on what do we say

529.36

submitted and we're still not getting

531.519

this so let's go look at our code

538.2

here got our time Leaf we've got our

543.44

head here we go let's look at our errors

550.88

so oh see so that's saying Project's

553.64

bootstrap and so that

560.76

maybe if we load it

568.12

here

571.44

we go to bootstrap he's in Project's

574.279

bootstrap I don't think he's loading it

576.92

right and

578.55

[Music]

580.68

so oh that may be it

589.68

is and this is where we can run into

593

some issues because what we've got here

594.6

is it's trying to go with a uh it's

597.8

trying to go off of this level instead

599.6

of one level back when we do that uh

602.68

when we load those values so if we go

606.56

here um is it no I'm yeah it's

610.16

projects so here this is within main I

613.8

bet if we look at Main it is not going

616.92

to get me my

618.32

base oh actually I wonder if it's even

621.64

if it lost

623.279

the

626.32

port and if we look

632.24

and look here oh it did so it's a so

635.12

it's

641.48

there so if I do

645.279

this let's do that see if I can do

650.079

that and go

652.399

look so he's not going to like that but

655.6

he is he going to

658.04

like

661.839

that yes he is and so it's because it's

665.839

built on top of this so we've got

668.399

something a little bit we got to do here

670.48

to make sure that we and this is

672.32

something we run into on a fairly

673.72

regular basis in apps of this sort is

677.399

that when we run

678.8

it uh right here it's actually not going

683

back to the level it needs to be so we

684.44

have to go to our main uh which

687.959

is

689.48

where did our man go where did our man

691.399

go uh he is in let's see if I'm the

695.24

right place yep and I think he

702.2

was did we just call him

706.12

header think we did

708.959

yes and so

711.68

here see we've got all of this stuff and

714.6

it really needs to be probably

717.36

like this

722.56

so let's see if we pull just

728.12

those uh let's see how that looks I

731.6

think that'll get us there we're going

732.8

to find out in a minute so we're going

734.68

to come in

736

here instead of building it off the core

741.399

page oh see we got some issues

744.839

here so it is complaining because

750.56

oh it cannot parse as an

753.16

expression so well that's

757.079

why because I put that in the wrong

760.32

place and that's probably okay so now

762.959

let's try to run

766.839

it and let's try this there we go

772.959

okay and now if we get ourself going

776.44

here and we go to projects

779.68

so so far so good if we come in here oh

782.199

look at that now we are able to actually

786.56

see a project we're actually bringing

788.56

stuff in because before we were having

791.079

issues with our our slashes so now we've

794.8

got our opportunities um I don't think

797.12

we can click on that we have our

800.079

projects at my admin doesn't exist so we

803.839

go to projects and so now we should be

806

able to

807.199

filter there we go we can filter we can

809.839

click and so our issue is uh making sure

814.639

that when we do this stuff that we make

817.68

sure we have a you know a root call to

820.6

it so we should be able yeah from here

822.16

we were able to test these so these were

824.399

funny enough we had it here we just

826.48

didn't have it whoops don't want to do

829.279

that uh we didn't have it for a couple

831.12

of our included files so let's just make

833.92

sure uh we've got Link Link Link we've

837.36

got our banner and that showed up up

840.36

here and I think we had a problem before

842.92

we were seeing Rush running into that we

845.12

just didn't fix it and looks like we're

847.44

good so now if we go to

851.88

home then it's looking good we can click

855.36

on this and now we can edit a project so

857.56

now we've gotten a lot of our stuff back

859.399

into place now we do oops one things we

861.8

wanted to do is note that we did get our

865.68

uh button straightened out a little bit

867.12

there uh we do need to do so let's get

869.639

from our project list let's just get

871.36

that piece

872.56

in and we wanted to go somewhere down

876.04

here here we go because this buttons out

878.519

on its own it is not a happy camper so

881.44

what we're going to do is we're just

883.639

going to take this create new button

885.279

we're going to throw it in a div and

887.959

actually we can just throw it in this

889.12

huge div um yeah we'll just throw it in

892.279

some well we're not going to go huge

893.759

with it we'll just you know cut it to

895.6

like six doesn't really matter because

897.839

it's on it it's a essentially its own

899.68

row and if we do

904.079

that and then this is what our project

906.68

list so we're going to come in and do

910.04

that projects there now we got our

912.88

button straightened out a little bit we

914.199

still probably do some more stuff with

915.48

them later but for now hey we have

917.399

buttons and

918.92

now we're going to go in here and you

921.839

can see as we've seen before where we've

923.72

got a lot of this stuff we can see

925.199

leftover code so we want to go fix that

928.839

first so let's take all of the uh C's

933

here see like this this everywhere we've

936.319

got an if we can take that and we're

938.48

going to do a Time Leaf if and we're

941.639

going to do a

944.079

div and then we can just close the

948.399

div and we don't need test equals uh so

952.079

it's going to be if equals that so now

956.16

we'll be able to see where this message

958.199

is showing up that's going to get

959.319

cleaned

960.56

up and let's see what else we got we've

964.88

got so we've got this our action is just

967.88

going to be save

969.72

project

971.959

wh delete that and now cruising down

975.8

through here let's see what else we got

977.56

so we didn't have to worry about that

979.199

one but we do have to worry about this

983.079

uh what is that project report we're

985.72

going to pull that thing wh

992.8

we're going to pull him all the way in

994.68

like that

997.04

and oh that's project report so we'll

999.48

just leave it like

1002.079

that and that gives us let's see so

1004.72

that's that one do we have a save and

1006.04

update yeah that one is right here and

1009.279

same thing I don't have to worry about

1011.12

that so we've got him split up start

1013.8

walking down here we do have our titles

1016.959

uh we've got our tasks here but now we

1018.72

have issues with that so what we need to

1020.399

do is our tried and true here we

1024.079

go uh that site is that what it was

1029.76

called oh that one looks like that came

1032.039

in twice okay so let's start with

1037.6

tasks because that's where we're at so

1039.799

we going to look at tasks so let's go

1041.28

find

1042.679

that there we go so in here we don't

1045.72

need to C

1047.199

if and but we do want it to be a loop so

1052.08

we do

1053.44

want uh that's just going to be

1056.6

a

1058.84

if and if project ID is greater than

1062.64

zero then it's going to come in here and

1065.24

we do a task

1068.36

submit so it may have some tasks and

1070.96

then for here

1074.12

remember we need to do a time and let's

1076.799

go back and look at the projects cuz I

1078.559

forget that one let me just copy that

1080.559

that's the easiest way to get my little

1082.08

Looper here we

1084.96

go that'll give me the whole kitten

1087.2

Kaboodle so if I come in here to this

1090.64

one so what we're going to want to do

1093.039

here is this is going to

1096.28

be call it task and Status it's going to

1098.96

be list of

1104.76

tasks and let's see so we want to select

1111.4

task and that's going to be task. ID

1116.2

oh oh interesting

1121.96

um I think that wants to be test.

1126.84

ID we I think that was a problem that we

1129.32

had there is that it was not working

1131.64

right before oh I see project ID so it's

1134.64

two

1135.4

things uh select task is going to be

1138.4

task

1140.039

ID

1144.799

and task. project

1147.559

ID so we've already got that little

1150.48

JavaScript

1152.28

built we don't need to worry about

1156.48

our our little status thing

1161.679

there and so we don't need to worry

1164.039

about this setting a

1166.2

status uh we don't need the 4 e

1168.88

each we don't need our on click because

1172.84

we've got

1175.679

that and then for each of

1179.76

these I think we're going to be good

1181.96

we're going to find out in a minute uh

1184.159

oh it's not going to

1186.919

be like

1191.36

that oh this going to be an interesting

1193.44

one right there because what we're going

1194.96

to have

1196.64

is uh t H text

1202.559

equals there we

1205.919

go and there is going to

1209.44

be

1211.24

th text

1214.88

equals and that's how we had it before

1217.2

right is we yep we had to close our date

1219.48

we don't have to put anything special in

1222.48

there and this one's going to be

1226.799

a text equals and we're just going to do

1230.28

we're not going to worry about the

1231.679

formatting the number right

1237.12

now and I did a underbar instead of a

1241.88

column and then this is going to be th

1245.919

text equals test

1251.72

name and same

1256.4

thing equals

1259.44

and we'll do the

1260.6

description so let's go ahead and get

1262.64

that and let's verify this one

1270.559

works and if it

1273.2

does then I think we will call it a wrap

1275.559

for this episode so we're going to come

1277.84

in we're going to do our projects um

1280.159

pick one and uh here we're seeing

1283.52

there's no tasks it gives us the header

1287.08

uh as we see

1288.84

here it's giving us a header because the

1291.4

project ID is greater than zero but this

1294.08

probably needs to be something that is a

1296.32

check to say hey if you know the number

1299

of if my tasks is list of tasks is

1302.679

greater than zero then I'm going to say

1305.52

that otherwise I'm going to say nothing

1307.6

found and so I do have something going

1309.919

here let's see do I have one that's

1311.88

got um I don't know if I've got any that

1314.799

have a

1316.36

task just oh here we go go here's one oh

1319.24

and we do it does look like we've got

1320.799

something if you look over here you can

1322.64

see where we did not close stuff up

1324.799

right

1325.679

somewhere so if we go

1328.679

here div div and a close oh that one

1332.52

doesn't have a close there we go so we

1335.12

can close that

1337.32

oh if I don't typo that then if we come

1342

in which project is that that was called

1345.76

project Administration okay and we know

1348.08

that we've got oh we've got a value in

1349.84

there let's go look at that real quick

1352.24

there is something up here on total

1354.08

hours where' it go where' it go all the

1356.679

way towards the top here we go total

1359.159

hours and so this needs to

1362.32

be probably a

1366.88

text

1373.44

equals we'll put him in

1376.2

there and we will put our bar

1379.24

here and our bar

1384.2

here

1386

and let's do this that close that bar

1390.6

and let's run

1394.32

it go check it

1400.2

out and what was that I think it was

1403.36

[Music]

1406.679

called uh oh it one that think was

1409.159

Plumbing reseller there we go so now we

1411.279

can see we've got our hours showing up

1413.44

we're seeing values basically in places

1416.799

here uh we're not getting our values

1419.039

coming up in our form up at the top uh

1420.96

it's probably may have something to do

1422.32

with that so that is going to be our

1424.32

next thing is let's make sure that we

1425.559

are getting values because these should

1426.96

be populated which if you look up

1429.52

here um like here we've got yeah see

1433.96

we're doing these old form inputs and so

1436.84

we're going to have to actually go back

1438.159

and we're going to pick those up so

1439.24

those are going to be rth texts and we

1441.44

will convert those next time around so

1445.12

thank you once again if you have any

1446.48

questions shoot us an email at info@

1448.919

developer.com but go out there and have

1451.6

yourself a great day a great week we

1453.44

will come back next time and just keep

1454.919

chunking Along on this have a good one

1457.559

hello this is Rob with develop or also

1459.72

known as building better developers

1462.159

wanted to announce that we have school.

1464.039

developer.com feel free to check it out

1466.96

if you like any any of this information

1469.44

any of the content that we've sent and

1470.88

you would like to see more you can come

1472.6

out you can enroll for free we have free

1474.799

courses we've got places for you to get

1477.64

better at just learning a technology or

1480.039

howtos you can work on your business

1482.039

skills we can help you with becoming a

1484.559

better developer as in coding and things

1487.039

like that a lot of the stuff you've seen

1488.64

on YouTube we also have out at school.

1491.52

develop preneur we just have it in a

1493.12

little more of a uh educational format

1495.6

and a way for you to track your progress

1498.12

As you move forward becoming a better

1503.04

[Music]

1516.799

developer