2009/4/20 abhishek reddy :
> can anyone let me know how to build menus in struts?
Struts Menu [1]
[1] http://struts-menu.sourceforge.net/
Regards
--
Lukasz
http://www.lenart.org.pl/
-
To unsubscribe, e-mail: user-unsub
abhishek reddy wrote:
can anyone let me know how to build menus in struts?
That's a rather nebulous question. What kind of menu do you want? Why
not just use one of the million existing menu solutions out there?
Dave
---
D]>
To:
Sent: Monday, November 26, 2007 3:15 PM
Subject: [s2] workflow/process question regarding menus and preferences
>
> I'm building a S2 application and want to add the following:
>
> 1) Menus and sub-menus, based on the user's rights (session)
> 2) UI preferences (
I'm building a S2 application and want to add the following:
1) Menus and sub-menus, based on the user's rights (session)
2) UI preferences (application)
I want the menu items to be determined after login / before rendering of the
page, and placed in the session. And for UI prefere
Hi,
I'm building a web application and I would like to know what would be the
best approach to create dynamic menus (data comming from database).
Thanks
--
View this message in context:
http://www.nabble.com/Dynamic-menus-tf3262000.html#a9066200
Sent from the Struts - User mailing
Adam Gordon ha scritto:
The place we would do this is in a request listener class we have that
currently, amongst other things, creates the entire menu system for
the user.
You can use also a Controller class to create your menu items, and
associate it to your definition(s), I the code will b
Users Mailing List
Subject: Re: Struts Tiles question re menus
Rahul-
After reading 5.2.2, I can make it work using that structure, however I
believe it defeats the original intent of Tiles because it would require
me to have a n^2 tiles definitions for each scenario where n is the
number of
around with your tiles controller idea and reading
the relevant section in that PDF, I defined my own tiles controller for
that module and can retrieve the list of menu items for any tiles
definition. Then, I can iterate over the menu items and make invisible
any menus that are not supposed to
lto:[EMAIL PROTECTED]
Sent: Tuesday, December 12, 2006 3:58 PM
To: Struts Users Mailing List
Subject: Struts Tiles question re menus
Hi-
We're using Tiles to define submenu items (in a putList) for menu we
have in our web app. We're using a custom menu object that has a
visibility fla
ts of tiles and the placement of these
pages and would have to think about how to do this.
The place we would do this is in a request listener class we have that
currently, amongst other things, creates the entire menu system for the
user. Basically, we iterate over all the modules constru
what is the trouble?...all looks good to me
do you need to include:
classtype="org.apache.struts.tiles.beans.SimpleMenuItem" ?
From: Java Programmer [mailto:[EMAIL PROTECTED]
Sent: Thu 23/11/2006 12:07 AM
To: user@struts.apache.org
Subject: Til
Hello,
I have some troubles with finding examples of using SimpleMenuItem and
tags within , so far I did menu like this:
- part of tiles-def.xml:
- part of jsp *tile*
">
So first I import attribute
At 3:50 PM -0400 5/30/06, Brian Long wrote:
Hi folks - appreciate any input on this one:
I have a menu in a Struts 1.2.9 modularized app.
The menu has links to some jsps and some actions.
When the app is launched, the links all work. However, once I've
navigated into a module, the links all g
Hi folks - appreciate any input on this one:
I have a menu in a Struts 1.2.9 modularized app.
The menu has links to some jsps and some actions.
When the app is launched, the links all work. However, once I've
navigated into a module, the links all get prefixed with that module,
and the links d
x27;t know of an
> example that is closer to this scenario have you?
>
> Rgds
>
> Kevin
>
>
> -Original Message-
> From: Frank W. Zammetti [mailto:[EMAIL PROTECTED]
> Sent: 21 December 2005 16:13
> To: Struts Users Mailing List
> Cc: 'Struts Users Maili
x27;t know of an
example that is closer to this scenario have you?
Rgds
Kevin
-Original Message-
From: Frank W. Zammetti [mailto:[EMAIL PROTECTED]
Sent: 21 December 2005 16:13
To: Struts Users Mailing List
Cc: 'Struts Users Mailing List'
Subject: RE: Multiple Drop Down Men
i [mailto:[EMAIL PROTECTED]
> Sent: 20 December 2005 20:33
> To: Struts Users Mailing List
> Cc: user@struts.apache.org
> Subject: Re: Multiple Drop Down Menus
>
> AJAX is your friend! (as long as Javascript is OK of course).
>
> Take a look here:
>
> http://javawebpa
Frank,
Which download has the cookbook?
Kevin
-Original Message-
From: Frank W. Zammetti [mailto:[EMAIL PROTECTED]
Sent: 20 December 2005 20:33
To: Struts Users Mailing List
Cc: user@struts.apache.org
Subject: Re: Multiple Drop Down Menus
AJAX is your friend! (as long as Javascript
Try Struts-Layout has some options for doing "related" dropdowns. You may
want to check it and avoid a lot of javascript coding.
HTH,
Raghu
On 12/21/05, Neil Erdwien <[EMAIL PROTECTED]> wrote:
>
> If the amount of data needed for drop down B isn't large, I'd load it
> into Javascript objects wh
set a flag represented selected or not (can be a boolean, or an arraylist
that holds all selected values), put into your global bean holder (if you
have, this is a java bean simple holds all objects that would be created and
used during the session), then you can use logic tag to check the flag
(lo
You have two choices... DOM manipulation, or DIV replacement. The former
can get a little complex, the later is pretty straight-forward:
color
size
function doit(obj) {
s = "";
type = obj.value;
s += "
That's a good point, I should have said it in my reply too... if the
datasets are small, you'd be better off loading it all initially and
changing things client-side. No need to involve the server for a small
amount of data.
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Techn
Do you have any examples of using javascript to populate B after A or
something like that?
On 12/20/05, Neil Erdwien <[EMAIL PROTECTED]> wrote:
>
> If the amount of data needed for drop down B isn't large, I'd load it
> into Javascript objects when the original page is displayed. Then use
> clien
AJAX is your friend! (as long as Javascript is OK of course).
Take a look here:
http://javawebparts.sourceforge.net
Check out the AjaxTags taglib (check out the javadocs). Then, if it looks
interesting, click the Downloads link and grab the cookbook download. In
it you will find an example of
If the amount of data needed for drop down B isn't large, I'd load it
into Javascript objects when the original page is displayed. Then use
client-side Javascript to populate B after A is chosen.
If the amount of data is too big, I'd investigate doing the same concept
using client-side Javasc
Greetings. I have an app that needs to have multiple drop down boxes that
are related to each other. Instead of calling an action everytime the first
menu is selected and querying for the data in the second drop down, I want
to have the values in the second drop down reflect the choice of the fir
On Wed, 2005-12-14 at 23:47 -0500, David G. Friedman wrote:
> Is this what you are looking for?
> http://struts-menu.sourceforge.net/userguide.html
Is struts-menu actively maintained? The source distribution of it
doesn't even compile clean because it uses "enum" as variable name in a
class. Last
Mailing List
Subject: RE: Want dynamic menusstruts menu tutorial?
Is this what you are looking for?
http://struts-menu.sourceforge.net/userguide.html
Regards,
David
-Original Message-
From: Shivani Sawhney [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 14, 2005 11:39 PM
To
Is this what you are looking for?
http://struts-menu.sourceforge.net/userguide.html
Regards,
David
-Original Message-
From: Shivani Sawhney [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 14, 2005 11:39 PM
To: Struts Users Mailing List
Subject: RE: Want dynamic menusstruts menu
dynamic menus
Where to find the struts menu tutorial?
Peter
-Ursprüngliche Nachricht-
Von: news [mailto:[EMAIL PROTECTED] Auftrag von Danny Lee
Gesendet: Dienstag, 13. Dezember 2005 10:45
An: user@struts.apache.org
Betreff: Re: Want dynamic menus
Struts menu is just fine,
works with latest
Well,
if you want to stick on one thing, I can understand it.
But if there's some 2004 stuff still works with actual stuff and ppl use
it, *maybe* it more likely it will work in the future, then any fresh
stuff (which maybe just too buggy/unpopular for further development).
Cheers,
Danny
An
On 12/13/05, Danny Lee <[EMAIL PROTECTED]> wrote:
>
> Struts menu is just fine,
> works with latest stuff and can be attached to DB too, there is a nice
> tutorial.
>
> If the stuff works just fine, why do you need updates? :)
I just want to standardise on one thing. I dont like spending time to
Where to find the struts menu tutorial?
Peter
-Ursprüngliche Nachricht-
Von: news [mailto:[EMAIL PROTECTED] Auftrag von Danny Lee
Gesendet: Dienstag, 13. Dezember 2005 10:45
An: user@struts.apache.org
Betreff: Re: Want dynamic menus
Struts menu is just fine,
works with latest stuff and
Struts menu is just fine,
works with latest stuff and can be attached to DB too, there is a nice
tutorial.
If the stuff works just fine, why do you need updates? :)
Cheers,
Danny
Antony Paul schrieb:
Hi all,
I am looking for a component to create menus in Java web applications. I
want
On 12/12/05, Antony Paul <[EMAIL PROTECTED]> wrote:
> I found Struts Menu to be good one
> but it seems that it is not actively developed now. The last release was in
> Sep 2004.
Why mess with perfection? ;) Struts Menu is well supported (questions
on the mailing list get answered) and it's incl
On 12/13/05, Larry Meadors <[EMAIL PROTECTED]> wrote:
>
> Tigra menu is the bomb.
>
> http://www.softcomplex.com/products/tigra_menu/demo/blue/
>
> Larry
>
>
> On 12/12/05, Antony Paul <[EMAIL PROTECTED]> wrote:
> > Hi all,
> > I am
Tigra menu is the bomb.
http://www.softcomplex.com/products/tigra_menu/demo/blue/
Larry
On 12/12/05, Antony Paul <[EMAIL PROTECTED]> wrote:
> Hi all,
> I am looking for a component to create menus in Java web applications. I
> want to have a drop down menu with many levels
U can go for CoolMenus too
Check this out
http://www.dhtmlcentral.com/projects/coolmenus/
On 12/13/05, Antony Paul <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>I am looking for a component to create menus in Java web applications.
> I
> want to have a drop down menu with m
Hi all,
I am looking for a component to create menus in Java web applications. I
want to have a drop down menu with many levels and a tree menu with
expand/collapse. It should be configurable to work in client
side/serverside. It should work with Struts/Spring and should be Apache or
You can find the complete solution here
http://www.reumann.net/struts/articles/request_lists.jsp
On 4/13/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Mallik,
>
> The way I have always made this work in the past is to call the validate
> method on the form bean myself in the action rather t
Mallik,
The way I have always made this work in the past is to call the validate method
on the form bean myself in the action rather than leaving it the validator to
call for me.
Set validate="false" in the action mapping in struts-config.xml. Then in the
action call the validate method on th
Have the input attribute on the action that is having validation
errors point to an Action that will re-populate the drop-down list
bean.
On 4/12/05, Mallikarjun Komma <[EMAIL PROTECTED]> wrote:
> Hi,
> I am new to struts frame work.I have a question
> regarding repopulating dropdown menu when val
:33
To: Struts Users Mailing List
Subject: Re: repopulating dropdown menus when validation errors occur
kurt,
I am putting the list of values for the drop
down in the form bean as dynaform.set("userList",
list) in theaction class. (userList is a form property
here) but still not able
kurt,
I am putting the list of values for the drop
down in the form bean as dynaform.set("userList",
list) in theaction class. (userList is a form property
here) but still not able to get the drop down
re-populated back when validation errors occur.
What am I doing wrong here?
Thanks in advance.
Once the user does a submit you have a new request. So the old request where
your list is is no longer in scope and therefore no longer valid.
One solution would be to set validate="false" in the action mapping for the
action and then call the form's validate method yourself in the aciton. If
Hi,
I am new to struts frame work.I have a question
regarding repopulating dropdown menu when validation
error occurs in the form containing dropdowns.
In my application when user clicks on a link it goes
to the action class and I get the list to from
database and I put it in request scope to disp