Excellent! Interesting history. Hopefully the resistance to dynamic
attributes is now well overtaken by events.
James Holmes wrote:
Take a look at this JIRA issue:
https://issues.apache.org/struts/browse/WW-2132
I'm working on adding JSP 2.0's dynamic attributes functionality to Struts
2.1.
Yes. Thats right.
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Paul Benedict
Gesendet: Mittwoch, 29. August 2007 23:05
An: Struts Users Mailing List
Betreff: Re: STRUTS 1.3.8 Validator ist destroying my SessionToken
Are you saying the execute
Take a look at this JIRA issue:
https://issues.apache.org/struts/browse/WW-2132
I'm working on adding JSP 2.0's dynamic attributes functionality to Struts
2.1.
James
-Original Message-
From: Jeromy Evans [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 30, 2007 1:34 AM
To: Struts User
It's not as easy as that. Each struts2 tag is:
- defined in the struts-tags.tld file, including all available
attributes; and
- backed by one or more classes that implements the tag's functionality
Unfortunately, you can't add an attribute and expect it to be available
in the FTL. Instead
Hi,
Could you pleaes let me know as how i can Unsubscribe from this mailling list.
Thanks,
Hemant
-
Moody friends. Drama queens. Your life? Nope! - their life, your story.
Play Sims Stories at Yahoo! Games.
Suggestions:
Confirm that the dojo javascipt is actually included in the html output
Use FireBug to examine if the requests to get the javascript files and
images are working (and if not, why not)
Create a minimal test application and get it working first.
vamsi wrote:
Thanks for response,
I p
Set the attribute showLoadingText="false" on the div/submit/a tag.
If you're using an IDE you should be able to list the attributes
available for each tag (as looks like this attribute not documented on
the wiki)
Hari Prasad wrote:
I'm using Dojo for ajax.
and when i send ajax request to the
Is this what you are looking for?
http://struts.apache.org/2.x/struts2-core/apidocs/org/apache/struts2/interceptor/RolesInterceptor.html
On 8/29/07, akash agrawal <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> In struts 1.x there used to be roles attribute which can be used to
> associate role informatio
I'm using Dojo for ajax.
and when i send ajax request to the server , its displaying "Loading..."
message on top of the screen
how can i avoid that?
--
View this message in context:
http://www.nabble.com/%22Loading..%22-message-while-ajax-request.-tf4351950.html#a12400577
Sent from the Struts
I think we can't format a String using bean:write
previously I searched for this but I didn't found any solution as it is not
supporting any formatting for
Strings.
- Original Message -
From: <[EMAIL PROTECTED]>
To:
Sent: Wednesday, August 29, 2007 11:35 PM
Subject: How format a strin
Can you look at this
"input" must be followed by either attribute specifications, ">" or "/>".
at
- Original Message -
From: "Ashish Kulkarni" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Wednesday, August 29, 2007 7:18 PM
Subject: Re: Struts and Weblogic 10.0 issue
H
Thanks for response,
I placed that one too.
still it is not displaying the datetimepicker.
I am using acegi security, and I have also some dependency on struts1.
- Original Message -
From: "Andvar Woo" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Wednesday, August 29, 2007
Guys any ideas on how to do the below??
afp wrote:
>
> Reposting as last post was not very clear
>
> Hi,
>
>I am trying to add some custom parameters/attributes to the struts2
> tags like etc...
>
> Some tihing like the below wud have been perfect
>
>
>
> and I shud be able to acces
Hi,
In struts 1.x there used to be roles attribute which can be used to associate
role information for an action.
Does Struts 2 also supports that? And if it does how do we use that in Struts
2? Basically I want to authorize action based on user role.
Thanks in advance.
-Akash
---
In the web.xml, for the ActionServlet pass the parameter as follows for
configuring multiple modules in one application:
config
/WEB-INF/struts-config.xml,
/WEB-INF/struts-config-module1.xml,
/WEB-INF/struts-config-module2.xml,
/WEB-INF/struts-config-module3.
I'd probably try asking this on a FreeMarker list
since the exception after removing the "r" came from
FreeMarker.
--- james_carbon5 <[EMAIL PROTECTED]> wrote:
>
> Thanks for the response Musachy. So, is the "r"
> shorthand to let freemarker
> know that my list is a LinkedHashMap? If not, what
We're using Struts 2 with Freemarker for our views, and we're running into
the classic problem of introducing invalid property references (expressions)
when we refactoring the backing-model. In some cases property names have
changed and in others, a more significant hunk of an expression may be
i
Thanks for the response Musachy. So, is the "r" shorthand to let freemarker
know that my list is a LinkedHashMap? If not, what is the "r" doing?
Thanks again,
James
Musachy Barroso wrote:
>
> Do it like:
>
> list="[EMAIL PROTECTED]@{'Regular' : 'Regular', 'Decaf':
> 'Decaf'}}"
>
> musachy
>
No such tag exists.
On 8/29/07, john lee <[EMAIL PROTECTED]> wrote:
>
> could anyone tell me the info about calendar tag with Struts 1.x if any ?
>
> tks in advance
>
> john
>
>
> -
> Building a website is a piece of cake.
> Yahoo! Small Business gives you all t
Are you saying the execute() method is being called even when validation
fails?
On 8/29/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
wrote:
>
> It is true.. I guess.
> When the Struts-Validation fails, the following action-class is still
> executed - leading to the isTokenValid() Method being
> Used.
Do it like:
list="[EMAIL PROTECTED]@{'Regular' : 'Regular', 'Decaf': 'Decaf'}}"
musachy
On 8/29/07, james_carbon5 <[EMAIL PROTECTED]> wrote:
>
> Thanks for the response Dale. The "r" isn't a typo. If I remove it I get:
>
> javax.servlet.ServletException: freemarker.core.ParseException: Error on
In Struts1 you have the advantage to do create multi-page forms and validate
them too. Can you have the same effect in Struts2.
--
Pavel Sapozhnikov
xFact, Inc
[EMAIL PROTECTED]
Hey Joseph sorry I think I need something exactly like this:
https://issues.apache.org/struts/browse/STR-443
On 8/29/07, Pavel Sapozhnikov <[EMAIL PROTECTED]> wrote:
>
> Hey Joseph. I think thats something similar to what I am asking but I am
> not even quiet sure. I was also wondering what if I
Thanks for the response Dale. The "r" isn't a typo. If I remove it I get:
javax.servlet.ServletException: freemarker.core.ParseException: Error on
line ...
Found string literal: "foo"
Expecting: number
etc...
Thanks,
James
DNewfield wrote:
>
>
> I've not written much freemarker, but I'd bet
Hey Joseph. I think thats something similar to what I am asking but I am not
even quiet sure. I was also wondering what if I have a method in class and I
have ClassName-methodName-validation.xml file which would validate those
base things so then in struts.xml I can do
toThatMethod and when it red
What´s the meaning o s:head. In wich cases I use it ??
Thanks
Herrera
--
View this message in context:
http://www.nabble.com/use-of-s%3Ahead-tf4349849.html#a12393924
Sent from the Struts - User mailing list archive at Nabble.com.
--
Sounds very similar to the problem i had but no straightforward solution yet
; i've put this for enhancement on JIRA -
https://issues.apache.org/struts/browse/WW-2113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_41901
Can you please check if this is what you need as
Yes that validation.xml that I pasted is from Struts1 and in Struts1 you
have this attribute called page in Struts2 you don't have that.
On 8/29/07, j alex <[EMAIL PROTECTED]> wrote:
>
> Pavel,
>
> Are you sure you pasted the right validation xml entries for username and
> password
>
> ** As you c
Pavel,
Are you sure you pasted the right validation xml entries for username and
password
** As you can see for userName and password we have this attribute called
page ** -- i'm not able to understand this.
On 8/29/07, Pavel Sapozhnikov <[EMAIL PROTECTED]> wrote:
>
> Hey guys I have posted be
Have you checked out the Bootstrap Tutorial yet? It gives you a great
intro to Struts 2, and a bit of Maven 2 at the same time.
http://struts.apache.org/2.x/docs/bootstrap.html
Ian Roughley has put out a book, which you can download for free
(though I'm sure he'd love it if you purchased a p
Hi all,
I have an application which uses multiple struts-config files. I'm trying
to add a new one in which there will be an action which I want to be
called when a particular jsp submit button is depressed. As I would with
a single struts-config file, I'm just constructing a form tag like t
http://cwiki.apache.org/confluence/display/WW/text will do what you
need. Take look at the example with resource property "format.money"
and note the link to
http://java.sun.com/j2se/1.4.2/docs/api/java/text/MessageFormat.html
which has the info you need to build a format pattern. You could also
Thanks for the input. I think I will have to start with the total basics
before moving on to struts. Anyhow I googled for any tutorials, sources
I just got more and more frustrated, as I just dont know where to start.
Has anyone a got starting point, link, etc. for me?
On Wed, 2007-08-29 at 13:20
I've not written much freemarker, but I'd bet the r is a typo. The
important difference between the two tags you have are the single quotes
around the value of the list attribute.
james_carbon5 wrote:
<@s.select ... list=#{"foo":"foo stuff","bar":"bar stuff"} />
<@s.select ... list=r'#{"foo
I was trying to figure out how to use a static map, that I created in a
freemarker template, to populate a drop down list, a la:
<@s.select ... list=#{"foo":"foo stuff","bar":"bar stuff"} />
After an hour or so of banging my head into my keyboard I found
http://www.jroller.com/cdaniluk/entry/we
Hey guys I have posted before but I think I got no responses not sure what
happened so here I go with more information this time. I have several
questions about Struts2. Basically what I am trying to do is to learn
Struts2 on my own by trying to migrate a small piece of our existing
application whi
Hi,
I need help in formatting a String, when it is displayed.
Here is what i am doing:
It is stored asa continous unformatted String an hence displayed as
'X'. Now, I want my social security number to be displayed as
(XXX) - XX - .
How can i acheive this in Struts, without actu
j alex wrote:
If you don't mind can you please paste the includes and directory
structure where you placed the actual files (in relation to the webapp
root). I tried going thru the saved HTML output from S2 showcase example and
got a bunch of js files ; but not able to place them correctly in th
I haven't touched Ant in years, so I can't help you much there, but
with Maven 2, it's as simple as running 'mvn package'. The POM itself
says whether the project produces a JAR, WAR, or some other artifact,
so package always builds the appropriate artifact for the project.
For a web app, t
Hi,
Just google it, here are some of the links that may be useful to you
http://www.roseindia.net/jboss/buildingwebapplicationwithant.shtml
http://www.onjava.com/pub/a/onjava/2003/01/08/tomcat4.html?page=1
Thanks,
Nuwan
On 8/29/07, sp4rc <[EMAIL PROTECTED]> wrote:
>
> Hello listmembers,
>
> I
could anyone tell me the info about calendar tag with Struts 1.x if any ?
tks in advance
john
-
Building a website is a piece of cake.
Yahoo! Small Business gives you all the tools to get online.
Hello listmembers,
I am new to all this java webapplication stuff, but I hope you can help
me to get into this great technologies.
So far I have got my tomcat server (5.5.23-r6) up and runnig,
struts-2.0.9 is on my system (gentoo-linux) and I was able to deploy the
sample war "blank" ([1] tree o
Hi,
I'm trying to use type conversion for nested bean. I have no problem
populating the bean if the List is not nested inside another bean. Does
struts 2 able to perform type conversion for nested bean?
Any help would be appreciated. Thanks.
JSP
---
SampleAction
I know I have to use the getText() method in action in order to get a message
from the package.properties file. The same for jsp with http://www.nabble.com/struts-2-locale-in-action-and-jsp-tf4348494.html#a12389586
Sent from the Struts - User mailing list archive at Nabble.com.
-
Hi
I cannot give you the actual JSP as this JSP is not with in my application,
this is a JSP in weblogic console
application, It can only be obtained from BEA i guess.
Ashish
On 8/29/07, Paul Benedict <[EMAIL PROTECTED]> wrote:
>
> Can I actually see the line of the JSP that fails? You showed
Hey guys. Could somebody provide some input on validation chaining in s2.
Here's what I need to do. So there has to be a base validation which would
validate variable x and variable y then every other class has its own
validation for example Login class would validate if username and password
exist
Can I actually see the line of the JSP that fails? You showed me the stack
trace. I want to see the actual JSP line.
On 8/29/07, Ashish Kulkarni <[EMAIL PROTECTED]> wrote:
>
> Done, voted for it
> On 8/29/07, John Liptak <[EMAIL PROTECTED]> wrote:
> >
> >
> > Know bug CR321242. Vote for it if you
Done, voted for it
On 8/29/07, John Liptak <[EMAIL PROTECTED]> wrote:
>
>
> Know bug CR321242. Vote for it if you have a support contract.
>
>
> --
> View this message in context:
> http://www.nabble.com/Struts-and-Weblogic-10.0-issue-tf4341662.html#a12388355
> Sent from the Struts - User mailing
Know bug CR321242. Vote for it if you have a support contract.
--
View this message in context:
http://www.nabble.com/Struts-and-Weblogic-10.0-issue-tf4341662.html#a12388355
Sent from the Struts - User mailing list archive at Nabble.com.
-
Hey guys I need some help using the ActionMapper interface so I know I need
to implement which means I need to make those two methods. Now I am not
exactly sure what those methods do. The ultimate goal that I want to achieve
is I want in my struts.xml to have one action per Action class (real java)
Yea you gotta filter that stuff in your gmail
On 8/29/07, Randy Jonasz <[EMAIL PROTECTED]> wrote:
>
> oops, sorry. I kept getting errors from the mailserver so i thought
> the message wasn't getting through.
>
> Sorry again,
>
> Randy
>
> On 8/29/07, Antonio Petrelli <[EMAIL PROTECTED]> wrote
This is how the submit button is defined:
varimage is defined as a tag in app.tld file:
varimage
/struts/taglib/varTag
accesskey
false
true
alt
false
true
Hi
This is the error i get from weblogic console application
Error opening /jsp/app/install/Identity.jsp.
The source of this error is javax.servlet.ServletException:
javax.xml.transform.TransformerException:
javax.xml.transform.TransformerException:
com.sun.org.apache.xml.internal.utils.WrappedRun
oops, sorry. I kept getting errors from the mailserver so i thought
the message wasn't getting through.
Sorry again,
Randy
On 8/29/07, Antonio Petrelli <[EMAIL PROTECTED]> wrote:
> Sending the same email 4 times does not help getting an answer...
>
> Antonio
>
> 2007/8/29, Randy Jonasz <[EMAIL
Sending the same email 4 times does not help getting an answer...
Antonio
2007/8/29, Randy Jonasz <[EMAIL PROTECTED]>:
>
> Hello everyone,
>
> I have a quick question. When the user session expires and they try
> to submit a form to the server through an open window, I'm finding my
> array in my
Hello everyone,
I have a quick question. When the user session expires and they try
to submit a form to the server through an open window, I'm finding my
array in my action form is not being populated through the setter
method. In fact I'm getting the following exception
java.lang.NullPointerEx
I am trying to have a single package that can be used in different
namespaces.
so if it was http://localhost:8080/project/secure/Action.action or
http://localhost:8080/project/Action.action
when the form is submitted to an action it stays in the correct
namespace and also want to switch themes base
2007/8/29, Riccardo Mollame <[EMAIL PROTECTED]>:
>
> Yes: there I have a sequence of "return SUCCESS" all
> with an actions. Anyway, a good man gave me the
> probable solution: using the includeParams="none" in
> the s:url tag.
> Thanks anyway!
Arnaud was right, I thought that you were writing
Yes: there I have a sequence of "return SUCCESS" all
with an actions. Anyway, a good man gave me the
probable solution: using the includeParams="none" in
the s:url tag.
Thanks anyway!
Ric
--- Antonio Petrelli <[EMAIL PROTECTED]> ha
scritto:
> 2007/8/29, Riccardo Mollame <[EMAIL PROTECTED
Reposting as last post was not very clear
Hi,
I am trying to add some custom parameters/attributes to the struts2 tags
like etc...
Some tihing like the below wud have been perfect
and I shud be able to access the parameter abc from within the ftl file like
this
<#if parameters.abc?exist
Thanks!
All my best.
Ric
--- Arnaud Cogoluegnes <[EMAIL PROTECTED]> ha
scritto:
> To avoid this behavior, use the global settings
> struts.url.includeParams=none in struts.properties
> or the attribute
> includeParams in each url tag (value can be 'none',
> 'get' or 'all')
>
>
> -Mess
To avoid this behavior, use the global settings
struts.url.includeParams=none in struts.properties or the attribute
includeParams in each url tag (value can be 'none', 'get' or 'all')
-Message d'origine-
De : Riccardo Mollame [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 29 août 2007 13:42
2007/8/29, Riccardo Mollame <[EMAIL PROTECTED]>:
>
> Can anyone explain to a poor newbie why, after calling
> a sequence of actions, each one passing a set of URL
> parameters, I end up having in the final URL **all**
> the parameters called in the previous actions?
What do you mean with "sequen
Can anyone explain to a poor newbie why, after calling
a sequence of actions, each one passing a set of URL
parameters, I end up having in the final URL **all**
the parameters called in the previous actions?
Thanks in advance.
Ric
___
L'emai
Oleg,
If you don't mind can you please paste the
I copied over all the FTL files in "simple" theme to a new directory
"mytheme" and modify the ones i need to ; don't think this is technically
extension, but does the job .
-Joseph
On 8/29/07, Oleg Mikheev <[EMAIL PROTECTED]> wrote:
>
> j alex wrote:
> > Since i cannot use the Ajax/XHTML theme d
Hi,
I'm able to use type conversion to populate bean into List in the Action.
But when I tried to populate bean into a List nested inside another bean, is
not working and there's no error printed.
May I know how can I implement type conversion for nested bean?
Any help would be appreciated. Thank
I've finally found an answer to my question searching in the mail list.
Here is the explanation about what is going on and the solution:
http://www.mail-archive.com/user@struts.apache.org/msg54844.html
Basically the solution consists in not showing the "loadingText" in the
target div, because i
Hi,
I'm trying to send a form from an anchor tag, but I've only archieved to
send the form without the "targets" attribute.
When I put the target ID, the form is not sended but the page redirects
correctly.
Otherwise it works well but the page is not redirected.
My code is:
<%
Hi,
I'm trying to send a form from an anchor tag, but I've only archieved to
send the form without the "targets" attribute.
When I put the target ID, the form is not sended but the page redirects
correctly.
Otherwise it works well but the page is not redirected.
My code is:
<%
It is true.. I guess.
When the Struts-Validation fails, the following action-class is still executed
- leading to the isTokenValid() Method being
Used.
The strange thing is : the process stops after the first action-class and
returns the validator-errors to the screen.
I found a way to forward
71 matches
Mail list logo