This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Rust Web Development and have Bastian Gruber on-line!
See this thread for details.
Win a copy of Rust Web Development this week in the Other Languages forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

Implementing the child window in JSF.

Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
I want to implement the concept of opening a child window in my webpage, when the user clicks on a particular command button. Currently i have implemented it using some css and 'div' tag. The css file has the necessary design attributes of the new window. And the div tag holds the design of the new window, and i m setting the visibility of that div tag using backend code. So that when the user clicks on that button, the div tag's visibility will be set to true and the new window will open on the parent window, and all the controls of the parent window will be disabled.
But the problem in this is that the new window is a static one, the user wont be able to move it. I want to create the child window, in such manner that the user can just move it by clicking on the titile bar and dragging it.
I also tried it initially using But the problem in that is that the user can jump to the parent window without closing the child window. (And one of my friend even suggested a code, which will close the child window, if the user clicks any control on the parent window)
My requirement is this, i want the child window to be created in a manner that the user should be able to move its position and the user cant switch to the parent window without closing the child window(jus like in the case of using the confirm dialog box in java script).
Saloon Keeper
Posts: 24824
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Actually, I have pop-up windows disabled in my browser. I hate the little $%$^@#@!!s. Allowed Pop-ups render in a new tab, not a new window. And the tab is background-loaded, not automatically made active.

However, your problem isn't in the programming, it's in the browser. No web browser I know of permits a window to totally lock out input processing for another window, and that's just as well, since malware could probably have all sorts of fun with a capability like that.

    Bookmark Topic Watch Topic
  • New Topic