Results 1 to 3 of 3
- 04-19-2012, 10:45 AM #1
Member
- Join Date
- Apr 2012
- Location
- UK
- Posts
- 2
- Rep Power
- 0
navigating pages using parameters
Hi all,
I'm really hoping that somebody can help, I'm also hoping that this isn't a re-post.
Basically I have two tables stored in a database one called company and another called department. I'm using JSF2.0 with the netbeans ide and have hit a brick wall. I need the user to be able to click a command button to view all companies which I have done quite happily, this returns a table view of all companies, I have added a link to the table to allow the user to view the departments linked to the company. This is where the problems creeps in.
I have to get the company parameter to feed that into a query to return all of the departments linked to the company. The primary key for the company table is companyId and the foreign key in the department table is department_companyId.
I have done the research untill my eyes are bleeding and still can't make sence of what I need to do. Can anybody advise me of the steps or pprovide links to where I can find the information as I'm new to JSF and I'm still having trouble understanding how it all works.
Many thanks for your time and efforts
- 04-24-2012, 09:36 AM #2
Member
- Join Date
- Apr 2012
- Location
- UK
- Posts
- 2
- Rep Power
- 0
Re: navigating pages using parameters
OK never mind, I'll ask the question on a forum where people will take the time to answer
- 04-24-2012, 09:48 AM #3
Similar Threads
-
Java from console with parameters... with inetrnal parameters
By metoda in forum New To JavaReplies: 10Last Post: 01-24-2012, 10:02 PM -
Navigating Bots
By Ciwan in forum New To JavaReplies: 17Last Post: 07-02-2011, 03:35 AM -
how to pass parameters from a method to another which accepts to parameters?possible?
By amrmb09 in forum Advanced JavaReplies: 5Last Post: 11-21-2010, 02:08 PM -
navigating between jsp
By newto in forum New To JavaReplies: 5Last Post: 05-12-2010, 01:38 PM -
Navigating a URL
By Paul77 in forum New To JavaReplies: 0Last Post: 11-16-2008, 09:01 PM


LinkBack URL
About LinkBacks

Bookmarks