Hi
Is there a way to access the message resources configured in the
struts-config file from a JSP using fmt:message / tag?
Regards,
Néstor Boscán
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
Hi
How can I guarantee that Struts will send the jsessionid parameter with each
forward with redirection?.
Regards,
Néstor Boscán
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Hi Michael
In my case, I'm working with WAP applications that require the jsessionid to
be in the URL. In the case of Struts redirect forward it doesn't put the
jsessionid in the URL. When I browse using a WAP my session is lost in the
process.
Regards,
Néstor Boscán
-Mensaje original
.
It's looking good.
Regards,
Néstor Boscán
-Mensaje original-
De: Christian Bollmeyer [mailto:[EMAIL PROTECTED]
Enviado el: Tuesday, September 20, 2005 12:08 PM
Para: Struts Users Mailing List
Asunto: JDeveloper 10.1.3 Early Access
Hi,
just wanted to drop some note that finally Oracle put
Hi Dave
Haven't got the time to see how it works. I have worked we JDeveloper 9.0.3
and 10.1.2 with CVS. In this new release after I installed it it stored
every version of my source files, I don't really know how this mechanism
will work with CVS.
Regards,
Néstor Boscán
-Mensaje original
Hi
In the projects I'm working on we use a lot of Dynamic Form Beans with
Arrays of Java Beans. I read that the only way to make this work is to
declare the form bean with session scope. The problem is that I need all
form beans to have their scope set to request to minimize session
propagation
Hi
Is there a way to use Dates with Dynamic Action Forms using a pattern. We
would like to use all our DTOs with Dynamic Form Beans but we're having
problem with Date and Numbers were we need to apply patterns. Is there a way
to do this?
Hi Rick
Thanks for the quick answer.
The problem is that I have to minimize the use of object in session scope to
minimize session replication. Is there any way to do this in request scope?
Regards,
Néstor Boscán
-Mensaje original-
De: Rick Reumann [mailto:[EMAIL PROTECTED]
Enviado
) at com.evermind[Oracle Application Server Containers for J2EE 10g
(10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableR
esourcePooledExecutor.java:192) at java.lang.Thread.run(Thread.java:534)
Regards,
Néstor Boscán
Néstor Boscán - Gerente de Consultoría
Teléfono
:[EMAIL PROTECTED]
Enviado el: Wednesday, January 18, 2006 8:32 AM
Para: Struts Users Mailing List
Asunto: Re: Is there a way to use Dates and Numbers with Dynamic Action
Forms using a pattern?
Néstor Boscán wrote:
Is there a way to use Dates with Dynamic Action Forms using a pattern.
We would
for the help
Regards,
Néstor Boscán
Néstor Boscán - Gerente de Consultoría
Teléfono Móvil: +58 416 6070610
Teléfono Oficina: +58 212 2399711 - +58 212 2398198
Fax Oficina: +58 212 2399587
Este mensaje es privado y confidencial, y está dirigido exclusivamente a
su(s) destinatario(s). Si
java.lang.IllegalArgumentException: No bean
specified. Now I did some test using session scope and it seems that if I
put the reset method I also get the exception. There is something in the set
(variables, new VariableTo [count]) method that Struts doesn't like.
Regards,
Néstor Boscán
-Mensaje original-
De: Rick
?
Regards,
Néstor Boscán
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
.
Has anyone got the same problem?
Regards,
Néstor Boscán
Hi Antony
You can't use JSP tags inside the columns. You could use HTML buttons and
input fields with JSTL expressions.
Regards,
Néstor Boscán
-Mensaje original-
De: Peter Neu [mailto:[EMAIL PROTECTED]
Enviado el: Sábado, 19 de Febrero de 2005 01:18 p.m.
Para: Struts Users Mailing
to a specific number.
Any new features that you can come up is always welcomed.
Regards,
Néstor Boscán
-Mensaje original-
De: Antony Joseph [mailto:[EMAIL PROTECTED]
Enviado el: Sábado, 19 de Febrero de 2005 02:37 p.m.
Para: Struts Users Mailing List
Asunto: RE: Displaying mulitpage results
navigation
information. Has anybody done something like this with struts?
Regards,
Néstor Boscán
Hi
I have an application and I need to create many web flows. If I use struts
to model the web flows, is it possible to use many struts-config.xml instead
of one?
Regards,
Néstor Boscán
-
To unsubscribe, e-mail: [EMAIL
Hi
When I create a struts-config.xml that has many nodes that call the same
action class, is the action class instantietad once, or is instantiated for
every node?. What happens if I have a custom action mapping class, is
instantiated once or is instantiated for every node?.
Regards,
Néstor
Hi
I´m using some custom taglibs with Struts. In the TagLibs I need to get the
URL to the action class so I can refresh the web page with some new
parameters for the TagLib. The problem that I´m having with struts is that
HttpServletRequest.getRequestURL is returning the URL to the JSP page even
Hi
I´m using some custom taglibs with Struts. In the TagLibs I need to get the
URL to the action class so I can refresh the web page with some new
parameters for the TagLib. The problem that I´m having with struts is that
HttpServletRequest.getRequestURL is returning the URL to the JSP page even
Hi
I'm trying to use the ActionErrors clases. I'm doing validation on the
Action class like this:
if (user == null)
{
errors.add (username, new ActionError (errors.fieldisrequired,
username));
}
saveErrors (request, errors);
Ths resource file is configured correctly. I can do a
Hi
Does somebody know how I can get the ActionErrors object from the request???
Regards,
Néstor Boscán
Hi
I'm trying to use the html:text tag with date properties and I'm getting
java.lang.IllegalArgumentException: type mismatch. Any ideas?
Regards,
Néstor Boscán
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Para inscribirse en la lista de struts deben enviar un correo vacío a:
[EMAIL PROTECTED]
Para eliminar la subscripción:
[EMAIL PROTECTED]
Si quieren mandar un email a la lista lo mandan a:
user@struts.apache.org
Saludos
Hi
How do I set the autocomplete attribute in the html:form tag.
Regards,
Néstor Boscán
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
ocomplete_ovr.asp). My question is how can I set this attribute in a
html:form or html:text tag if it doesn't have this attribute.
Regards,
Néstor Boscán
-Mensaje original-
De: Ed Griebel [mailto:[EMAIL PROTECTED]
Enviado el: Tuesday, June 21, 2005 3:48 PM
Para: Struts Users Mailing List
the html:multibox / tag to get the value from an attributo?.
Regards,
Néstor Boscán
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi
Has anybody used JSTL to access form bean properties. I'm using JSTL and
Struts Tags and I would like to do some conditioning using c:if and
c:choose using the form bean properties.
Regards,
Néstor Boscán
-
To unsubscribe
though the form bean is already defined in some scope, I redefine it at
the top of the page to avoid having to make multiple reference changes if my
form name happens to change. If it does, I only change it in one place.
/robert
Néstor Boscán wrote:
Hi
Has anybody used JSTL to access form bean
context.
Regards,
Néstor Boscán
-Mensaje original-
De: Wendy Smoak [mailto:[EMAIL PROTECTED]
Enviado el: Sunday, August 14, 2005 4:37 PM
Para: Struts Users Mailing List
Asunto: Re: How to use html:multibox / with values stored in the request
or page context
From: Néstor Boscán [EMAIL
Thanks Wendy
Regards,
Néstor Boscán
-Mensaje original-
De: Wendy Smoak [mailto:[EMAIL PROTECTED]
Enviado el: Sunday, August 14, 2005 6:08 PM
Para: Struts Users Mailing List
Asunto: Re: How to use html:multibox / with values stored in the request
or page context
From: Néstor Boscán
Hi
Is there a way to use Spring to inject objects to a Struts 2 Interceptor?
Regards,
Néstor Boscán
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi
Is there a way to get the ServletContext from Interceptor.init. I tried
using the ActionContext but it returns null.
Regards,
Néstor Boscán
]
To: user@struts.apache.org
Subject: How to get ServletContext from Interceptor.init
Date: Sun, 6 Jan 2008 01:17:41 -0430
Hi
Is there a way to get the ServletContext from Interceptor.init. I tried
using the ActionContext but it returns null.
Regards,
Néstor Boscán
_
Share
Hi
If I have an Exception configured to a Result and a Result to a JSP is it
possible to get the Exception object from the JSP page?
Regards,
Néstor Boscán
: Néstor Boscán
Asunto: Re: Is there a way to use Spring to inject objects to a Struts 2
Interceptor?
The Struts2 Spring plugin takes care of that for the Actions. I just don't
know if the object factory is also used with Intecepter properties.
* http://struts.apache.org/2.x/docs/spring-plugin.html
Is there a way to access the form object from fielderror.ftl. I need to
access the form Id.
Regards,
Néstor Boscán
//ul
elements.
Any ideas?
Regards,
Néstor Boscán
.
Regards,
Néstor Boscán
.
Regards,
Néstor Boscán
.
Regards,
Néstor Boscán
.
Regards,
Néstor Boscán
can achieve the same thing with a lot
less overhead.
(*Chris*)
On 7/15/07, Néstor Boscán [EMAIL PROTECTED] wrote:
Hi
Is there a Struts 2 Theme that doesn't generate extra HTML for the
tags. For example XHTML generates a lot of table, tr and td and
Simple will generate li, ul errors
Yes Thanks, that's something I can do but what about the JavaScript code for
the Client-Side Validation?.
Regards,
Néstor Boscán
-Mensaje original-
De: Ian Roughley [mailto:[EMAIL PROTECTED]
Enviado el: Lunes, 16 de Julio de 2007 11:51 a.m.
Para: Struts Users Mailing List
Asunto: Re
with their advantages and
disadvantages, or you implement what you need (client side
validation) manually.
/Ian
Néstor Boscán wrote:
Yes Thanks, that's something I can do but what about the JavaScript
code for the Client-Side Validation?.
Regards,
Néstor Boscán
-Mensaje original-
De: Ian Roughley
I just need to generate de JavaScript
Client-Side Validation and the form/ tag.
For s:fielderror/ tag I just need to generate de message with the error.
Regards,
Néstor Boscán
-Mensaje original-
De: Kishen Simbhoedatpanday [mailto:[EMAIL PROTECTED]
Enviado el: Martes, 17 de Julio de
Yes, I find S2 to be a good framework and a good evolution from S1, but the
tags themes instead of helping me are just making things more difficult. I
would also like to use JSTL and JSP but my project requires this tags and
OGNL.
Regards,
Néstor Boscán
-Mensaje original-
De: Ray
Yes, I find S2 to be a good framework and a good evolution from S1, but the
tags themes instead of helping me are just making things more difficult. I
would also like to use JSTL and JSP but my project requires this tags and
OGNL.
Regards,
Néstor Boscán
-Mensaje original-
De: Ray
other way to invoke an Action manually from Java code?
Regards,
Néstor Boscán
the code.
I tried using action=action!method but it doesn't work. Any Ideas?
Regards,
Néstor Boscán
the code.
I tried using action=action!method but it doesn't work. Any Ideas?
Regards,
Néstor Boscán
the code.
I tried using action=action!method but it doesn't work. Any Ideas?
Regards,
Néstor Boscán
Hi
I have a model object thas has a list containing a model object. How do I
configure my Action-validator.xml file to validate each model inside the
list?
Regards,
Néstor Boscán
Hi
I need to use the validation framework that comes with Struts 2 to validate
a List that contains objects. I read that there is a collection validator
but I can't find it in Struts 8, Struts 9 or XWork 2.0.4. Any ideas?
Regards,
Néstor Boscán
Hi
I'm trying to get the form action attribute in the form.ftl template.
Instead of retrieving the value that it's set in the tag it returns the
complete URL
/uriPrefix/theAction.action?JSESSIONID=
Is there a way to retrieve only what's in the action attribute?
Regards,
Néstor Boscán
' + actionDefinition.getAction() +
' in namespace ' + actionDefinition.getNamespace() + ', e);
throw e;
}
}
}
Regards,
Néstor Boscán
Hi
Is there a way to use the JSTL Expression Language with Struts 2 tags
instead of OGNL?
Regards,
Néstor Boscán
Hi
I have many input method in different actions are being invoked twice. With
Firebug I check that there is only one browser invocation. Any ideas?
Regards,
Néstor
The way it worked for me was:
1.- You have to extend ActionSupport because it contains the fieldErrors,
actionErrors attributes and the validation logic.
2.- I use s:fielderrors:paramdniParticipante/s:param/s:fielderror
3.- You must have de validation and workflow interceptors configured
4.- You
Hi
I'm using the validator frame in Struts 2.0.11.2. When the validator
framework fails I need to call the input method to load some combo data. But
the validator framework automatically calls the input result. If I chain
that input result with the input method I loose the fieldErrors and
Hi
Is there a way I can create action-method-validate.xml to validate specific
methods instead of Action IDs. We have a lot of Actions with many methods
and is a real problem to configure the *-validate.xml because it will
validate all methods (except those in excludeMethods but this
Yes but that's my point. If I have an Action with 5 methods with 5 different
validations I have to create 5 different action aliases just to make the
validation framework happy, makes no sense to me.
Regards,
Néstor Boscán
-Mensaje original-
De: Sébastien Domergue [mailto:[EMAIL
But the prepare method will be called if a validation error happens or not.
If a validation error happens I want to load the combo data, but if not I
don't need to load that data.
Regards,
Néstor Boscán
On Wed, Oct 15, 2008 at 2:09 AM, Lukasz Lenart [EMAIL PROTECTED]
wrote:
2008/10/14 Néstor
to
the fieldname so I can apply a validator form employees[.*].firstName. For my
projects this is the most required missing functionality of Struts 2.
Regards,
Néstor Boscán
-Mensaje original-
De: gaelle [mailto:[EMAIL PROTECTED]
Enviado el: Monday, October 20, 2008 9:59 AM
Para: user
Hi
Isnt there a way to apply formatting of number and dates in Struts 2 at the
JSP level?. I need to conditionally format a number depending on a
condition. Isnt there an equivalent in Struts 2 for JSTLs fmt:formatNumber
/???
Regards,
Néstor Boscán
Hi Ryan
In my experience:
Pros:
1.- Form mapping!!!. Yes form mapping in Struts 1 is horrible.
2.- Conversion support
3.- Interceptor support
4.- Better AJAX Support
5.- Lightweight vs JSF
The framework is very flexible and you can adjust it to your needs.
Cons:
1.- Themes. They make the
I´ve run through this and it was more complicated than I thought. You have
to change how your action works, organize them into packages, change URLs,
you have to think about what are you´re going to do on the JSP side, will
you use OGNL or JSTL expressions?. validation, conversion.
On Fri, Nov 7,
model hard to
modify or extends (parallel class hierarchies for both components and
tags, and component's HTML code and styles are tied to a particular
theme.)
2008/11/7 Néstor Boscán [EMAIL PROTECTED]:
Hi Ryan
In my experience:
Pros:
1.- Form mapping!!!. Yes
You can use any IDE. I understand that the new IDEA comes with Struts 2 that
will make things easier, this is the first time I heard of Struts 2 support
for an IDE. I don't know if there's an Eclipse plugin for Struts 2.
Regards,
Néstor Boscán
On Wed, Nov 12, 2008 at 9:51 AM, Ariel [EMAIL
if you want javascript validation you will have to create your own theme and
own validation. You will have to create your own validator class and modify
the form-close-validation.ftl. This is what I've done in the past. Once you
figure out the details you start creating and reusing validators.
On
:
s:text name=message.requiredfields:param name=fieldName
value=projectDocument//s:text
to work. I dont know if this is possible. Do I have to create another
message key for this?
Regards,
Néstor Boscán
-
De: Dave Newton [mailto:newton.d...@yahoo.com]
Enviado el: Monday, January 26, 2009 11:10 AM
Para: Struts Users Mailing List
Asunto: [!! SPAM] Re: S2 Using s:text/ with parameters
Néstor Boscán wrote:
message.requiredfield = The field ${getText(fieldName)} is required
Now I need to do some
Hi
I´m getting the following exception on WebLogic 10.3 with pages that have
jsp:include. This works with OC4J 10.1.3.4. The exception is:
java.lang.NullPointerException
at
org.apache.struts2.views.jsp.ComponentTagSupport.doStartTag(ComponentTagSupp
ort.java:50)
Any ideas?
: Néstor Boscán [mailto:nesto...@gmail.com]
Enviado el: Tuesday, February 10, 2009 3:32 PM
Para: 'Struts Users Mailing List'
Asunto: S2 NullPointerException when using jsp:include in WebLogic
Hi
I´m getting the following exception on WebLogic 10.3 with pages that have
jsp:include. This works
before reaching
the action method. You can put validations in the validation framework or
you're validation method, or you can do AJAX invocations to retrieve data.
Regards,
Néstor Boscán
-Mensaje original-
De: lllewell [mailto:laura.llewel...@gfs.com]
Enviado el: Friday, February 13, 2009 12
,
Néstor Boscán
-Mensaje original-
De: lllewell [mailto:laura.llewel...@gfs.com]
Enviado el: Friday, February 13, 2009 4:54 PM
Para: user@struts.apache.org
Asunto: RE: AJAX with DWR but without DOJO?
Thanks Nestor, this looks interesting. What would the JSP that used this
action look
the
DWRActionUtil.execute call so that I can fill s:fielderror fields with their
error in case of validation error and do stuff tieh the action errors.
Regards,
Néstor Boscán
-Mensaje original-
De: lllewell [mailto:laura.llewel...@gfs.com]
Enviado el: Tuesday, February 17, 2009 10:44
Another thing that you can do is specify in the dwr.xml exactly which
attributes you want to return from the action so you can control what you send
though AJAX and what not.
Regards,
Néstor Boscán
-Mensaje original-
De: lllewell [mailto:laura.llewel...@gfs.com]
Enviado el: Tuesday
, and it uses the converter from JSP to Action but it tells the
converter that its trying to convert to Double.TYPE. How can I configure
xwork-conversion.properties to use a specific converter for float and
double primitive types?
Regards,
Néstor Boscán
.
on Oracle WebLogic 10.3. It works on OC4J 10.1.3 and Tomcat 5.
I created a simple project with an Action and two JSP pages and the problem
reproduces.
Regards,
Néstor Boscán
Plain vanilla application. Just the Filter, an Action, two JSPs, and the
struts tags.
Regards,
Néstor Boscán
On Wed, Apr 15, 2009 at 4:46 PM, Musachy Barroso musa...@gmail.com wrote:
is this a plain application or are you using Sitemesh or Tiles?
musachy
2009/4/15 Néstor Boscán nesto
-tags.tld prefix=s%
html
head
meta http-equiv=Content-Type content=text/html;
charset=windows-1252/
titlemyaction2/title
/head
body
/body
/html
Regards,
Néstor Boscán
-Mensaje original-
De: mitch gorman [mailto:mitch.gor...@gmail.com]
Enviado el: Wednesday, April 15, 2009 4:48
Here is the war file. You have to add the Struts 2 core libraries.
Regards,
Néstor Boscán
-Mensaje original-
De: Martin Gainty [mailto:mgai...@hotmail.com]
Enviado el: Wednesday, April 15, 2009 8:30 PM
Para: Struts Users Mailing List
Asunto: RE: When using jsp:include or s:include
Looks like I can't send attachments through this Mailing list. Here is the
URL to the bug https://issues.apache.org/struts/browse/WW-2995. I put the
war file as attachment of the bug.
Regards,
Néstor Boscán
-Mensaje original-
De: Néstor Boscán [mailto:nesto...@gmail.com]
Enviado el
I've been using it for over 50 projects with excellent results. Once you
start using spring in big projects you really can't go back.
On Wed, Nov 25, 2009 at 11:59 AM, phillips1021 bphill...@ku.edu wrote:
At the University of Kansas (#1 college basketball team :) we use Struts 2
for our web
Hi
Is there a way I can use java templates for all tags except form?. I want to
gain on the performance of the java tags but still maintain the validation
features of the form tag.
Regards,
Néstor Boscán
Templates but still use the form tag
for validation.
Regards,
Néstor Boscán
On Sun, Dec 27, 2009 at 12:39 PM, Neil Aggarwal n...@jammconsulting.comwrote:
Nestor:
Is there a way I can use java templates for all tags except form?
You can mix and match struts UI tags and normal
HTML tags in your
I've tried this approach and the page simply doesn't work. I don't know if
you are aware but in 2.0.* there were this configuration options that cached
the freemaker processing.
Regards,
Néstor Boscán
On Fri, Jan 15, 2010 at 2:10 PM, Dale Newfield d...@newfield.org wrote:
Musachy Barroso
Hi
I wish to access or create the ValueStack from outside Struts 2 so I can
apply the expression language and conversion properties of OGNL to create
some reportes. Is this possible?
Regards,
Néstor Boscán
the XWorkTypeConverter but I don't know how to instante it.
Regards,
Néstor Boscán
2010/1/15 Rafał Krupiński r.krupin...@gmail.com
On 15.01.2010 21:25, Néstor Boscán wrote:
Hi
I wish to access or create the ValueStack from outside Struts 2 so I can
apply the expression language and conversion properties
());
configurationManager.getConfiguration().getContainer().inject(factory);
ValueStack stack = factory.createValueStack();
Regards,
Néstor Boscán
On Fri, Jan 15, 2010 at 4:39 PM, Wes Wannemacher w...@wantii.com wrote:
One thing I've done in the past to figure things out is to just check
the unit tests. I'd imagine
characters.
Regards,
Néstor Boscán
Hi
Is there a release out where I can extend the Struts 2 Java Template Tags?
Or is there a future release where this will be implemented?. We're
currently deciding if we should create our own tags to get better
performance from a Struts 2 application.
Regards,
Néstor Boscán
document. Has this been corrected in newer versions?.
Any ideas?
Regards,
Néstor Boscán
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
Found it
I think it was the Apache Server that was converting the JSON
documents to UTF-8.
Regards,
Néstor Boscán
On Fri, Jan 6, 2012 at 8:33 AM, Hernán heam...@gmail.com wrote:
Nestor: first of all, verify that your database has the correct encoding,
it should be ISO-8859-1, then what I can
I've been trying to make Struts 2 JavaScript Validation work on WebLogic
10.3.6. I first used 2.3.8 version and then the latest 2.3.15.2 version. I
still get the same error:
java.lang.NullPointerException
at
com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.lo
the definitions, right? could you
share it?
2013/9/20 Néstor Boscán nesto...@gmail.com
I've been trying to make Struts 2 JavaScript Validation work on WebLogic
10.3.6. I first used 2.3.8 version and then the latest 2.3.15.2
version. I
still get the same error:
java.lang.NullPointerException
Hi
I'm using the latest 2.3.15.2 version of struts 2 on weblogic 10.3.6. This
are my files:
LoginAction-validation.xml:
!DOCTYPE validators PUBLIC
-//Apache Struts//XWork Validator 1.0.3//EN
http://struts.apache.org/dtds/xwork-validator-1.0.3.dtd;
validators
field
/
/s:form
Thanks for the help
On Sat, Sep 21, 2013 at 5:24 PM, jlm...@gmail.com wrote:
Can you provide the jsp snipset for the form?
Sent via BlackBerry from T-Mobile
-Original Message-
From: Néstor Boscán nesto...@gmail.com
Date: Sat, 21 Sep 2013 16:15:23
To: Struts Users Mailing
1 - 100 of 111 matches
Mail list logo