I have a header-menu-content page. the menu page contains some commandlink that will invoke page and have it displayed in the content area.
My question is, after I click on the submit button in the content page, how do I make the content page redisplay the same page again. currently, the page I selected from the commandlink disappear after I submit the content page.
I tried to have that page action return null, hoping it will redisplay it, but doesn't work.
I am fairly new to JavaServer face. Please help.
Comments
: commandlink that will invoke page and have it displayed in the
: content area.
:
: My question is, after I click on the submit button in the content
: page, how do I make the content page redisplay the same page again.
: currently, the page I selected from the commandlink disappear after
: I submit the content page.
:
: I tried to have that page action return null, hoping it will
: redisplay it, but doesn't work.
:
: I am fairly new to JavaServer face. Please help.
:
well if i understand u . i think what u want is the top part of ur page been the navigation bar and the lower art ur display area. so that when u click a link in the nav bar the contents in the display area changes accordingly. well if this is so , then this is a simple HTML trick. first u have made use of frames to partition ur page. now in ur tag(HTML), use the target attribute to direct the links to ur display frame. now if after submitting ur page which i believe is a form, u can use the tag (cant remember it exactly so find out) us can send all displays to ur display area.