Problem using css float inside a s:tabbedPanel

2008-04-24 Thread Herman Svensen
Hi, I'm currently using Struts 2.0.11.1 where I'm having problem using CSS style attribute 'float' together with Struts' s:tabbedPanel /. The content of the tabbedpanel is not displayed correctly when for example a div inside the tabbedPanel is using the 'float' attribute. Like this:

Re: Struts 2.0.11.1 problem

2008-04-24 Thread Nils-Helge Garli Hegvik
Which version of WebSphere Portal are you using? Also check for error messages on startup of the server, and make sure you post all the relevant stack traces. Nils-H On Wed, Apr 23, 2008 at 5:45 PM, Raghavendra [EMAIL PROTECTED] wrote: Hello, I just installed the struts 2.0.11.1 sample

Re: insert multiple objects in same form

2008-04-24 Thread zakaria ghandour
HI, i found solution to my problem. + this is the jsp --- c:forEach var=i items=1,2,3,4,5,6 tr tdfmt:message key=label.date/:/td tdhtml:text property=date size=10//td tdjj/mm//td tdfmt:message key=label.heure/:/td tdhtml:text property=heure

Re: Submitting to a div on a tabbedPanel

2008-04-24 Thread Jeromy Evans
cree wrote: I have been laboring over this pretty much all day and have not come up with any sort of solution heres my situation. I have two JSPs. One contains the main tabbed panel with any number of divs as tabs. One tab references an href like: s:div id=tabTwo theme=ajax label=Tab Two

Re: struts 2.0.9 velocity problem

2008-04-24 Thread Jeromy Evans
Raghavendra wrote: Hello, I am trying the struts 2.0.9 sample portlet and am seeing this problem when I use the velocity sample. Does anyone know how to fix this or if this is a known problem? ERROR [org.apache.commons.digester.Digester] Parse Fatal Error at line 1 column 1: Content is not

Re: Problem using css float inside a s:tabbedPanel

2008-04-24 Thread Jeromy Evans
Herman Svensen wrote: Hi, I'm currently using Struts 2.0.11.1 where I'm having problem using CSS style attribute 'float' together with Struts' s:tabbedPanel /. The content of the tabbedpanel is not displayed correctly when for example a div inside the tabbedPanel is using the 'float'

RE: Two problems: Struts2 + https + file load and Struts2 + file load + java.lang.IllegalStateException: getOutputStream()

2008-04-24 Thread Filippov, Andrey
Thanx a lot. After I insert return null the exception about 16:52:20,832 ERROR [UIBean] error when rendering java.lang.IllegalStateException: getOutputStream() has already been called for this response stopped. But I've still got the problem with IE6 - instead of file name I have the name

Re: Problem with Validation framework

2008-04-24 Thread Lukasz Lenart
action name=LookupUser class=com.intuit.sbfw.action.mc.UserLookupAction UserLookupAction-validation.xml is in the same path as class above? 2) I see this message when I invoke my very first action: INFO [ActionValidatorManagerFactory] Detected AnnotationActionValidatorManager,

RE: Two problems: Struts2 + https + file load and Struts2 + file load + java.lang.IllegalStateException: getOutputStream()

2008-04-24 Thread Brad A Cupit
And it is strange because it happens only when I use https and IE6. When it is http and IE6 it seems to be fine. these links may help: http://eirikhoem.wordpress.com/2007/06/15/generated-pdfs-over-https-with -internet-explorer/ http://forum.java.sun.com/thread.jspa?threadID=233446forumID=45

About OGNL multi-threading contention

2008-04-24 Thread Telmo Costa
Hello, We've been testing an application in a production environment and found a serious contention problem when the number of simultaneous requests grows. The problem seems to be related with the use of static synchronized blocks in OGNL code. I've found a related issue in OGNL

execAndWait and session access

2008-04-24 Thread mojoRising
I am trying to implement the execAndWait interceptor along with a custom authentication interceptor in an interceptor stack that most of my actions will call. I understand that the action being called needs to implement sessionAware if it wants to access the session. My question is: what about

Re: Struts 2.0.11.1 problem

2008-04-24 Thread Raghavendra
[4/24/08 12:04:40:250 EDT] 0037 ServletWrappe E SRVE0068E: Uncaught exception thrown in one of the service methods of the servlet: StrutsPortlet. Exception thrown : java.lang.NullPointerException at

Re: Struts 2.0.11.1 problem

2008-04-24 Thread Raghavendra
I am using WebSphere Portal 6.1 This is the cause of the problem..Has anyone encountered this or know a way to fix this? Any help would be appreciated. [4/24/08 12:04:40:250 EDT] 0037 ServletWrappe E SRVE0068E: Uncaught exception thrown in one of the service methods of the servlet:

Re: About OGNL multi-threading contention

2008-04-24 Thread Don Brown
There is a ticket open for the next version of Struts 2, 2.1.2, that will upgrade OGNL. The new version requires Struts 2 and XWork code changes, so it will take some time. Please vote or add any additional information to the Struts issue: http://issues.apache.org/struts/browse/WW-2527 Don

Re: Struts1/Tiles and Struts2/tiles in same app

2008-04-24 Thread Sandy143
Hello, I have to integrate struts 2 actions in my existing struts 1.2 web application. My login page is using struts 1.2 action. Upon login, I come to home page. there is a link on home page. when I click on that link, I need to go to another jsp page. The later action has to be in struts 2.

Struts1 and Struts2 in the same app

2008-04-24 Thread Sandy143
I have to integrate struts 2 actions in my existing struts 1.2 web application. My login page is using struts 1.2 action. Upon login, I come to home page. there is a link on home page. when I click on that link, I need to go to another jsp page. The later action has to be in struts 2. I

Re: Struts 2.0.11.1 problem

2008-04-24 Thread Nils-Helge Garli Hegvik
Is this the _only_ error message in your logs? Check all the logs of your server, and make sure that you also check for errors at the startup of your server. If you can't find any more errors, then look one more time, just to make sure. From the very limited information you have provided, it seems

Re: Re-use a form

2008-04-24 Thread Driv
Hi again and thaks for you interest in my problem! I've already resolt the problem, I just had to change the scope of the action that generates the form into session, instead of request, that was ok. But the real problem I had was that the link in the jsp was not well done. -- View this

Maven Struts 2 archetype not working

2008-04-24 Thread �rico
I'm trying to run the following command : mvn archetype:create -DgroupId=tutorial -DartifactId=tutorial -DarchetypeGroupId=org.apache.struts -DarchetypeArtifactId=struts2-archetype-blank -DarchetypeVersion=2.0.9-SNAPSHOT

execAndWait losing form parameters

2008-04-24 Thread mojoRising
I have a form that updates a user profile. When I add the 'execAndWait' Interceptor it appears to work correctly - that is, the wait.jsp page displays and then goes back to the results page. But, the request parameters (those from the user profile form that are being submitted) are getting lost.

Spring Struts Plugin workaround for Session Scoped Beans

2008-04-24 Thread Griffith, Michael *
Hi, From the docs, I found this link/note: To use session-scoped components with Spring and Struts, see the Spring Session Components Workarounds analysis. That led to confluence page that doesn't yet exist. I am using a session scoped spring bean in a struts 2 action, and it seems to be

Redirect-action parameters via POST

2008-04-24 Thread Allen, Daniel
Hi, all. I'm using the snippet below[1] in my struts.xml file to send finish an action with a redirect to another, and sending a parameter along. However, Struts 2 defaults to passing the parameter via appending it to the URL in a GET request. I'm going to need to add additional parameters, some

Re: Redirect-action parameters via POST

2008-04-24 Thread Nils-Helge Garli Hegvik
Can you put the info on the session? Nils-H On Thu, Apr 24, 2008 at 9:52 PM, Allen, Daniel [EMAIL PROTECTED] wrote: Hi, all. I'm using the snippet below[1] in my struts.xml file to send finish an action with a redirect to another, and sending a parameter along. However, Struts 2 defaults

RE: Redirect-action parameters via POST

2008-04-24 Thread Allen, Daniel
I can, and I considered that, but I was hoping to keep it in the XML to minimize the number of files that need to be changed. The documentUpload action that's the redirect target below is actually the recipient of quite a few links (in fact the basic point of the application is to facilitate

Struts2.1: Is Validation Annotations on Nested Objects Supported?

2008-04-24 Thread egetchell
Hello, Does anyone have an idea how to invoke validation annotations on nested objects? We’re using hierarchal objects in Struts 2.1 and the validation annotations do not seem to be firing on the child objects. For example I have a Customer object which has an Address object as an attribute.

Re: Validation on methods

2008-04-24 Thread Laurie Harper
The validate() method should be called for any request on that action unless (a) the request is serviced by an excluded method (where the set of excluded methods depends on the interceptor stack you are using and/or an explicit configuration you've specified) or (b) you have switched the

Re: execAndWait interceptor and setting request attribute throws NPException

2008-04-24 Thread Laurie Harper
akash agrawal wrote: Hi, When I use execAndWait interceptor and set some request attribute in my action, I get NPE: java.lang.NullPointerException at org.apache.catalina.connector.Request.setAttribute(Request.java:1376) at

[S2] Populate a List property?

2008-04-24 Thread James Carr
Hi All, I want to be able to submit a form that can add array elements to one of my action properties. I have something like this: public class SomeAction{ private FooBar foo; // getters and setters, execute, etc. here } with public class FooBar{ private ListBar bars; //

S2 ognl-2.6.11.jar source code

2008-04-24 Thread Greg Lindholm
Can someone tell me where to find the source for ognl-2.6.11.jar? I've looked on www.ognl.org but it only goes up to 2.6.9. I've looked on www.opensymphony.com/ognl/ but it doesn't have a working download for ognl. It points you to a CVS source repository on java.net but there is no release

Re: S2 ognl-2.6.11.jar source code

2008-04-24 Thread Guillaume Bilodeau
http://mirrors.ibiblio.org/pub/mirrors/maven2/opensymphony/ognl/2.6.11/ It took me a while to find it too :) Cheers, GB Greg Lindholm wrote: Can someone tell me where to find the source for ognl-2.6.11.jar? I've looked on www.ognl.org but it only goes up to 2.6.9. I've looked on

RE: Is there such a thing as flash in S2?

2008-04-24 Thread Guillaume Bilodeau
Hi guys, I have just developed a FlashResult / FlashInterceptor pair - turns out it wasn't that difficult. I couldn't give it much testing (for the moment the only use case in my application that requires flash scope is showing success messages following a redirect) but for what it's worth it

Building First strut

2008-04-24 Thread Vinay Nagrik
Hello Group, I am working with struts and following is what I have done already. 1. Downloaded tomcat, configured it, and it is running alright. 2. Downloaded struts unzipped, untarred it and copied necessary .jar files from this directory into tomcat WEB-INF/lib directory. 3. Built web.xml

Re: Building First strut

2008-04-24 Thread Wes Wannemacher
Which version of struts are you using? Struts 1 and Struts 2 are very different. -Wes On Thu, 2008-04-24 at 17:48 -0700, Vinay Nagrik wrote: Hello Group, I am working with struts and following is what I have done already. 1. Downloaded tomcat, configured it, and it is running alright.

Re: About OGNL multi-threading contention

2008-04-24 Thread Darren James
actually struts is currently using ongl 2.6.11 correct? In fact the problem that you reference here http://jira.opensymphony.com/browse/OGNL-141, seems to indicate it was the 2.6.11 version of the OGNL jar that introduced the problem. Can someone verify? I would second the idea that this is a

Re: Building First strut

2008-04-24 Thread aum strut
Wes is right without information about the version its very hard to put any comments on this, On 4/25/08, Wes Wannemacher [EMAIL PROTECTED] wrote: Which version of struts are you using? Struts 1 and Struts 2 are very different. -Wes On Thu, 2008-04-24 at 17:48 -0700, Vinay Nagrik wrote:

Re: About OGNL multi-threading contention

2008-04-24 Thread Jeromy Evans
Darren James wrote: actually struts is currently using ongl 2.6.11 correct? In fact the problem that you reference here http://jira.opensymphony.com/browse/OGNL-141, seems to indicate it was the 2.6.11 version of the OGNL jar that introduced the problem. Can someone verify? I would second the