Re: [s2] use remoteUser with struts tags

2007-04-29 Thread Marcin Orlinski
Hello I have problem only in JSP. I have disabled EL and I tried use OGNL. Can you give me example how to get this information ? Best regards. Marcin OrliƄski Felipe Rodrigues wrote: > > Well, > > If you're in a JSP, you can get it direct from the request, even using EL > or using expression

resetting form when refreshed

2007-04-29 Thread sudeepj2ee
Hi could you send me a way out to reset a form when refresh button is clicked without using java script. -- View this message in context: http://www.nabble.com/resetting--form-when-refreshed-tf3667969.html#a10248718 Sent from the Struts - User mailing list archive at Nabble.com. --

Re: + , conflict?

2007-04-29 Thread Laurie Harper
jiangshachina wrote: Hi guys, I'm new to Struts. I'm using Struts 1.3.8 + JBoss 4.0.5.GA + JDK 1.5.0 + Windows XP. I have a struts-config file as show as below, http://struts.apache.org/dtds/struts-config_1_3.dtd";>

Re: [s2] Collection based form tag question

2007-04-29 Thread Dave Newton
--- Zoran Avtarovski <[EMAIL PROTECTED]> wrote: > I'm trying to use a mix of a dynamic list a static > option for a select list and checkbox list but I need > some OGNL help. IIRC there are attributes for a single additional value; I don't think that extends to multiple options, though. The simpl

[s2] Collection based form tag question

2007-04-29 Thread Zoran Avtarovski
I'm trying to use a mix of a dynamic list a static option for a select list and checkbox list but I need some OGNL help. In s1 I would have the following: Default image No image This way I get my collection from the server (db, directory, etc) and I can add a couple of default values

CRUD_this and CRUD_that

2007-04-29 Thread stanlick
I am searching for a way to minimize (if not eliminate) nearly-redundant action mappings. I have a CRUD-patterned action mapping that leverages Tiles, Spring and wildcards that works nicely. I would like to avoid duplicating this XML configuration if possible. I am watching convention trump con

Re: [s2] Problem with in 2.0.6

2007-04-29 Thread Dave Newton
--- Al Sutton <[EMAIL PROTECTED]> wrote: > In a nutshell it seems that using any result type > other than redirect for actions generates a 404 error > message, whereas if I use a redirect it works. The default result types are simple dispatches, so it's looking for an actual resource on the filesy

Re: Ajax can't receive Chinese code from action of struts2

2007-04-29 Thread WongTseng
Maybe you should url-encode them first before sending them to client through ajax response. 2007/4/28, Dave Newton <[EMAIL PROTECTED]>: --- red phoenix <[EMAIL PROTECTED]> wrote: > when ajax receive information which include Chinese > code from action of Struts2,ajax will show chinese > code in

[s2] Problem with in 2.0.6

2007-04-29 Thread Al Sutton
Hi, I've got what seems to be strange behaviour which I've tried to find the reason for, but can't seem to find an explanation. The struts.xml is at the end of the email, I'll describe the problem first in case it rings any bells. In a nutshell it seems that using any result type other than redir