It's true that the inner text of the JSP tag is not rendering as the
inner text of the HTML tag, and so I reopened the issue.
If anyone had a patch, I'd be happy to apply it.
-Ted.
On Nov 28, 2007 11:36 PM, Eric Martin [EMAIL PROTECTED] wrote:
Martin,
Yes, there is a problem with the
Just to emphasize what Jeromy is saying, the key words are scalable
and cluster. In the case of an intranet application with a set user
base that won't be clustered, *not* using session could be evil,
since the alternatives tend to be more work to implement and maintain.
In physics, we have very
Hi,
I want to do something with urls generated by struts2.
The situation like this
My project name e.g XYZ
if i use struts2 tags :- e.g s:form method=post theme=simple
action=viewDetail.action /s:form and
generated html by struts is something like
form
Please, it must be very simple but I´m not able to find the suitable
classes which should contain that information.
Regards.
Pablo Vázquez Blázquez escribió:
Hello,
How can I red my application name and the actions' extension?
For example:
hi,
I managed to have it working with the following validation rule:
validator type=required
param name=fieldNameoutSamplePeriods/param
messageAt least one Out of Sample Period must be provided/message
/validator
it displays the message under the s:fielderror/ entry but does not
display a
hi,
I have a JSP (snippet below) that works fine without validation, I need
to conditionally include certain
fields, I prefer that to the other choice of having two different copies
of slightly similar input form JSP
that I will then have to keep in sync.
Only when I add a validation xml
Jignesh,
XYZ seems to be the context root for your web application. Context root
comes from application.xml of your application. Here is the snippet from
application.xml
module
web
web-urimyapp.war/web-uri
context-rootXYZ/context-root
/web
/module
If that's the case, then
I use 'request.getContextPath()' to get the app's name/path when I
need it. I've never needed the extension though, so I can't help you
there.
-W
On 11/29/07, Pablo Vázquez Blázquez [EMAIL PROTECTED] wrote:
Please, it must be very simple but I´m not able to find the suitable
classes which
I apologize for sending the wrong Jira Issue reference. The correct one is
as Martin stated (WW-1677, thanks Martin). And I agree with Martin, the body
of the button tag is not properly built (when the s:submit type=button
is used). I saw a new comment on Jira reflecting the reopened state of
this
Thank you mgainty. It's really good to know that. I'll try it.
mgainty wrote:
an available option is to treat your content as Character Data
script type=text/javascript
/* ![CDATA[ */
// content goes here
/* ]] */
/script
Interestingly enough the JavascriptValidatorTag has a cdata
Hi,
It's long time I was away from this list.
I've found with big surprise that JSP EL is not available in JSP tags
anymore. I've looked at the release notes and found it was because of
a security problem similar to one I've discovered some time ago.
What I haven't understand is :
If in
Difficult to determine without looking at the code, web.xml, struts.xml and
properties
M--
- Original Message -
From: Pablo Vázquez Blázquez [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: Thursday, November 29, 2007 6:05 AM
Subject: Re: Getting context
Don't include it on the page that goes into the div.
musachy
On Nov 29, 2007 2:57 AM, Desbois Arnaud [EMAIL PROTECTED] wrote:
When I put the sx:head/ tag into the included page, it work fine, but the
dojo.js (564ko) is loaded twice (one for the sx:div and one for its content
which contains
But in this case, the ajax tag don't work (I've the error message in the div:
Error 404: SRVE0190E: file not found instead of the html tag)
Do you have any idea or solution to solve my problem?
(FYI, I use the Struts tiles plugin)
Arnaud
-Message d'origine-
De : Musachy Barroso
Thanks to all,
what I want to read is StrutsConstants.STRUTS_ACTION_EXTENSION property.
Pablo Vázquez Blázquez escribió:
Please, it must be very simple but I´m not able to find the suitable
classes which should contain that information.
Regards.
Pablo Vázquez Blázquez escribió:
Hello,
AFAIK this is not trivially available, although I
haven't dug too deeply.
Why do you want it?
d.
--- Pablo Vázquez Blázquez [EMAIL PROTECTED]
wrote:
Thanks to all,
what I want to read is
StrutsConstants.STRUTS_ACTION_EXTENSION property.
Pablo Vázquez Blázquez escribió:
Please, it
This page shows a linke to download 2.1
http://struts.apache.org/2.x/
but then you are taken to a page where 2.0.11 is the newest version.
Where can I download 2.1?
Dear All,
I am working through Roughley's book (Struts-2.0.9) and am having trouble
with the first example using annotations. The stack trace I get is:
December 10, 2007
December 10, 2007
org.apache.maven.BuildFailureException: Compilation failure
\*Compilation\* failure?
Did you import the annotation it's giving you the
error for?
web.xml won't affect compilation, but I don't
understand why you don't have a mapping for the S2
dispatcher (does it default to /* or something? I'd
map it explicitly anyway, if that's the case.)
d.
---
One of the people.apache.org/mumble... sites; it's
been posted here before.
Or run off of trunk.
d.
--- tom` frost [EMAIL PROTECTED] wrote:
This page shows a linke to download 2.1
http://struts.apache.org/2.x/
but then you are taken to a page where 2.0.11 is the
newest version.
Surely that's not the way it supposed to work.
On 11/29/07, Dave Newton [EMAIL PROTECTED] wrote:
One of the people.apache.org/mumble... sites; it's
been posted here before.
Or run off of trunk.
d.
--- tom` frost [EMAIL PROTECTED] wrote:
This page shows a linke to download 2.1
Hi out there,
I am trying to get a little Ajax running w/ the S2.
On the webpage: http://struts.apache.org/2.x/docs/ajax-tags.html
it says:
- include the Dojo Plugin distributed with Struts 2 in your /WEB-INF/lib
folder.
- Add %@ taglib prefix=sx uri=/struts-dojo-tags % to your page.
- Include
Pablo Vázquez Blázquez wrote:
Hello,
How can I red my application name and the actions' extension?
For example: http://localhost:8080/scheduler-admintool-1.0/Workspace.do
I'd need a code to get scheduler-admintool-1.0 and do from the context.
The first part (scheduler-admintool-1.0) should
On Nov 29, 2007 10:16 AM, tom` frost [EMAIL PROTECTED] wrote:
This page shows a linke to download 2.1
http://struts.apache.org/2.x/
but then you are taken to a page where 2.0.11 is the newest version.
Where can I download 2.1?
As far as I know, 2.1 has not yet been released. I searched
how would i submit a form to a new window?
for links, i can set target=_blank, and then my result is in a popup.
But, i have 3 submit buttons, 2 of which display things on the same page,
and the last needs to be a popup. any suggestions?
On the site, there is a link labeled Struts 2.x Draft Docs, which
leads to http://struts.apache.org/2.x/;. This link is in the
Development section of the menu, and it's intended for people who
are collaborating on the next version of the framework.
The other Struts 2 documentation links lead to
Jeromy, Ted...
Thanks for the education. The Blog link Jeromy provided was a good
read. And the blog comments (particularly the last one from gregjor)
were even more educational.
Even after reading a well-written blog titled The Session is Evil I'm
now feeling better than ever about using
Hi John,
Thanks for the insight. If you can share some code that will be helpful to
understand how you used multibox tag. ( I haven't used multibox tag before).
Thanks,
-akash
john feng [EMAIL PROTECTED] wrote: I have created tree that each node
displays several attributes of an object,
i.e.,
This is chapter 3, right? I just ran the command mvn clean compile
from my local copy and everything compiles correctly. Are you compiling
from an IDE? If so, do you have all the JAR files in the project?
/Ian
--
Ian Roughley
From Down Around, Inc.
Consulting * Training / Mentoring *
how would i submit a form to a new window?
for links, i can set target=_blank, and then my result is
in a popup.
But, i have 3 submit buttons, 2 of which display things on
the same page, and the last needs to be a popup. any suggestions?
I think you'll need an onclick handler for the
--- tom` frost [EMAIL PROTECTED] wrote:
Surely that's not the way it supposed to work.
Sometimes people make mistakes, and naming the link as
being for 2.1 was one of them.
d.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
The docs regarding the sx prefix are for S2.1.
d.
--- greyshine [EMAIL PROTECTED] wrote:
Hi out there,
I am trying to get a little Ajax running w/ the S2.
On the webpage:
http://struts.apache.org/2.x/docs/ajax-tags.html
it says:
- include the Dojo Plugin distributed with Struts 2
in
Ian/Dave,
Thanks for the advice. I constructed the project from the command line
using Maven2 (First time). My OS is Suse10.0. I have imported the project
into Eclipse but I've just used the IDE for editing and hints and have
still used the command line for compilation.
The ZCAction.java
I knew I had interacted with the runtime configuration before. Just
found the code...
RuntimeConfiguration runtimeConfiguration =
ConfigurationManager.getConfiguration().getRuntimeConfiguration();
ActionConfig actionConfig =
runtimeConfiguration.getActionConfig(,
Weird. I opened the ZCAction.java file, and I can see the imports right
there :-)
--
Ian Roughley
From Down Around, Inc.
Consulting * Training / Mentoring * Agile Process * Open Source
web: http://www.fdar.com - email: [EMAIL PROTECTED]
Robert Harrison wrote:
Ian/Dave,
Thanks for the
Does anyone know the best way to get Header values out of the
ActionContext?
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - -
This message is intended only for the personal and confidential use of the
designated recipient(s) named above. If you are not
Cast to the underlying ServletActionContext and get
them from the request?
d.
--- Hernandez, David [EMAIL PROTECTED]
wrote:
Does anyone know the best way to get Header values
out of the
ActionContext?
- - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - -
If you Organize Importsed it may have removed the
imports it couldn't find.
I'd try using one of the Maven plugins and allowing
Maven dependency management and either turning off
automatic project building or set up appropriate
output directories for all the relevant source
directories.
d.
---
Okay. Problem solved. My confusion was that, in the book, the imports are
not shown. Eclipse suggested the correct imports and, when included in the
file, the file compiles. My error was in assuming that the filter in
web.xmlwas all that was needed.
Thanks.
Bob
On Nov 29, 2007 1:55 PM, Dave
Dave Newton wrote:
Why do you want it?
That's a good question for Dave to be asking.
Even though you now know how to get it, are you really sure you want it?
The framework shields you from this data for a reason. :-)
- Gary
please can anybody tell me how to use Download button functionality
(DownloadAction) in logic:iterate of struts 1.2.9
--
View this message in context:
http://www.nabble.com/Download-button-logic%3Aiterate-tf4901761.html#a14041195
Sent from the Struts - User mailing list archive at Nabble.com.
Optiontransferselect Tag in Struts2 usually looks like the image below:
http://www.nabble.com/file/p14039295/optiontranshorizental.png
But how can we make it vertical like the image below:
http://www.nabble.com/file/p14039295/optiontransvertical.png
--
View this message in context:
DJR wrote:
Optiontransferselect Tag in Struts2 usually looks like the image below:
http://www.nabble.com/file/p14039295/optiontranshorizental.png
But how can we make it vertical like the image below:
http://www.nabble.com/file/p14039295/optiontransvertical.png
You'll need to override the
On Nov 16, 2007 11:09 AM, Adam Hardy [EMAIL PROTECTED] wrote:
To answer your question, I haven't had to do much to plug in OpenJPA and
Struts2
together - in fact, I haven't had to do anything apart from decide whether I
wanted to have a filter or a Struts2 interceptor or a Spring interceptor
Hi,
In my app, i need to override some Jasper Report exporter parameters'
default only for certain actions. For example, i need to set :
exporter.setParameter(JRHtmlExporterParameter.IS_WRAP_BREAK_WORD,true); for
a report where the data columns can be very long and need to break ; while
this
Struts 2 (I think) will recreate your session when it times out.
I assume that you mean Struts 2 will create a fresh session, but not have
any values in it.
Did you find why this is happening and any workaround ? - seems i'm facing
the same issue.
What's the best way to detect that the session
From the code you've provided it's failing at
request.getAttribute(buttonLabel).equals(Simulate))
Can you please specify how/where buttonLabel is set in the code.
The only thing i can think of is that validation is stopping the flow to
execute() and some variable set there may not be visible
47 matches
Mail list logo