Thank you. I actually solved the problem. When I added another one parameter:
true
myParameter5 started working.
Thanks.
Marcin
On 5/2/07, Laurie Harper <[EMAIL PROTECTED]> wrote:
Marcin Zduniak wrote:
> Hello everyone,
>
> I am using Struts2 and I am curious how to pass dynamic parameter
>
Is there a way to setup conditional validation through the validation.xml
file?
I'm currently user the visitor validator method where my core user
validation properties are in a User-validation.xml file. I want to be able
to use this same file for all my user actions (register, add, update) and
ju
Antony Stubbs wrote:
We're developing a Struts application which will be deployed onto Websphere
eventually.
However, I find Websphere very heavy weight do use during development -
publishing seems to take for ever, and seems as thought for many changes it
must be restarted.
What's a common con
Those are good pointers. The key is that it all depends on how you are
handling authentication and authorization, since there are so many
possible approaches.
For example, if you use container managed security, setting up the roles
is a matter of configuring your container appropriately. If yo
Marcin Zduniak wrote:
Hello everyone,
I am using Struts2 and I am curious how to pass dynamic parameter
values to an action. I have following XML snippet:
accountsList
accountsList
myValue
zkn wrote:
On 01.05.2007, at 17:01, Christopher Schultz wrote:
It used to be that all .properties files had to be in ISO-8859-1 form,
with escape sequences for non-Latin characters.
...
But why do you say "had to be"? Is there other way to do it? Or may be
just I didn't understand you.
We t
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ozkan,
zkn wrote:
> Thanks, that worked.
>
> But why do you say "had to be"? Is there other way to do it? Or may be
> just I didn't understand you.
Sorry for the confusion. I started that message before I did a bit of
research and confirmed that it
To achieve this we wrote a custom AuthInterceptor which we added to the
default stack, which adds some core authorisation functionality - add user
object (with roles) to the session, add a custom user menu (based on roles)
to the session and checks authorisation for the action.
It's pretty straigh
For the sake of completeness, this appears to work
fine.
I can access values using the S2 tags from ValueStack
from the tile's JSP, setting the values via either
setValue() or push().
That said, given I'm not sure I see a
huge advantage to doing so; I was thinking about this
several months ago a
I found something nice about JBuilder (version 2006, anyway): If you
paste cyrillic into a .props file and then save it, it will escape it
for you (you don't see it until you reopen the file). Then, you just
need to put UTF-8 in the HTML file.
Struts 2 version 2.0.6 is the current latest GA version. The Struts Project
Management is using a Milestone Build system of numbering. This means GA or
public release may skip version number if a build doesn't make the grade
(acceptable Apache Struts Community Standards of quality). That build
Pedro Herrera wrote:
when is 2.0.8 release coming up ?
Tks
Herrera
2.0.7 was released? Where do I get it? The apache.org site is showing
2.0.6 still.
tia, Patrick
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addit
From: Ashuin Sharma Chamorro
Sent: Tuesday, May 01, 2007 5:12 PM
To: 'Struts Users Mailing List'
Subject: ActionForm
In which scope does the ActionForm lives??? In request or session??
Or what??
If in the Action Class I set some values to the form,
It lives in whatever scope you tell it :-) There is a scope parameter on the
action tag. It defaults to session.
Objects persist until the holder is thrownaway. For requests, objects in
request scope are thrown out when the request is thrown out. Objects in the
session are thrown out when the ses
In which scope does the ActionForm lives??? In request or session??
Or what??
If in the Action Class I set some values to the form, do I have to add
the form back to the request or what do I have to do so the success page
will see the modified form???
Is it this scope ??(JSP ---for
We're developing a Struts application which will be deployed onto Websphere
eventually.
However, I find Websphere very heavy weight do use during development -
publishing seems to take for ever, and seems as thought for many changes it
must be restarted.
What's a common container to use during d
--- puchacz <[EMAIL PROTECTED]> wrote:
> Yes it my homework!
In that case I would consider thinking about the
answer to these questions yourself for awhile: they
are not particularly difficult.
> >> 1.Could anybody explain me why it is good to
> >> intagreate one framework with another?
Here are
Now I feel shame but I forgot about this. :)
Sorry again!
Musachy Barroso wrote:
>
> Dejavu?
>
> http://www.mail-archive.com/user@struts.apache.org/msg56310.html
>
> musachy
>
> On 5/1/07, puchacz <[EMAIL PROTECTED]> wrote:
>>
>>
>> Sorry Dave but I didn't...
>>
>> And please don't tell me to
Dejavu?
http://www.mail-archive.com/user@struts.apache.org/msg56310.html
musachy
On 5/1/07, puchacz <[EMAIL PROTECTED]> wrote:
Sorry Dave but I didn't...
And please don't tell me to make a google searching , because If I could
find this information I wouldn't be asked for help.
Yes it my h
Okay, I guess that s:checkbox can do what I want but I am having trouble
getting the multiple values from the results of my checkboxes. So if I
have this ...
and in my action ...
private String[] deleteIds = new String[0];
public String[] getDeleteIds();
public void setDeleteIds(Stri
Sorry Dave but I didn't...
And please don't tell me to make a google searching , because If I could
find this information I wouldn't be asked for help.
Yes it my homework!
Dave Newton-4 wrote:
>
> Didn't you already ask about this two months ago?
>
> --- puchacz <[EMAIL PROTECTED]> wrote:
>
On 01.05.2007, at 17:21, Martin Gainty wrote:
I found this helpful on understanding how cyrillic characters are
represented thru Unicode
http://en.wikipedia.org/wiki/Cyrillic_alphabet
If you're using windows so You'll need to load Cyrillic Input
MethodEditor
http://www.microsoft.com/window
On 01.05.2007, at 17:01, Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ozkan,
zkn wrote:
I'm trying to make a simple application that will support multiple
languages. It works fine when I add two latin resource files for
example
_en and _fr.
But when I try to ad
I am having a problem with an Action class when validation fails. A
property that is being set in this Action via the hyperlink is being lost
when validation intercedes and the Action is regenerated. Has anyone else
observed this? Is there a way to "restore" the Action properties by way of
conf
actually, I did have trouble getting it to work but it doesn't really
matter because that's not really what I am looking for. That tag will
create a whole list of checkboxes, but what I really need is to create a
single checkbox which is part of a list. It's a weird situation so it
wouldn't r
Didn't you already ask about this two months ago?
--- puchacz <[EMAIL PROTECTED]> wrote:
> 1.Could anybody explain me why it is good to
> intagreate one framework with another?
> 2. When it is useful?
> 3. What gives it to the project?
Is this your homework or something?
d.
__
1.Could anybody explain me why it is good to intagreate one framework with
another?
2. When it is useful?
3. What gives it to the project?
Thnx
--
View this message in context:
http://www.nabble.com/Integrating-with-other-frameworks-tf3676571.html#a10273717
Sent from the Struts - User mailing l
--- Richard Kroll <[EMAIL PROTECTED]> wrote:
> I wondered if you were going to be on this list,
> good to see you here!
Musachy lives here; he's the man--working with him
should be entertaining :)
d.
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail h
> Go for Struts 2, don't worry about Struts 1 too much. I'm allowed to
say
> this because I know we will be working together and we will be
rewriting
> everything on top of S2 very soon :)
>
> musachy
I wondered if you were going to be on this list, good to see you here!
I'll start focusing my at
Go for Struts 2, don't worry about Struts 1 too much. I'm allowed to say
this because I know we will be working together and we will be rewriting
everything on top of S2 very soon :)
musachy
On 5/1/07, Dave Newton <[EMAIL PROTECTED]> wrote:
--- Martin Gainty <[EMAIL PROTECTED]> wrote:
> I have
The easiest way I've found to do this is to write a ServletFilter that
wraps the HttpServletRequest with a class that implements the
isUserInRole method based on your database roles from an object you
populated and placed in the Session.
Josh
On 5/1/07, Flemming Seerup <[EMAIL PROTECTED]> wrote:
--- Martin Gainty <[EMAIL PROTECTED]> wrote:
> I havent seen any Struts2 books out yet (anyone?)
He specifically asked for S1 books.
From: "Richard Kroll" <[EMAIL PROTECTED]>
> I'm moving into a position that requires me to work
> with S1.
_Programming Struts_ and Struts in Action was my go-to
Hi Rich-
I havent seen any Struts2 books out yet (anyone?)
As a way to slowly introduce yourself to MVC you may want to consider
'Struts in Action'
HTH/
Martin
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this ema
Hello All,
I'm moving into a position that requires me to work with S1. I have been
toying with S1, but now that I will be required to work with it in a
more day-to-day capacity, I am trying to get some opinions on good books
/ reference material.
To date I have been using online resources to sl
I would like to populate the user roles from a database during login, but have
not found any examples how to do so in Struts2.
I have found an example how to use RolesInterceptor to secure access to specific
actions, but no hints on how to populate the roles.
/Flemming
-
--- "Frank W. Zammetti" <[EMAIL PROTECTED]> wrote:
> On Tue, May 1, 2007 11:43 am, Dave Newton wrote:
> > He's probably talking about SiAv2.
> Geez, you know your a geek when you see SiAv2 and
> think it's an abbreviation for some sort of new
> Aliens vs. Predator movie.
:D
> (of course, your an
On Tue, May 1, 2007 11:43 am, Dave Newton wrote:
> He's probably talking about SiAv2.
Geez, you know your a geek when you see SiAv2 and think it's an
abbreviation for some sort of new Aliens vs. Predator movie.
Frank
(of course, your an even BIGGER geek if you think it might actually not
suck e
No sir, Zathras says "not the one"!
:)
Frank
(which I guess means you can surmise that not only will you not have to
wait too long for S2 books, but you'll have choices to make too!)
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
AIM/Yahoo
--- Roger Varley <[EMAIL PROTECTED]> wrote:
> On 27/04/07, Frank W. Zammetti wrote:
>> I don't know what information I can or can't give
>> out, so suffice it to say you won't be waiting too
>> much longer for books specifically on S2...
> Is this the one that you're hinting at
He's probably talk
Hello everyone,
I am using Struts2 and I am curious how to pass dynamic parameter
values to an action. I have following XML snippet:
accountsList
On 27/04/07, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
I don't know what information I can or can't give out, so suffice it to
say you won't be waiting too much longer for books specifically on S2...
and no, before anyone asks, I'm not writing one :)
Is this the one that you're hinting at
h
--- Paul <[EMAIL PROTECTED]> wrote:
> Doh! Thanks once again Dave. Works now. :)
I was thinking about getting "value is an Object!" as
a tattoo, but that's a little esoteric, even for me. I
settled for a couple of Post-It! (tm) notes.
d.
__
Do You
Hello,
I use the action tag in a JSP: .
When I submit from this JSP to another action, say target.action, and
I meet addFieldError(...) in the execute() method of the target
action, if I return to the JSP to display the field error message, all
my code in the JSP doesn't have access anymore to t
Ah!
Doh! Thanks once again Dave. Works now. :)
P.
-Original Message-
From: Dave Newton [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 01, 2007 11:02 AM
To: Struts Users Mailing List;Paul
Subject: Re: [S2] w/ params?
--- Paul <[EMAIL PROTECTED]> wrote:
> value="add"/>'"
> Value="Add"/>
>
--- Paul <[EMAIL PROTECTED]> wrote:
> value="add"/>'"
> Value="Add"/>
>
> When viewing the page source after rendering should
> it not read:
> location.href='editAction.do?method=add' ?
http://struts.apache.org/2.x/docs/tag-syntax.html
Value is an object, so you'd probably want:
That's proba
All,
Quick question with S2 tags using . Have the following:
'"
Value="Add"/>
When viewing the page source after rendering should it not read:
location.href='editAction.do?method=add' ?
Or is my understanding of the param tag incorrect and in this case do you need
explicitly do location.href=
--- [EMAIL PROTECTED] wrote:
> Antonio --
Not directed towards me so I'm somewhat hesitant to
answer given responses in the past, but:
./views/jsp/TagUtils.java:
ValueStack stack = (ValueStack)
req.getAttribute(ServletActionContext.STRUTS_VALUESTACK_KEY);
Perhaps the stack is accessible
Antonio --
Does the ViewPreparer (aka Tiles Controller) has access to the OGNL stack?
I am trying to figure out a way to push beans on the root of the tree (like
S2 does) so the S2 custom tags will implicitly link up with them from my
page parts. The only thing I have been able to figure out so
How can I place a bean on the OGNL from within my Tiles Controller so that
it's properties are available to the S2 custom tags?
--
Scott
[EMAIL PROTECTED]
I found this helpful on understanding how cyrillic characters are
represented thru Unicode
http://en.wikipedia.org/wiki/Cyrillic_alphabet
If you're using windows so You'll need to load Cyrillic Input MethodEditor
http://www.microsoft.com/windows/ie/ie6/downloads/recommended/ime/default.mspx
As
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ozkan,
zkn wrote:
> I'm trying to make a simple application that will support multiple
> languages. It works fine when I add two latin resource files for example
> _en and _fr.
> But when I try to add _bg (Bulgarian, cyrillic) file which is saved as
>
Hi,
From the constructed url I assume you refer the url like this:
">some message
Try using , like this
some text again
AFAIK, will give you the correct url.
HTH,
MK Tan
On 5/1/07, David Harland <[EMAIL PROTECTED]> wrote:
Hi,
I think I have found a bug with the url tag. If I have a url
Hello,
I'm trying to make a simple application that will support multiple
languages. It works fine when I add two latin resource files for
example _en and _fr.
But when I try to add _bg (Bulgarian, cyrillic) file which is saved
as utf-8 the text is not correctly displayed on the site.
I h
Hello,
I'm trying to get Struts2 working in a portlet environment... so far,
so good. However, we have one portlet that requires the use of some
3rd party jsf components. So I've been trying to get the jsf plugin to
work with the struts-portlet-default stuff. First thing I noticed, was
that the j
Hi
Have you any probable release dates for the next version of struts 2.
Thanks
Dave.
__
Ufi Limited
Registered in England No. 3980770
Registered Office: Dearing House, 1 Young Street, Sheffield, S1 4UP
learndirect Soluti
Good Morning Jason
Please let me know when you see a Struts Plugin as I would like to use it in
Flash
Last year I developed a handshaking for a set of libraries to be called from
CF by use of object tag
The documentation on using cfx:remote seems to be sparse and incomplete
Thanks
Martin
This
Ah... this is simpler then, I thought you were recording pages as users
were viewing them.
Do you need to be logged in to view the page?
If yes, check out commons-httpclient, which will maintin cookies for you
You will neeed to post to the login page then navigate to the page you
want and save
Hi,
I think there is a jira ticket for this, look at these links. it may help
you.
https://issues.apache.org/struts/browse/WW-1624
http://forums.opensymphony.com/thread.jspa?threadID=46866&tstart=0
Thanks,
Nuwan.
- Original Message -
From: "David Harland" <[EMAIL PROTECTED]>
To:
Hi,
I think I have found a bug with the url tag. If I have a url with 2
params
I get
%{msgUrl} gives
/test/test!delete.action?lastPage=home&messageId=3851761
Am I doing something wrong?
__
Ufi Limited
Registered i
Thanks a lot buddy,
I need to send a mail by using the same html generated by jsp
just like your idea [save the file to the server]
How can I implement this do u have any example where I can refer.
Thanks & Regards
Nagesh Reddy.
-Original Message-
From: Lance [mailto:[EMAIL PROTECTED
when is 2.0.8 release coming up ?
Tks
Herrera
Musachy Barroso wrote:
>
> You should probably use 2.0.6, as there is no date set for 2.1 (has ever
> been a date?). What problems are you referring to? There is a 2.0.8
> release
> coming up.
>
> musachy
>
> On 4/30/07, Minerva CC <[EMAIL PROT
Are you saving the file to the client or to the server?
If you want the client to save the file, you can set the content
disposition header... this will cause a file download dialog to appear
response.setHeader("content-disposition", "attachment;
filename=someFileName.html");
If you want t
Hi All,
I have a scenario like I need to persist or get stream of generated output
JSP OUT PUT [HTML]
I have flow like ACTION > JSP > gives HTML out oput to browser
Now I need to persist this generated html from jsp to some file.
How can I close this
Please give me a solution
Or
How ca
i dont think so, there is some good learning stuff, you can start with this.
http://struts.apache.org/2.x/docs/bootstrap.html
http://www.infoq.com/articles/converting-struts-2-part1
Thanks,
Nuwan
- Original Message -
From: "vikas rao" <[EMAIL PROTECTED]>
To: "Struts Users Mailing Li
--- vikas rao <[EMAIL PROTECTED]> wrote:
> well, yeah i am starting from scratch,just beginning
> to learn struts, the thing is, i'd find it difficult
> to get help from the internet and books if i have to
> use the new version right?
Depends.
For Struts 2 the old WebWork in Action book is stil
well, yeah i am starting from scratch,just beginning to learn struts, the
thing is, i'd find it difficult to get help from the internet and books if i
have to use the new version right?
On 5/1/07, Dave Newton <[EMAIL PROTECTED]> wrote:
--- vikas rao <[EMAIL PROTECTED]> wrote:
> I am using strut
--- vikas rao <[EMAIL PROTECTED]> wrote:
> I am using struts 2.0.6...
Yes, well, that will be an issue if you're trying to
use the Struts 1 tags.
If you're using Struts 2 you should use the Struts 2
tags.
> u think its better i use the earlier version???
If you're starting from scratch I would
--- puchacz <[EMAIL PROTECTED]> wrote:
> 2. I mean if this main forum for discusing Struts 1?
> Laurie Harper wrote:
>> This is the main forum for discussing the use of
>> Struts, both the 1.x versions and the 2.x versions,
So again, yes.
d.
__
I am using struts 2.0.6...some of the sample tutorials i saw all deal with
the 1.x versions, plus, the jar files which come along with the "lib" folder
of the struts 2.0.6 version seem quite different from the 1.x versions...u
think its better i use the earlier version???
On 5/1/07, Nuwan Chandra
hi,
try this. and see. and you dont need to add any entry in your web.xml
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean"; prefix="bean" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html"; prefix="html" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic"; pref
what is the struts version you are using?
Thanks,
Nuwan.
- Original Message -
From: "vikas rao" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Tuesday, May 01, 2007 4:40 AM
Subject: HELP!!
Hi,
I am getting this exception:
org.apache.jasper.JasperException: /index.jsp(9
In your web.xml
Try
=
/html
/WEB-INF/tlds/struts-html.tld
/nested
/WEB-INF/tlds/struts-nested.tld
/bean
/WEB-INF/tlds/struts-bean.tld
/logic
/WEB-INF/tlds/struts-logic.tld
The tld would be automatically picked up if its under web-inf\tlfs.. Thats
not the problem, the problem is that
Just open that tld file and you would find the uri tag there, pick up that
uri and put it in the jsp.
<%@ taglib uri="" prefix="s" %>
Hope i made sense..
Sarish
On 5/1/07, vikas rao <[
Laurie I mean:
1. I mean that some of the companies build some tools for helping in working
on project,
or tell everybody around that this technologie is good :)
2. I mean if this main forum for discusing Struts 1? for example Spring has
forum : forum.springframework.com , does Struts sth li
74 matches
Mail list logo