I have a form with multiple input fields, and I am using the "simple" theme.
Is it possible to determine (maybe using ) when a given field fails
validation? I already tried hasFieldErrors(); however, hasFieldErrors() does
not allow me to distinguish which field on the form fails.
Here is what I
I always try first in Firefox, you know...
And yes, I´m debugging with firebug (what would I do without this tool??).
If I begin my "Plugins.jspx" with "jsp:root" tag (with no syntax
problem, as it works fine when is loaded by "ShowPlugins.do" action) the
load function from the javascript give
hi,
you have to use
To: "Struts Users Mailing List"
Sent: Wednesday, January 23, 2008 6:21 PM
Subject: Re: combobox - howto eliminate the optional text-field?
> Isn't that a select?
>
> http://struts.apache.org/2.x/docs/select.html
>
> --- xianwinwin <[EMAIL PROTECTED]> wrote:
>
> >
> > hi all
Hi,
I am stating the use of struts 2 and I would to know how can I customize
the ajax validation errors.
I know how to customize the style but I would like to customize the
location of the error that will appear
At the moment it appears only at the op of the textfield, I would like
to change
In this case, you've isolated your problem to the database read/write
phase, which means it's not a Struts issue. You'll need to look again
at your database configuration and whatever middleware you're using
to communicate with it (e.g. JDBC, Hibernate). The specifics will
depend on you
Hi All,
I'm new in struts and I can't solve a little problem... I'm trying to
populating a tree with data from a database, and I'd like to do that using
the iterator tag. My code is the following one:
">
"/>
Hi, I have created one Custom ActionMapper for custom urls.
Now I want to use this custom action mapper with dynamic dispatch action for
method setting.
Here is code for jsp file
Here is for struts.xml
UserList.jsp
how can I setMethod as "pagedSearchi
2008/1/24, Jayakrishnan KR <[EMAIL PROTECTED]>:
>
> I am using Tiles 2.0.5 with Struts 2.0.6
Struts 2.0.6 is not compatible with Tiles 2.0.5.
Please upgrade to Struts 2.0.11.
Antonio
hi,
has no one an idea?
kind regards,
frank
-Ursprüngliche Nachricht-
Von: Otto, Frank [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 23. Januar 2008 12:18
An: 'user@struts.apache.org'
Betreff: struts2/dojo: duplicate events (struts 2.0.11)
hi,
I have a ajax div (div1) in another aj
Hi,
I think it is better to use like this:
in the browser will appear (the absolute path):
- Original Message -
From: "Randy Burgess" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Wednesday, January 23, 2008 6:37 PM
Subject: Re: Java Script in JSP pages
> Try this.
HI
Sorry for asking silly quesstion ,i have downloaded showcase.war
file from struts site,can any body tell me how to deploy that file in
netbean.awaiting for ur reply
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addition
Hi,
for my understanding NetBean is an IDE and if you have the project setup
in NetBean you can run it with the application server/ servlet container
you have configured in there. what i would suggest is to deploy this
.war file in Tomcat.
Thanks,
Nuwan
(http://code.google.com/p/struts2-ssl
sorry friend this was also not working.
Naveen
On Jan 24, 2008 3:07 PM, Alexandru BARBAT <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I think it is better to use like this:
>
>
>
> in the browser will appear (the absolute path):
>
> src='/yourContextName/Calendar/calendarDateinput.js'>
>
>
>
>
> -
2008/1/24, naveen k <[EMAIL PROTECTED]>:
>
> sorry friend this was also not working.
Why don't you contact Jason's calendar developers then?
Stop this thread, it's off-topic here.
Antonio
:) ok
So my advice is to write in browser
http://yourserver:port/context/calendarDateinput.js
and hit enter.. if popup download window appear with that js file it means
the problem is elsewhere not in jsp-struts.
- Original Message -
From: "naveen k" <[EMAIL PROTECTED]>
To: "Struts User
I'd probably urge you to modify an existing template or create your own,
though.
d.
--- Rubens <[EMAIL PROTECTED]> wrote:
>
> I have a form with multiple input fields, and I am using the "simple"
> theme.
> Is it possible to determine (maybe using ) when a given field fails
> val
--- Martin Gainty <[EMAIL PROTECTED]> wrote:
> Dojo uses registerModulePath to associate the package with the folder e.g.
>
> dojo.registerModulePath("foo", "tests/_base/_loader/744/foo");
> dojo.require("foo.bar");
>
> will properly locate packagename.javascript file you were looking for
Dojo?
following up on "You need to check your file paths and understand relative
links in your web application."
Dojo uses registerModulePath to associate the package with the folder e.g.
dojo.registerModulePath("foo", "tests/_base/_loader/744/foo");
dojo.require("foo.bar");
will properly locate packa
If I add this script to the end of Plugins.jspx, firebug says: "dojo is
not defined". How is it possible?
function fixLinks() {
var wid = dojo.widget.byId("removePluginAnchor");
alert(wid);
}
dojo.addOnLoad(fixLinks);
thanks for ur update antanio.
On 1/24/08, Antonio Petrelli <[EMAIL PROTECTED]> wrote:
>
> 2008/1/24, Jayakrishnan KR <[EMAIL PROTECTED]>:
> >
> > I am using Tiles 2.0.5 with Struts 2.0.6
>
>
> Struts 2.0.6 is not compatible with Tiles 2.0.5.
> Please upgrade to Struts 2.0.11.
>
> Antonio
>
Dear All,
I've been trying to set up a little struts app to play with some actions
and whatnot and just as a little exercise and I seem to have rather
stumped myself. Essentially I'm getting a
java.lang.NullPointerException: Module 'null' not found. Exception when
I deploy to Tomcat.
However as f
Chris, I really love the Unobtrusive Date-Picker Widget at
http://www.frequency-decoder.com/2006/10/02/unobtrusive-date-picker-widgit-update
I had to make some modifications to it to work better for my site (do
not automatically create the object, do not create the inputs or buttons, a
few other t
hi,
You don't have to define properties form in struts-config when you use
classic ActionForm.
it will be enough :
...
...
- Original Message -
From: "James Cockrill" <[EMAIL PROTECTED]>
To:
Sent: Thursday, January 24, 2008 6:07 PM
Subject: Noddy struts problem: java.lang.NullPointerEx
Hi All!
I'm trying to use the tree tag in my web application, but I can't build it
from a variable. I've been searching and I've found the showcase example,
but these trees are created manually (witting the content of the label).
%-|
I'd like to populate the tree with data from the database.
T
On Jan 24, 2008 7:58 AM, Brian Relph <[EMAIL PROTECTED]> wrote:
> Chris, I really love the Unobtrusive Date-Picker Widget at
> http://www.frequency-decoder.com/2006/10/02/unobtrusive-date-picker-widgit-update
>
> I had to make some modifications to it to work better for my site (do
> not automatica
Hi,
I have an action that has an object of type "User" as a property. I
have a jsp that has a form with several fields, each one targets a
property of this User object.
How can I use annotations to validate these fields?
public class User {
private String name;
private String email;
// ge
Chris-
Did'nt see support for toggletype?
M-
- Original Message -
From: "Chris Pratt" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Thursday, January 24, 2008 11:45 AM
Subject: Re: JSP Date Control
> On Jan 24, 2008 7:58 AM, Brian Relph <[EMAIL PROTECTED]> wrote:
> > Chris,
On Jan 24, 2008 9:31 AM, Martin Gainty <[EMAIL PROTECTED]> wrote:
> Chris-
>
> Did'nt see support for toggletype?
>
> M-
>
What's ToggleType?
(*Chris*)
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
I think it's one of the "special effects" in the tag.
--- Chris Pratt <[EMAIL PROTECTED]> wrote:
> On Jan 24, 2008 9:31 AM, Martin Gainty <[EMAIL PROTECTED]> wrote:
> > Chris-
> >
> > Did'nt see support for toggletype?
> >
> > M-
> >
>
> What's ToggleType?
> (*Chris*)
>
> ---
Yeah that works great with Struts 1.
Regards,
Randy Burgess
Sr. Web Applications Developer
Nuvox Communications
> From: Alexandru BARBAT <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List
> Date: Thu, 24 Jan 2008 14:07:17 +0200
> To: Struts Users Mailing List
> Subject: Re: Java Script
hi all,
I wanna ask a question about Struts i18n. I have two resource files;
ApplicationResources(this contains English words) and ApplicationResources_de.
Also I have flag buttons on the top of the page. I want to make multi language
support like this: when you login you can see the flags on
hi,
I've googled a bit and found thiz:
session.setAttribute("org.apache.struts.action.LOCALE", *new* Locale("en"));
http://forum.java.sun.com/thread.jspa?threadID=573861&messageID=2854271
http://www.jguru.com/faq/view.jsp?EID=1057614
^g^
2008/1/24 volkan tokmak <[EMAIL PROTECTED]>:
> hi al
Hi all,
I wonder if it is possible to pass a parameter with a value to an
interceptor.
Example:
I have the following interceptor:
(parameterGivenInXmlFile==4)
the implementation is:
public String intercept (ActionInvocation invocation) throws Exception
{
Hi,
yes it is possible., just implement a setter and getter method for the
parameter you have in the struts.xml file. and it will be available to
you in the intercept method.
eg:-
// in the intercept class..
private String httpPort;
public String getHttpPort() {
return httpPort;
We have adopted using the URL Rewrite Filter (http://tuckey.org/urlrewrite/)
which like Apache lets you use SEF addresses which are then mapped to
.action urls.
Z.
>
> Hi,
> I think you missed something struts.action.extension=action,, leads to not
> actions without ".action" but to the acti
Hi,
I am trying to understand how to use the for a rule or can I give
anything I want. (user defined) ?
min18
max65
Thanks in Advance.
-Jerry
--
Notice: This e-mail messa
Hi All,
Does anyone (know of/have any) resources that cover writing a tag?
I want to write a struts2 body tag that sets some applications specific
state before it emits it's body, and clears the state once the body has
been emitted. Any tag-writers guides out there???
thanks in advance,
- dar
On Jan 24, 2008 1:04 PM, xianwinwin <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> I wonder if it is possible to pass a parameter with a value to an
> interceptor.
>
> Example:
>
> I have the following interceptor:
>
> class="com.struts.security.AuthenticationInterceptor"/>
>
> (parameterGivenInXmlFi
Hello , I am new to struts2. Please help me on this problem.
I have a configuration like this
/page1.jsp
/page2.jsp
/page1.jsp
/page2.jsp
/page2.jsp
The flow is I submit a form from page1 to Action
Hi All,
Please tell me is it possible to develop Struts2 applications using latest
version of MyEclipse as i came to know that even the latest version of
eclipse support only Struts 1.3.
Any Guidance in this regard is much appriciated.
hi,
i think whats not possible is
...
< param name="...">${actionclass'sVariable}
...
i.e. getting the variable form action calss and accessing it or evaluating
an expression as the param value.
any ideas how this is possible
cheers,
ravi
nuwan chandrasoma-2 wrote:
>
> Hi,
>
> yes it is
hi,
i badly need the solution to this problem. i had posted this issue on xwork
forums, struts fourms previously also, but hardluck: no reply :(
i am reposting the same again... atleast let me know if this idea itself is
wrong!!! or any better approach/ is there?
ravi_eze wrote:
>
> hi,
>
Kevin,
You didn't mention what page has the form you're submitting, but let me call
that "page0". Let's say it has two buttons: Button1 for Action1, and Button2
for Action2. I'm assuming that you entered data and hit Button2, and this
worked fine until you added the validation descriptor for Action
Ravi,
>From my understanding of OGNL, it *should* use the model object's conversion
descriptor. It's probably more surprising that it called convertFromString
without it. Are you using defaultStack?
I believe providing the model object's descriptor is the correct approach,
and you indicate that it
Thank you Jeff for the reply.
did u mean the *converter* attribute of the action tag that we give in
struts.xml? I didnt give any such attribute in it. I added
ActionClass-conversion.properties: in which i mentioned the attribute to
pickup a class which implements convertFromString and viceversa
Hi All,
I have the following 2 actions defined:
RETRIEVE
/jsp/main.jsp
STORE
list.action
list.action
When the addMember.action is called, it will add a member to DB. It will
return act
Have a look at;
https://issues.apache.org/struts/browse/WW-1963
- Original Message -
From: "quinquin2209" <[EMAIL PROTECTED]>
To:
Sent: Friday, January 25, 2008 7:30 AM
Subject: Action method is not called when the page is redirected with
actionError
Hi All,
I have the followi
47 matches
Mail list logo