Sorry to hear it didn't work.
I am having my own share of problems with that ExpressionValidator, and I
found one useful suggestion in the following doc:
http://www.opensymphony.com/xwork/wikidocs/ExpressionValidator%20Tips.html
Look for the section entitled "Use the validation message for debuggi
Hi
I am having a problem in getting the confirmation of a delete operation. My
requirement is that:
I have a list of user and I have a DELETE link for each and evey user in
the list. I already defined a delete action mapping for the user but before
deleting the user I want to get confirmation f
Hi,all
I set struts-action-extension="" for no extension as "action" or "do" by
default for struts2, and mapping all url to struts2 dispatcher as "/*".
But, the problem is I can not access any jsp, html,css and js files. The
page display:there are no action mapping for XXX.jsp action.
Should any on
On Sat, Aug 2, 2008 at 9:17 PM, Pierre Thibaudeau
<[EMAIL PROTECTED]> wrote:
> Since it's "expression" is an OGNL expression, have you tried instead:
>
> @FieldExpressionValidator(expression = "usernameAvailable", message = "...")
>
> which would attempt to find, in turn, getUsernameAvailable() and
Since it's "expression" is an OGNL expression, have you tried instead:
@FieldExpressionValidator(expression = "usernameAvailable", message = "...")
which would attempt to find, in turn, getUsernameAvailable() and then
isUsernameAvailable()... I would be curious to know if that works.
My two cen
I placed validation code for one of my fields inside action's method
and I'm trying to call it using OGNL expression:
@Validation
public class RegistrationAction extends ActionSupport {
private String username;
public boolean isUsernameAvailable() {
2008/7/29 [EMAIL PROTECTED] <[EMAIL PROTECTED]>
> [...] First, might I make the assumption that type
> converters and validators can be represented as beans. Reason being is
> because I need to be able to do dependency injection via spring.
Converters as beans: that's not a problem. I have a s
Struts are just jar files. From Eclipse POV, it is just another User
Library or J2EE Module Dependency.
You may find more help in an Eclipse specific mailing list/forum.
2008/8/2 Narasimha Raju Naidu <[EMAIL PROTECTED]>:
> thanks for your reply. i installed eclipse but inorder to strat struts
> ap
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 wh
thanks for your reply. i installed eclipse but inorder to strat struts
application what are the steps required any reference sites, please mention.
waiting for your reply.
Regrads...
On 8/2/08, Gabriel Belingueres <[EMAIL PROTECTED]> wrote:
>
> Install yourself a nice looking IDE like eclipse,
Install yourself a nice looking IDE like eclipse, netbeans or from any
other vendor. They handle classpaths and Tomcat configurations with a
few clicks of your mouse.
2008/8/2 Narasimha Raju Naidu <[EMAIL PROTECTED]>:
> hi to all,
>
> i am using ubuntu OS and recently i installed tomcat and starti
Hi,
the correct answer was the last one. After set showLoadingText="false" it works
properly in IE and Firefox. I hadn't tested it on Firefox and it worked before
making the change.
Thanks a lot...
> Date: Sat, 2 Aug 2008 20:59:18 +1000
> From: [EMAIL PROTECTED]
> To: user@struts.apache.org
>
I did achieve the desired functionality but not with ajax anywhere. Rather i
used Javascript and DWR to make it REFRESH free. Search google for DWR and
displaytag it will provide you some examples. If you dont find any, you can
always contact me.
Shoaib
dynamicd wrote:
>
> Hey Shoib,
>
> I ha
Hi Francisco,
Issue number 2 takes precedence over Issue number 1 as if there's no
user info available, then validation fails, errors appear on every field
and the fields are empty.
Which implies the properties are not being set on your action (you can
verify that).
Which implies Dojo is no
Well, actually no.
I work through my application 30 mins. with my session o.k., but when I came
to redirect action it dissapear. I will create test application with nearly
empty action class and jsp-s to try if redirect action
to another namespace really delete session, as it happes to me. I chec
Hi,
I define in my menu.jsp page two . On the left the menu which always
appears. On the right, the part which is updated after every action.
Then I have another jsp with a form, the xml validation file and the POJO.
The action definition is:
/src/jsp/crear/usuarioCrear.jsp
16 matches
Mail list logo