problem laying out element of ordered list using logic iterate

2007-10-14 Thread Dolphin06
Hello, i have a list of 8 String in session and i would like to have it display using logic iterate tag in this manner : tr tdString1/tdtdString5/td /tr tr tdString2/tdtdString6/td /tr tr tdString3/tdtdString7/td /tr tr tdString4/tdtdString8/td tr Hope someone helps, thank you. -- View this

Re: The breadcrumbs have been served!

2007-10-14 Thread Antonio Petrelli
2007/10/13, [EMAIL PROTECTED] [EMAIL PROTECTED]: Greetings -- I finished the S2 breadcrumb plug-in and you are welcome to it and the source code at www.strutsschool.com. What is the license? Antonio P.S.: The Tiles link is wrong, point it to: http://tiles.apache.org/

OGNLException on passing request parameters in redirect-action type

2007-10-14 Thread Tuyen Dinh Van
Hi, I am configuring the struts.xml for my simple example like this: package name=dashboard namespace=/ extends=application action name=dashboard class=com.example.web.action.Dashboard interceptor-ref name=authnz/interceptor-ref result

Re: OGNLException on passing request parameters in redirect-action type

2007-10-14 Thread Jeromy Evans
Are you using Struts 2.0.7 or below? That warning's present in those versions when you pass a literal string as a parameter. https://issues.apache.org/struts/browse/WW-1714 It will go away if you upgrade to 2.0.9. If you can't upgrade, you can turn off warn logging to hide it. Tuyen Dinh

Re: OGNLException on passing request parameters in redirect-action type

2007-10-14 Thread Martin Gainty
please quote http://www.example.com/dashboard.html; Also- can you display your interceptor-stack for authnz? can you display struts.locale property from your struts.properties? Thanks/ M-- - Original Message - From: Jeromy Evans [EMAIL PROTECTED] To: Struts Users Mailing List

Re: The breadcrumbs have been served!

2007-10-14 Thread Mark McLaren
Good stuff. Here is some feedback for you, free of charge. :) There is a slight issue with www.strutsschool.com (demo site for the breadcrumb plugin?). I think flipCoin should probably appear in your excludeMethods as accessing flipCoin through the breadcrumb link throws an exception. (the

Re: OGNLException on passing request parameters in redirect-action type

2007-10-14 Thread Dave Newton
There's a parameter named nextUrl being passed in; AFAIK that isn't one of the parameters for the redirect acton result, leading to the msg: WARNING: Caught OgnlException while setting property 'nextUrl' on type 'org.apache.struts2.dispatcher.ServletActionRedirectResult'.

Re: The breadcrumbs have been served!

2007-10-14 Thread Adam Hardy
The motive website article is almost comprehensive, but they miss 2 points about breadcrumb history menu: firstly it's not redundant just because of the browser's history functionality - when you go back in the browser and then choose a new link, you lose your ability to go forward in the

Re: problem laying out element of ordered list using logic iterate

2007-10-14 Thread Dolphin06
I found one solution if someone has better please post the code : body bgcolor=white % ArrayList list = new ArrayList(8); for(int i = 1; i = 8; i++) { list.add(i); } pageContext.setAttribute(list, list, PageContext.PAGE_SCOPE);

Re: Exception Logging

2007-10-14 Thread Richard Sayre
Thank you. That worked perfect. On 10/13/07, Jeromy Evans [EMAIL PROTECTED] wrote: In addition to configuring log4j to use a FileAppender to write logs to a file, here's a very simple way to log exceptions manually from the exception page: Within your jsp include the following code:

Re: The breadcrumbs have been served!

2007-10-14 Thread Mark McLaren
I have been thinking a little more about the BreadCrumbInterceptor. It may be a blunt instrument but I was thinking it would be a fair assumption to only include actions invoked via the GET method in the bookmarks trail. This could be achieved in the interceptor with code a bit like:

Re: The breadcrumbs have been served!

2007-10-14 Thread Wendy Smoak
On 10/13/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Greetings -- I finished the S2 breadcrumb plug-in and you are welcome to it and the source code at www.strutsschool.com. Struts Classic? We only called it that briefly during one of the svn reorgs, it didn't stick. It's just Struts, or

Re: The breadcrumbs have been served!

2007-10-14 Thread Dave Newton
http://www.strutsschool.com:80//about/about.action Something is odd about the URL generation; I got to the above link via the home page. Too many exclamation points, and the second paragraph reads When without anything else. First reference to db4o has either a capital O or a 0 (zero). When I

Re: The breadcrumbs have been served!

2007-10-14 Thread stanlick
Did the site also cause your CPU to spike? The SS site was built by a couple of us who wanted to see how different S2 was from S1. I pushed it to the other side of the DMZ and thought I'd tidy it up later. Later becomes around the clock work on this Struts 2 book and reading your emails at all

Re: The breadcrumbs have been served!

2007-10-14 Thread stanlick
So is it Struts or Struts 1? And what if I am using Struts 1.3 :) And if I am using Strus 1 with Spring, is this Spruts or String? Scott On 10/14/07, Wendy Smoak [EMAIL PROTECTED] wrote: On 10/13/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Greetings -- I finished the S2 breadcrumb

Re: The breadcrumbs have been served!

2007-10-14 Thread Wes Wannemacher
Hey Scott, I'll volunteer to clean it up for you. I can tell that you seem more of a Tiles fan than Sitemesh, but I think if you give it a spin you'll probably enjoy it. Email me off-list (you know where) and we can work out the details. -W On 10/14/07, [EMAIL PROTECTED] [EMAIL PROTECTED]

[OT] Blogging Website information

2007-10-14 Thread Ashish Kulkarni
Hi I was wondering if any one knows or uses blogging website where we can put Java, HTML, Javascript code and it will be formatted differently, for example if you have used http://forum.java.sun.com you can specify [code][/code] and it formats it differently What i need to do is, write some

Re: [OT] Blogging Website information

2007-10-14 Thread Wes Wannemacher
On wantii.com, I use wordpress with the 'Code Auto Escape' plugin. It works pretty well. -W On 10/14/07, Ashish Kulkarni [EMAIL PROTECTED] wrote: Hi I was wondering if any one knows or uses blogging website where we can put Java, HTML, Javascript code and it will be formatted differently, for

Re: how to make ActionForm in session scope in Struts2

2007-10-14 Thread Jose4u
thanks for the reply. My intention is , i have a list in my action class and adding values to the list(for e.g. Company) from the DB and forwarding to the .jsp after the user enter the values -moving to the action and saving the values in db and again forwardig to the .jsp at that time the

DateTimePicker time type not working in 2.0.11

2007-10-14 Thread Jon Wilmoth
I've tried using the datetimepicker with the type attribute set to time (s2:datetimepicker name=end displayFormat=hh:mm type=time/), but nothing shows up. There was a email thread this past spring on this subject, but it appears the tag was broken and to be fixed in 2.1. Is the tag still

ExecuteAndWait interceptor position?

2007-10-14 Thread Igor Vlasov
Hello. In Struts Documentation i found that Because of the nature of this interceptor, it must be the last interceptor in the stack. and in struts-default.xml i found lt;interceptor-stack name=executeAndWaitStack lt;interceptor-ref name=execAndWait lt;param