It doesn't look like this Displayer supports a "target" attribute. You can enter this as a bug if you'd like to see it on there. If you can, you could use the VelocityDisplayer with the tabs.html template - then you'll have full control over the HTML it produces.

HTH,

Matt

On Jan 7, 2004, at 8:45 AM, Pingili, Madhupal wrote:

I am using TabbedMenuDisplayer as follows:

<Displayer name="TabbedMenu"
type="net.sf.navigator.displayer.TabbedMenuDisplayer"/>


JSP page contents:

  <menu:useMenuDisplayer name="TabbedMenu"
     bundle="org.apache.struts.action.MESSAGE">
       <menu:displayMenu name="<%=menu%>"/>
  </menu:useMenuDisplayer>

Thanks
Reddy Pingili

-----Original Message-----
From:   Matt Raible [SMTP:[EMAIL PROTECTED]
Sent:   Wednesday, January 07, 2004 10:36 AM
To:     [EMAIL PROTECTED]
Subject:        Re: [struts-menu] A question on struts menus and frames...

Which displayer are you using?

Matt

On Jan 7, 2004, at 8:06 AM, Pingili, Madhupal wrote:

Hi Matt,
I have tested with static HTML and it replaces whole body of the window
with target link results with the following HTML in header (top) frame:
<a href="Help.html#Login" target="_top">Help</a>
OR
<a href="Help.html#Login" target="_parent">Help</a>


But, When I put target="_parent" OR target="_top" in menu-config.xml
for menu items, it is not added in HTML like below:

<li><a href="/docQuery/searchDocs.do" title="Advanced Search">Advanced
Search</a></li>


So, If Struts-menu can add that target="_top" as part of link like
below:
<li><a href="/loanQuery/searchDocs.do" target="_top" title="Advanced
Search">Advanced Search</a></li>
that will solve my problem.

Thanks
Reddy Pingili

-----Original Message-----
From:   Matt Raible [SMTP:[EMAIL PROTECTED]
Sent:   Monday, January 05, 2004 4:02 PM
To:     [EMAIL PROTECTED]
Subject:        Re: [struts-menu] A question on struts menus and frames...

You might try doing a view-source and just working with the static
HTML. You'll probably have to copy all the files to a local directory
and change a bunch of links to make it work - but it'll make it easier
for you to figure out the solution. Once you find the HTML syntax you
need (vs. what the Menu is rendering), I can help you get the menu
right.


Matt

On Jan 5, 2004, at 1:21 PM, Pingili, Madhupal wrote:

I have added target="text" like below:
<Menu name="TabbedAdvSearch" title="menu.title.advsearch"
action="/advSearch" target="text"/>

Still it replaces the top-frame only.

Any ideas???

Thanks
Reddy Pingili

-----Original Message-----
From: Matt Raible [SMTP:[EMAIL PROTECTED]
Sent: Monday, January 05, 2004 2:47 PM
To: [EMAIL PROTECTED]
Subject: Re: [struts-menu] A question on struts menus and frames...


Add target="lowerFrameName" to your items in menu-config.xml.

HTH,

Matt

On Jan 5, 2004, at 12:27 PM, Pingili, Madhupal wrote:

Hello again,
I have Struts menus(tabbed) in the header section in top-frame of a
frameset.
I have left and right frames right below the top-frame.
Now if I click on tabbed menu, it is just replacing the top-frame
with
the
results of that
menu link. Rather, I want it to replace whole document with the
results of
that menu link.
Can anyone give me some clues/ideas on making this happen?


Thanks a lot,
Reddy Pingili






-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for
IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys
admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
struts-menu-user mailing list
[EMAIL PROTECTED]
https://lists.sf.net/lists/listinfo/struts-menu-user



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for
IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys
admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
struts-menu-user mailing list
[EMAIL PROTECTED]
https://lists.sf.net/lists/listinfo/struts-menu-user


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for
IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys
admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
struts-menu-user mailing list
[EMAIL PROTECTED]
https://lists.sf.net/lists/listinfo/struts-menu-user



------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ struts-menu-user mailing list [EMAIL PROTECTED] https://lists.sf.net/lists/listinfo/struts-menu-user


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for
IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys
admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
struts-menu-user mailing list
[EMAIL PROTECTED]
https://lists.sf.net/lists/listinfo/struts-menu-user



------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ struts-menu-user mailing list [EMAIL PROTECTED] https://lists.sf.net/lists/listinfo/struts-menu-user


-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
struts-menu-user mailing list
[EMAIL PROTECTED]
https://lists.sf.net/lists/listinfo/struts-menu-user



------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ struts-menu-user mailing list [EMAIL PROTECTED] https://lists.sf.net/lists/listinfo/struts-menu-user

Reply via email to