Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Pop-up window in jsp using struts <html:link tag

Posted on 2007-12-02
5
Medium Priority
?
3,981 Views
Last Modified: 2013-11-24
Hello,

I need to pop-up a window, when the user clicks on link. I wanted to use the <html:link> tag from struts library.

Say the, the link name is Edit. When the user clicks on the edit link a small pop-up window with few form fields with pre-filled data and submit button should pop-up.

Can anybody provide me with a good solution? In advance, I appreciate your help.

Thanks--
Mudigonda
0
Comment
Question by:mudigondamm
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 
LVL 27

Expert Comment

by:mrcoffee365
ID: 20392891
The HTML to create a popup window from a link is:

<a target="_blank" href="/myfile.jsp">Popup Window</a>

You can use target="_blank" in html:link tags.
0
 

Author Comment

by:mudigondamm
ID: 20393041
I'm sorry. Actually, what I meant by pop-up is a small dialog box kind of thing. Not exactly a complete browser window using target="_blank" in the <html:link>. I'm looking for some javascript solution in jsp page using struts framework.

Anyways, I appreciate for your quick reply.

Thanks--
Madhu
0
 
LVL 27

Accepted Solution

by:
mrcoffee365 earned 500 total points
ID: 20394147
We don't integrate Javascript with Struts -- we just use Javascript in our display pages.  You might try AjaxTags:
http://ajaxtags.sourceforge.net/index.html

or the Struts menu tag lib (since menus are essentially popovers, which is what I now assume you're looking for):
http://struts-menu.sourceforge.net/
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question