try to add between tags.
2007/8/29, vamsi <[EMAIL PROTECTED]>:
>
> Hi all,
>
> I posted this many times but still i don't have any response.
> I am not asking solution what is the possible problem only.
>
> My problem struts2 ajax based tags are not working in my application.
> application was d
Hi all,
I posted this many times but still i don't have any response.
I am not asking solution what is the possible problem only.
My problem struts2 ajax based tags are not working in my application.
application was deployed on jboss.
regards
Vamsi
j alex wrote:
Since i cannot use the Ajax/XHTML theme due to UI layout issues , i'm having
a custom theme that extends "simple" ; i wanted to know if this validation
really depends on having theme="ajax"
I replaced with the equivalent javascript includes,
and it seems to work fine ;are there a
Hi.all.
i want to modify a record on the same page, I do that like follows:
when a record is seleced,a js function is invoked, I use ajax to return a
"json" object ,and a div(contains several form tags) to store the
data.thediv contains a ,but i cannot set its value
in
javascript.
I've try two
Nope. All that is tied to the ajax theme is the generation of the
javascript includes by the head tag.
musachy
On 8/28/07, j alex <[EMAIL PROTECTED]> wrote:
> Thanks Oleg ; i am able to override the validation js functions on the
> showcase example in Tomcat.
>
> Since i cannot use the Ajax/XHTML
On 8/28/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
wrote:
>
> If the validator detects wrong data and returns me to the input-form it
> still starts the actionclass of the submit button - and its executing
> isTokenValid() .
This can't be true. If you're using automatic validation, the action wil
Sounds like you want a dynamic property file :-) That's the only thing I can
think of.
On 8/28/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
> Hi all !
>
> I'm trying to use pretty correctly Locale with Struts (1.2.8).
>
> I want to display for exemple a Date in current user Locale. Current
Can you paste in the line of the JSP that is erring?
On 8/28/07, Ashish Kulkarni <[EMAIL PROTECTED]> wrote:
>
> Hi
> It seems that weblogic console application may have error installing
> application developed using struts, i was able to deploy the application
> using command on dos
>
> Ashish
>
>
On Tomorrow at 12:09am, LP=>Leonidas Papadakis <[EMAIL PROTECTED]> wrote:
LP> I will answer myself in case someone else has the same issue.
LP>
LP> I think since freemarker 2.3.1 or something if the session is not set
LP> from the servlet it is not initialized in the template. Thus a check
LP>
Thanks Oleg ; i am able to override the validation js functions on the
showcase example in Tomcat.
Since i cannot use the Ajax/XHTML theme due to UI layout issues , i'm having
a custom theme that extends "simple" ; i wanted to know if this validation
really depends on having theme="ajax"
I repla
I will answer myself in case someone else has the same issue.
I think since freemarker 2.3.1 or something if the session is not set
from the servlet it is not initialized in the template. Thus a check for
the Session object has to precede the check for the session property i.e.
<#if Session?ex
Anna Simbirtsev wrote:
Hello
I have 2 screens that use the same form. The form class has a validate
function. To distinguish which screen(jsp file) is using the form I do the
following in jsp files:
<% session.setAttribute("page", "add") %>
<% session.setAttribute("page", "add_2") %>
Then in th
Hello
I have 2 screens that use the same form. The form class has a validate
function. To distinguish which screen(jsp file) is using the form I do the
following in jsp files:
<% session.setAttribute("page", "add") %>
<% session.setAttribute("page", "add_2") %>
Then in the form class I grab that
Hi
It seems that weblogic console application may have error installing
application developed using struts, i was able to deploy the application
using command on dos
Ashish
On 8/28/07, Ashish Kulkarni <[EMAIL PROTECTED]> wrote:
>
> Hi
> This is an existing application, which was running on websph
Hey,
I defined my TokenInterceptor but show this error:
* No result defined for action example.ExampleAction and result
invalid.token
When I delete the line
everything works fine
http://struts.apache.org/dtds/struts-2.0.dtd";>
[EMAIL PROTECTED] wrote:
I get the following error, when I try downloading files through the File
download Struts2 application. I have given the Configuration detail and
the Action class. Could someone take a look and let me know where this
breaks?
public InputStream getInputStream() throws E
I'm now digging into XWork to see if I can add this functionality. I have the
following in a JSP and I'd like to receive an error from it:
OgnlValueStack lines 260-265:
Object value = OgnlUtil.getValue(expr, context, root, asType);
if (value != null) {
r
Do you want to know what the problem was. Basically it leads back to my
BELOVED s:select tag lol
On 8/28/07, Dave Newton <[EMAIL PROTECTED]> wrote:
>
> In addition to keeping config files confined to the
> specific problem at hand it's nice when you find a
> solution on your own that you follow up
--- Pavel Sapozhnikov <[EMAIL PROTECTED]>
wrote:
> Hey what is the equivalent tag in struts2 for
>
>
> --
> Pavel Sapozhnikov
> xFact, Inc
> [EMAIL PROTECTED]
>
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional co
In addition to keeping config files confined to the
specific problem at hand it's nice when you find a
solution on your own that you follow up stating what
the problem was.
d.
--- Pavel Sapozhnikov <[EMAIL PROTECTED]>
wrote:
> Hey guys I think I have figured it out nevermind lol
>
> On 8/28/07,
I am experimenting with the "wait page" and I have a situation. When my
wait.jsp includes
Please wait
"/>
everything is fine! When I take it out (to avoid the annoying flicker) it
just sits on the wait page and never advances. Is the refresh in the
required? The docs suggest it
Hi there,
i used to have this expression : <#if Session.sessionaff?exists>
in my freemarker template.
Unfortunately this does not get parsed and generates an error :
Expression Session is undefined on line
Can anyone tell me the new syntax please ?
Thank you very much
Leonidas
---
Hello everyone,
I have a quick question. When the user session expires and they try
to submit a form to the server through an open window, I'm finding my
array in my action form is not being populated through the setter
method. In fact I'm getting the following exception
java.lang.NullPointerEx
Hey what is the equivalent tag in struts2 for
--
Pavel Sapozhnikov
xFact, Inc
[EMAIL PROTECTED]
Hey guys I think I have figured it out nevermind lol
On 8/28/07, Pavel Sapozhnikov <[EMAIL PROTECTED]> wrote:
>
> Roberto thanks...that doesn't help something else is really wrong here. I
> wish I could maybe post a picture here or something I could take a screen
> shot I am not sure if I am allow
I don't specify anything at all, here's one of my actions:
(*Chris*)
On 8/28/07, John Cartwright <[EMAIL PROTECTED]> wrote:
> Thanks for your reply Chris. Are you specifying a result type of
> "plaintext" in struts.xml or any element at all? I seem to be
> running into a situation whe
Roberto thanks...that doesn't help something else is really wrong here. I
wish I could maybe post a picture here or something I could take a screen
shot I am not sure if I am allowed to attach things in this email list but
here's my tiles.xml
http://tiles.apache.org/dtds/tiles-config_2_0.dtd";>
Is this with devMode set to true? ParametersInterceptor produces a lot
of spurious errors with devMode switched on. Try setting it to false in
your struts.xml (or struts.properties).
L.
Hoying, Ken wrote:
I am using the Sruts2 token tag with the token interceptor to restrict
double submits of
It turned out to be as simple as
..thanks to case sensitivity :-) , oops - i just noticed the code i pasted
was messed up but as you would have guessed it was a typo
On 8/28/07, Laurie Harper <[EMAIL PROTECTED]> wrote:
>
> j alex wrote:
> > Hi,
> >
> > How do i access params defined in web.xml in
Hi Pavel
here's what I have in my web.xml the order of the filter-mapping is
important!
contextCleanup
org.apache.struts2.dispatcher.ActionContextCleanUp
struts2
org.apache.struts2.dispatcher.FilterDispatcher
cont
j alex wrote:
Hi,
How do i access params defined in web.xml in the FTL ? ; In my app, all the
images are located at a particular path which is defined as
GLOBAL_IMAGES_ROOT
www/abc/def/images
and i want to show an icon from this directory within the FTL . How would i
I would suspect that something is wrong in either your
tile definition or that you have a recursive
definition somewhere (are you returning the tile
result from an Ajax call? If so, your tile might be
defined "one level too high" in that it includes all
the layout, etc)
d.
--- Pavel Sapozhnikov <
Pavel Sapozhnikov wrote:
Hi I have this code in my jsp in s1 application I want to get the equivalent
for s2. I think it has something to do with and s:optgroup. Could
anyone help maybe?
- Select an Agency -
Should be something like
[edit: include the URL for James' post]
Riccardo Mollame wrote:
Does anybody know about any fix or workaround to the
mentioned bug?
Did you see James Holmes' comment? [1] By the sound of it, there's no
problem with the s:url tag itself, it's a question of how you
subsequently use the value it
Ashish Kulkarni wrote:
Hi
Does anyone have an exmple of using log4j for logging struts messages,
I have an web application where i use log4j for logging, i have a
mapslog4j.xml file in WEB-INF folder and load this log file using
DOMConfigurator in a servlet.
This servlet is loaded before struts s
Riccardo Mollame wrote:
Does anybody know about any fix or workaround to the
mentioned bug?
Did you see James Holmes' comment? [1] By the sound of it, there's no
problem with the s:url tag itself, it's a question of how you
subsequently use the value it produces. How are you using it?
L.
Hey Roberto I put this in my web.xml but that doesn't seem to fix things:
tilesCleanup
org.apache.struts2.dispatcher.ActionContextCleanUp
1
On 8/28/07, Pavel Sapozhnikov <[EMAIL PROTECTED]> wrote:
>
> Robert could you tell me how to use that..how to put it in web.xm
Laurie is correct.
Globals.TRANSACTION_TOKEN_KEY = the value of the token stored in the session
Globals.TOKEN_KEY = the name of the request parameter which will be
submitted back with the token.
If the named parameter (it's not Globals.TOKEN_KEY but the value of the
constant) does not contain the
Robert could you tell me how to use that..how to put it in web.xml
On 8/28/07, Roberto Nunnari <[EMAIL PROTECTED]> wrote:
>
> Hi Pavel.
>
> Do you use the contextCleanup in your web.xml?
> org.apache.struts2.dispatcher.ActionContextCleanUp
>
> I had very strange behaviours until I added the contex
[EMAIL PROTECTED] wrote:
Hi,
Im having some trouble implementing the Transaction Token into my
Application.
Ive checked the Data that is being written - and it seems one of the
session-keys isnt being written.
HttpSession session1 = req.getSession(false);
String saved1 = (Str
Hi Pavel.
Do you use the contextCleanup in your web.xml?
org.apache.struts2.dispatcher.ActionContextCleanUp
I had very strange behaviours until I added the contextCleanup filter.
Hope that helps.
Pavel Sapozhnikov wrote:
Hey guys I am not sure if uh if this is tiles problem or what not but h
Hi
This is an existing application, which was running on websphere and tomcat,
and now have to installed on weblogic 10.0
So what is the work around, to get this application installed and running on
weblogic,
I got the error when installing this application on weblogic
Ashish
On 8/28/07, John Lip
Hey guys I am not sure if uh if this is tiles problem or what not but here's
my problem:
So I am on a page X lets say I hit a button the button goes to another
action does something and basically I return to the same tile with an action
error message. My tiles are using the s2 plugin and type="til
Does anyone know what the release date for 2.0.11 is? This bug is now
scheduled to be fixed in that release.
Kind regards,
Martin
-Original Message-
From: Petzsch, Martin
Sent: 14 August 2007 16:53
To: Struts Users Mailing List
Subject: RE: [s2] @ConversionErrorFieldValidator and Colle
Hello everyone,
I have a quick question. When the user session expires and they try
to submit a form to the server through an open window, I'm finding my
array in my action form is not being populated through the setter
method. In fact I'm getting the following exception
java.lang.NullPointerEx
Thanks for your reply Chris. Are you specifying a result type of
"plaintext" in struts.xml or any element at all? I seem to be
running into a situation where struts2 is trying to redirect me to a JSP
w/ the same name as the action.
Thanks again for your help!
-- john
Chris Pratt wrote:
Hello everyone,
I have a quick question. When the user session expires and they try
to submit a form to the server through an open window, I'm finding my
array in my action form is not being populated through the setter
method. In fact I'm getting the following exception
java.lang.NullPointerEx
On 7/20/07, Nicolás Pace <[EMAIL PROTECTED]> wrote:
> Hello list!
> I'm having the next problem:
> I'm using a for picking time :P
> the problem is that when i submit the form, apache throws
> Jul 20, 2007 10:42:37 AM org.apache.tomcat.util.http.Parameters
> processParameters
> WARNING: Parameters
--- Jason Mayer <[EMAIL PROTECTED]> wrote:
>
http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/http/HttpSessionAttributeListener.html
>
> That's what I used for the session listener.
That's not a session listener, that's a session
attribute listener: they're different things. Session
li
On 8/28/07, Dave Newton <[EMAIL PROTECTED]> wrote:
> Does this help?
>
> http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/http/HttpSessionAttributeListener.html
Thanks for the quick response Dave. That's what I used for the
session listener. It may be that I'm showing my struts newbi
Does this help?
http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/http/HttpSessionAttributeListener.html
d.
--- Jason Mayer <[EMAIL PROTECTED]> wrote:
> Hi,
>
> After doing countless google searches and looking
> through the API, I
> decided it was time to ask the mailing list. This
j alex wrote:
How can i get some insight into the js functions invoked for Ajax
validation? ; unless i know what they are i cannot override them :-) .
Looking at the example showcase, i only see the and
seems it does all the magic
It does, but to customize it you have to override the ones
that
Hi,
After doing countless google searches and looking through the API, I
decided it was time to ask the mailing list. This is my first post to
the Struts mailing list, so I apologize in advance if I'm asking a
question already answered somewhere (although again, google didn't
help me).
I wrote a
How can i get some insight into the js functions invoked for Ajax
validation? ; unless i know what they are i cannot override them :-) .
Looking at the example showcase, i only see the and
seems it does all the magic
On 8/28/07, Oleg Mikheev <[EMAIL PROTECTED]> wrote:
>
> j alex wrote:
> > i need
Hi all !
I'm trying to use pretty correctly Locale with Struts (1.2.8).
I want to display for exemple a Date in current user Locale. Currently I
use this method :
with the adequate formatKey in my localized MessageRessources*.properties.
This works perfectly, but...
Since I just put in these
Weblogic 9+ includes struts with weblogic, so you may not be running 1.2.6
unless you have taken care to preferr your applications classes over the
standard version. To read more, look at
http://e-docs.bea.com/wls/docs90/programming/classloading.html#1082452
While there isn't 10 specific informa
j alex wrote:
i need to customize them in terms of the error message
presentation ; and also because i'm using Websphere which is not resolving
the references from the JAR directly.
Concerning customization - you don't need to edit anything,
you can just introduce your own JavaScript function
f
Hi
Has anybody run into problem installting struts based web application on
Weblogic 10.0?
I have a struts application using struts 1.2.6, which i am trying to install
on weblogic and i keep getting the following error
This application works fine in Websphere, tomcat, Sun
Error opening /jsp/app/in
I understand your pt. abt performance, but my problem is howto get Ajax
working in the first place. The primary reason i need to copy the static
files is because i need to customize them in terms of the error message
presentation ; and also because i'm using Websphere which is not resolving
the re
j alex wrote:
I'm using Websphere and am still stuck with using Ajax for validations ;
since i'm not able to install the right patch etc.
The performance tuning tip says "copy the static content from the Struts 2
jar when using the Ajax theme" . Can someone please give me the steps to do
this ?
Hi,
I'm using Websphere and am still stuck with using Ajax for validations ;
since i'm not able to install the right patch etc.
The performance tuning tip says "copy the static content from the Struts 2
jar when using the Ajax theme" . Can someone please give me the steps to do
this ? . I need to
--- Mark Rollins <[EMAIL PROTECTED]> wrote:
> I just haven't got round to finding out what I need
> to do to Struts to get it to inject into an Action
> class, yet.
Set the object factory as Spring, provide a setter in
the action class, and name the Spring bean the same
name as the setter, so
I
Hi!
I wrote an article on AJAX tables with Struts 2:
http://www.javaworld.com/javaworld/jw-08-2007/jw-08-ajaxtables.html
Should a module be created based on that concept?
Oleg
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For ad
Thanks Laurie,
I have found the answer.
It was due to a miss from my end to add conversion properties.
Anyways, Thanks for the reply.
Regards,
sanjeeev
Laurie Harper <[EMAIL PROTECTED]> wrote:
kukreja sanjeev wrote:
> Hi Guys,
> I am facing problem related to setting up the Index
Thanks Laurie,
I have found the answer.
It was due to a miss from my end to add conversion properties.
Anyways, Thanks for the reply.
Regards,
sanjeeev
Laurie Harper <[EMAIL PROTECTED]> wrote:
kukreja sanjeev wrote:
> Hi Guys,
> I am facing problem related to setting up the Index
Client side validation is not currently supported in portlets. You
might get it to work, but there are unresolved issues with
escaping/namespaces etc of javascript function names and variables.
You can register it as a JIRA issue, and hopefully we'll be able to
resolve it in a future release.
Nils
Re Spring IOC, I agree. The back end of the application operates using IOC, I
just haven't got round to finding out what I need to do to Struts to get it
to inject into an Action class, yet.
Anyway, I have got to the bottom of the problem which was that despite
earlier assurances, I hadn't config
Hello,
I tried to use client side validation on my portal (portlet) with struts 2.
It seems to me, that struts 2 just failed to generate client side validation
JavaScript. My question is, is this a known bug, known defect or it should not
work anyway?
It seems just the JavaScript from the end
Hi,
I got two struts modules. I want to integrate them and make
them as one application. I had an idea that we should write two
struts-config files. But its not working . can any body tell me how to
configure second struts-config file.
--
Regards,
Venu madhav.Yelamanchili
Developer,
Hi,
Im using the struts-Validator AND the transaction Token. Both work
perfectly - BUT if I use them in combination I'm in trouble...
If the validator detects wrong data and returns me to the input-form it
still starts the actionclass of the submit button - and its executing
isTokenValid() .
An
Hello All,
I get the following error, when I try downloading files through the File
download Struts2 application. I have given the Configuration detail and the
Action class. Could someone take a look and let me know where this breaks?
Thank you,
Senthil
javax.servlet.ServletException: java
Sorry for the driver I used copy&paste from an old class I developed,
obviously use your driver class COM.ibm.db2.jdbc.app.DB2Driver for
registration...
On 8/28/07, Simone Piva <[EMAIL PROTECTED]> wrote:
> Why are you using direct JDBC accesss instead of ConnectionPool
> offered by Application Ser
Try this:
and in you resources file:
myColor.WHITE=Blanc
myColor.RED=Rouge
myColor.BLACK=Noir
sarat.pediredla wrote:
>
> I have a s:select form element in my JSP that gets a list of enums to
> display in a drop down box.
>
> The following is my enum
>
> public enum Colour {
>WHITE,
>
Hello All,
I get the following error, when I try downloading files through the File
download Struts2 application. I have given the Configuration detail and the
Action class. Could someone take a look and let me know where this breaks?
Thank you,
Senthil
javax.servlet.ServletException: java
Why are you using direct JDBC accesss instead of ConnectionPool
offered by Application Server?
However, rewrite your try block like this:
try {
DriverManager.registerDriver(new com.ibm.as400.access.AS400JDBCDriver());
con = DriverManager.getConnection(dbUrl,dbUser,dbPassword);
}
and
Hello,
I have a problem to get connection.It keeps catching exception? Any ideas?
String driverClass = ResourceManager.getString("database.driver");
String dbUrl = ResourceManager.getString("database.url");
String dbUser = ResourceManager.getString("database.user");
String dbPassword = R
Hello,
I want to use struts-tiles for templating in following environment.
Struts-1.3.8
Trinidad-1.0.1
Tomahawk-1.1.6
Sun RI-1.2
JBoss 4.2
When I start jboss-4.2 the last protocol line shown is:
[Action Servlet] "Loading action chain from "
JBoss itself never finishes starting.
What have I done
I have a problem in displaying the Linked HashMap
my linked haskmap looks like this
LinkedHashMap<,>>
i am trying to display attributes of slotvVO in the jsp but cannot see the
results
help me in achieving this
--
View this message in context:
http://www.nabble.com/displaying-a-linked-hashMap-t
Hi,
You can use window.open() if you like to open this page in a popup
window, or else use to open this page.
Thanks,
Nuwan
Cenk wrote:
Hello,
I want to open another page when user click on a link. Lets say, i have a
link "Open Page" on main.jsp and i want to open child.jsp when user cli
Hello,
I want to open another page when user click on a link. Lets say, i have a
link "Open Page" on main.jsp and i want to open child.jsp when user clicks on
the link.
How can i do it?
thanks
-
To unsubscribe, e-mail: [EMAI
80 matches
Mail list logo