RE: Dynamic Tree Menus --- HELP!!!

2003-08-01 Thread Pat Quinn
Thanks for you effort in resolving this issue its working perfectly now.

It might be a good idea to include the changes i've made to the 
DisplayMenuTag class i.e.

in the doStartTag() method after we fetch the menu from the repository we 
could add the following:

/* If no menu was found in the repository*/
   if ( menu == null ) {
   /*check Request for menu component*/
   menu = (MenuComponent) 
this.pageContext.getRequest().getAttribute(this.name);

   /*check session for menu component*/
   if ( menu == null ) {
   menu = (MenuComponent) 
this.pageContext.getSession().getAttribute(this.name);
   }
   }

Anyways thanks again its really appreciated.

Pat



From: Raible, Matt [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Subject: RE: Dynamic Tree Menus --- HELP!!!
Date: Thu, 31 Jul 2003 13:21:26 -0600
Thanks Pat - I confirmed that this is a bug, and fixed it in CVS.  You can
see an example at the following URL:
http://raibledesigns.com/struts-menu/test1.jsp

Download the updated JAR at:

http://raibledesigns.com/downloads/struts-menu.jar

or build struts-menu from CVS.

HTH,

Matt

-Original Message-
From: Pat Quinn [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 9:47 AM
To: [EMAIL PROTECTED]
Subject: RE: Dynamic Tree Menus --- HELP!!!
I appreciate your kind offer my details are as follows:

I've broken it down into a very basic example once you view this the third
node will appear with a series of plus images.
---
Menu-Config.xml
---
?xml version=1.0 encoding=UTF-8 ?
MenuConfig
  Displayers
Displayer   name=ListMenu
type=com.fgm.web.menu.displayer.ListMenuDisplayer/
  /Displayers
  Menus
Menu  name=test1  title=test1  description=test width=200
   Item   name=test2   title=test2 width=200
   Item   name=test3   title=test3 width=200
Item   name=test4   title=test4 location=index.jsp
width=200/
/Item
   /Item
/Menu
  /Menus

/MenuConfig

-
JSP Code
-
%@ taglib uri=/WEB-INF/struts-menu.tld prefix=menu%
menu:useMenuDisplayer name=ListMenu
menu:displayMenu name=test1/
/menu:useMenuDisplayer
From: Raible, Matt [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Subject: RE: Dynamic Tree Menus --- HELP!!!
Date: Thu, 31 Jul 2003 09:22:04 -0600

I'm willing to help if you send me the code.  Which Displayer are you
using?

Matt

-Original Message-
From: Pat Quinn [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 9:20 AM
To: [EMAIL PROTECTED]
Subject: Re: Dynamic Tree Menus --- HELP!!!


Is anyone out there working with dynamic HTML trees at the moment (i.e.
displaying data loaded from a data base) as i'm pulling my hair out here 
at
the moment.

I downloaded the source for Struts Menu and implemented a change to allow
me

to place a java bean with my tree menu details into HttpSession rather 
than
loading it from the menu xml file. Every thing works fine until i tried 
to
add triple nested node to the tree and it totally screws up presentation
i.e. The node image is repeatedly displayed. Its not due to my changes as 
i
tested it in the latest stable version and it fails also to render with 
the
same results.

I've also taken a look into using http://www.kobrix.com/ offering but 
their
configuration requirements to integrate with struts seems abit too much 
for
my liking.




Any suggestions, or should i just go find the JavaScript i require
elsewhere

and wrap it with my own custom tag library



 From: Pat Quinn [EMAIL PROTECTED]
 Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Dynamic Html Tree Menus - Java Beans.
 Date: Thu, 31 Jul 2003 10:22:51 +0100
 
 I'm looking for a tag library to aid the rendering of a Tree Menu using
 session/request stored objects.
 I want to included the menu data as a Java Bean in HttpSession for each
 user and then use tag libs in my JSP's. I've looked into the StrutsMenu
 Offering for Dynamic Menus but it loads menu data from an XML file.
 
 Any ideas or am i better off to develop my own custom tag lib?
 
 _
 MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
 http://join.msn.com/?page=features/virus
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 

_
The new MSN 8: advanced junk mail protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED

Re: Dynamic Tree Menus --- HELP!!!

2003-07-31 Thread Pat Quinn
Is anyone out there working with dynamic HTML trees at the moment (i.e. 
displaying data loaded from a data base) as i'm pulling my hair out here at 
the moment.

I downloaded the source for Struts Menu and implemented a change to allow me 
to place a java bean with my tree menu details into HttpSession rather than 
loading it from the menu xml file. Every thing works fine until i tried to 
add triple nested node to the tree and it totally screws up presentation 
i.e. The node image is repeatedly displayed. Its not due to my changes as i 
tested it in the latest stable version and it fails also to render with the 
same results.

I've also taken a look into using http://www.kobrix.com/ offering but their 
configuration requirements to integrate with struts seems abit too much for 
my liking.



Any suggestions, or should i just go find the JavaScript i require elsewhere 
and wrap it with my own custom tag library



From: Pat Quinn [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Dynamic Html Tree Menus - Java Beans.
Date: Thu, 31 Jul 2003 10:22:51 +0100
I'm looking for a tag library to aid the rendering of a Tree Menu using 
session/request stored objects.
I want to included the menu data as a Java Bean in HttpSession for each 
user and then use tag libs in my JSP's. I've looked into the StrutsMenu 
Offering for Dynamic Menus but it loads menu data from an XML file.

Any ideas or am i better off to develop my own custom tag lib?

_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. 
http://join.msn.com/?page=features/virus

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_
The new MSN 8: advanced junk mail protection and 2 months FREE* 
http://join.msn.com/?page=features/junkmail

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Dynamic Tree Menus --- HELP!!!

2003-07-31 Thread Raible, Matt
I'm willing to help if you send me the code.  Which Displayer are you using?

Matt

-Original Message-
From: Pat Quinn [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 9:20 AM
To: [EMAIL PROTECTED]
Subject: Re: Dynamic Tree Menus --- HELP!!!


Is anyone out there working with dynamic HTML trees at the moment (i.e. 
displaying data loaded from a data base) as i'm pulling my hair out here at 
the moment.

I downloaded the source for Struts Menu and implemented a change to allow me

to place a java bean with my tree menu details into HttpSession rather than 
loading it from the menu xml file. Every thing works fine until i tried to 
add triple nested node to the tree and it totally screws up presentation 
i.e. The node image is repeatedly displayed. Its not due to my changes as i 
tested it in the latest stable version and it fails also to render with the 
same results.

I've also taken a look into using http://www.kobrix.com/ offering but their 
configuration requirements to integrate with struts seems abit too much for 
my liking.




Any suggestions, or should i just go find the JavaScript i require elsewhere

and wrap it with my own custom tag library



From: Pat Quinn [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Dynamic Html Tree Menus - Java Beans.
Date: Thu, 31 Jul 2003 10:22:51 +0100

I'm looking for a tag library to aid the rendering of a Tree Menu using 
session/request stored objects.
I want to included the menu data as a Java Bean in HttpSession for each 
user and then use tag libs in my JSP's. I've looked into the StrutsMenu 
Offering for Dynamic Menus but it loads menu data from an XML file.

Any ideas or am i better off to develop my own custom tag lib?

_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. 
http://join.msn.com/?page=features/virus


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


_
The new MSN 8: advanced junk mail protection and 2 months FREE* 
http://join.msn.com/?page=features/junkmail


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Dynamic Tree Menus --- HELP!!!

2003-07-31 Thread Pat Quinn
I appreciate your kind offer my details are as follows:

I've broken it down into a very basic example once you view this the third 
node will appear with a series of plus images.

---
Menu-Config.xml
---
?xml version=1.0 encoding=UTF-8 ?
MenuConfig
 Displayers
   Displayer   name=ListMenu 
type=com.fgm.web.menu.displayer.ListMenuDisplayer/
 /Displayers
 Menus

   Menu  name=test1  title=test1  description=test width=200
  Item   name=test2   title=test2 width=200
  Item   name=test3   title=test3 width=200
   Item   name=test4   title=test4 location=index.jsp 
width=200/
   /Item
  /Item
   /Menu

 /Menus

/MenuConfig

-
JSP Code
-
%@ taglib uri=/WEB-INF/struts-menu.tld prefix=menu%
menu:useMenuDisplayer name=ListMenu
   menu:displayMenu name=test1/
/menu:useMenuDisplayer

From: Raible, Matt [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Subject: RE: Dynamic Tree Menus --- HELP!!!
Date: Thu, 31 Jul 2003 09:22:04 -0600
I'm willing to help if you send me the code.  Which Displayer are you 
using?

Matt

-Original Message-
From: Pat Quinn [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 9:20 AM
To: [EMAIL PROTECTED]
Subject: Re: Dynamic Tree Menus --- HELP!!!
Is anyone out there working with dynamic HTML trees at the moment (i.e.
displaying data loaded from a data base) as i'm pulling my hair out here at
the moment.
I downloaded the source for Struts Menu and implemented a change to allow 
me

to place a java bean with my tree menu details into HttpSession rather than
loading it from the menu xml file. Every thing works fine until i tried to
add triple nested node to the tree and it totally screws up presentation
i.e. The node image is repeatedly displayed. Its not due to my changes as i
tested it in the latest stable version and it fails also to render with the
same results.
I've also taken a look into using http://www.kobrix.com/ offering but their
configuration requirements to integrate with struts seems abit too much for
my liking.


Any suggestions, or should i just go find the JavaScript i require 
elsewhere

and wrap it with my own custom tag library



From: Pat Quinn [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Dynamic Html Tree Menus - Java Beans.
Date: Thu, 31 Jul 2003 10:22:51 +0100

I'm looking for a tag library to aid the rendering of a Tree Menu using
session/request stored objects.
I want to included the menu data as a Java Bean in HttpSession for each
user and then use tag libs in my JSP's. I've looked into the StrutsMenu
Offering for Dynamic Menus but it loads menu data from an XML file.

Any ideas or am i better off to develop my own custom tag lib?

_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
http://join.msn.com/?page=features/virus


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

_
The new MSN 8: advanced junk mail protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. 
http://join.msn.com/?page=features/virus

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Dynamic Tree Menus --- HELP!!!

2003-07-31 Thread Pat Quinn
I appreciate your kind offer my details are as follows:

I've broken it down into a very basic example once you view this the third 
node will appear with a series of plus images.

---
Menu-Config.xml
---
?xml version=1.0 encoding=UTF-8 ?
MenuConfig
 Displayers
   Displayer   name=ListMenu 
type=com.fgm.web.menu.displayer.ListMenuDisplayer/
 /Displayers
 Menus

   Menu  name=test1  title=test1  description=test width=200
  Item   name=test2   title=test2 width=200
  Item   name=test3   title=test3 width=200
   Item   name=test4   title=test4 location=index.jsp 
width=200/
   /Item
  /Item
   /Menu

 /Menus

/MenuConfig

-
JSP Code
-
%@ taglib uri=/WEB-INF/struts-menu.tld prefix=menu%
menu:useMenuDisplayer name=ListMenu
   menu:displayMenu name=test1/
/menu:useMenuDisplayer

From: Raible, Matt [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Subject: RE: Dynamic Tree Menus --- HELP!!!
Date: Thu, 31 Jul 2003 09:22:04 -0600
I'm willing to help if you send me the code.  Which Displayer are you 
using?

Matt

-Original Message-
From: Pat Quinn [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 9:20 AM
To: [EMAIL PROTECTED]
Subject: Re: Dynamic Tree Menus --- HELP!!!
Is anyone out there working with dynamic HTML trees at the moment (i.e.
displaying data loaded from a data base) as i'm pulling my hair out here at
the moment.
I downloaded the source for Struts Menu and implemented a change to allow 
me

to place a java bean with my tree menu details into HttpSession rather than
loading it from the menu xml file. Every thing works fine until i tried to
add triple nested node to the tree and it totally screws up presentation
i.e. The node image is repeatedly displayed. Its not due to my changes as i
tested it in the latest stable version and it fails also to render with the
same results.
I've also taken a look into using http://www.kobrix.com/ offering but their
configuration requirements to integrate with struts seems abit too much for
my liking.


Any suggestions, or should i just go find the JavaScript i require 
elsewhere

and wrap it with my own custom tag library



From: Pat Quinn [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Dynamic Html Tree Menus - Java Beans.
Date: Thu, 31 Jul 2003 10:22:51 +0100

I'm looking for a tag library to aid the rendering of a Tree Menu using
session/request stored objects.
I want to included the menu data as a Java Bean in HttpSession for each
user and then use tag libs in my JSP's. I've looked into the StrutsMenu
Offering for Dynamic Menus but it loads menu data from an XML file.

Any ideas or am i better off to develop my own custom tag lib?

_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
http://join.msn.com/?page=features/virus


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

_
The new MSN 8: advanced junk mail protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_
MSN 8 with e-mail virus protection service: 2 months FREE* 
http://join.msn.com/?page=features/virus

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Dynamic Tree Menus --- HELP!!!

2003-07-31 Thread Todd Fuller
Pat,

Check out the Multi-level tree example at the URL below.

http://www2.metanology.com:8080/struts-examples-web/index.jsp

Todd Fuller
Metanology Corporation
4625 Alexander Dr., Ste 105
Alpharetta, GA 30022
770.475.1301 Office
404.561.0294 Cell
www.metanology.com


-Original Message-
From: Pat Quinn [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 11:47 AM
To: [EMAIL PROTECTED]
Subject: RE: Dynamic Tree Menus --- HELP!!!


I appreciate your kind offer my details are as follows:

I've broken it down into a very basic example once you view this the third
node will appear with a series of plus images.

---
Menu-Config.xml
---
?xml version=1.0 encoding=UTF-8 ?
MenuConfig
  Displayers
Displayer   name=ListMenu
type=com.fgm.web.menu.displayer.ListMenuDisplayer/
  /Displayers
  Menus

Menu  name=test1  title=test1  description=test width=200
   Item   name=test2   title=test2 width=200
   Item   name=test3   title=test3 width=200
Item   name=test4   title=test4 location=index.jsp
width=200/
/Item
   /Item
/Menu

  /Menus

/MenuConfig

-
JSP Code
-
%@ taglib uri=/WEB-INF/struts-menu.tld prefix=menu%

menu:useMenuDisplayer name=ListMenu
menu:displayMenu name=test1/
/menu:useMenuDisplayer


From: Raible, Matt [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Subject: RE: Dynamic Tree Menus --- HELP!!!
Date: Thu, 31 Jul 2003 09:22:04 -0600

I'm willing to help if you send me the code.  Which Displayer are you
using?

Matt

-Original Message-
From: Pat Quinn [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 9:20 AM
To: [EMAIL PROTECTED]
Subject: Re: Dynamic Tree Menus --- HELP!!!


Is anyone out there working with dynamic HTML trees at the moment (i.e.
displaying data loaded from a data base) as i'm pulling my hair out here at
the moment.

I downloaded the source for Struts Menu and implemented a change to allow
me

to place a java bean with my tree menu details into HttpSession rather than
loading it from the menu xml file. Every thing works fine until i tried to
add triple nested node to the tree and it totally screws up presentation
i.e. The node image is repeatedly displayed. Its not due to my changes as i
tested it in the latest stable version and it fails also to render with the
same results.

I've also taken a look into using http://www.kobrix.com/ offering but their
configuration requirements to integrate with struts seems abit too much for
my liking.




Any suggestions, or should i just go find the JavaScript i require
elsewhere

and wrap it with my own custom tag library



 From: Pat Quinn [EMAIL PROTECTED]
 Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Dynamic Html Tree Menus - Java Beans.
 Date: Thu, 31 Jul 2003 10:22:51 +0100
 
 I'm looking for a tag library to aid the rendering of a Tree Menu using
 session/request stored objects.
 I want to included the menu data as a Java Bean in HttpSession for each
 user and then use tag libs in my JSP's. I've looked into the StrutsMenu
 Offering for Dynamic Menus but it loads menu data from an XML file.
 
 Any ideas or am i better off to develop my own custom tag lib?
 
 _
 MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
 http://join.msn.com/?page=features/virus
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 

_
The new MSN 8: advanced junk mail protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


_
MSN 8 with e-mail virus protection service: 2 months FREE*
http://join.msn.com/?page=features/virus



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Dynamic Tree Menus --- HELP!!!

2003-07-31 Thread Bailey, Shane C.


How come the example doesn't work with Netscape (v7.02 and my JavaScript is
turned on)??

I was thinking about using the Struts menus but I have users that are on
UNIX work workstations (Intranet app).  Is this common for the menus not to
work on Netscape?



-Original Message-
From: Todd Fuller [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 31, 2003 2:09 PM
To: [EMAIL PROTECTED]
Cc: Pat Quinn
Subject: RE: Dynamic Tree Menus --- HELP!!!

Pat,

Check out the Multi-level tree example at the URL below.

http://www2.metanology.com:8080/struts-examples-web/index.jsp

Todd Fuller
Metanology Corporation
4625 Alexander Dr., Ste 105
Alpharetta, GA 30022
770.475.1301 Office
404.561.0294 Cell
www.metanology.com


-Original Message-
From: Pat Quinn [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 11:47 AM
To: [EMAIL PROTECTED]
Subject: RE: Dynamic Tree Menus --- HELP!!!


I appreciate your kind offer my details are as follows:

I've broken it down into a very basic example once you view this the third
node will appear with a series of plus images.

---
Menu-Config.xml
---
?xml version=1.0 encoding=UTF-8 ?
MenuConfig
  Displayers
Displayer   name=ListMenu
type=com.fgm.web.menu.displayer.ListMenuDisplayer/
  /Displayers
  Menus

Menu  name=test1  title=test1  description=test width=200
   Item   name=test2   title=test2 width=200
   Item   name=test3   title=test3 width=200
Item   name=test4   title=test4 location=index.jsp
width=200/
/Item
   /Item
/Menu

  /Menus

/MenuConfig

-
JSP Code
-
%@ taglib uri=/WEB-INF/struts-menu.tld prefix=menu%

menu:useMenuDisplayer name=ListMenu
menu:displayMenu name=test1/
/menu:useMenuDisplayer


From: Raible, Matt [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Subject: RE: Dynamic Tree Menus --- HELP!!!
Date: Thu, 31 Jul 2003 09:22:04 -0600

I'm willing to help if you send me the code.  Which Displayer are you
using?

Matt

-Original Message-
From: Pat Quinn [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 9:20 AM
To: [EMAIL PROTECTED]
Subject: Re: Dynamic Tree Menus --- HELP!!!


Is anyone out there working with dynamic HTML trees at the moment (i.e.
displaying data loaded from a data base) as i'm pulling my hair out here at
the moment.

I downloaded the source for Struts Menu and implemented a change to allow
me

to place a java bean with my tree menu details into HttpSession rather than
loading it from the menu xml file. Every thing works fine until i tried to
add triple nested node to the tree and it totally screws up presentation
i.e. The node image is repeatedly displayed. Its not due to my changes as i
tested it in the latest stable version and it fails also to render with the
same results.

I've also taken a look into using http://www.kobrix.com/ offering but their
configuration requirements to integrate with struts seems abit too much for
my liking.




Any suggestions, or should i just go find the JavaScript i require
elsewhere

and wrap it with my own custom tag library



 From: Pat Quinn [EMAIL PROTECTED]
 Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Dynamic Html Tree Menus - Java Beans.
 Date: Thu, 31 Jul 2003 10:22:51 +0100
 
 I'm looking for a tag library to aid the rendering of a Tree Menu using
 session/request stored objects.
 I want to included the menu data as a Java Bean in HttpSession for each
 user and then use tag libs in my JSP's. I've looked into the StrutsMenu
 Offering for Dynamic Menus but it loads menu data from an XML file.
 
 Any ideas or am i better off to develop my own custom tag lib?
 
 _
 MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
 http://join.msn.com/?page=features/virus
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 

_
The new MSN 8: advanced junk mail protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


_
MSN 8 with e-mail virus protection service: 2 months FREE*
http://join.msn.com/?page=features/virus



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED

RE: Dynamic Tree Menus --- HELP!!!

2003-07-31 Thread Mike Jasnowski
It's not common for them not to work, but there might be a JavaScript error.
You can tell this if you type javascript: in your address bar, it will
show a console of errors for the NS browser. Plus the NS browsers are (IMHO)
historically very strict about the validity of the page, bad HTML won't
render in many cases.  Although I don't know what problem you are having
specifically.

-Original Message-
From: Bailey, Shane C. [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 2:06 PM
To: 'Struts Users Mailing List'
Subject: RE: Dynamic Tree Menus --- HELP!!!




How come the example doesn't work with Netscape (v7.02 and my JavaScript is
turned on)??

I was thinking about using the Struts menus but I have users that are on
UNIX work workstations (Intranet app).  Is this common for the menus not to
work on Netscape?



-Original Message-
From: Todd Fuller [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 2:09 PM
To: [EMAIL PROTECTED]
Cc: Pat Quinn
Subject: RE: Dynamic Tree Menus --- HELP!!!

Pat,

Check out the Multi-level tree example at the URL below.

http://www2.metanology.com:8080/struts-examples-web/index.jsp

Todd Fuller
Metanology Corporation
4625 Alexander Dr., Ste 105
Alpharetta, GA 30022
770.475.1301 Office
404.561.0294 Cell
www.metanology.com


-Original Message-
From: Pat Quinn [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 11:47 AM
To: [EMAIL PROTECTED]
Subject: RE: Dynamic Tree Menus --- HELP!!!


I appreciate your kind offer my details are as follows:

I've broken it down into a very basic example once you view this the third
node will appear with a series of plus images.

---
Menu-Config.xml
---
?xml version=1.0 encoding=UTF-8 ?
MenuConfig
  Displayers
Displayer   name=ListMenu
type=com.fgm.web.menu.displayer.ListMenuDisplayer/
  /Displayers
  Menus

Menu  name=test1  title=test1  description=test width=200
   Item   name=test2   title=test2 width=200
   Item   name=test3   title=test3 width=200
Item   name=test4   title=test4 location=index.jsp
width=200/
/Item
   /Item
/Menu

  /Menus

/MenuConfig

-
JSP Code
-
%@ taglib uri=/WEB-INF/struts-menu.tld prefix=menu%

menu:useMenuDisplayer name=ListMenu
menu:displayMenu name=test1/
/menu:useMenuDisplayer


From: Raible, Matt [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Subject: RE: Dynamic Tree Menus --- HELP!!!
Date: Thu, 31 Jul 2003 09:22:04 -0600

I'm willing to help if you send me the code.  Which Displayer are you
using?

Matt

-Original Message-
From: Pat Quinn [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 9:20 AM
To: [EMAIL PROTECTED]
Subject: Re: Dynamic Tree Menus --- HELP!!!


Is anyone out there working with dynamic HTML trees at the moment (i.e.
displaying data loaded from a data base) as i'm pulling my hair out here at
the moment.

I downloaded the source for Struts Menu and implemented a change to allow
me

to place a java bean with my tree menu details into HttpSession rather than
loading it from the menu xml file. Every thing works fine until i tried to
add triple nested node to the tree and it totally screws up presentation
i.e. The node image is repeatedly displayed. Its not due to my changes as i
tested it in the latest stable version and it fails also to render with the
same results.

I've also taken a look into using http://www.kobrix.com/ offering but their
configuration requirements to integrate with struts seems abit too much for
my liking.




Any suggestions, or should i just go find the JavaScript i require
elsewhere

and wrap it with my own custom tag library



 From: Pat Quinn [EMAIL PROTECTED]
 Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Dynamic Html Tree Menus - Java Beans.
 Date: Thu, 31 Jul 2003 10:22:51 +0100
 
 I'm looking for a tag library to aid the rendering of a Tree Menu using
 session/request stored objects.
 I want to included the menu data as a Java Bean in HttpSession for each
 user and then use tag libs in my JSP's. I've looked into the StrutsMenu
 Offering for Dynamic Menus but it loads menu data from an XML file.
 
 Any ideas or am i better off to develop my own custom tag lib?
 
 _
 MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
 http://join.msn.com/?page=features/virus
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 

_
The new MSN 8: advanced junk mail protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail


-
To unsubscribe, e-mail: [EMAIL PROTECTED

RE: Dynamic Tree Menus --- HELP!!!

2003-07-31 Thread Raible, Matt
It doesn't work in Mozilla/Netscape b/c it appears to be a IE-only menu,
notice the Javascript errors I get in Mozilla's Firebird (v 0.6.1):

Error: document.all has no properties
Source File:
javascript:toggleVis(document.all.branchDIV0,document.images.pointerBranch0)
;
Line: 1

document.all is an IE-only property.

Matt

-Original Message-
From: Bailey, Shane C. [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 12:06 PM
To: 'Struts Users Mailing List'
Subject: RE: Dynamic Tree Menus --- HELP!!!




How come the example doesn't work with Netscape (v7.02 and my JavaScript is
turned on)??

I was thinking about using the Struts menus but I have users that are on
UNIX work workstations (Intranet app).  Is this common for the menus not to
work on Netscape?



-Original Message-
From: Todd Fuller [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 31, 2003 2:09 PM
To: [EMAIL PROTECTED]
Cc: Pat Quinn
Subject: RE: Dynamic Tree Menus --- HELP!!!

Pat,

Check out the Multi-level tree example at the URL below.

http://www2.metanology.com:8080/struts-examples-web/index.jsp

Todd Fuller
Metanology Corporation
4625 Alexander Dr., Ste 105
Alpharetta, GA 30022
770.475.1301 Office
404.561.0294 Cell
www.metanology.com


-Original Message-
From: Pat Quinn [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 11:47 AM
To: [EMAIL PROTECTED]
Subject: RE: Dynamic Tree Menus --- HELP!!!


I appreciate your kind offer my details are as follows:

I've broken it down into a very basic example once you view this the third
node will appear with a series of plus images.

---
Menu-Config.xml
---
?xml version=1.0 encoding=UTF-8 ?
MenuConfig
  Displayers
Displayer   name=ListMenu
type=com.fgm.web.menu.displayer.ListMenuDisplayer/
  /Displayers
  Menus

Menu  name=test1  title=test1  description=test width=200
   Item   name=test2   title=test2 width=200
   Item   name=test3   title=test3 width=200
Item   name=test4   title=test4 location=index.jsp
width=200/
/Item
   /Item
/Menu

  /Menus

/MenuConfig

-
JSP Code
-
%@ taglib uri=/WEB-INF/struts-menu.tld prefix=menu%

menu:useMenuDisplayer name=ListMenu
menu:displayMenu name=test1/
/menu:useMenuDisplayer


From: Raible, Matt [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Subject: RE: Dynamic Tree Menus --- HELP!!!
Date: Thu, 31 Jul 2003 09:22:04 -0600

I'm willing to help if you send me the code.  Which Displayer are you
using?

Matt

-Original Message-
From: Pat Quinn [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 9:20 AM
To: [EMAIL PROTECTED]
Subject: Re: Dynamic Tree Menus --- HELP!!!


Is anyone out there working with dynamic HTML trees at the moment (i.e.
displaying data loaded from a data base) as i'm pulling my hair out here at
the moment.

I downloaded the source for Struts Menu and implemented a change to allow
me

to place a java bean with my tree menu details into HttpSession rather than
loading it from the menu xml file. Every thing works fine until i tried to
add triple nested node to the tree and it totally screws up presentation
i.e. The node image is repeatedly displayed. Its not due to my changes as i
tested it in the latest stable version and it fails also to render with the
same results.

I've also taken a look into using http://www.kobrix.com/ offering but their
configuration requirements to integrate with struts seems abit too much for
my liking.




Any suggestions, or should i just go find the JavaScript i require
elsewhere

and wrap it with my own custom tag library



 From: Pat Quinn [EMAIL PROTECTED]
 Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Dynamic Html Tree Menus - Java Beans.
 Date: Thu, 31 Jul 2003 10:22:51 +0100
 
 I'm looking for a tag library to aid the rendering of a Tree Menu using
 session/request stored objects.
 I want to included the menu data as a Java Bean in HttpSession for each
 user and then use tag libs in my JSP's. I've looked into the StrutsMenu
 Offering for Dynamic Menus but it loads menu data from an XML file.
 
 Any ideas or am i better off to develop my own custom tag lib?
 
 _
 MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
 http://join.msn.com/?page=features/virus
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 

_
The new MSN 8: advanced junk mail protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED

RE: Dynamic Tree Menus --- HELP!!!

2003-07-31 Thread Raible, Matt
Thanks Pat - I confirmed that this is a bug, and fixed it in CVS.  You can
see an example at the following URL:

http://raibledesigns.com/struts-menu/test1.jsp

Download the updated JAR at:

http://raibledesigns.com/downloads/struts-menu.jar

or build struts-menu from CVS.

HTH,

Matt


-Original Message-
From: Pat Quinn [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 9:47 AM
To: [EMAIL PROTECTED]
Subject: RE: Dynamic Tree Menus --- HELP!!!


I appreciate your kind offer my details are as follows:

I've broken it down into a very basic example once you view this the third 
node will appear with a series of plus images.

---
Menu-Config.xml
---
?xml version=1.0 encoding=UTF-8 ?
MenuConfig
  Displayers
Displayer   name=ListMenu 
type=com.fgm.web.menu.displayer.ListMenuDisplayer/
  /Displayers
  Menus

Menu  name=test1  title=test1  description=test width=200
   Item   name=test2   title=test2 width=200
   Item   name=test3   title=test3 width=200
Item   name=test4   title=test4 location=index.jsp 
width=200/
/Item
   /Item
/Menu

  /Menus

/MenuConfig

-
JSP Code
-
%@ taglib uri=/WEB-INF/struts-menu.tld prefix=menu%

menu:useMenuDisplayer name=ListMenu
menu:displayMenu name=test1/
/menu:useMenuDisplayer


From: Raible, Matt [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Subject: RE: Dynamic Tree Menus --- HELP!!!
Date: Thu, 31 Jul 2003 09:22:04 -0600

I'm willing to help if you send me the code.  Which Displayer are you 
using?

Matt

-Original Message-
From: Pat Quinn [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 9:20 AM
To: [EMAIL PROTECTED]
Subject: Re: Dynamic Tree Menus --- HELP!!!


Is anyone out there working with dynamic HTML trees at the moment (i.e.
displaying data loaded from a data base) as i'm pulling my hair out here at
the moment.

I downloaded the source for Struts Menu and implemented a change to allow 
me

to place a java bean with my tree menu details into HttpSession rather than
loading it from the menu xml file. Every thing works fine until i tried to
add triple nested node to the tree and it totally screws up presentation
i.e. The node image is repeatedly displayed. Its not due to my changes as i
tested it in the latest stable version and it fails also to render with the
same results.

I've also taken a look into using http://www.kobrix.com/ offering but their
configuration requirements to integrate with struts seems abit too much for
my liking.




Any suggestions, or should i just go find the JavaScript i require 
elsewhere

and wrap it with my own custom tag library



 From: Pat Quinn [EMAIL PROTECTED]
 Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Dynamic Html Tree Menus - Java Beans.
 Date: Thu, 31 Jul 2003 10:22:51 +0100
 
 I'm looking for a tag library to aid the rendering of a Tree Menu using
 session/request stored objects.
 I want to included the menu data as a Java Bean in HttpSession for each
 user and then use tag libs in my JSP's. I've looked into the StrutsMenu
 Offering for Dynamic Menus but it loads menu data from an XML file.
 
 Any ideas or am i better off to develop my own custom tag lib?
 
 _
 MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
 http://join.msn.com/?page=features/virus
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 

_
The new MSN 8: advanced junk mail protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


_
MSN 8 with e-mail virus protection service: 2 months FREE* 
http://join.msn.com/?page=features/virus


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Dynamic Tree Menus --- HELP!!!

2003-07-31 Thread Kevin Peters
This clearly wasn't written for Mozilla/Netscape browsers.  It is using
document.all which is invalid in Mozilla/Netscape.  Thus, you get a
document.all has no properties in the js console.

-Original Message-
From: Bailey, Shane C. [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 4:24 PM
To: 'Struts Users Mailing List'
Subject: RE: Dynamic Tree Menus --- HELP!!!



I know about javascript: but in Netscape you have the nice Java and
JavaScript consoles from the menu bar.

I meant more like, I'm surprised that it doesn't work on both and if there
was a specific reason why Netscape wasn't tested or cared to be tested to
work for such a thing. The code is generated so I assume not just this
example breaks in NS but all struts menus must break.  

Is document.all usage the only way to get menus to work in a browser?  

Netscape invented JavaScript (for gosh sakes) so I would think it could be
done (cross browser menu framework).

Maybe I will have to look into it and submit some code to the framework.

I guess I am just a dinosaur for always testing my web apps in both
browsers.



-Original Message-
From: Mike Jasnowski [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 31, 2003 2:23 PM
To: Struts Users Mailing List
Subject: RE: Dynamic Tree Menus --- HELP!!!

It's not common for them not to work, but there might be a JavaScript error.
You can tell this if you type javascript: in your address bar, it will
show a console of errors for the NS browser. Plus the NS browsers are (IMHO)
historically very strict about the validity of the page, bad HTML won't
render in many cases.  Although I don't know what problem you are having
specifically.

-Original Message-
From: Bailey, Shane C. [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 2:06 PM
To: 'Struts Users Mailing List'
Subject: RE: Dynamic Tree Menus --- HELP!!!




How come the example doesn't work with Netscape (v7.02 and my JavaScript is
turned on)??

I was thinking about using the Struts menus but I have users that are on
UNIX work workstations (Intranet app).  Is this common for the menus not to
work on Netscape?



-Original Message-
From: Todd Fuller [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 2:09 PM
To: [EMAIL PROTECTED]
Cc: Pat Quinn
Subject: RE: Dynamic Tree Menus --- HELP!!!

Pat,

Check out the Multi-level tree example at the URL below.

http://www2.metanology.com:8080/struts-examples-web/index.jsp

Todd Fuller
Metanology Corporation
4625 Alexander Dr., Ste 105
Alpharetta, GA 30022
770.475.1301 Office
404.561.0294 Cell
www.metanology.com


-Original Message-
From: Pat Quinn [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 11:47 AM
To: [EMAIL PROTECTED]
Subject: RE: Dynamic Tree Menus --- HELP!!!


I appreciate your kind offer my details are as follows:

I've broken it down into a very basic example once you view this the third
node will appear with a series of plus images.

---
Menu-Config.xml
---
?xml version=1.0 encoding=UTF-8 ?
MenuConfig
  Displayers
Displayer   name=ListMenu
type=com.fgm.web.menu.displayer.ListMenuDisplayer/
  /Displayers
  Menus

Menu  name=test1  title=test1  description=test width=200
   Item   name=test2   title=test2 width=200
   Item   name=test3   title=test3 width=200
Item   name=test4   title=test4 location=index.jsp
width=200/
/Item
   /Item
/Menu

  /Menus

/MenuConfig

-
JSP Code
-
%@ taglib uri=/WEB-INF/struts-menu.tld prefix=menu%

menu:useMenuDisplayer name=ListMenu
menu:displayMenu name=test1/
/menu:useMenuDisplayer


From: Raible, Matt [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Subject: RE: Dynamic Tree Menus --- HELP!!!
Date: Thu, 31 Jul 2003 09:22:04 -0600

I'm willing to help if you send me the code.  Which Displayer are you
using?

Matt

-Original Message-
From: Pat Quinn [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 9:20 AM
To: [EMAIL PROTECTED]
Subject: Re: Dynamic Tree Menus --- HELP!!!


Is anyone out there working with dynamic HTML trees at the moment (i.e.
displaying data loaded from a data base) as i'm pulling my hair out here at
the moment.

I downloaded the source for Struts Menu and implemented a change to allow
me

to place a java bean with my tree menu details into HttpSession rather than
loading it from the menu xml file. Every thing works fine until i tried to
add triple nested node to the tree and it totally screws up presentation
i.e. The node image is repeatedly displayed. Its not due to my changes as i
tested it in the latest stable version and it fails also to render with the
same results.

I've also taken a look into using http://www.kobrix.com/ offering but their
configuration requirements to integrate with struts seems abit too much for
my liking.




Any suggestions, or should i just go find

RE: Dynamic Tree Menus --- HELP!!!

2003-07-31 Thread Todd Fuller
Do...Take a look now. Working for me in Netscape 6.2.

Todd Fuller
Metanology Corporation
4625 Alexander Dr., Ste 105
Alpharetta, GA 30022
770.475.1301 Office
404.561.0294 Cell
www.metanology.com


-Original Message-
From: Bailey, Shane C. [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 2:06 PM
To: 'Struts Users Mailing List'
Subject: RE: Dynamic Tree Menus --- HELP!!!




How come the example doesn't work with Netscape (v7.02 and my JavaScript is
turned on)??

I was thinking about using the Struts menus but I have users that are on
UNIX work workstations (Intranet app).  Is this common for the menus not to
work on Netscape?



-Original Message-
From: Todd Fuller [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 2:09 PM
To: [EMAIL PROTECTED]
Cc: Pat Quinn
Subject: RE: Dynamic Tree Menus --- HELP!!!

Pat,

Check out the Multi-level tree example at the URL below.

http://www2.metanology.com:8080/struts-examples-web/index.jsp

Todd Fuller
Metanology Corporation
4625 Alexander Dr., Ste 105
Alpharetta, GA 30022
770.475.1301 Office
404.561.0294 Cell
www.metanology.com


-Original Message-
From: Pat Quinn [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 11:47 AM
To: [EMAIL PROTECTED]
Subject: RE: Dynamic Tree Menus --- HELP!!!


I appreciate your kind offer my details are as follows:

I've broken it down into a very basic example once you view this the third
node will appear with a series of plus images.

---
Menu-Config.xml
---
?xml version=1.0 encoding=UTF-8 ?
MenuConfig
  Displayers
Displayer   name=ListMenu
type=com.fgm.web.menu.displayer.ListMenuDisplayer/
  /Displayers
  Menus

Menu  name=test1  title=test1  description=test width=200
   Item   name=test2   title=test2 width=200
   Item   name=test3   title=test3 width=200
Item   name=test4   title=test4 location=index.jsp
width=200/
/Item
   /Item
/Menu

  /Menus

/MenuConfig

-
JSP Code
-
%@ taglib uri=/WEB-INF/struts-menu.tld prefix=menu%

menu:useMenuDisplayer name=ListMenu
menu:displayMenu name=test1/
/menu:useMenuDisplayer


From: Raible, Matt [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Subject: RE: Dynamic Tree Menus --- HELP!!!
Date: Thu, 31 Jul 2003 09:22:04 -0600

I'm willing to help if you send me the code.  Which Displayer are you
using?

Matt

-Original Message-
From: Pat Quinn [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 9:20 AM
To: [EMAIL PROTECTED]
Subject: Re: Dynamic Tree Menus --- HELP!!!


Is anyone out there working with dynamic HTML trees at the moment (i.e.
displaying data loaded from a data base) as i'm pulling my hair out here at
the moment.

I downloaded the source for Struts Menu and implemented a change to allow
me

to place a java bean with my tree menu details into HttpSession rather than
loading it from the menu xml file. Every thing works fine until i tried to
add triple nested node to the tree and it totally screws up presentation
i.e. The node image is repeatedly displayed. Its not due to my changes as i
tested it in the latest stable version and it fails also to render with the
same results.

I've also taken a look into using http://www.kobrix.com/ offering but their
configuration requirements to integrate with struts seems abit too much for
my liking.




Any suggestions, or should i just go find the JavaScript i require
elsewhere

and wrap it with my own custom tag library



 From: Pat Quinn [EMAIL PROTECTED]
 Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Dynamic Html Tree Menus - Java Beans.
 Date: Thu, 31 Jul 2003 10:22:51 +0100
 
 I'm looking for a tag library to aid the rendering of a Tree Menu using
 session/request stored objects.
 I want to included the menu data as a Java Bean in HttpSession for each
 user and then use tag libs in my JSP's. I've looked into the StrutsMenu
 Offering for Dynamic Menus but it loads menu data from an XML file.
 
 Any ideas or am i better off to develop my own custom tag lib?
 
 _
 MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
 http://join.msn.com/?page=features/virus
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 

_
The new MSN 8: advanced junk mail protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional

RE: Dynamic Tree Menus --- HELP!!!

2003-07-31 Thread Bailey, Shane C.

I know about javascript: but in Netscape you have the nice Java and
JavaScript consoles from the menu bar.

I meant more like, I'm surprised that it doesn't work on both and if there
was a specific reason why Netscape wasn't tested or cared to be tested to
work for such a thing. The code is generated so I assume not just this
example breaks in NS but all struts menus must break.  

Is document.all usage the only way to get menus to work in a browser?  

Netscape invented JavaScript (for gosh sakes) so I would think it could be
done (cross browser menu framework).

Maybe I will have to look into it and submit some code to the framework.

I guess I am just a dinosaur for always testing my web apps in both
browsers.



-Original Message-
From: Mike Jasnowski [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 31, 2003 2:23 PM
To: Struts Users Mailing List
Subject: RE: Dynamic Tree Menus --- HELP!!!

It's not common for them not to work, but there might be a JavaScript error.
You can tell this if you type javascript: in your address bar, it will
show a console of errors for the NS browser. Plus the NS browsers are (IMHO)
historically very strict about the validity of the page, bad HTML won't
render in many cases.  Although I don't know what problem you are having
specifically.

-Original Message-
From: Bailey, Shane C. [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 2:06 PM
To: 'Struts Users Mailing List'
Subject: RE: Dynamic Tree Menus --- HELP!!!




How come the example doesn't work with Netscape (v7.02 and my JavaScript is
turned on)??

I was thinking about using the Struts menus but I have users that are on
UNIX work workstations (Intranet app).  Is this common for the menus not to
work on Netscape?



-Original Message-
From: Todd Fuller [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 2:09 PM
To: [EMAIL PROTECTED]
Cc: Pat Quinn
Subject: RE: Dynamic Tree Menus --- HELP!!!

Pat,

Check out the Multi-level tree example at the URL below.

http://www2.metanology.com:8080/struts-examples-web/index.jsp

Todd Fuller
Metanology Corporation
4625 Alexander Dr., Ste 105
Alpharetta, GA 30022
770.475.1301 Office
404.561.0294 Cell
www.metanology.com


-Original Message-
From: Pat Quinn [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 11:47 AM
To: [EMAIL PROTECTED]
Subject: RE: Dynamic Tree Menus --- HELP!!!


I appreciate your kind offer my details are as follows:

I've broken it down into a very basic example once you view this the third
node will appear with a series of plus images.

---
Menu-Config.xml
---
?xml version=1.0 encoding=UTF-8 ?
MenuConfig
  Displayers
Displayer   name=ListMenu
type=com.fgm.web.menu.displayer.ListMenuDisplayer/
  /Displayers
  Menus

Menu  name=test1  title=test1  description=test width=200
   Item   name=test2   title=test2 width=200
   Item   name=test3   title=test3 width=200
Item   name=test4   title=test4 location=index.jsp
width=200/
/Item
   /Item
/Menu

  /Menus

/MenuConfig

-
JSP Code
-
%@ taglib uri=/WEB-INF/struts-menu.tld prefix=menu%

menu:useMenuDisplayer name=ListMenu
menu:displayMenu name=test1/
/menu:useMenuDisplayer


From: Raible, Matt [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Subject: RE: Dynamic Tree Menus --- HELP!!!
Date: Thu, 31 Jul 2003 09:22:04 -0600

I'm willing to help if you send me the code.  Which Displayer are you
using?

Matt

-Original Message-
From: Pat Quinn [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 9:20 AM
To: [EMAIL PROTECTED]
Subject: Re: Dynamic Tree Menus --- HELP!!!


Is anyone out there working with dynamic HTML trees at the moment (i.e.
displaying data loaded from a data base) as i'm pulling my hair out here at
the moment.

I downloaded the source for Struts Menu and implemented a change to allow
me

to place a java bean with my tree menu details into HttpSession rather than
loading it from the menu xml file. Every thing works fine until i tried to
add triple nested node to the tree and it totally screws up presentation
i.e. The node image is repeatedly displayed. Its not due to my changes as i
tested it in the latest stable version and it fails also to render with the
same results.

I've also taken a look into using http://www.kobrix.com/ offering but their
configuration requirements to integrate with struts seems abit too much for
my liking.




Any suggestions, or should i just go find the JavaScript i require
elsewhere

and wrap it with my own custom tag library



 From: Pat Quinn [EMAIL PROTECTED]
 Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Dynamic Html Tree Menus - Java Beans.
 Date: Thu, 31 Jul 2003 10:22:51 +0100
 
 I'm looking for a tag library to aid the rendering of a Tree Menu using
 session/request stored

[OT] HTML Manipulation of Dynamic Tree Menus

2003-07-23 Thread Pat Quinn
I'm looking for a good example of HTML manipulation of dynamic tree menus 
i.e. adding nodes dynamically, reshuffling of nodes, deletion of nodes etc.

_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. 
http://join.msn.com/?page=features/virus

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Dynamic Tree

2002-02-25 Thread Konstantina Stamopoulou

Hello,
I needed to do something similar and I found another tag lib that can be
used in combination with Struts. You can find more on this site---
http://www.kobrix.com .

Konstantina

- Original Message -
From: luvpdas [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Saturday, February 23, 2002 11:53 PM
Subject: Dynamic Tree


 Hi ,
 I am totally new to struts and I am looking for something that will
enable
 me to
 have a Selection Tree on the leftside, in a table and keyboard accessible.
When

 I click on a node on the tree I want it to expand automatically.  I need
to
 support
 Netscape 4.0+ and IE 4.0+.  Does anyone know if there is such support from
 Struts.

 Thanks


 --
 To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
mailto:[EMAIL PROTECTED]




--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Dynamic Tree

2002-02-23 Thread luvpdas

Hi ,
I am totally new to struts and I am looking for something that will enable
me to
have a Selection Tree on the leftside, in a table and keyboard accessible.  When

I click on a node on the tree I want it to expand automatically.  I need to
support
Netscape 4.0+ and IE 4.0+.  Does anyone know if there is such support from
Struts.

Thanks


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Dynamic Tree

2002-02-23 Thread Ted Husted

Struts supports the use of structures like that, but doesn't provide
those types of gizmos out of the box. Struts is mainly a front
controller that helps web applications provide structures like that with
the data they need, and then store it for future use. 

So, you would have to look elsewhere for something created that type of
view. Struts would be of help in providing the infrastructure such a
display needed once you had it in place, but not the display itself

-- Ted Husted, Husted dot Com, Fairport NY US
-- Developing Java Web Applications with Struts
-- Tel: +1 585 737-3463
-- Web: http://husted.com/about/services

luvpdas wrote:
 
 Hi ,
 I am totally new to struts and I am looking for something that will enable
 me to
 have a Selection Tree on the leftside, in a table and keyboard accessible.  When
 
 I click on a node on the tree I want it to expand automatically.  I need to
 support
 Netscape 4.0+ and IE 4.0+.  Does anyone know if there is such support from
 Struts.
 
 Thanks
 
 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Dynamic Tree

2002-02-23 Thread g.spellauge

please have a look at http://wings.mercatis.de .

sp

Ted Husted wrote:

Struts supports the use of structures like that, but doesn't provide
those types of gizmos out of the box. Struts is mainly a front
controller that helps web applications provide structures like that with
the data they need, and then store it for future use. 

So, you would have to look elsewhere for something created that type of
view. Struts would be of help in providing the infrastructure such a
display needed once you had it in place, but not the display itself

-- Ted Husted, Husted dot Com, Fairport NY US
-- Developing Java Web Applications with Struts
-- Tel: +1 585 737-3463
-- Web: http://husted.com/about/services

luvpdas wrote:

Hi ,
I am totally new to struts and I am looking for something that will enable
me to
have a Selection Tree on the leftside, in a table and keyboard accessible.  When

I click on a node on the tree I want it to expand automatically.  I need to
support
Netscape 4.0+ and IE 4.0+.  Does anyone know if there is such support from
Struts.

Thanks

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]