You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Nimish Chourey , Tidel Park - Chennai" <Ni...@msdc.hcltech.com> on 2003/06/03 14:41:49 UTC

Tiles Two JSP's for Displaying One Form .

Hi ,
	In my application there may be around 40 forms . I am using the
classic layout for the application .  
the body changes for every page , I mean I have a different JSP's for these
forms . 
Each form is submitted and a result page is desplayed .
Now my question is if I have 40 forms , so do I need to create total of 80
JSP (Excluding the result page) ??
I mean one JSP having the body content and the other one to integrate all
tiles .
The second option could be using one JSP having all the insert Tags with the
Body content .

Is there any better option available ??
This question is not for the results page as I know the result page can be
directly called from the action .

Nimish

common-logging config: how to configure log messages detail level

Posted by Dmitrii CRETU <dm...@nexui.md>.
I tried to restrict logging output from strtuts based application, but
had no access.

I have put "common-logging.properties" into my WEB-INFO/classes
directory with property:
org.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog

and "simplelog.properties" file with:
org.apache.commons.logging.simplelog.defaultlog=fatal
org.apache.commons.level=FATAL
org.apache.struts.level=FATAL

but still get all INFO messages from struts on my Tomcat output

ANybody can help?

I am using Tomcat 4.1.24 and struts rc1


Dmitrii.


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


RE: Posted Again: Build Navigation based on action mapping

Posted by Andrew Hill <an...@gridnode.com>.
In my app I ended up creating a plugin that would use digester to read an
xml file (navigation-config.xml) and create objects describing my navigation
links (most of which are displayed in a js tree widget over in the left
frame).

I didnt relate them directly to actions, but in hindsight I could have done
that instead of directly having the urls in navigation-config.

By seperating it out into a seperate xml file you have much more flexibility
than if you try doing it from struts config - and of course you can design
it so that it references mappings that are in struts config.


-----Original Message-----
From: Haytham Samad [mailto:haytham@speakeasy.net]
Sent: Tuesday, 3 June 2003 21:00
To: Struts Users Mailing List
Subject: Posted Again: Build Navigation based on action mapping



Sorry for reposting but wanted to get some feedback on this as I am sure
everyone here had to deal with this at some point.  I am trying to find a
way to have navigation built based on the struts-config.xml's action
mappings.  Since all my use cases are enabled through action listed under
action mapping, this seemed like a good place to start.  Anyone done this
before or has other robust ideas to build a navigation that can update as my
site's features change?

Thanks,

Haytham

Below is my first posting:

I am trying to build a navigation component that basically runs of the
struts config file's action mappings.  Anyone ever done this before or has
ideas on ways to build navigation from the struts config xml file?  I would
like it to dynamically update with changes to my site's navaigation/flow and
use the role information included with the mappings.

Thanks.

Haytham


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Posted Again: Build Navigation based on action mapping

Posted by Haytham Samad <ha...@speakeasy.net>.
Sorry for reposting but wanted to get some feedback on this as I am sure
everyone here had to deal with this at some point.  I am trying to find a
way to have navigation built based on the struts-config.xml's action
mappings.  Since all my use cases are enabled through action listed under
action mapping, this seemed like a good place to start.  Anyone done this
before or has other robust ideas to build a navigation that can update as my
site's features change?

Thanks,

Haytham

Below is my first posting:

I am trying to build a navigation component that basically runs of the
struts config file's action mappings.  Anyone ever done this before or has
ideas on ways to build navigation from the struts config xml file?  I would
like it to dynamically update with changes to my site's navaigation/flow and
use the role information included with the mappings.

Thanks.

Haytham


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org