Migration from struts 1.1 to 1.3

2010-07-17 Thread amine123456

being the rookie that i am , I have no idea how to upgrade from struts 1.1 to
1.3 .
so , can any one please help me with a step by step method
-- 
View this message in context: 
http://old.nabble.com/Migration-from-struts-1.1-to-1.3-tp29191020p29191020.html
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Javascript Join Function equivalent with OGNL

2010-07-17 Thread Cem Koc_

Hi I want to join my list elements with a defined string. Like :

{1,2,3} join with -, result is 1-2-3

I have done like this

s:iterator value=searchItems status=st 
s:property value='searchItems[#st.index]'/s:if
test=!(#st.last)-/s:if
 /s:iterator

But this is pretty ugly for me to see such kind of codes at my pages. I am
just curious that is there a way to make with struts or ognl natively. By
the way I have known that apache commons or spring stringUtil are able to
do... I want a native solution.

Thanks

-- 
View this message in context: 
http://old.nabble.com/Javascript-Join-Function-equivalent-with-OGNL-tp29192223p29192223.html
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Struts 2 constant not working...

2010-07-17 Thread JP Cafaro

I can't get this struts2 constant to work:
constant name=struts.enable.SlashesInActionNames value=true/

I have this wildcard mapping:
[action name=/secure/** class=actions.secure.SecurePassThrough
   interceptor-ref name=secureStack/
   result{1}/result
/action

When I try and go to 
http://localhost:8080/Struts2NewChapter8/secure/blah I get an error: 
There is no Action mapped for namespace /secure and action name blah.  
Why does this happen?


-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Readonly Datetimepicker.

2010-07-17 Thread Chris Miles
Is there a reason the datetimepicker does not allow you to make the textfield 
readonly? Is there any work arounds?

Thanks

Chris

Re: Dispatch action calling a function multiple times depending on browser

2010-07-17 Thread Rupali Gupta


Hi Abhishek

The reason for request going two times to dispatch action in Mozilla may 
be its Prefetching feature for caching


When any article contains the following tag:
link rel=next href=2.html

While fetching the original article, Mozilla fetches the next article 
also in its cache, if this tag is present in html. Hence, a new request 
hits the server for fetching this next item and logs in access log on 
server


Please refer to the following URL to know the technical Analysis for 
this feature: https://developer.mozilla.org/en/link_prefetching_faq


Try to stop prefetching in mozila by following steps given in above 
link. You may get the correct solution..


Thanks
Rupali

On 7/16/2010 10:40 PM, Dale Newfield wrote:

On 7/16/10 1:06 PM, abhishek jain wrote:

The dispatch action is calling some of the functions of the action class
multiple times, it calls it twice for mozilla and single time in chrome.


One common error that will appear to result in this behavior are 
images without a specified src, resulting in the base url being 
fetched an additional time.


-Dale

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org







-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: Struts 2 field validator thread safety

2010-07-17 Thread Marshall Gunter

Writing my own.

On 10-07-15 08:33 PM, Christopher Schultz wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Marshall,

On 7/15/2010 9:27 AM, Marshall Gunter wrote:
   

Do Struts 2 field validators need to be thread safe?
 

That depends on what you want to do with them. Are you writing your own,
or are you critiquing the existing validator implementations?

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkw/qMgACgkQ9CaO5/Lv0PCUrACgstaFyPiVsxZJ8iswTE4zmn0k
qKUAn2J769JmFnQuL6VDVS01dX1SIW8c
=FM2d
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
   


-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



S2 2.2.1 Showcase + REST

2010-07-17 Thread Frans Thamura
hi all

is the S2 2.2.1 is the fix to make the .action can work with REST plugins

anyone work on it,

i see the example of REST and shwocase still 2 different .war


-- 
Frans Thamura
Meruvian.

We grow because we share the same believe.

Mobile: +6287885901958
Blog  Profile: http://frans.thamura.info

We provide services to migrate your apps to Java (web), in amazing fast and
reliable.


Re: Migration from struts 1.1 to 1.3

2010-07-17 Thread Wendy Smoak
On Sat, Jul 17, 2010 at 7:54 AM, amine123456 eh.m.am...@gmail.com wrote:

 being the rookie that i am , I have no idea how to upgrade from struts 1.1 to
 1.3 .
 so , can any one please help me with a step by step method

Here are links to notes that the community has contributed on
upgrading from/to various versions:
http://wiki.apache.org/struts/StrutsUpgrade

-- 
Wendy

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org