the default to be 01/01/2001 change the assignment for value
to
#if parameters.nameValue?if_exists !=
value=dojo.${parameters.nameValue?html:01/01/2001}#rt/
inputNameValue=${parameters.nameValue?html:01/01/2001}#rt/
/#if
?
Martin
__
Disclaimer
bookmark this page!
http://struts.apache.org/2.x/docs/accessing-application-session-request-objects.html
Martin
__
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official business
of Sender
2 solutions
1)cookies
2a)store old windows value session.put(windowId,1);
2b)open next window in new window
2c)windows.open('_blank')
2d)onload=session.put(windowid,2);
test windowid
anyone?
Martin
__
Disclaimer and confidentiality note
Everything
yep..i need a secretary...know anyone that wants to work for free?
Thanks,
Martin
__
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official business
of Sender. This transmission is of a confidential
it must be true..i took a business course and according to the book..there are
people who are paid for work..(..not here unfortunately..)
Martin
__
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates
is a
simple bean as suggested here
If the null property is a simple bean with a no-arg constructor, it will simply
be created using the ObjectFactory#buildBean(java.lang.Class, java.util.Map)
method.?
dziekuje
Martin
__
Disclaimer and confidentiality note
=workflow/
/interceptor-stack
HTH
Martin
__
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official business
of Sender. This transmission is of a confidential nature and Sender does not
endorse
http://struts.apache.org/2.0.11.2/docs/bean-configuration.html
name must be unique for the declared type
try changing the name to something unique
?
Martin
__
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates
...
http://cwiki.apache.org/WW/ajax-recipes.html
Anyone else?
Martin
__
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official business
of Sender. This transmission is of a confidential nature and Sender
-ShortCircuitingValidator
HTH
Martin
__
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official business
of Sender. This transmission is of a confidential nature and Sender does not
endorse distribution to any party other
be locatedbut its the individual who ultimately has to resolve
ALL dependencies such as the release manager who is the ultimate arbiter on
where all entitities should be located
Anyone else?Martin __ Disclaimer
and confidentiality note Everything
same concept as with legacy Java ApplicationResources.properties
so in struts.xml you should see the globalMessages_locale.properties
identified viaconstant name=struts.custom.i18n.resources
value=globalMessages /where english globalMessages.properties would
containtoken.transfer.time=The
Hi all,
I have a problem with file uploading (i am using the interceptor) and I just
can't find it. I have nothing in Tomcat's logs.
I have an interceptor placed after FileUpload in the stack which gets
executed. But my action isn't.
If you have an idea regarding my problem don't hesitate to
-td15462644.html
Martin
__
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official business
of Sender. This transmission is of a confidential nature and Sender does not
endorse distribution to any party
Hi all,
I am working with file uploads and use the corresponding interceptor. This
is working very well but not constantly.
I added to my action the three setter methods along with their corresponding
variables.
I upload my files, on after the other, and at some point my variable of type
File
of accessors and mutators (vs a public declaration..)
Anyone else?
Martin
__
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official business
of Sender. This transmission is of a confidential nature and Sender
it does sound like a caching issue.. try this directive before your html
%
response.setHeader(Cache-Control, no-cache); //HTTP 1.1
response.setHeader(Pragma, no-cache); //HTTP 1.0
response.setDateHeader(Expires, 0); //prevents caching at the proxy
server
%
?
Martin
- Original
() method
actionMapping.findForward(error)
?
Martin-
- Original Message -
From: ManiKanta G [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: Wednesday, July 30, 2008 6:16 AM
Subject: Redirect after stream result
Hi,
How can I redirect to another page after stream
the collection
Iterator iterator = MySet.iterator()
http://publib.boulder.ibm.com/infocenter/wsadhelp/v5r1m2/index.jsp?topic=/com.sun.api.doc/java/util/Set.html
e.g.
while (iterator.hasNext())
{
Object obj = iterator.next();
}
?
Martin
__
Disclaimer
into one.
ww:sort / Sorts an iterator
http://cwiki.apache.org/WW/tutoriallesson04-01.html
?
Martin
- Original Message -
From: Ylva D [EMAIL PROTECTED]
To: user@struts.apache.org
Sent: Tuesday, July 29, 2008 2:16 PM
Subject: Possible to iterate through a java.util.Set using
which version of struts are you working with..?
Martin
__
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official business
of Sender. This transmission is of a confidential nature and Sender does
2008/7/21 Jeromy Evans [EMAIL PROTECTED]:
matthieu martin wrote:
Hello all.
I can't figure out what this message means, or even where does it come
from.
I have no way to know which request returns this to me ... I'm lost.
Is anyone able to help me ?
Dojo uses a technique called
Hello all.
I am facing a problem which has made pull my hair off for quite a while now.
I've looked everything my friend google gave me, but nothing relevant showed
up. As a last hope, I am turning myself to you.
I have a simple JSP code :
s:form action=addFileToGallery method=post enctype=
OGNL value into a property and then test the
value of the property)
HTH
Martin
__
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official business
of Sender. This transmission is of a confidential
Dimitris
Congratulations..I think You found a bug
/WEB-INF/struts-config.xml
/WEB-INF/classes/ApplicationResources.properties
prompt.search=Search
prompt.Greece=Greece
prompt.advanced.search=AdvancedSearch
html
head
%@ taglib uri=http://struts.apache.org/tags-html; prefix=html%
%@ taglib
The OGNL creators/authors were definitely 'page' centric e.g.
#attr['foo'] or #attr.foo
resolves to
1)Access to PageContext if available, otherwise searches
2)request
3)session
4)application respectively
http://struts.apache.org/2.0.11.1/docs/ognl-basics.html
IMHO
Martin
- Original
Anyone else?
Martin
- Original Message -
From: Greg Lindholm [EMAIL PROTECTED]
To: user@struts.apache.org
Sent: Saturday, June 21, 2008 11:01 PM
Subject: Re: [OT] What slows you down?
When I read this I was being slowed down by constant stopping
and starting of Tomcat from within
Roberto-
Just to clarify..how should the Results mapping annotations configuration be
introduced?
Thanks
Martin--
- Original Message -
From: Roberto Nunnari [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: Saturday, June 21, 2008 7:25 PM
Subject: Re
have you had a chance to look at and deploy struts2-mailreader sample?
http://mirrors.ibiblio.org/pub/mirrors/maven2/org/apache/struts/struts2-mailreader/2.0.11/
FWIW
Martin
- Original Message -
From: Esteve Camps Chust [EMAIL PROTECTED]
To: user@struts.apache.org
Sent: Saturday, June
Martin
- Original Message -
From: Dave Newton [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: Friday, June 20, 2008 9:29 AM
Subject: Re: [OT] What slows you down?
--- On Fri, 6/20/08, Jim Kiley [EMAIL PROTECTED] wrote:
I don't have a JSP debugger, and JSPs
Can you supply the
jsp sepecifically looking for s:select
web.xml
struts-config.xml
as well as the code from Action class
http://struts.apache.org/2.0.11.1/docs/select.html
Thanks
Martin
- Original Message -
From: kukudas [EMAIL PROTECTED]
To: user@struts.apache.org
Sent: Thursday
Good Morning Michael-
Have you notoiced this error manifested in either eclipse maven plugin or
eclipse ant plugin ?
In which version of eclipse and plugin do you see these errors?
Is there a jira entry for these errors?
Thanks,
Martin Gainty
aplicacion
please make sure you have these JS files located in struts-webapp folder
%TOMCAT_HOME%/webapps/struts2-webapp/dojo/io/*.*
if you dont have them located there you can copy from the dojo source
libraries located at
%DOJO_HOME%/struts/static/dojo/src/io/*.*
Merci/Thanks
Martin
- Original
=/projectsearch.do /
/action
you have admin defined as path instead of 'admin.do'
Martin
- Original Message -
From: Sury Balasubramanian
To: user@struts.apache.org
Sent: Tuesday, June 10, 2008 1:30 PM
Subject: Websphere 6.1 and Struts 1.3
Hello all,
I am having an issue
/* you were really close*/
Map session = (Map) ActionContext.getContext().get(session);
session.put(new_key,new_value);
http://struts.apache.org/2.x/docs/accessing-application-session-request-objects.html
HTH
Martin
- Original Message -
From: Gamble, Wesley (WG10) [EMAIL PROTECTED
(lockAllNode) );
//or No lock
Attribute lockNoneNode = node.attribute( optimistic-lock-none);
entity.setOptimisticLockMode( getOptimisticLockMode(lockNoneNode) );
HTH,
Martin
- Original Message -
From: Arun [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: Thursday
as well
Thanks
Martin
__
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official business
of Sender. This transmission is of a confidential nature and Sender does not
endorse distribution to any party
Struts 1.2.9
org.apache.struts.chain.servlet.validateActionForm
where the validate method is declared as
protected ActionErrors validate(Context context,
ActionConfig actionConfig,
ActionForm actionForm)
//reference the
have'nt thoroughly tested the compressed js load scenarios with Struts but
under Apache Browser load times decrease by 50% or greater (as demonstrated
by FireFox)
HTH
Martin--
- Original Message -
From: Jeromy Evans [EMAIL PROTECTED]
To: Struts Users Mailing List user
submit.ftl#if parameters.title?exists
title=${parameters.title?html}#rt/
/#if
- Original Message -
From: Stefan Gebhardt [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: Wednesday, April 23, 2008 8:59 AM
Subject: Re: S2 s:submit not reliable?
On Wednesday 23
you can store in session and retrieve later using
http://struts.apache.org/2.0.11.1/docs/ognl-basics.html
- Original Message -
From: [EMAIL PROTECTED]
To: struts mailing list user@struts.apache.org
Sent: Saturday, April 19, 2008 7:24 AM
Subject: result in different pages
Hi,
I have a
using #foo is merely a request to
another object in the OgnlContext other than the root
http://struts.apache.org/2.0.11.1/docs/ognl-basics.html
Good Stuff
Martin
- Original Message -
From: Adam Hardy [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: Saturday, April
{
public ListPerson findAll();
public void save(Person person);
public Person find(int id);
}
?
Martin-
- Original Message -
From: Griffith, Michael * [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: Friday, April 18, 2008 10:33 AM
Subject
implement ParameterAware and then call getParameters method to obtain the
map e.g.
Map parameters = this.getParameters();
http://struts.apache.org/2.0.11.1/docs/how-can-we-access-request-parameters-
passed-into-an-action.html
Martin- Original Message -
From: [EMAIL PROTECTED]
To: struts
instance of bean B every time one is needed.
So if prototype bean B changes A has no clue..
I think I'll stay with the scope=prototype/singleton in the declarator..
Thanks,
Martin
- Original Message -
From: Randy Burgess [EMAIL PROTECTED]
To: Struts Users Mailing List user
singleton=false/
/beans
The autowire property of struts.objectFactory.spring.autoWire is a bit
tricky as for Bean Dependency Injection you will
need an exact match on name, or class-type or constructor
HTH
Martin
- Original Message -
From: GF [EMAIL PROTECTED]
To: Struts Users ML user
Could you provide a scenario where one bean is injected into another?
Thanks
M-
- Original Message -
From: Randy Burgess [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: Monday, April 14, 2008 3:55 PM
Subject: Re: [S2] Spring: Interceptors, prototype or
Which error are you getting?
M-
- Original Message -
From: Prashant Saraf [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org; Struts Users
Mailing List user@struts.apache.org
Sent: Saturday, April 12, 2008 3:45 PM
Subject: RE: POJO Action Class
hi,
i changed the
ResultTypes are illustrated here
http://struts.apache.org/2.x/docs/result-types.html
Is there anything specific you were looking for?
Tak/
Martin-
- Original Message -
From: Ian Meikle [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: Wednesday, April 09, 2008
If you dont mind using freemarker you can always use
exception-interceptor.html
http://struts.apache.org/2.x/docs/exception-interceptor.html
M--
- Original Message -
From: Rajeev Sharma [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: Wednesday, April 09, 2008
I hope you have long legs because you're trying to climb 2 very steep
mountains simultaneously
1st) subscribe to tomcat-users list..the folks that answer your question
eat/live and breathe TC 24/7
http://tomcat.apache.org/lists.html#tomcat-users
then of course you'll want to look at getting your
find all occurences of O'Halloran
I wonder if there is a workaround so Irish names will not trip up whitespace
delimiters???
Erin Go Bragh!
Martin-
- Original Message -
From: Al Sutton [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: Sunday, April 06, 2008 3:36
Al-
Any pointers you can share on porting ?
M-
- Original Message -
From: Al Sutton [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: Saturday, April 05, 2008 2:51 AM
Subject: Re: [OT] What do you code today?
http://www.enterprise-password-safe.com/
At the
thoughts/ideas to implement a viable Architecture would be greatly
appreciated
Thanks
Martin
- Original Message -
From: Ted Husted [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: Friday, April 04, 2008 6:14 AM
Subject: [OT] What do you code today?
While outward
(FilterConfig filterConfig) {
//so you can achieve this objective using ServletContextSingleton class
ServletContextSingleton singleton =
ServletContextSingleton.getInstance();
singleton.setServletContext(filterConfig.getServletContext());
?
Martin
- Original Message -
From: Doug
Hi everybody,
We wonder if it is possible to safely null validatorResult in ValidatorForm
after succesfull
validation. It could bring our application big memory effort as all our form
are session scope.
And validatorResult for some pages have 40K!!. As we found this structure is
already nulled in
place the myconfig.xml in WEB-INF/classes
then in struts.xml include that file
include file=myconfig.xml/
M-
- Original Message -
From: Ashish Kulkarni [EMAIL PROTECTED]
To: user@struts.apache.org
Sent: Friday, March 28, 2008 3:22 PM
Subject: [OT] Read XML file from folder outside
So to take an example in the supplied validators xml
validators
field name=count
field-validator type=int short-circuit=true
param name=min1/param
param name=max100/param
message key=invalid.countInvalid Count!/message
/field-validator
with GWT equivalent
Before attempting this conversion is there a specific component or feature
you're looking for ?
You might be pleasantly surprised by the features and functions that Dojo
1.0 has to offer..
?
Martin-
- Original Message -
From: Frans Thamura [EMAIL PROTECTED]
To: Struts Users
you can also use s:checkboxlist
http://struts.apache.org/2.0.6/docs/checkboxlist.html
so in your case take myList and use it to set the list attribute as in this
example
s:checkboxlist name=foo list=myList/
M-
- Original Message -
From: Kibo [EMAIL PROTECTED]
To: user@struts.apache.org
you can if you use a combination of Freemarker AND dojo ..
assume you have form id=formId..
script type=text/javascript
dojo.require(dojo.event.*);
#if (parameters.formId?if_exists?size 0)
var containingForm = document.getElementById(${formId});
Anyone else?
Martin-
- Original Message
sounds as if you might possibly a Speech to Text engine you're working with?
check the referenced DTD is a valid 'grammar DTD'
http://www.w3.org/TR/2001/WD-speech-grammar-20010820/#AppB
(or post it here and we can check for you..)
Martin-
- Original Message -
From: Dave Newton [EMAIL
=http.getAllResponseHeaders();
var ret={};
ret.toString=function()
{
return headers;
};
var key_value=headers.split(/[\r\n]+/g);
for(var i=0;ikey_value.length;i++)
{
var pair=key_value[i].match(/^([^:]+)\s*:\s*(.+)$/i);
if(pair)
{
key=pair[1];
value=pair[2];
}
anyone else?
Martin
- Original Message
Hi all.
I am handling login issue through an interceptor. Basically it looks in the
session if a user entry exists before letting you go through to the
administration panels. This works fine.
In my admin, I use a lot of Ajax (with dojo) so I never have a single full
page reload. I use submits or
dave is is correct..
#foo.blah // returns foo.getBlah()
#bar.blah // returns bar.getBlah()
blah // returns foo.getBlah() because foo is the root
http://struts.apache.org/2.x/docs/ognl-basics.html
Martin-
- Original Message -
From: Dave Newton [EMAIL PROTECTED]
To: Struts Users
Hi all !
I have a little issue and I find no clues on the web, so i'm turning myself
to you.
I have a piece of code like this :
div id=menu_image_galleryss:property value='id'/
s:property id=s:property value='id'/ value=id/
s:a theme=ajax href=%{EditImageGallery}
have some issues figuring out what's on the stack and what's not
...
thanks again !
On Thu, Mar 13, 2008 at 10:49 AM, matthieu martin [EMAIL PROTECTED]
wrote:
Hi all !
I have a little issue and I find no clues on the web, so i'm turning
myself
to you.
I have a piece of code like
Hi all !
I have a rather disturbing issue with a file upload.
I have the s:file tag used along with a form. This works just fine, I get
my files on the server. In my action, I move my file where I want to, and I
create my entry in the database. I refresh my div containing my images.
The problem
use javascript
javascript:history.back();
?
Martin
- Original Message -
From: bhaarat Sharma [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: Saturday, March 08, 2008 12:08 PM
Subject: Re: Struts1 - how to reload parent window from popup
I am trying
in Axis-2.13
let us know if @ParentPackage annotation works on just the one action in
your Java package
(If this is not the case we'll need to update JIRA)
Thanks
Martin-
- Original Message -
From: Jeromy Evans [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent
Good Morning Michael
This is a bug.. do you want to update JIRA?
Thanks
Martin-
- Original Message -
From: Griffith, Michael * [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: Thursday, March 06, 2008 4:07 PM
Subject: RE: How can I combine a result (tiles
-validation.xml,struts-tags-non-ui.xml...)
Thanks
Martin-
- Original Message -
From: Griffith, Michael * [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: Thursday, March 06, 2008 4:07 PM
Subject: RE: How can I combine a result (tiles + xslt)?
Hi all,
I've
Michael-
remembering our academic coursework teaches Not(Not condition) evaluates
positive
be sure to set ignoreContextParams=false as in s:action tag
ignoreContextParams=false ...
I would encourage you to read Dave's article on using ResultTypes at
by what Im seeing from XWork validators the first 'required' validator you
declared is unnecessary as the second regex validator will identify that
condition
http://struts.apache.org/2.x/struts2-core/apidocs/com/opensymphony/xwork2/va
lidator/Validator.html
Anyone?
M-
- Original Message
files will give us of the layout/design you're using
Martin
- Original Message -
From: Karr, David [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: Wednesday, March 05, 2008 7:37 PM
Subject: RE: Simple helloworld test fails with Could not find action or
result
Hi Gabriel-
are your proposing an enhancement to s:head as i think this concept is
already covered by s:head which sets up global attributes?
http://struts.apache.org/2.0.6/docs/head.html
or a separate s:conversation tag ?
M-
- Original Message -
From: Gabriel Belingueres [EMAIL
anything in particular you're looking for help on?
Martin--
- Original Message -
From: Randall Svancara [EMAIL PROTECTED]
To: user@struts.apache.org
Sent: Tuesday, March 04, 2008 11:12 AM
Subject: --help
--
Randall Svancara
Systems Administrator
509-335-7093
several objects in the view, it forces to either create a DTO (not
good) to reunite all data or using a Map with domain objects but in
either case you end up with something not very different to not using
model-driven.
2008/3/4, Martin Gainty [EMAIL PROTECTED]:
Hi Gabriel-
are your
are introducing differing namespaces and causing a mismatch?
provided we're not seeing anything company proprietary can we see the
struts.xml declaration for both packages?
?
Martin-
- Original Message -
From: [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent
', [...]}
..
/
Martin
- Original Message -
From: Chris Pratt [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: Monday, March 03, 2008 8:02 PM
Subject: Selecting over Static Maps from Resource Bundle
Is it possible to place the data for the list attribute of an
s:select tag
/filter
Martin
- Original Message -
From: kal stevens [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: Monday, March 03, 2008 8:49 PM
Subject: Struts2 application does not work after converting from struts1
My company is in the process of converting our
/dynamicTreeSelectAction.action' /?nodeId=+nodeId,
load: function(type, data, evt) {
var displayDiv = dojo.byId(displayId);
displayDiv.innerHTML = data;
FWIW
Martin
- Original Message -
From: Matthew Seaborn [EMAIL PROTECTED]
To: Struts Users Mailing List
=null;
..
}; //class
???
Martin--
- Original Message -
From: Tim B [EMAIL PROTECTED]
To: user@struts.apache.org
Sent: Saturday, March 01, 2008 9:44 PM
Subject: Re: Struts1 forms with empty Strings
Dave Newton [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
--- Andy [EMAIL
Call for Papers Opens for ApacheCon US 2008
!REMINDER: this will be a short CFP, ending on 3 April, so please be sure to
get your CFP submissions in soon!
The Apache Software Foundation (ASF) invites submissions to its official
users' conference, ApacheCon US 2008, held 3 November through 7
declare the field validator such as the field-name declared in validators in
FieldValidatorsExampleAction-submitClientSideValidationExample-validation.xm
l
validators
field name=requiredStringValidatorField
field-validator type=requiredstring
param name=trimtrue/param
//easiest solution would be to set all the attribute default values to null
e.g.
public class TestFormBean extends ActionForm
{
private String stringProperty=null;
private Object[] arrayProperty=null;
public String getStringProperty()
{
return (stringProperty);
}
interesting ...can you implement ajax functionality such as theme='ajax'
from dojo?
Martin-
- Original Message -
From: Ray Clough [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: Friday, February 29, 2008 6:08 PM
Subject: Re: [friday] Re: Struts2 vs JSF
I
I'm stuck with this error and have no idea what the problem is...
In my action class, I'm returning a String property called ruleType. I've
verified that it has a value of A.
In my jsp, I have:
s:if test=ruleType == 'A'
[EMAIL PROTECTED] file=arithmeticDetail.jsp %
/s:if
For some reason,
quotes will evaluate to a character, not
a
string. Not entirely sure I get the exception without looking at the
source.
s:if test='ruleType == A'
should work, though (switched punctuation).
Dave
--- Eric Martin [EMAIL PROTECTED] wrote:
I'm stuck with this error and have no idea
DNewfield wrote:
Eric Martin wrote:
So, it looks like struts converts it to a Char if it's a single-character
and a string if it's multi-character?
Yes, but it's OGNL that does that, not Struts.
http://www.ognl.org/2.6.9/Documentation/html/LanguageGuide/basicExpressions.html#constants
Hi,
I want to display editable dates in textfields. I cannot use JavaScript, so
datetimepicker isn't an option. Currently the date is displayed as dd/mm/yy
if there is a value. How can I change this to be dd/mm/?
Many thanks,
Martin
Capgemini is a trading name used
that the textfield should show the date as
dd/mm/?
Many thanks,
Martin
-Original Message-
From: Richard Sayre [mailto:[EMAIL PROTECTED]
Sent: 26 February 2008 17:59
To: Struts Users Mailing List
Subject: Re: [s2] Date format in TextField
I'm not sure if I understand you correctly but...
I want
1)
its possible the link does'nt have that returned object mapped
you may want to consider doing a quick test of the object beforehand with
linkObject.containsValue(ReturnedObject)
http://java.sun.com/javase/6/docs/api/java/util/LinkedHashMap.html#containsV
alue(java.lang.Object)
2)
it is quite
lets say you have some tag which has its base function called
updateReports()
assuming the div tag has theme=ajax referencing
http://struts.apache.org/2.0.11/docs/ajax-div-template.html
saf:head theme=ajax /
function doit(){ document.login_form.hidden_id.value=01420;}/script
script
start here
http://www.acegisecurity.org/guide/springsecurity.html
M-
- Original Message -
From: Kelly Graus [EMAIL PROTECTED]
To: user@struts.apache.org
Sent: Tuesday, February 19, 2008 12:12 PM
Subject: Struts 2 Container Security problem
Hi Everyone,
I'm attempting to secure my
;
List l = (List) o;
String result =;
for (Iterator i = l.iterator(); i.hasNext(); )
{
s[j++]=i.next();
}
return s;
}
//...other methods..
}
FWIW
Martin--
- Original Message -
From: Jeromy Evans [EMAIL PROTECTED]
To: Struts Users Mailing
Hi all,
I am facing a particular problem, and I didn't find help on the web so I'm
turning myself to you.
I use in my Struts 2 application the UI tag s:optiontransferselect. The
parameters work fine and everything's displayed correctly on the screen.
Nevertheless, the buttons just don't work.
Hi,
The tag actually was in a div loaded in AJAX, and thanks to you it now
works just fine !
Thanks a lot !
Matthieu
Internet
[EMAIL PROTECTED]
15/02/2008 15:23
Veuillez répondre à
user@struts.apache.org
Pour
user@struts.apache.org
cc
Objet
RE: Javascript issue encountered with
a new theme, or use some combination of
theming and manual work to accomplish whatever your needs are.
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Martin
errors were added.
That's how I ended up implementing Preparable to clearErrorsAndMessages().
I'd appreciate any help. Thanks
On Wed, Feb 13, 2008 at 9:45 AM, Dave Newton [EMAIL PROTECTED] wrote:
--- Martin Castellanos [EMAIL PROTECTED] wrote:
I had this problem, I don't think it's related
901 - 1000 of 2079 matches
Mail list logo