Hello,
Has anyone tried AjaxAnywhere with Struts 2.1? My action class is never
called. Actually, i am using ajax to achieve pagination in displaytag. I
have used the example from the following link
raibledesigns.com/rd/entry/the_future_of_the_displaytag. But the control
doesnt reach my action cla
Hi All,
Does someone now the replacement for MessageResourceConfig and
MessageResourceFactory in struts2. And also need a brief description for
using message resources in struts 2.
Thanks in Advance,
Sandeep
--
View this message in context:
http://www.nabble.com/Replacement-For-MessageResource
The other benefit of the DAO / Manager / Action layers is that you can
use spring to wire up the Manager/Service methods as the transaction
boundaries. Sets of changes you want to all succeed or fail atomically?
Put it in the manager. Managers are where business logic belongs,
DAO's where DB
Finally I found the problem!
I did apply a slight change to the validator.xml yesterday: just added the
following xml header.
http://jakarta.apache.org/commons/dtds/validator_1_1.dtd";>
But in the above header, the version of validator is declared as 1.1 while in
my validator-rules.xml, the ve
Hi all,
It seems that my struts application's validator does not work. I've add
to my struts-config.xml and these two files surely exist.
Actually, it did work yesterday and I don't remember there are any change
applied to my application. But the validator just does not work.
Have you e
Eric D Nielsen on 25/03/08 14:29, wrote:
Its a Struts2/Spring2/JPA(Hibernate) based project. I'm using a slightly
modified version of the Generic DAO pattern shown in the Java persistence with
Hibernate book and/or the IBM ThoughtWorks very similar example. (Modified to
allow Spring Based Injecti
mojoRising wrote:
Struts 2 - Java - JSP
For storing user login information in the database, when a user logs in I
need to get the following types of information: Hostname, IP address,
User-Agent, sessionId, etc.
Before using Struts2, I would access the HTTPSession and request object and
use meth
Struts 2 - Java - JSP
For storing user login information in the database, when a user logs in I
need to get the following types of information: Hostname, IP address,
User-Agent, sessionId, etc.
Before using Struts2, I would access the HTTPSession and request object and
use methods such as:
reques
Since html:submit doesn't emit any Javascrip, the error has to be in
your custom Javascript code. That came through somewhat unreadably
formatted, though, and you didn't include its dependencies so it's tough
to debug from here... I would strongly recommend installing Firefox +
Firebug and step
Eric D Nielsen wrote:
I'm starting to get some rather stinky code in one of my projects and wanted to
ask for some advice. (
Its a Struts2/Spring2/JPA(Hibernate) based project. I'm using a slightly
modified version of the Generic DAO pattern shown in the Java persistence with
Hibernate book and/
Kalpesh Modi wrote:
Hi,
I am having a problem in updates.
I have a base class Employee.java. I have subclasses HourlyEmployee.java,
ContractEmployee.java, FullTimeEmployee.java.
I display these three types of employees under 3 tabs on my JSP.
I create 3 lists for each type of employees and put
On Tue, Mar 25, 2008 at 1:23 PM, Andriy Kharchuk
<[EMAIL PROTECTED]> wrote:
> Hi guys,
>
> Is there standard or preferable way to enable user to go back when he/she
> browses website?
> As of now I can think only of caching something like
>
> http://acegisecurity.org/acegi-security/xref/org/ac
Hi guys,
Is there standard or preferable way to enable user to go back when he/she
browses website?
As of now I can think only of caching something like
http://acegisecurity.org/acegi-security/xref/org/acegisecurity/ui/savedrequest/SavedRequest.htmlor
request.getRequestURL()+request.getQueryString
wwwclaes wrote:
Hi, we have an S2 application with a lot of actions that are supposed to be
called from html forms. Since a few weeks ago something or someone has
started calling these actions directly, hence the required input values are
missing (which generate a lot of error mails to us adminis
Chris Pratt wrote:
On Mon, Mar 24, 2008 at 10:58 PM, Chen Chunwei
<[EMAIL PROTECTED]> wrote:
Maybe some pre-defined style of message display or something else.
I know I can do these all myself. But if there's already something can do
this, why not just use it?
There are the , , and
tags,
--- cree <[EMAIL PROTECTED]> wrote:
> My problem arises when I write out html to a jsp in a way like
> out.println(" with theme="ajax" and targets set to a panel div.
That's not how things work.
JSPs are compiled (by the container) into a servlet; you don't have a JSP,
you have an output stream
My problem arises when I write out html to a jsp in a way like
out.println("Link
When dojo renders this source I get an error of:
DEBUG: DEPRECATED: dojo.widget.Manager.getImplementationName Could not
locate widget implementation for "a" in "s.widget" registered to namespace
"s". Developers must
meeboo wrote:
Still no solution to this problem. How come parameters in actions with
wildcards (for example myapp/modelObject/*) aren't parsed in the prepare
method? They work fine when I parse them in my assigned action method :(
If you're using 2.1, there are now a number of ways in which par
I have done that. Every time i get this error. I have no idea why this is
thrown, and i don't know what he wants. Is there no librabry loaded for
parsing the jsf page? I have no idea.
On Mon, Mar 24, 2008 at 4:03 PM, Randy Burgess <[EMAIL PROTECTED]> wrote:
> I would take everything out of your J
I am trying to use the tag in my jsp page but am getting the
following javascript error,
Microsoft JScript runtime error: Object expected.
In my jsp page I have:
*
Here is the javascript funtion that is called when a onchange event is detec
I'm starting to get some rather stinky code in one of my projects and wanted to
ask for some advice. (
Its a Struts2/Spring2/JPA(Hibernate) based project. I'm using a slightly
modified version of the Generic DAO pattern shown in the Java persistence with
Hibernate book and/or the IBM ThoughtWorks
Still no solution to this problem. How come parameters in actions with
wildcards (for example myapp/modelObject/*) aren't parsed in the prepare
method? They work fine when I parse them in my assigned action method :(
meeboo wrote:
>
> Hey again
>
> I'm posting via nabble, and it seems to strip
Hi,
I am having a problem in updates.
I have a base class Employee.java. I have subclasses HourlyEmployee.java,
ContractEmployee.java, FullTimeEmployee.java.
I display these three types of employees under 3 tabs on my JSP.
I create 3 lists for each type of employees and put these lists in a Hash
2008/3/24, Tom Holmes Jr. <[EMAIL PROTECTED]>:
>
> The number of combo-boxes will change dynamically ... based on previous
> information.
I think that, in your case, you need to manage HttpServletRequest parameters
directly. There's nothing wrong with it :-)
Antonio
2008/3/22, Thangalin <[EMAIL PROTECTED]>:
>
> styleClass="filter">
Does "select_name" have the value "fiscal_year"?
Antonio
--- Ezequiel Puig <[EMAIL PROTECTED]> wrote:
> in my jsp, i have an array of ids and i will like to remove one of that
> ids using s2 tags:
>
> I have tried the following, but it doesn't work :(
>
>
>
>
>
>
>
>
>
> Does anyone know how to do it ?
Depending on the und
Hi,
in my jsp, i have an array of ids and i will like to remove one of that
ids using s2 tags:
I have tried the following, but it doesn't work :(
Does anyone know how to do it ?
thanks.
Ezequiel.
27 matches
Mail list logo