I have a question about multiple file uploads using arrays[1]. Say I have 4
text fields with a file input field "related" to each one on a JSP like
this:
The user must enter a value in the text field, but uploading a file isn't
required. If the user picks a file for "Fi
Hi,
I'm attempting to update to 2.0.8, and I've run into a strange issue. In our
custom interceptors, we attempt to get the HttpServletRequest like so:
HttpServletRequest request = ServletActionContext.getRequest();
This is returning null in 2.0.8 (although it works fine 2.0.7. When we change
Roger Varley googlemail.com> writes:
>
> > Is dynamic method invocation turned on?
> >
> As an aside, why is dynamic method invocation turned off by default.
> From experience this suggests that either the functionality is
> experimental, or is not the sort of thing you should be using unless
>
http://struts.apache.org/2.x/docs/select.html
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
What are the errors you are seeing?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
What version of Struts2 are you using? There is a bug in versions before 2.0.7,
where the select tag won't pre-select your values unless it is comparing
Strings.
See this Jira issue for details:
https://issues.apache.org/struts/browse/WW-1711
Felipe Rodrigues yahoo.com.br> writes:
>
>
> Hi,
> Does anyone knows how to change the default .css for TabbedPanel without
> change that inside the jar?
> I need change the colors of Labe and the image of the tab.
>
> regards,
>
> Felipe
I was able to do this, but it is kinda ugly. We used
Awesome! I didn't realize that. Thanks.
Musachy Barroso gmail.com> writes:
>
> You can use the templateCssPath property to point to your css.
>
> musachy
>
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comma
Can't help you out with that problem, as I haven't played with the Portlet
stuff. Sorry.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Have your action implement SessionAware, and give it a setter of the form:
public void setSession(Map session);
You can then add things to this map, and they will be added into the session.
Then you can access them in your JSP like this:
See these pages for more details:
http://struts.apach
The @Result annotation should be at the class level, not the method level.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
The NPE in ServletRedirectResult is a bug. It has been fixed in 2.0.5
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Try using the "redirect-action" result type.
http://struts.apache.org/2.x/docs/redirect-action-result.html
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Ron Chan i-tao.com> writes:
>
>
> i've put together a simple app to test the combination of codebehind/zero
> configuration and it seems to work quite well
>
> is there a way to use the redirect result without having to revert to
> putting in something in struts.xml?
>
> thanks
> Ron
>
Try
Found out the problem. I had struts.devMode=true in my configuration. This
causes resource bundles to be reloaded with each request. Turning devMode off
makes thing work correctly.
-
To unsubscribe, e-mail: [EMAIL PROTECTED
I've created two test WARs based on the struts2-blank WAR that demonstrate the
issue. struts-blank-201.war uses Struts 2.0.1, and struts-blank-203.war uses
code from subversion as of ~9AM EST this morning.
The changes to each include the following:
o A custom ResourceBundle (TestBundle)
o Removal
Eric Rank lo-fi.net> writes:
> 2. In the struts-default.xml file that ships with Struts2, there's a
> line, which names the class to "restful2":
>
> name="restful2"
> class="org.apache.struts2.dispatcher.mapper.Restful2ActionMapper" />
>
> So, assuming that I need to modify the struts.mappe
I originally posted this question on the new XWork user forums [1], but it
doesn't seem to be frequented very much. I apologize in advance if this is bad
form.
We've created a custom ResourceBundle subclass that gets messages from a
database for our Struts2 application. When using Struts 2.0.1 (X
Hi,
I was playing around with the zero configuration stuff in Struts 2.0.2, but I
didn't see any way to specify what interceptors (or stacks) that an action
should use. Are there plans to add support for this in the future?
Thanks!
Nate
Hi,
We're in the process of migrating a Struts1 app to Struts2. In Struts1 we
created a subclass of PropertyMessageResources to get our messages from the
database instead of properties files. I can't seem to find how we'd go about
doing this in Struts2. Do I just subclass
com.opensymphony.xwork
20 matches
Mail list logo