building struts 2.0.6 from source

2007-06-15 Thread Adrian Ost
Hi all, I downloaded struts 2.0.6-src, did an ANT build and replaced the resulting "struts2-core.jar" with my recent jar "struts2-core-2.0.6". Didn't make any changes in the source nor my webapp. But now, when deploying my webapp I get an Filterstart-errror. any ideas? -- Adrian Ost MindMati

Re: building struts 2.0.6 from source

2007-06-15 Thread animesh saxena
can you paste the exact error message? On Fri, 2007-06-15 at 09:29 +0200, Adrian Ost wrote: > Hi all, > > I downloaded struts 2.0.6-src, did an ANT build and replaced the > resulting "struts2-core.jar" with my recent jar "struts2-core-2.0.6". > Didn't make any changes in the source nor my webapp

Réf. : Re: No Collection Found problem

2007-06-15 Thread Marianne . Gardes
Hello Niall, Actually I did a mistake when i wrote my email, because i already do what you told me to do, so I still have the same problem: <%= TEST %> <% Collection col = (Collection)request.getSession().getAttribute( "cautionVos"); %> <%= col.size() %> <%= col.isEmpty() %>

Re: building struts 2.0.6 from source

2007-06-15 Thread Antonio Petrelli
2007/6/15, Adrian Ost <[EMAIL PROTECTED]>: Hi all, I downloaded struts 2.0.6-src, did an ANT build and replaced the resulting "struts2-core.jar" with my recent jar "struts2-core-2.0.6". Just a question: why did not you download 2.0.8 version? Antonio -

Re: [S2] int validator for longs?

2007-06-15 Thread Paolo Beccari
I got the same problem a few days ago, solved using the Conversion Validator: http://www.mail-archive.com/user@struts.apache.org/msg60494.html HTH P. - Original Message - From: "Jon Wilmoth" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Thursday, June 14, 2007 10:50 PM Su

Re: In struts 2 can we stop form submiting twice when submit button is pressd more than once

2007-06-15 Thread Paolo Beccari
- Original Message - From: "sudeepj2ee" <[EMAIL PROTECTED]> To: Sent: Friday, June 15, 2007 6:51 AM Subject: In struts 2 can we stop form submiting twice when submit button is pressd more than once > > Hi > > Is there a way out in struts 2 as in struts1.2 for not submitting the form >

RE: [S2] Parameter Interceptor Error

2007-06-15 Thread Hoying, Ken
For others that might run into this, I solved it by making the following conig changes to the deafultStack since our app does not use image maps anyhow: x,y,dojo\..*

Re: Réf. : Re: No Collection Found problem

2007-06-15 Thread Niall Pemberton
On 6/15/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hello Niall, Actually I did a mistake when i wrote my email, because i already do what you told me to do, so I still have the same problem: <%= TEST %> <% Collection col = (Collection)request.getSession().getAttribute( "cautionVos"); %>

Re: How to populate Collection element of FormBean on Submit

2007-06-15 Thread Nicolás Pace
On 6/15/07, Nagesh Kumar Suravarjula <[EMAIL PROTECTED]> wrote: Hi I have a Collection Element in my Form Bean whose elements are displayed in a table in JSP . Also, I have a hidden variable in my JSP whose values are coming from this Collection Element. I do have a reset method in my form bea

Re: [S2.0.8] datetimepicker.... is it a train wreck?

2007-06-15 Thread Mark P Ashworth
Good Day, Thank you for your help. I created properties that return string representations of the date & time values and I use the jscalendar component to select the date & times. Seems to work just grand. I have only one issue that if the date string could parsed then it does not report the exce

[S2] Has anyone used Open Flash Chart with Struts 2

2007-06-15 Thread Mark P Ashworth
Good Day, I am evaluating charting packages and was wondering if anyone has used Open Flash Chart with Struts or event Struts 2? Any information would be helpful. Regards, Mark P Ashworth http://www.connext.co.za -- View this message in context: http://www.nabble.com/-S2--Has-anyone-used-Open

Gets ParametersInterceptor error when trying to set values in a list, eg. tmpList[0].name

2007-06-15 Thread kris16
Hi, we have problems with setting HIDDEN values in an array list on a web page. The problem code in the jsp page looks like this: The problem seems to be that the object that are to be set is a list, existingProductOfferings[%{#row.index}] The error appeared when we up

Re: [S2.0.8] datetimepicker.... is it a train wreck?

2007-06-15 Thread Jeromy Evans
Mark P Ashworth wrote: Good Day, Thank you for your help. I created properties that return string representations of the date & time values and I use the jscalendar component to select the date & times. Seems to work just grand. I have only one issue that if the date string could parsed then it

Re: In struts 2 can we stop form submiting twice when submit button is pressd more than once

2007-06-15 Thread yitzle
I've seen websites that have an submit onclick script that disables the submit button. You may want to consider that approach. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [S2.0.8] datetimepicker.... is it a train wreck?

2007-06-15 Thread Antonio Petrelli
2007/6/13, Musachy Barroso <[EMAIL PROTECTED]>: Well, the datetimepicker is the only one in such a lame condition, the other ones are working fine. Musachy Can you drop a line about this in the release notes? Probably in the "Known Bugs and Problems" section. http://cwiki.apache.org/confluence/

Best practices with struts 2.0

2007-06-15 Thread setecastronomy
I'm new to Struts 2.0 and I have to difficulties in finding good tutorials. I have many doubts on the best way to perform some actions. For example I have the following line inside one jsp page: It accesses a property in the action of integer type. They are minutes but I wuold like to represe

Re: [S2.0.8] datetimepicker.... is it a train wreck?

2007-06-15 Thread Mark P Ashworth
Good Day, Thanks once again. Regards, Mark P Ashworth http://www.connext.co.za Jeromy Evans - Blue Sky Minds wrote: > > Mark P Ashworth wrote: >> Good Day, >> >> Thank you for your help. I created properties that return string >> representations of the date & time values and I use the jscale

Re: Best practices with struts 2.0

2007-06-15 Thread Gert Vanthienen
L.S., About your value stack question: I think you can use (http://struts.apache.org/2.x/docs/push.html) to add values to the stack, so they can be used by other struts tags afterwards. Gert setecastronomy wrote: I'm new to Struts 2.0 and I have to difficulties in finding good tutorials.

Re: [S2] Has anyone used Open Flash Chart with Struts 2

2007-06-15 Thread Martin Gainty
Dojo controls are great but i REALLY like the animation characteristics of Flash... the only true working inter-operability testcases I 've seen working is to write FormBean/QueryString to XML and Post to Flash and send XML What I've seen work is Flex swf posts to your WebService e.g. /

Getting error in jsp like Failed to load or instantiate TagExtraInfo class :or.apache.struts.taglib.bean.HeaderTei

2007-06-15 Thread bhanuprakash.singh
Hi all, I am preparing a sample Struts applications but getting error in jsp like Failed to load or instantiate TagExtraInfo class :org.apache.struts.taglib.bean.HeaderTei I have allthe jars required for the struts application Please let me know Regards Bhanu The information contained

Re: URL Parameters not working in Struts 2.0.6

2007-06-15 Thread Mike Jennings
Well I am glad that it is not just me and that I am not going crazy. I have had to role back to using webwork 2.4 because it has a ServletDispatcher. JspSupportServlet com.opensymphony.webwork.views.JspSupportServlet 1 action com.opensymphony.webwork.dispatcher.ServletDispat

Re: URL Parameters not working in Struts 2.0.6

2007-06-15 Thread Shibing . Chen
I use tag and have this problem also. I have coded a DebugFilter and applied it before FilterDispatcher. In DebugFilter I output HttpServletRequest.getQueryString(), but it's always null. I'm so confused, is it a oc4j bug? On 6/15/07, tom tom <[EMAIL PROTECTED]> wrote: What exactly the tag you

Getting error in jsp like Failed to load or instantiate TagExtraInfo class :or.apache.struts.taglib.bean.HeaderTei

2007-06-15 Thread bhanuprakash.singh
Hi all, I am preparing a sample Struts applications but getting exception like Failed to load or instantiate TagExtraInfo class :org.apache.struts.taglib.bean.HeaderTei I have allthe jars required for the struts application Please let me know Regards Bhanu The information contained in thi

Re: URL Parameters not working in Struts 2.0.6

2007-06-15 Thread Shibing . Chen
I have no idea. but it seams not a struts' bug, because in my DebugFilter, getQueryString returns null, so struts can't get any parameter. Is this true? On 6/15/07, Mike Jennings <[EMAIL PROTECTED]> wrote: Well I am glad that it is not just me and that I am not going crazy. I have had to role b

two collection one iteration

2007-06-15 Thread horri khalid
Hi, I have a logic:iterate block in my JSP file that needs to iterate over two Collections (ArrayList) simultaneously. That is: Car /km /day Problem is, the "property" attribute in the tag is in error (I p

Hi

2007-06-15 Thread Archer
HI I am new to struts 1.3.8. I have to implement datagrid for the entire tables of my application.Is there any defualt application in struts which can be extended to implement datagrid. Can anybody please tell me how datagrid is handled in struts. Any suggestion is appreciated. -- Regards Arche

Re: Gets ParametersInterceptor error when trying to set values in a list, eg. tmpList[0].name

2007-06-15 Thread Adam Ruggles
Try adding a conversions.properties file to your action. kris16 wrote: Hi, we have problems with setting HIDDEN values in an array list on a web page. The problem code in the jsp page looks like this: The problem seems to be that the object that are to be set is a list,

s2 if tag question

2007-06-15 Thread Scott Nesbitt
I am having a bit of trouble using the if tag. This code: Screen Alert: checked value="1">Yes checked value="2">No Gives this error: DEBUG util.OgnlValueStack - Caught an exception while evaluating expression 'userDetailsBean.userPreferencesBean.mmPrelimScreenAlert == 'N'' again

[s2] interceptors

2007-06-15 Thread Richard Wallace
I've got a page that I'm trying to use on. The action that I'm trying to use implements the Preparable interface and when I access it directly everything works fine. But when I try and embed it in another page with the tag it doesn't seem like the prepare() method is being invoked. I can s

RE: [S2] Weblogic & struts.multipart.parser

2007-06-15 Thread Hoying, Ken
There does appear to be a error in the log that I overlooked. ERROR org.apache.beehive.netui.pageflow.internal.AdapterManager : ServletContainerAdapter manager not initialized correctly. It appears that this error only occurs when the application is installed on the admin server. Our applicati

Type Conversion

2007-06-15 Thread Mansour
I am trying to convert a string into an Object. I can not find documentation on how to implement the StrutsTypeConverter. The documentation says: To create a type converter one would need to extends StrutsTypeConverter. public class MyConverter extends StrutsTypeConverter { public Object con

Re: Type Conversion

2007-06-15 Thread Dave Newton
--- Mansour <[EMAIL PROTECTED]> wrote: > I am trying to convert a string into an Object. I > can not find documentation on how to implement the > StrutsTypeConverter. The documentation says: > > To create a type converter one would need to extends > StrutsTypeConverter. > > public class MyConvert

Re: [S1] Properties Argument Question

2007-06-15 Thread Laurie Harper
Kenton wrote: I'm preparing my Struts app for Internationalization and am moving all strings to .properties files. How do I do this: "/> Obviously, that doesn't work, but you can probably see what I want to do. How do I do that? Use bean:define (or c:set) to place the value from Tiles into a

Re: Forward to remote URL in struts

2007-06-15 Thread Laurie Harper
SURESH GUDIVADA wrote: Hi, I have tried using request.getRequestDispatcher.forward() and returning the actionforward to null I used the below code String customURL = getcustomURL(); RequestDispatcher req = request.getRequestDispatcher(customURL); req.forward(request, response); But it is not

Re: Getting error in jsp like Failed to load or instantiate TagExtraInfo class :or.apache.struts.taglib.bean.HeaderTei

2007-06-15 Thread Laurie Harper
[EMAIL PROTECTED] wrote: Hi all, I am preparing a sample Struts applications but getting error in jsp like Failed to load or instantiate TagExtraInfo class :org.apache.struts.taglib.bean.HeaderTei I have allthe jars required for the struts application Are you sure? What version of Struts are y

Re: two collection one iteration

2007-06-15 Thread Laurie Harper
horri khalid wrote: Hi, I have a logic:iterate block in my JSP file that needs to iterate over two Collections (ArrayList) simultaneously. That is: Car /km /day Problem is, the "property" attribute in the

Re: [S2] Getting DAO from Spring in Struts Action

2007-06-15 Thread David Durham, Jr.
On 6/14/07, M. Bitner <[EMAIL PROTECTED]> wrote: Your action name has to correspond to your bean id, so:

Re: updating a DIV with ajax submit

2007-06-15 Thread Mansour
Seriously, no one can answer this one? OK, the DIV is not updating at all now. Do i need to use JS to manually set the content of the DIV ? Shouldn't it update auto magically? Mansour wrote: I am able to submit, and I can see the results back. However, the results are not inserted into the DI

Re: updating a DIV with ajax submit

2007-06-15 Thread Mansour
I can see expected out put coming back. And when I view the page source it's even there in the right place but not rendered on the browser! On both FF and IE Mansour wrote: Seriously, no one can answer this one? OK, the DIV is not updating at all now. Do i need to use JS to manually set

Re: updating a DIV with ajax submit

2007-06-15 Thread Jeff Amiel
I assume the value of %{ajaxSubmit} is a struts action...? And you are sure it is actually putting NEW content in the div after the image is clicked on? On 6/15/07, Mansour <[EMAIL PROTECTED]> wrote: I can see expected out put coming back. And when I view the page source it's even there in t

Re: [S2] Getting DAO from Spring in Struts Action

2007-06-15 Thread M. Bitner
That got it working - thank you all so much for your help. On 6/15/07, David Durham, Jr. <[EMAIL PROTECTED]> wrote: On 6/14/07, M. Bitner <[EMAIL PROTECTED]> wrote: > - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: updating a DIV with ajax submit

2007-06-15 Thread Mansour
Jeff Amiel wrote: I assume the value of %{ajaxSubmit} is a struts action...? And you are sure it is actually putting NEW content in the div after the image is clicked on? Yes, the value of %{ajaxSubmit} is an action. And yes, the html is inserted in DIV. I checked it with FF DOM i