facebook

Passing parameters from tiles-def.xml to the "java worl

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Off Topic
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #257446 Reply

    Hi foilks,

    I know i’ve seen somewhere how to do this, but I’m having a “brain fart” trying to remember how it works.

    Given I have a struts-def.xml file that contains the following definition:

    
    
    <definistion name=".some.page" extends=".public.layout">
           <put name="content" value="/some/page/somewhere.jsp"/>
           <put name="context" value="blah" />
    </definition
    

    and I have a JSP file that is included in my layout JSP that is going to “calculate” the menu to present to the user based on the value of “context.” How, programattically, can I pass that value off to a bean that I’m going to write so the engine that calculates menu layouts and content can see it?

    Like I’ve said already… I know I saw this on some random web page on Struts/Tiles programming but I just can’t remember where or how….

    #257460

    Riyad Kalla
    Member

    Moving to OT > Soft Dev

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Passing parameters from tiles-def.xml to the "java worl

You must be logged in to post in the forum log in