solve a problem).
>>
>>
>> On Tue, Feb 1, 2011 at 12:56 PM, Dave Newton
>> wrote:
>> > Interceptor w/ pre-result listener?
>> >
>> > Dave
>> >
>> > On Tue, Feb 1, 2011 at 12:50 PM, Richard Sayre > >wrote:
>> >
>
I am making a mobile site for my current web application. I have a
huge number of actions that return to JSP pages. I have a mobile
detection class written.
Is there a way that I can change the result page if the user is on a
mobile device?
I want to avoid having to write this in all my actions
Due to the deprecation of the DOJO plugin I have been trying to
recreate all of my web site GUI without using Struts 2 tags.
When I create a Tabbed Pane, the web site loads, then the Tabbed Pane
renders in view of the user. Before the UI renders it looks like a
mess. When I used the struts 2 tag
n version would give me please?
Thanks
Richard
-Original Message-
From: Martin Gainty [mailto:mgai...@hotmail.com]
Sent: 08 July 2009 15:13
To: Struts Users Mailing List
Subject: RE: Ajax Basics
good to hear..I have a build environment for that plugin in case you need it
Cheers,
Martin
G
Thanks Dusty, and Martin
I'm happily using JQuery now - and it looks great!
Cheers
Richard
-Original Message-
From: dusty [mailto:dustin_pea...@yahoo.com]
Sent: 08 July 2009 05:06
To: user@struts.apache.org
Subject: Re: Ajax Basics
So I think straight JQuery is pretty
Thanks Martin, I'll give it a go!
Richard
-Original Message-
From: Martin Uhlir [mailto:stoupa91de...@seznam.cz]
Sent: Tue 07/07/2009 17:11
To: Struts Users Mailing List
Subject: Re: Ajax Basics
Hi,
have a look at this plugin for Struts2
http://code.google.com/p/struts2-jquery
Hi
I'm trying to get the datetimepicker working in my app. It's Struts 2
but it's totally non-AJAX at the moment. I also don't know anything
about AJAX to make matters worse.
Please could someone tell me
a) what extra jars (dojo/json etc) do I need to pop into WEB-INF?
I don't m
You can use the tag to set the session variable to empty string
as below:
--
View this message in context:
http://www.nabble.com/Struts2-Session-Invalidate.-tp15627192p23988865.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
I should have also mentioned that there are security issues with
persisting to the hard drive.
I would recommend saving to the database and loading the images as
needed. Do not save them to session. I do not think you will have a
performance problem.
Rich
--
>Thanks, Rich,
I''m happy to help.
> If I use BLOB, I have to make a lot of change to my code. Therefore, I have
> to persist it as String. I used base64 to encode and decode the byte[] into
> String. Because I resize the images to small ones. I use a VARCHAR length
> about 10k~20k to persist the
You need to set hte requestURI attribute
see
http://displaytag.sourceforge.net/1.2/displaytag/tagreference.html#display-el:table
On Mon, Jun 8, 2009 at 12:11 PM, Bhaarat Sharma wrote:
> Hi guys,
> I'm starting displaytag for the first time.
>
> I have a simple Struts2 action that is returning a
You should persist the images as bytes, in a binary field or something similar.
> 1. Because the image is large, it's not efficient to store it in
> objects(beans).
Well this depends on the Bean. Is the bean stored in session? If yes
then it will take up some memory. If you dont have alot of m
I have some global properties in my application that I need to access
from several of my JSP pages.
In my application I have a base action which all of my actions use. I
was thinking of putting a getGlobalProperties method in that action
that return an instance of an Singleton that holds my prope
I have a String array and I am trying to see if there is a value in it.
Using: works.
I want to use the value of an enum in place of foo.
I tried
which didn't work. Using the String literal works:
Is it possible to do this using @my.package.mye...@enum_value?
Thanks
Rich
---
Is it possible to specify all action properties in session param tag
using regex or wildcards?
On Mon, May 25, 2009 at 8:39 AM, Nils-Helge Garli Hegvik
wrote:
> Yes, the ScopeInterceptor should be able to handle this case.
>
> Nils-H
>
> On Mon, May 25, 2009 at 1:02 PM, Richa
I have an action that does some server side logic, based on that logic
I want to present the user with a Yes/No message. If they click yes I
want to save the data the user filled out before the Yes/No message.
Is it possible to carry action properties over multiple requests? I
found the ScopeInt
I want to have all of s:url tags use forceAddSchemeHostAndPort="true"
Is there a way to set this property globaly? I couldn;t find anything
in struts.properties.
Thanks,
Rich
-
To unsubscribe, e-mail: user-unsubscr...@struts.a
Hi,
I have the following defined:
application/pdf
fileStream
filename="Report.pdf"
1024
My action lookks like this
public String generateReport() {
//use api to build PDF
//the api takes an output stream
//so at th
:01 PM, Richard Sayre wrote:
> It is also happening in a Date field I have. If no dates are entered
> in the text box then I get the same error. If I provide a date then
> the conversion works.
>
> I am currently moving through the XWork and OGNL source to see what is
> causing
gt; I bet it has something to do with a null not being assignable to an int.
> Chris
>
>
>
>
>
>
>
> -----Original Message-
> From: Richard Sayre
> To: Struts Users Mailing List
> Sent: Mon, 11 May 2009 11:44 am
> Subject: Re: Converter trying to set St
e has any suggestions on how to handle this it would be
greatly appreciated
Thanks
Rich
On Mon, May 11, 2009 at 11:10 AM, Richard Sayre wrote:
> I have a bunch of check boxes called userId. In my action I have int
> userId[] and setUserId(int[] ids)
>
> When I select a checkbox the
I have a bunch of check boxes called userId. In my action I have int
userId[] and setUserId(int[] ids)
When I select a checkbox the conversion works normally. When I dont
check any boxes on the form and submit, I get the following:
2009-05-11 10:54:28,606 [http-8080-6] DEBUG []: - Property: user
I think the HTTP_USER_AGENT header should be similar to:
Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en) AppleWebKit/420+
(KHTML, like Gecko) Version/3.0 Mobile/1A543a Safari/419.3
If a request comes from the IPhone browser
On Fri, May 1, 2009 at 3:06 PM, Andy wrote:
>
> Hi, is there an easy way
(getStartTime_Day, getStartTime_Month,
> getStartTime_Year). The interceptor uses reflection when it encounters a
> Date setter (with a suitable annotation) in the action to look up these
> fields and parse them into a Date for setting. Lets me do validation at the
> same time.
>
> Andy.
hat isn¹t the
> short format for the locale and I suspect that¹s what is happening with
> Richard.
>
> He has two choices, either configure his date time picker to produce the
> date in the required format, or as suggested write your own converter. My
> only concern with Matt¹
try cssStyle="display:none"
On Fri, May 1, 2009 at 4:23 AM, taj uddin wrote:
> Hi
>
> In my application there is a need to hide a link. I have used the tag
> to generate a link and the necessity is to hide this link.
> can any one pls help out in this regard
>
>
>
>
-
@return the converted String
> */
> public String convertToString(Map context, Object o) {
>
> Date date = (Date) o;
> String formatedDate = DateUtil.dateFormater(date, PATTERN);
> return formatedDate;
> }
> }
>
>
>
> On Thu, Apr 30, 2009 at 1:19 AM, Richard Sayre wro
fied object to a String.
>> *
>> * @param context the action context
>> * @param o the object to be converted
>> * @return the converted String
>> */
>> public String convertToString(Map context, Object o) {
>>
>> Date date
I have an Action with a date attribute
private Date myDate;
public void setMyDate(Date myDate) {
this.myDate = myDate;
}
I have a form that has a date picker (not the struts 2 date picker)
that populates a text field. When I submitt the form to my action the
property does not get set because St
I have a form in my web application that can be accessd from different
places (Namespaces) in the web app.
It looks something like this
/Admin/EditSchedule.action
/MySchedules/NewSchedule.action
/Create/NewSchedule.action
/Create/EditSchedule.action
The are subtle differences in how the data is
d), it will not get
added since the name is already there from a check box that has been
submitted. I will have to find another way to achieve this since my
check box list is dynamic and can be any size. I will post some code
when I finish.
Rich
On Wed, Apr 15, 2009 at 9:05 AM, Richard Sayre wr
After reading some more documentation I tried :
-1
completeDefault is a stack I created which includes the checkbox interceptor.
This is still not setting the value in my int array.
On Wed, Apr 15, 2009 at 8:29 AM, Richard Sayre wrote:
> The Struts 2 docs says
The Struts 2 docs says the following about the Checkbox Interceptor:
setUncheckedValue - The default value of an unchecked box can be
overridden by setting the 'uncheckedValue' property.
Where in code can I call the setUncheckedValue(String uncheckedValue) from?
The problem I am facing is the f
tions.
Can anyone suggest a way around this?
Thanks,
Rich
P.S. a more detailed explanation is provided below.
-Original Message-
From: Richard Rauser [mailto:richard.rau...@procinity.com]
Sent: 05 March 2009 12:20
To: user@struts.apache.org
Subject: Struts 2.1.6 - No Action Extension, C
Hi all,
I recently began migrating a working Struts 2.0.11 app to Struts 2.1.6. This
has been a bit of a painful process, particularly moving from the SmartURLs
plugin to the Convention plugin and from ajax tags to the Dojo plugin.
Here is my problem: I am not using an action extension within my
addActionError("File type not allowed");
return;
}
Remove |(xls) if you dont want to allow xls files
--- On Fri, 2/27/09, Richard Gundersen
wrote:
> From: Richard Gundersen
> Subject: RE: String manipulation
> To: "Struts Users Mailin
Hmmm, no that also prevents genuine csv files from being selected too.
Also investigating the accept attribute on the s:file tag to see if that
will help...
Any help appreciated.
-Original Message-
From: Richard Gundersen [mailto:r.gunder...@salford.ac.uk]
Sent: 27 February 2009 10:27
Oh, got it
@FieldExpressionValidator(expression="(accountFileFileName.endsWith('.cs
v')", message="", key="validate.invalidFilename",
fieldName="accountFileFileName")
Forgot you could just call methods in OGNL :)
-Richard
-Original Mes
Hi
I'm trying to validate that a filename has a .csv extension. I would
like to use @FieldExpressionValidator on the field but I can't get the
syntax right, and searching the docs I can't find much on String
manipulation in OGNL.
Could anyone help me out please?
Thanks
I have encountered the same problem. While I have not fixed it with
Ajax yet, the reason it does not work is because you can not submit a
file through Ajax. You need to use an iFrame to submit file uploads.
On Tue, Feb 17, 2009 at 7:14 PM, Jon Wilmoth wrote:
> I'm curious to know why the s:file
I think it's because you're comparing a single character string, which OGNL
treats as a bit of a special case for some reason.
I dont have my code with me now but I'm pretty sure I had the same problem.
Google 'comparing single character string in ognl' for some pointers (sorry, I
cant verify
oming from (it looks like this):
[0] null
[1] Field[blah]
[2] null
[3] Field[blahblah]
Nearly there - Thanks!
-Original Message-
From: Richard Gundersen [mailto:r.gunder...@salford.ac.uk]
Sent: 05 February 2009 12:00
To: user@struts.apache.org
Subject: Collections and type conversion
H
elieve it should according to the docs.
I've tried lots of variations on the OGNL syntax for the textfield's name
attribute but can't hit the right one; would really appreciate some help.
Thanks
Richard
-
To uns
ding the list
myself but I was wondering if there were some cool Tags that I could
make use of?
Regards
Richard Gundersen
Information & Learning Services
Ashworth Building
ext 56681
-
To unsubscribe, e-mail: user-unsubscr...@struts.
On Thu, Jan 22, 2009 at 11:12 AM, Dave Newton wrote:
> Richard Sayre wrote:
>>
>> First I wrote a method called validate. At this point I found out
>> that I was overriding the ActionSupport method. When I tried to find
>> more information on this method I couldn&
uts can do for me?
On Thu, Jan 22, 2009 at 10:40 AM, Dave Newton wrote:
> Martin Gainty wrote:
>>
>> Richard-
>>
>> this is the AJAX doctype declaration from
>> src/main/resources/struts-ajax.xml
>>
>> >"-//Apache Software Foundation//DTD Str
I am following this article to get Ajax validation working.
http://www.javaworld.com/javaworld/jw-10-2008/jw-10-struts2validation.html?page=1
I was wondering if it is nessessary to use the XML for validation with
Ajax? I was hoping to use some validation on the server side action
to do this. Is
Hi all,
I have a problem I hope you can help with. I have configured Tomcat 6 for
SSO using form-based authentication for two webapps and this works fine for
these webapps when using jsp's for login pages.
Things go awry when I try to configure things further. From the first of my
webapps, I wis
D'oh, don't know how I missed that lol - thanks a million
Richard Gundersen
Java Developer
Email: [EMAIL PROTECTED]
Phone: 01618302398
Fax: 01618342536
London Scottish Bank plc
24 Mount Street
Manchester
M2 3LS
-Original Message-
From: Nils-Helge Garli Hegvik [mailto:[EMAIL
rly.
Could anyone point me in the direction of the Xwork source used to build
Struts 2.0.12 please? Thanks.
Richard Gundersen
Java Developer
Email: [EMAIL PROTECTED]
Phone: 01618302398
Fax: 01618342536
London Scottish Bank plc
24 Mount Street
Manchester
M2 3LS
-Original Message-
From
a.document.close();
a.print();
a.close();
Basically, a popup is opened, the content is pulled from a div in the
parent window with an ID called 'receipt' and that's what gets printed,
then the popup is closed.
Richard Gundersen
Java Developer
Email: [EMAIL
Hi
I just have one smallish question: for some reason my
messages.properties isn't being loaded. It's configured in struts.xml
...and I know that file is generally working because all the other
Struts stuff is working. I'm getting this when my unit test runs (just
at the point when it tries to
Thanks Nils-H
I see what you mean. My action actually is implementing
ServletRequestAware, so I just tried what you suggested and I can see
how that's a bit neater actually. I'll adopt your approach.
Thanks for the tip
Richard Gundersen
Java Developer
Email: [EMAIL PROTEC
This is what I have so far. It works but I would appreciate a little
peer review (particularly regarding how I set up my session and the
logged in user)
Thanks!
@Resource
private CardPaymentAction cardPaymentAction;
ActionContext acti
Hi
Just after a bit of advice for the best way to unit test my Struts 2
app.
I'm using a fairly standard Spring/Struts2/JPA/Junit architecture, and
my tests need access to all my spring beans (which I'm doing using
@Resource tags)
The only sticking point is setting up all of the fake 'request' a
d to the Spring docs which are good but jump around all over the
place!)
Don't know about books for 1.2.9 sorry
Richard Gundersen
Java Developer
Email: [EMAIL PROTECTED]
Phone: 01618302398
Fax: 01618342536
London Scottish Bank plc
24 Mount Street
Manchester
M2 3LS
-Original Message---
input,back,cancel
input,back,cancel
Richard Gundersen
Java Developer
Email: [EMAIL PROTECTED]
Phone
ption {
String result = super.intercept(invocation);
Map attibutes = ActionContext.getContext().getSession();
attibutes.remove(BaseAction.CURRENT_TRANSACTION);
return result;
}
}
*******
Any ideas please?
Richard Gu
, I
use action everywhere. So, there was nothing wrong with the cluster which is a
relief!
Anyone else with the same problem: use the action attribute if you want
jsessionid to be appended to urls...
Richard Gundersen
Java Developer
Email: [EMAIL PROTECTED]
Phone: 01618302398
Fax: 01618342536
Lon
on when he comes back...
Any help might just save my life! Thanks :)
Richard Gundersen
Java Developer
Email: [EMAIL PROTECTED]
Phone: 01618302398
Fax: 01618342536
London Scottish Bank plc
24 Mount Street
Manchester
M2 3LS
As a responsible corporate citizen, London Scottish Bank plc asks you to
Doh, got it
%{errors.size}
Silly me :)
Richard Gundersen
Java Developer
Email: [EMAIL PROTECTED]
Phone: 01618302398
Fax: 01618342536
London Scottish Bank plc
24 Mount Street
Manchester
M2 3LS
-Original Message-
From: Gundersen, Richard [mailto:[EMAIL PROTECTED]
Sent
Hi
Is there an easy way to say 'if validation errors exist', in OGNL? Tried
a few things but not hit on the right syntax yet
e.g. if %{errorFieldNames.size() > 0} etc etc
Thanks
Richard Gundersen
As a responsible corporate citizen, London Scottish Bank plc asks you to
Sorry, ignore me. I needed to escape the slash as well, so my regex is
[0-9]{1,5}\\.[0-9]{2}
Works now :)
Richard Gundersen
Java Developer
Email: [EMAIL PROTECTED]
Phone: 01618302398
Fax: 01618342536
London Scottish Bank plc
24 Mount Street
Manchester
M2 3LS
-Original Message-
From
", expression="[0-9]{1,5}\.[0-9]{2}")
Thanks (sorry, I have googled etc, but I am also lame at regex...!)
Richard Gundersen
Java Developer
Email: [EMAIL PROTECTED]
Phone: 01618302398
Fax: 01618342536
London Scottish Bank plc
24 Mount Street
Manchester
M2 3LS
-Original Message-
Hi
I'm using the VisitorFieldValidator (annotations) to push validation
over to my model object in my Action.
However, I want the validation rules in my model object to work
differently depending on which Action method is being called.
What's the best way of doing this please
Cheers Dave, I'll check it out in the morning
Appreciate you help
-Richard
-Original Message-
From: Dave Newton [mailto:[EMAIL PROTECTED]
Sent: Thu 04/09/2008 17:14
To: Struts Users Mailing List
Subject: Re: Validation based on other fields
--- On Thu, 9/4/08, Gundersen, Ri
Hi
In Struts 2, I need to perform some validation based on other fields
e.g.
if cardType = 'Switch', issueNumber is mandatory
I was looking for something like the validWhen tag from Struts 1. I'd
like to do it with the client side javascript if possible (to prevent
having to reload the
Thanks Antonio
That worked a treat (actually the method I need was the
discardWhitespace method, which isn't public). But that gave me enough
of a hint to implement my own method, and now it all works.
Cheers
Richard Gundersen
Java Developer
Email: [EMAIL PROTECTED]
Phone: 0161830239
Hi
I'm stuggling a bit with a parameter I need to pass through to a JSP in
a frame.
It's a base64-encoded string, so I thought I'd be able to just pass it
through as a request parameter, but I found out it contains newline
chars every 64 characters (which I read is correct), so any JavaScript I
I'm trying to call the String replace method from OGNL. I can't find
any specific examples on how to do this.
I tried the following as a test: [EMAIL PROTECTED]@toString()
This worked ok. My problem is I don't know how to pass string
literals to the method.
Here is my current code:
'
Here i
Thanks David
I'll give it a try - thanks for the tip
Richard Gundersen
Java Developer
Email: [EMAIL PROTECTED]
Phone: 01618302398
Fax: 01618342536
London Scottish Bank plc
24 Mount Street
Manchester
M2 3LS
-Original Message-
From: David N. Arnold [mailto:[EMAIL PROTECTED]
uts 2 to answer this
myself so would appreciate advice.
Cheers
Richard
As a responsible corporate citizen, London Scottish Bank plc asks you to
consider the environment before printing this email.
*** Disclaimer ***
This electronic communication is confidential and for the exclusive use of th
Cheers Dave
I'll dig around and see if theres a good open source alternative (or
failing that, write one myself).
I'll post back if I find anything good
Richard Gundersen
Java Developer
Email: [EMAIL PROTECTED]
Phone: 01618302398
Fax: 01618342536
London Scottish Bank plc
24 Mo
annotation for server side validation (checked
the XWork API..)
Could anyone help me out please?
Richard Gundersen
Java Developer
Email: [EMAIL PROTECTED]
Phone: 01618302398
Fax: 01618342536
London Scottish Bank plc
24 Mount Street
Manchester
M2 3LS
As a responsible corporate citizen, London Sc
.
Regards,
-
On Sun, Aug 10, 2008 at 9:55 PM, Richard Yee <[EMAIL PROTECTED]> wrote:
You are using == to test string equality instead of equals()
-R
Sent from my iPhone
On Aug 8, 2008, at 11:52 PM, "Narasimha Raju Naidu" <[EMAIL PROTECTED]>
wrote:
hi to all,
You are using == to test string equality instead of equals()
-R
Sent from my iPhone
On Aug 8, 2008, at 11:52 PM, "Narasimha Raju Naidu"
<[EMAIL PROTECTED]> wrote:
hi to all,
im sending my code please check where i am doing mistake
form.jsp
---
<%@ taglib uri="/tags/str
eck out the relevant code when I get chance
Thanks again
Richard Gundersen
Java Developer
Email: [EMAIL PROTECTED]
Phone: 01618302398
Fax: 01618342536
London Scottish Bank plc
24 Mount Street
Manchester
M2 3LS
-Original Message-
From: Jeromy Evans [mailto:[EMAIL PROTECTED]
Sent: Wednesday
Nice one - thanks for the tips Gabriel, much appreciated.
Richard Gundersen
Java Developer
Email: [EMAIL PROTECTED]
Phone: 01618302398
Fax: 01618342536
London Scottish Bank plc
24 Mount Street
Manchester
M2 3LS
-Original Message-
From: Gabriel Belingueres [mailto:[EMAIL PROTECTED
;username is invalid' messages on the screen now. I
know this is done by the javascript so I want to know the recommended
way of overriding this behaviour.
Thanks
-Richard
As a responsible corporate citizen, London Scottish Bank plc asks you to
consider the environment before printing th
d like it below (and in line with) the
text box.
2) If I enter an invalid value twice, the original message is still
there, so I have two 'username is invalid' messages on the screen now. I
know this is done by the javascript so I want to know the recommended
way of overriding this behaviour
ot;validate.surname")
I'm guessing that I'm not supposed to use the visitorFields annotation
with the others. Was giving me some really strange behaviour. Will hunt
for some better examples...
Richard Gundersen
Java Developer
Email: [EMAIL PROTECTED]
Phone: 01618302398
Fax: 01618342
e logs, when I enter an empty surname, I see "surname is invalid"
when I expect. The same message is not in the logs when I enter a valid
value, so I would expect it to then drop into my 'execute' method. But
it doesn't, it just returns to the 'input' page...
Why don't you post your code. It seems that it might have a threading issue.
-R
Arun M wrote:
We are using struts 2.0.11
We have lots of action class. Say one of them is CustomerRegisterAction
(which extends ActionSupport ) . When a say user X registers himself on
the website; this CustomerR
AIL PROTECTED]> wrote:
> Richard Sayre wrote:
>>
>> I have a form containing text areas. When I copy a bunch of character
>> data such as:
>> 2öÂnJ1ÈÏúÄp8éÎdìåmðh4uæEÍÉieÔWán2ÅìbØÉÅÀ1JÎZÏôsC5LòÚAPúÜaÃÙPC5üÆCJWCOzùÙtÒQqùét
>>
>> into the text are, it displays nor
I have a form containing text areas. When I copy a bunch of character
data such as:
2öÂnJ1ÈÏúÄp8éÎdìåmðh4uæEÍÉieÔWán2ÅìbØÉÅÀ1JÎZÏôsC5LòÚAPúÜaÃÙPC5üÆCJWCOzùÙtÒQqùét
into the text are, it displays normally. When I save the data, the
database stores the characters properly, when the data returns t
enerated code
> with your own.
>
> Dave
>
> --- On Mon, 6/9/08, Richard Sayre <[EMAIL PROTECTED]> wrote:
>
>> From: Richard Sayre <[EMAIL PROTECTED]>
>> Subject: Re: Struts 2 Performance
>> To: "Struts Users Mailing List"
>> Date:
self. I'm not sure what to search
for to find information on this. Can you point me to any articles or
documentation?
Thank you,
Rich
On Fri, May 30, 2008 at 5:05 PM, Laurie Harper <[EMAIL PROTECTED]> wrote:
> Richard Sayre wrote:
>>
>> Hi,
>>
>> I have a
Could you use s:hidden on the form to store your params?
On Wed, May 7, 2008 at 10:47 PM, Eduardo Dela Rosa
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> I was trying to use the and invoke it with *some *parameters
> using .
>
> i.e.,
>
> *
>
>
>
> *
>
> However, the parameters don't seem t
I have an Action that could display several pages based on some info
passed to it.
Basically, its a preview action that will show the proper preview page
based on some input.
The way I am think of doing it is to use custom results to redirect to
the proper preview page:
if (preview1) {
retur
No it doesn't
On Wed, Mar 19, 2008 at 2:14 PM, Lukasz Lenart
<[EMAIL PROTECTED]> wrote:
> Does your action implements ValidationAware interface?
>
>
>
>
>
> Regards
> --
> Lukasz
>
> http://www.linkedin.com/in/lukaszlenart
>
> --
oad is too big. I checked the source and I could not find
where this is being implemented. I have on my page
which i return input to, but as I said earlier my upload action is
hanging.
On Wed, Mar 19, 2008 at 1:12 PM, Richard Sayre <[EMAIL PROTECTED]> wrote:
> I set the file upl
I set the file upload max size in the struts.properties to 15MB. When
I upload a file over 15MB my action returns input. Is there any way I
can check to see if the file is over the max size set in the
properties file and handle what result I want to happen myself? I
seems that it returns input b
public String getYesOrNo() {
>return yesOrNo;
>}
>public void setYesOrNo(String yesOrNo) {
>this.yesOrNo = yesOrNo;
>}
> }
>
> (2) The JSP:
>
> Is Struts2 good?: value="Yes, it is..">
>
> regards,
> Rushikesh
try:
">Copy
if id is on the stack, you can get it with OGNL
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 this :
>
>
>
>
>
I made a slight error
readonly="%{fullAccess}" with s:textfield does not work but
readonly="true" />
works.
On Thu, Mar 13, 2008 at 10:48 AM, Richard Sayre <[EMAIL PROTECTED]> wrote:
> If the disable attribute is present in a HTML tag it will be disable,
&g
If the disable attribute is present in a HTML tag it will be disable,
no matter what the value of the attribute is.
So if I have a s:select and I say disabled="false" it will be
disabled (renders disabled="disabled").
But if we have a text, and we set readonly="false" it will not be editable.
O
you can say, document.location.href = '?myId=' + myId;
This will cause the whole page to refresh, so you should probably have
a prepare method if you have any data that needs to be populated on
that page (ie your table).
I personally would use Ajax to make the call, having a full page
refresh on
I have a select that populates with a int,string id/value combo. To
get the s:select to select the proper option I had to crate another
value in my action (int myId). This would be set to the id of the
option to select. Then I had to set the name attribute of my select
to myId (name="myId").
On
I think what you are looking for is caled bread crumbs.
There is a plug in to help with this
http://cwiki.apache.org/S2PLUGINS/breadcrumbs-plugin.html
On Fri, Feb 29, 2008 at 5:04 AM, Sanjeewa Saman <[EMAIL PROTECTED]> wrote:
>
>
>
>
> Hi all,
>
>
>
> I want to add my page links in the top of
Thank you everyone for your input. I will research a little further
to see how I am going to do this.
On Tue, Feb 26, 2008 at 5:17 PM, Randy Burgess <[EMAIL PROTECTED]> wrote:
> > From: Richard Sayre <[EMAIL PROTECTED]>
> > Reply-To: Struts Users Mailing List
> >
1 - 100 of 524 matches
Mail list logo