Win a copy of Building Blockchain Apps this week in the Cloud/Virtualization forum!

Benjamin Calderon

Greenhorn
+ Follow
since Aug 09, 2011
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
4
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Benjamin Calderon

Bear Bibeault wrote: :thumbup:


Just for learning purposes, is there any thing that i could improve in this code? like to make it better...any ideas are welcome :)
8 years ago
JSP
Swet, i got it to work. I just added that varStatus to the column <c:forEach> tag and added a little more code and it finally works, thanks to everyone that helped :)
8 years ago
JSP

Paul Clapham wrote:Okay. So that's the first column, right? Then just make the first column a link. Or am I missing something that you're trying to ask now?



Im new to this stuff, Im an intern at a company and i was told to do something like this a practice and just to figure it out however i could including forums, google, etc. So im basically in a learning position so im not sure how to make just the first column a link. is there like a column.count thing i could use and if the count is equal to column one that it makes it a link, and if not it is made how it normally is?
8 years ago
JSP

Paul Clapham wrote:Well, I would say that if the column name was actually "t_ord.ORD_ID" then comparing to "ORD_ID" would not do what you want. But you have something which outputs the actual column names now... it would have been interesting to see what its output was.



the column name isnt "t_ord.ORD_ID", when i run this, it runs as i expected and creates a table with all the column headers i specified as well as all the data i wanted. and the column name is "ORD_ID". I want all of the data that is from "ORD_ID" as links.
8 years ago
JSP
So, here is still what i have. i know that embedding SQL query directly into JSP pages is not a good idea, but ive done it so that you can see the quer that i am sending. the param.partyID is from a sepreate JSP that inputs a Member ID number in a text fields and sends it as a parameter. so, again. i need those order ID numbers to be links to a page that corresponds to them. it is the t_ord.ORD_ID that i want to be links for every one that is in the database.

8 years ago
JSP

Paul Clapham wrote:Don't leave half of your EL expression outside the brackets.


Thnaks, i did not know that. i thought it was some sort of getVariable thing. So, i changed it to how you said and my code is now:

it does populate the table with all of the correct data, but my links for my Ord_ID fields are still not working, so basically the first <c:if> statement is not doing its job, so maybe the test is put wron?
8 years ago
JSP

Bear Bibeault wrote:

Benjamin Calderon wrote:the fields i am referring to are the ORD_ID fields in the table once it goes to a we page.


There are no such elements as "fields" in HTML. Please be precise in identifying which elements you are referring to. It helps eliminate guesswork.

an i know about the syntax, that was just a sample of something that I tried to do.


Well, it needs to be fixed before we can move on.


i dont know how to fix it, that is my main question is in that part of the code
8 years ago
JSP

Bear Bibeault wrote:

Benjamin Calderon wrote:i need to figure out how to make all fields


Fields? What elements are you referring to?

I'm also seeing some syntax errors that are sure to be holding you back (lines 30 and 34).


the fields i am referring to are the ORD_ID fields in the table once it goes to a we page. an i know about the syntax, that was just a sample of something that I tried to do.
8 years ago
JSP
i have a question. i need to figure out how to make all fields called ord_ID in a table hyperlinks to a different JSP page with the value of the ord_ID as a parameter as a query string(value) to the receiving JSP page. this is what i have so far:


this code does not work with the hyper link, how can i change it?
8 years ago
JSP