Images path

View: New views
4 Messages — Rating Filter:   Alert me  

Images path

by Pablo Fernández-7 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello I'm new to struts-menu, using version 2.4.3 with Struts2.
I have a menu-config.xml that looks like this:
<MenuConfig>
    <Displayers>
        <Displayer name="DropDown" type="net.sf.navigator.displayer.DropDownMenuDisplayer"/>
        <Displayer name="TabbedMenu" type="net.sf.navigator.displayer.TabbedMenuDisplayer"/>
        <Displayer name="Simple" type="net.sf.navigator.displayer.SimpleMenuDisplayer"/>
        <Displayer name="Velocity" type="net.sf.navigator.displayer.VelocityMenuDisplayer"/>
    </Displayers>
   
   
    <Menus>
        <Menu name="GMenu" title="Main menu" width="50">
            <Item name="Roles" title="ROLES">
                <Item name="rolesAlta" title="Alta" location="Role_input" target="workFrame"/>
                <Item name="rolesListar" title="Listar" location="RoleList" target="workFrame"/>
            </Item>
            <Item name="Users" title="USERS">
                <Item name="usersAlta" title="Alta" location="User_input" target="workFrame"/>
                <Item name="usersListar" title="Listar" location="UserList" target="workFrame"/>
            </Item>
        </Menu>
    </Menus>
</MenuConfig>


And my menu.jsp looks like this:
<body>
        <menu:useMenuDisplayer name="DropDown" bundle="org.apache.struts.action.MESSAGE">
            <table cellpadding=0 cellspacing=0>
                    <tr>
                     <td>
                         <menu:displayMenu name="GMenu"/>
                    </td>
                </tr>
            </table>
        </menu:useMenuDisplayer>
    </body>

I'd like to get the down and right arrows wich are note rendered. I believe it's because of my images path.
I need to get something like pages/images/Darrow.png as the source but I only get images/Darrow.png.
How do I change it?
Thanks in advance!

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
struts-menu-user mailing list
struts-menu-user@...
https://lists.sourceforge.net/lists/listinfo/struts-menu-user

Re: Images path

by mraible :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I would recommend downloading the sample WAR, deploying it and look in it's WEB-INF/classes directory to see how images are configured.

http://sourceforge.net/projects/struts-menu/files/

Hope this helps,

Matt

2009/8/6 Pablo Fernández <pablodelacruzfernandez@...>
Hello I'm new to struts-menu, using version 2.4.3 with Struts2.
I have a menu-config.xml that looks like this:
<MenuConfig>
    <Displayers>
        <Displayer name="DropDown" type="net.sf.navigator.displayer.DropDownMenuDisplayer"/>
        <Displayer name="TabbedMenu" type="net.sf.navigator.displayer.TabbedMenuDisplayer"/>
        <Displayer name="Simple" type="net.sf.navigator.displayer.SimpleMenuDisplayer"/>
        <Displayer name="Velocity" type="net.sf.navigator.displayer.VelocityMenuDisplayer"/>
    </Displayers>
   
   
    <Menus>
        <Menu name="GMenu" title="Main menu" width="50">
            <Item name="Roles" title="ROLES">
                <Item name="rolesAlta" title="Alta" location="Role_input" target="workFrame"/>
                <Item name="rolesListar" title="Listar" location="RoleList" target="workFrame"/>
            </Item>
            <Item name="Users" title="USERS">
                <Item name="usersAlta" title="Alta" location="User_input" target="workFrame"/>
                <Item name="usersListar" title="Listar" location="UserList" target="workFrame"/>
            </Item>
        </Menu>
    </Menus>
</MenuConfig>


And my menu.jsp looks like this:
<body>
        <menu:useMenuDisplayer name="DropDown" bundle="org.apache.struts.action.MESSAGE">
            <table cellpadding=0 cellspacing=0>
                    <tr>
                     <td>
                         <menu:displayMenu name="GMenu"/>
                    </td>
                </tr>
            </table>
        </menu:useMenuDisplayer>
    </body>

I'd like to get the down and right arrows wich are note rendered. I believe it's because of my images path.
I need to get something like pages/images/Darrow.png as the source but I only get images/Darrow.png.
How do I change it?
Thanks in advance!

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
struts-menu-user mailing list
struts-menu-user@...
https://lists.sourceforge.net/lists/listinfo/struts-menu-user



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
struts-menu-user mailing list
struts-menu-user@...
https://lists.sourceforge.net/lists/listinfo/struts-menu-user

Re: Images path

by Pablo Fernández-7 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks for your answer. What exactelly doy you want me to see there?
There are a few .properties files, I tried modifying those but it didn't work. I couldn't change the styles on the demo app either.
What about documentatio, do you know where I could find it?
Could you please give me a hand? Thanks!



2009/8/7 Matt Raible <matt@...>
I would recommend downloading the sample WAR, deploying it and look in it's WEB-INF/classes directory to see how images are configured.

http://sourceforge.net/projects/struts-menu/files/

Hope this helps,

Matt

2009/8/6 Pablo Fernández <pablodelacruzfernandez@...>
Hello I'm new to struts-menu, using version 2.4.3 with Struts2.
I have a menu-config.xml that looks like this:
<MenuConfig>
    <Displayers>
        <Displayer name="DropDown" type="net.sf.navigator.displayer.DropDownMenuDisplayer"/>
        <Displayer name="TabbedMenu" type="net.sf.navigator.displayer.TabbedMenuDisplayer"/>
        <Displayer name="Simple" type="net.sf.navigator.displayer.SimpleMenuDisplayer"/>
        <Displayer name="Velocity" type="net.sf.navigator.displayer.VelocityMenuDisplayer"/>
    </Displayers>
   
   
    <Menus>
        <Menu name="GMenu" title="Main menu" width="50">
            <Item name="Roles" title="ROLES">
                <Item name="rolesAlta" title="Alta" location="Role_input" target="workFrame"/>
                <Item name="rolesListar" title="Listar" location="RoleList" target="workFrame"/>
            </Item>
            <Item name="Users" title="USERS">
                <Item name="usersAlta" title="Alta" location="User_input" target="workFrame"/>
                <Item name="usersListar" title="Listar" location="UserList" target="workFrame"/>
            </Item>
        </Menu>
    </Menus>
</MenuConfig>


And my menu.jsp looks like this:
<body>
        <menu:useMenuDisplayer name="DropDown" bundle="org.apache.struts.action.MESSAGE">
            <table cellpadding=0 cellspacing=0>
                    <tr>
                     <td>
                         <menu:displayMenu name="GMenu"/>
                    </td>
                </tr>
            </table>
        </menu:useMenuDisplayer>
    </body>

I'd like to get the down and right arrows wich are note rendered. I believe it's because of my images path.
I need to get something like pages/images/Darrow.png as the source but I only get images/Darrow.png.
How do I change it?
Thanks in advance!

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
struts-menu-user mailing list
struts-menu-user@...
https://lists.sourceforge.net/lists/listinfo/struts-menu-user



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
struts-menu-user mailing list
struts-menu-user@...
https://lists.sourceforge.net/lists/listinfo/struts-menu-user



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
struts-menu-user mailing list
struts-menu-user@...
https://lists.sourceforge.net/lists/listinfo/struts-menu-user

Re: Images path

by mraible :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The documentation is at http://struts-menu.sf.net. I would also recommend trying the sample application and studying its source code.

Matt

2009/8/8 Pablo Fernández <pablodelacruzfernandez@...>
Thanks for your answer. What exactelly doy you want me to see there?
There are a few .properties files, I tried modifying those but it didn't work. I couldn't change the styles on the demo app either.
What about documentatio, do you know where I could find it?
Could you please give me a hand? Thanks!



2009/8/7 Matt Raible <matt@...>

I would recommend downloading the sample WAR, deploying it and look in it's WEB-INF/classes directory to see how images are configured.

http://sourceforge.net/projects/struts-menu/files/

Hope this helps,

Matt

2009/8/6 Pablo Fernández <pablodelacruzfernandez@...>
Hello I'm new to struts-menu, using version 2.4.3 with Struts2.
I have a menu-config.xml that looks like this:
<MenuConfig>
    <Displayers>
        <Displayer name="DropDown" type="net.sf.navigator.displayer.DropDownMenuDisplayer"/>
        <Displayer name="TabbedMenu" type="net.sf.navigator.displayer.TabbedMenuDisplayer"/>
        <Displayer name="Simple" type="net.sf.navigator.displayer.SimpleMenuDisplayer"/>
        <Displayer name="Velocity" type="net.sf.navigator.displayer.VelocityMenuDisplayer"/>
    </Displayers>
   
   
    <Menus>
        <Menu name="GMenu" title="Main menu" width="50">
            <Item name="Roles" title="ROLES">
                <Item name="rolesAlta" title="Alta" location="Role_input" target="workFrame"/>
                <Item name="rolesListar" title="Listar" location="RoleList" target="workFrame"/>
            </Item>
            <Item name="Users" title="USERS">
                <Item name="usersAlta" title="Alta" location="User_input" target="workFrame"/>
                <Item name="usersListar" title="Listar" location="UserList" target="workFrame"/>
            </Item>
        </Menu>
    </Menus>
</MenuConfig>


And my menu.jsp looks like this:
<body>
        <menu:useMenuDisplayer name="DropDown" bundle="org.apache.struts.action.MESSAGE">
            <table cellpadding=0 cellspacing=0>
                    <tr>
                     <td>
                         <menu:displayMenu name="GMenu"/>
                    </td>
                </tr>
            </table>
        </menu:useMenuDisplayer>
    </body>

I'd like to get the down and right arrows wich are note rendered. I believe it's because of my images path.
I need to get something like pages/images/Darrow.png as the source but I only get images/Darrow.png.
How do I change it?
Thanks in advance!

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
struts-menu-user mailing list
struts-menu-user@...
https://lists.sourceforge.net/lists/listinfo/struts-menu-user



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
struts-menu-user mailing list
struts-menu-user@...
https://lists.sourceforge.net/lists/listinfo/struts-menu-user



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
struts-menu-user mailing list
struts-menu-user@...
https://lists.sourceforge.net/lists/listinfo/struts-menu-user



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
struts-menu-user mailing list
struts-menu-user@...
https://lists.sourceforge.net/lists/listinfo/struts-menu-user