Sorry, what does AFAICT mean? :-)
I'm running Tomcat 6.0.16. No, it doesn't work with default stack.
Any other ideas?
Mark
On 09/09/2008, at 12:13 PM, Dave Newton wrote:
--- On Mon, 9/8/08, Mark wrote:
I'm using Struts 2 validation and I'm getting a NullPointerException
when the page is b
hi,
where do you suggest that i modify the order of the elements ?
I checked the library struts2-core-2.1.2.jar, there is a struts-2.0.tld
descriptor tagfile inside of it but there is not much inside of it.
Or maybe i should use a different version of Struts 2 ? Some other library ?
Thanks for he
--- On Mon, 9/8/08, Martin Gainty wrote:
> you can return the result you desire from the Action which
> implements parameterNameAware interceptor
>
>
>
> good_result.ftl
>
>
> http://struts.apache.org/2.x/docs/parameters-interceptor.html
I guess I'm not clear on how that deals with his iss
--- On Mon, 9/8/08, Mark wrote:
> I'm using Struts 2 validation and I'm getting a NullPointerException
> when the page is being displayed (before it is even being submitted
> or validated). I did some searches and found this Jira:
> https:// issues.apache.org/struts/browse/WW-2150.
AFAICT th
you can return the result you desire from the Action which implements
parameterNameAware interceptor
good_result.ftl
http://struts.apache.org/2.x/docs/parameters-interceptor.html
Bon Chance,
Martin
__
Disclaimer and confidentiality note
Hi all:
I'm using Struts 2 validation and I'm getting a NullPointerException
when the page is being displayed (before it is even being submitted
or validated). I did some searches and found this Jira: https://
issues.apache.org/struts/browse/WW-2150. It states that it has been
fixed in v
--- On Mon, 9/8/08, xianwinwin wrote:
> how can I integrate a radio box on the left side so the
> user can choose one.
I'd think the easiest solution would be to use plain HTML radio buttons,
depending on your actual requirements.
Another option would be to create an S2 component, but that might
Hi all,
Say I have 4 dates and I wish the end-user to choose one of them, how can I
do that with radio Box?
Say this is the datetimepicker:
how can I integrate a radio box on the left side so the user can choose one.
the user must have the ability to change the date (so I can't have i
--- On Mon, 9/8/08, [EMAIL PROTECTED] wrote:
> I don't have any input method. I have a displayForm
> method, and a submitForm method.
>
> The displayForm method returns an input *result*, which is
> a default result pointing to a JSP. This JSP has to display
> some data coming from the database.
I don't have any input method. I have a displayForm method, and a submitForm
method.
The displayForm method returns an input *result*, which is a default result
pointing to a JSP. This JSP has to display some data coming from the database.
I'd like this same JSP to be displayed when the input
Hi,
I have a fairly complicated data structure in form bean and try to use that
in my pages. (struts 1.2. in tomcat 5.5.26) Here is the structure
public class Risk {
int size, probability;
//constructor
// setter and getter for both fields
}
===
As Don said, implement small form, only with submit button and you
wouldn't have to use JavaScript.
Regards
--
Lukasz
http://www.lenart.org.pl/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
How did you configure your input method? What is the name of this
method? I still don't understand why you can use Prepare interceptor,
just implement prepareDoInput() method and that method will be called
just before input() call.
If input result redirect to some other action, configure and imple
Hello:
I am writing a custom converter for my dates in my app. The built-in
converter populates text fields with a short date but I want MM/dd/
since this is the format users enter in dates. The date fields are also
optional in my app. That presents a problem.
Here is my customer conversion c
Dan wrote:
Is there any other option instead of using Javascript? I have googled
but didnt find any answers.
flash ? maybe some applet trickery? what's wrong with a form?
--paul
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
F
Thanks Dale!
I actually just sniffed my connection and Tomcat is adding the
Content-Length by itself when attachment.
On the other hand, is not adding the Content-Length when content
disposition is inline.
2008/9/8 Dale Newfield <[EMAIL PROTECTED]>:
> Gabriel Belingueres wrote:
>>
>> I wonder if a
Whenever I try to us s:include or jsp:include to access a Struts 2 action from
within the SiteMesh decorator I get
The requested resource (Relative URL) is not available.
Surely this should be possible.
-Original Message-
From: David Loup
Sent: 02 September 2008 12:55
To: Struts
I know that. But this does not solve the problem I described. prepareXxx will
be invoked if I the action method is xxx. I validation fails, it'll work: the
input page will have the prepared data ready in the action instance. If
validation succeeds, however, the prepareXxx method will have prepar
Lukasz Lenart escribió:
Hi,
You can use JavaScript and onclick event:
Regards
Hi,
Is there any other option instead of using Javascript? I have googled
but didnt find any answers.
Thanks in advance,
-
To unsubscrib
--- On Mon, 9/8/08, Dale Newfield wrote:
> If you do not specify the content length in the stream
> result, your stream will be requested twice (each request
> is required to provide an independent stream -- a frequent
> source of bugs for people that don't realize it), one of
> which will be re
Gabriel Belingueres wrote:
I wonder if all that MIME descriptive data in the HTTP response is
part of the "message body", and if that's the case, I suppose it is
better always NOT specify any content length at all in the stream
result.
If you do not specify the content length in the stream resu
Has struts.configuration.files been removed from 2.1.1?
Laurie Harper wrote:
>
> Shuai Zheng wrote:
>> Dear All,
>>
>> I try to use my own setting to overwrite the default settings.
>> Following line is added into my struts.properties:
>> struts.configuration.files=struts-heal-default.xml,s
Folks
Our app uses "" extensively to access database backed application
resources. This works well, but as you would expect the message that is retrieved for any given key
is constant.
We want to extend this so that users in different business units are shown
different messages.
e.g. Use
You can try by letting your action implements the
ValidationWorkflowAware interface.
2008/9/7 Keios Titan <[EMAIL PROTECTED]>:
> I have a quick question. I am using S2. I have multiple methods exposed in
> my action and more than one method has forms attached to it. If I use the
> action-method-v
I was actually intrigued by the fact that the content length in the
stream result is actually setting the content-length HTTP header [1],
which from the HTTP doc it represents the "message body length", but
I'm not sure that the message body length is EXACTLY the same as the
attached file size.
I
Start with Struts 2. It's a great improvement over the old beast.
On Mon, Sep 8, 2008 at 8:25 AM, gbattine <[EMAIL PROTECTED]> wrote:
>
> Hello guys,
> I need an information.
> I'm going to learn struts..
> I need some info, please help me:
>
> 1) what do you hint to me, to start from Struts 1.1
Hi,
Please check http://www.roseindia.net/struts/struts2
Here you will step by step tutorials on struts 2.
Thanks
Deepak Kumar
-Original Message-
From: gbattine [mailto:[EMAIL PROTECTED]
Sent: Monday, September 08, 2008 5:55 PM
To: user@struts.apache.org
Subject: new to Struts
Hello
Hello guys,
I need an information.
I'm going to learn struts..
I need some info, please help me:
1) what do you hint to me, to start from Struts 1.1 and later move to Struts
2.0, or starting from Struts 2.0?
2) I usually use Netbeans. Is there an editor WYSIWHG for Netbeans, to use
Struts?
3) I k
newton.dave wrote:
>
> --- Martin Gainty <[EMAIL PROTECTED]> wrote:
>> use javascript
>> javascript:history.back();
>
> I don't believe that would submit the form in the parent window, and I
> don't
> think the window that popped up would have a history anyway, no?
>
> Dave
>
>
> --
You can use perpareXXX method per action method as mentioned in docs:
Applies only when action implements Preparable
1. if the action class have prepare{MethodName}(), it will be invoked
2. else if the action class have prepareDo(MethodName()}(), it will
be invoked
3. no matter if 1] or
Hi.
Thanks for your answer. But as I said in my original post, the prepare
interceptor would prepare the action regardless of the validation result. If
the validation succeeds, I don't want the data for the input page to be
prepared, as the flow will go to the submit method which will redirect
ok, thanks to all. I'll try all this solutions.
2008/9/1 Gabriel Belingueres <[EMAIL PROTECTED]>
> encode the response using ISO-8859-1 charset.
>
> 2008/9/1, Esteve Camps Chust <[EMAIL PROTECTED]>:
> > Hi all,
> >
> > I'm having a problem when using getText action method. This method gets a
> >
Hi,
Take a look at Prepare Interceptor [1] and Preparable interface [2]
[1] http://struts.apache.org/2.x/docs/prepare-interceptor.html
[2]
http://struts.apache.org/2.0.11.2/struts2-core/apidocs/com/opensymphony/xwork2/Preparable.html
Regards
--
Lukasz
http://www.lenart.org.pl/
--
33 matches
Mail list logo