Hi,
I deployed struts2-showcase-2.0.6.war to Tomcat 5.5. AJAX samples worked
just fine. Then I deployed the same .war to Websphere 6.1. None of the
AJAX samples worked. Other samples seems to work normally. Could it be
that Websphere doesn't handle baseRelativePath in djConfig the same way
Hi
I'm having the same problem, seems like putting the strings in a POST
request is transforming the characters (in my case the swedish auml, and
son forth, is erroneous).
I use Struts, Tomcat and Tiles (and Ant to build and distribute) and I have
also set the encoding in both JSP's, request
Hi,
I've been trying to get MySQL working in my Struts app with NetBeans 5.5 and
Sun Java System Application Server 9. I think I'm almost there, because
NetBeans can succsesfully connect to MySQL, but my app can't. I read tons of
posts in the mailing list archive but I couldn't solve the
Hi,
I'm looking for an example for the access of multiple datasources (mysql) on
different mysql servers.
Is the solution to put many declarations of datasource in
applicationcontext.xml?
Thx in advance
Philippe
-
To
And I guess that the form bean attributes is set prior to any code in the
form class, so that you can't set the characterEncoding in the form class
(at, for example, the beginning of initialize() method), or...?
Joe Germuska wrote:
I had problem with character encoding in my web application. I
You could use DWR's reverse ajax which allows the server to push data to
clients rather than the clients polling which can be inefficient.
http://getahead.org/dwr/changelog/dwr20m1
http://getahead.org/dwr/download
YagNesh wrote:
Hi,
We have been trying to create a trading portfolio page
No problem.
I'm happy that JSControlsTags please you.
Regards Angelo
2007/3/23, temp temp [EMAIL PROTECTED]:
It works Thank you very much.Sorry for the complain It was my mistake i
just downloaded src after ur reply i downloaded use cases i was able
to run the jsp it works.
Once
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Riffla,
riffla wrote:
And I guess that the form bean attributes is set prior to any code in the
form class, so that you can't set the characterEncoding in the form class
(at, for example, the beginning of initialize() method), or...?
Correct. You
Did you try enabling the dojo debug? (s:head theme=ajax debug=true /)
musachy
On 3/23/07, Tapio Holopainen [EMAIL PROTECTED] wrote:
Hi,
I deployed struts2-showcase-2.0.6.war to Tomcat 5.5. AJAX samples worked
just fine. Then I deployed the same .war to Websphere 6.1. None of the
AJAX samples
Hi folks!
I have this code below :
s:tree label=Teste de Árvore id=arvore
treeSelectedTopic=arvoreSelecionada
s:treenode label=Raíz id=raiz
s:treenode label=Folha1 id=folha1/
s:treenode label=Folha2 id=folha2/
/s:treenode
/s:tree
But, when i execute my application, it happens
How about using Prototype.js? It has a class specifically designed for AJAX
timer behavior.
On 3/23/07, YagNesh [EMAIL PROTECTED] wrote:
Hi,
We have been trying to create a trading portfolio page which lists about
20
stocks with prices.
We need that stock price to be refreshed every 20-30
Many Struts applications contain hundreds of pages. To help organize
large applications, the Struts configuration is designed around the
notions of packages and namespaces. Each package can set its own
defaults, including a namespace setting.
struts
package name=example namespace=/example
That would be the same thing as the timee on the div tag, DWR has a polling
mode, which uses a timer, and another mode(comet? not sure about the name)
that keeps an open connection with the client, and pushes the data.
musachy
On 3/23/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
How about
Not in showcase.
- Tapio
On Fri, 23 Mar 2007 14:16:53 +0200, Musachy Barroso [EMAIL PROTECTED]
wrote:
Did you try enabling the dojo debug? (s:head theme=ajax debug=true
/)
musachy
On 3/23/07, Tapio Holopainen [EMAIL PROTECTED] wrote:
Hi,
I deployed struts2-showcase-2.0.6.war to
Thanks for the reply
Actually, we do use a filter setting the encoding to UTF-8, though I'm not
sure if my problem is exactly the same as above.
Sending a request form a JSP using ISO-8859-1 with POST method (no problem
using GET method or UTF-8 on origin page) to either a Struts action or
ajax control freemarker template file
specified in default.properties
struts.ui.theme=ajax
-OR-
in jsp
s:treenode theme=ajax label=Label id=ID
HTH,
M-
---
This e-mail message (including attachments, if any) is intended
Hi,
Do you know what I can do to resolve this problem ?
I already clean the project and I saw my classpath, but it doesn´t work yet.
Any idea ?
-Mensagem original-
De: Don Brown [mailto:[EMAIL PROTECTED]
Enviada em: quinta-feira, 22 de março de 2007 19:36
Para: Struts Users Mailing
I would work with the Websphere DOJO Toolkit by D/Ling Ajax for IBM Websphere
Program
https://www14.software.ibm.com/iwm/web/cc/earlyprograms/websphere/ibmajaxw/
M--
---
This e-mail message (including attachments, if any)
We are looking for a full-time Java web programmer who is familiar with
WebWork/Struts 2.0. Actual WebWork/Struts 2.0 is less important as long as
you are smart in Java and are curious about JRuby.
If you are interested, drop me an email (michael-a.wu at db dot com) for
more details.
Thanks,
What happens if the new (and preferred) key form is used instead?
s:textfield key=user.zip.city readonly=true /
-T.
On 3/22/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
I discovered something strange today after adding logging to my domain
classes. If I have the following text field on my
Is it the server-side or client-side validation that is firing when it
should not?
If it is the client-side, and the custom scripts are based on
Prototype, there could be DOM-related issues, since Prototype rewrites
the DOM.
-Ted.
On 3/22/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
I have
This looks like a much better form! I'll try it once I get booted up and
let you know.
Scott
On 3/23/07, Ted Husted [EMAIL PROTECTED] wrote:
What happens if the new (and preferred) key form is used instead?
s:textfield key=user.zip.city readonly=true /
-T.
On 3/22/07, [EMAIL PROTECTED]
On 3/15/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Is there a one-stop grid that identifies what each of these symbols
represent and if/when they are even necessary?
If there were, I believe it would be here
* http://struts.apache.org/2.x/docs/ognl.html
I checked WebWork in Action, and
Server side.
On 3/23/07, Ted Husted [EMAIL PROTECTED] wrote:
Is it the server-side or client-side validation that is firing when it
should not?
If it is the client-side, and the custom scripts are based on
Prototype, there could be DOM-related issues, since Prototype rewrites
the DOM.
-Ted.
Hi!
The url tag:
@s2.url id=urlMenu namespace=/Menu action=getTreeMenu
@s2.param name=decorate value=false /
/@s2.url
This tag works properly for a link.. as follows:
a href=${urlMenu}test/a
Result:
http://localhost:8088/WebStageCMS_v2/Menu/getTreeMenu.action?decorate=false
But the
What happens if the custom JavaScripts are not used, but the
validation element is used?
If the JavaScript seems to be culprit, then I'd use FireBug or
something to watch the request, to see if there is something funky
going on there. The server-side can only handle what it receives.
-Ted.
On
That worked nicely!
Thanks Felipe.
Laxman
-Original Message-
From: Felipe Rodrigues [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 22, 2007 7:08 PM
To: user@struts.apache.org
Subject: Re: Major performance issue while displaying data in
tabbedPanel
Copy the template dir under the
Actually, I removed the js attributes and it behaved the same.
On 3/23/07, Ted Husted [EMAIL PROTECTED] wrote:
What happens if the custom JavaScripts are not used, but the
validation element is used?
If the JavaScript seems to be culprit, then I'd use FireBug or
something to watch the
Ted,
Thank you so much for sending this out. I was wandering what was the
difference between namespace and package. I guess this explain well.
Thanks !
hff
On 3/23/07, Ted Husted [EMAIL PROTECTED] wrote:
Many Struts applications contain hundreds of pages. To help organize
large
Is the target type a String?
On 3/23/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Actually, I removed the js attributes and it behaved the same.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
What do you mean by target type?
On 3/23/07, Ted Husted [EMAIL PROTECTED] wrote:
Is the target type a String?
On 3/23/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Actually, I removed the js attributes and it behaved the same.
yes, little tips like this are appreciated.
On 3/23/07, Harring Figueiredo [EMAIL PROTECTED] wrote:
Ted,
Thank you so much for sending this out. I was wandering what was the
difference between namespace and package. I guess this explain well.
Thanks !
hff
On 3/23/07, Ted Husted [EMAIL
Hi,
I post my message in this forum, because perhaps somebody would be interset
with my project.
I'm developping plugin eclipse Akrogen
http://akrogen.sourceforge.net/index.html
which is able to
generate code.
With Akrogen you can write your wizard page with XML.
But I'm developping new version
Thank you Ted,
like Harring I also wondered what namespaces are all about and decided they
arent that important to me - however, already tried to make action names
like foo/bar. Now I consider namespaces very useful.
Maybe this should be included in the wiki somewhere. (Tips Tricks Corner?)
Sorry for my error, you can find WEB Site at
http://akrogen.sourceforge.net/1_0_2/index.html
2007/3/23, Angelo zerr [EMAIL PROTECTED]:
Hi,
I post my message in this forum, because perhaps somebody would be
interset with my project.
I'm developping plugin eclipse Akrogen
--- [EMAIL PROTECTED] wrote:
What do you mean by target type?
What (Java) type is the value you are validating?
On 3/23/07, Ted Husted [EMAIL PROTECTED] wrote:
Is the target type a String?
On 3/23/07, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
Actually, I removed the js
What's the structure of directory web_root\template\ajax ?
web_root \template\xhtml
Thanks.
-Mensagem original-
De: Gajbhe, Laxman (Contractor) [mailto:[EMAIL PROTECTED]
Enviada
Oh! It is an int.
Scott
On 3/23/07, Dave Newton [EMAIL PROTECTED] wrote:
--- [EMAIL PROTECTED] wrote:
What do you mean by target type?
What (Java) type is the value you are validating?
On 3/23/07, Ted Husted [EMAIL PROTECTED] wrote:
Is the target type a String?
On 3/23/07,
--- [EMAIL PROTECTED] wrote:
Oh! It is an int.
That could cause a problem :)
Probably not a good idea anyway, since you may want to
enforce either Zip or Zip+4 and not let people enter
145.
d.
8:00?
Are you suggesting that we *ARE* back to needing *DUMB* strings in our
*RICH* domain models? I thought the tired old FormBean was a thing of the
past!
On 3/23/07, Dave Newton [EMAIL PROTECTED] wrote:
--- [EMAIL PROTECTED] wrote:
Oh! It is an int.
That could cause a problem :)
Probably not
There's a different validator for numeric types.
* http://struts.apache.org/2.x/docs/required-validator.html
On 3/23/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Oh! It is an int.
-
To unsubscribe, e-mail: [EMAIL
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Riffla,
riffla wrote:
Sending a request form a JSP using ISO-8859-1 with POST method (no problem
using GET method or UTF-8 on origin page) to either a Struts action or
another JSP (with either UTF-8 or ISO-8859-1, tried both) replaces my å,ä
and
--- [EMAIL PROTECTED] wrote:
Are you suggesting that we *ARE* back to needing
*DUMB* strings in our *RICH* domain models? I
thought the tired old FormBean was a thing of the
past!
That's backwards. You were testing an int with a
String test and it failed *because* it wasn't viewing
Hi,
I'm familiar with Struts 1, looking at Struts 2. The web app I am
working on needs to use data sources that are controlled by tomcat
connection pooling and accessed through JNDI. For this I need access
to the servlet context that the action is running under.
Previously I had a base action
--- Chris Cheshire [EMAIL PROTECTED] wrote:
How do I go about putting the equivalent in an
action with Struts 2?
I don't actually know if this is still valid, and I
can't test it at the moment, but:
http://struts.apache.org/2.x/docs/accessing-application-session-request-objects.html
I believe
However, I am completely lost with Struts 2. Everything servlet
dependent is abstracted away somewhere. I've been looking at the
tutorials and they don't cover this kind of thing at all.
How do I go about putting the equivalent in an action with Struts 2?
An action class can implement
--- Piero Sartini [EMAIL PROTECTED] wrote:
An action class can implement ServletContextAware -
you have to implement a method
setServletContext(ServletContext
servletContext) then.
Another way is to use
ServletActionContext.getServletContext();
Definitely use these over what I suggested; I
Has anyone experienced a problem with s:combobox
name=object.property? I think the . is throwing dojo for a loop.
What happens is the onSelect event stops working if I use the .
notation -- name=object.property Any suggestions?
I will create a FAQ entry.
good idea.
maybe it makes sense to merge it with this one:
http://struts.apache.org/2.0.6/docs/how-can-we-access-the-httpservletrequest.html
Piero
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Hi People
I'm migrating to 2.0.6 and it occurs this error.
I need very much .
Any idea ?
2007-03-23 15:24:54,754 INFO
(com.opensymphony.xwork2.config.providers.XmlConfigurationProvider:141) -
Parsing configuration file [struts-default.xml]
2007-03-23 15:24:54,942 INFO
On 3/23/07, Piero Sartini [EMAIL PROTECTED] wrote:
However, I am completely lost with Struts 2. Everything servlet
dependent is abstracted away somewhere. I've been looking at the
tutorials and they don't cover this kind of thing at all.
How do I go about putting the equivalent in an action
--- Daniel Felix [EMAIL PROTECTED] wrote:
[ the two JAR files ]
I still think it's the double-JAR problem.
I personally don't know what to tell you except to
make sure you have Glassfish and your EAR properly
configured to avoid having the JAR file in two places.
Anyone else?
d.
--- Chris Cheshire [EMAIL PROTECTED] wrote:
I'm looking at the javadoc for this, it doesn't say
much. Do I just create a class scope variable for
the
session context and then set that from the argument
in the set method?
Yep.
Is this set method called automagically by the
framework when
I am trying to get Struts2 running on top of Websphere 6.1 and I am having
some issues with this. These issues also occur in the Struts2Showcase. To
get it running, I am basically deploying the struts2-showcase-2.0.6.war file
into the Websphere application server. The application starts up and
Thank you muchly!
On 3/23/07, Dave Newton [EMAIL PROTECTED] wrote:
--- Chris Cheshire [EMAIL PROTECTED] wrote:
I'm looking at the javadoc for this, it doesn't say
much. Do I just create a class scope variable for
the
session context and then set that from the argument
in the set method?
I'm looking at the javadoc for this, it doesn't say much. Do I just
create a class scope variable for the session context and then set
that from the argument in the set method?
That is exactly how it works. You might want to look at ServletSessionAware,
ServletRequestAware,
what about simple type conversion? How will you ever have non-string
coming from html? Does this mean we are back to domain object with
only strings?
On 3/23/07, Dave Newton [EMAIL PROTECTED] wrote:
--- [EMAIL PROTECTED] wrote:
Are you suggesting that we *ARE* back to needing
*DUMB* strings
Am Freitag, 23. März 2007 schrieb Dave Newton:
--- Daniel Felix [EMAIL PROTECTED] wrote:
[ the two JAR files ]
I still think it's the double-JAR problem.
yes, looks like that. the error message says it all.
struts2-spring-plugin is loaded in 2 places:
acnsf/struts2-spring-plugin-2.0.6.jar
--- [EMAIL PROTECTED] wrote:
what about simple type conversion? How will you ever
have non-string coming from html? Does this mean we
are back to domain object with only strings?
S2 (and others) already do simple type conversion.
You will never have non-strings coming from the
*browser*
On 3/23/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
what about simple type conversion? How will you ever have non-string
coming from html? Does this mean we are back to domain object with
only strings?
No, it means that we have a special validator for Strings to cover
both the notion of
I need a object which generates unique identifiers for all instances I
create how to do this ?
Thanks Regards
-
Expecting? Get great news right away with email Auto-Check.
Try the Yahoo! Mail Beta.
--- temp temp [EMAIL PROTECTED] wrote:
I need a object which generates unique identifiers
for all instances I create how to do this ?
Synchronized counter? http://jug.safehaus.org/?
* http://java.sun.com/j2se/1.5.0/docs/api/java/util/UUID.html
The simplest thing would be something like
String id = UUID.randomUUID().toString();
-HTH, Ted
http://www.husted.com/ted/blog/
On 3/23/07, temp temp [EMAIL PROTECTED] wrote:
I need a object which generates unique identifiers
Put a stub struts.xml on the classpath that loads your working
configuration from another location. If the stub is under classes and
the one you want is under WEB-INF, try
struts
include file=..\struts.xml/
/struts
-HTH, Ted
http://www.husted.com/ted/blog/
On 3/19/07, Bartek [EMAIL
I have a super class with an abstract method and a non default
constructor and it calls this abstract method in its constructor
This abstract method is implemented in the base class.
First thing base class constructor does is call super()
Of course, forgot to mention, mainly I mean as output on a JSP page (both
bean:write and %=...%, but also System.out.println() in different places,
always the same result...
/Riffla
Christopher Schultz-2 wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Riffla,
riffla wrote:
Thanks Ted! I felt a little queezy about using requiredstring but
couldn't get Eclipse to reveal a list of valid atrribute values with code
assist.
On 3/23/07, Ted Husted [EMAIL PROTECTED] wrote:
On 3/23/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
what about simple type conversion? How
I see this warning as well when using ajax-validation. It seems ognl expects
a .methodName method which is not there in the struts validators.
There is another thread regarding this problem with the Topic Problem with
2.0.6. The warning is there in 2.0.7 as well.
Ted suggested to turn off
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Riffla,
riffla wrote:
Of course, forgot to mention, mainly I mean as output on a JSP page (both
bean:write and %=...%, but also System.out.println() in different places,
always the same result...
The method of output is not relevant. Only the
Encoding set in:
JSP Page directive
Content inside Html Meta tag
And there is also a charsetFilter class used (see below)
Struts-config.xml contains:
===
controller contentType=text/html;charset=UTF-8
processorClass=org.apache.struts.tiles.TilesRequestProcessor/
===
web.xml contains:
===
Riffla-
can we see the contents of se.telia.kontaktamig.web.util.CharsetFilter?
M--
---
This e-mail message (including attachments, if any) is intended for the use of
the individual or entity to which it is addressed and may
71 matches
Mail list logo