RE: Dojo plugin deprecated on Struts 2.1: why ?

2009-03-23 Thread Muthu Velappan
I'm not sure on the reason for deprecation. From the recent post, I understand that JQuery has replaced DOJO... ~Muthu -Original Message- From: cel...@yahoo.com [mailto:cel...@yahoo.com] Sent: Tuesday, March 24, 2009 9:42 AM To: user@struts.apache.org Subject: Dojo plugin deprecated on

Dojo plugin deprecated on Struts 2.1: why ?

2009-03-23 Thread cel975
hi, I just read that the Dojo plugin will be deprecated on Struts 2.1 http://struts.apache.org/2.1.6/docs/ajax-tags.html I have two main questions about that : 1) What is the reason ? Is it because it is slow ? 2) Will it be replaced by another Javascript library ? Please let us know. Thanks

Re: struts 2.1.6 verbose logging

2009-03-23 Thread dusty
I demand a new Rabile post that declares Struts2 no longer sucks. Musachy Barroso wrote: > > yeah I was thinking about that when I was writing that email, you out > there Matt? :) > > musachy > > On Fri, Mar 20, 2009 at 10:23 AM, Dave Newton > wrote: >> Musachy Barroso wrote: >>> >>> I didn

Re: doubleselect doubleonchange and other doubleon methods not implemented

2009-03-23 Thread dusty
You don't need to rebuild Struts to customize the freemarker templates. Put a folder called /template in your webroot and then subfolder of the theme, like simple. /template/simple/doubleselect.ftl or /template/xhtml/doubleselect.ftl. newton.dave wrote: > > sajidbigler wrote: >> i am sucess

Re: REST Plugin only for some actions

2009-03-23 Thread dusty
Ultimately, we should declare what are "resources" and get the free mapping from the REST plugin for those Controllers. Seems like that is what the NamspaceBasedActionMapper is, but I was thinking either a @Resource annotation at the top of the Controller or -D DNewfield wrote: > > Dave

Re: Struts2 + JQuery Plugin

2009-03-23 Thread dusty
There should be a rule: "If you can't write it by hand, then you shouldn't use a tag to automate it." This goes triple for Javascript. Once things start emitting Javascript, if you don't know what they are doing and why, you are headed for trouble. Look at the Dojo questions in the mailing li

[S2] How do I convert getText to a list for ?

2009-03-23 Thread Burton Rhodes
I know this is a simple one, but for some reason just can't crack it. I have a resource property like so: titleOptions=Mr.,Mr. & Mrs.,Mrs.,Ms.,Dr.,Dr. & Mrs.,Mr. & Dr.,Dr. & Dr. And then I have html like this: I've tried surrounding it by #{...} in several places but get an a parse error or ca

Re: Global tag settings?

2009-03-23 Thread carlo latasa
So should I post this to : https://issues.apache.org/struts/secure/Dashboard.jspa ?? going once, going twice??? can anyone tell me where the defaults are even set? I've looked through the struts-core jar with no luck. On Mon, Mar 23, 2009 at 1:57 PM, carlo latasa wrote: > org.apache.struts2.vi

Re: Where is Struts 2 Blank Archetype 2.1.6 ?

2009-03-23 Thread Lukasz Lenart
Hi, I've just put the latest (unreleased version) here [1], you can use it with command: mvn archetype:generate -DarchetypeCatalog=http://www.lenart.org.pl/maven/ [1] http://www.lenart.org.pl/maven/ Regards -- Lukasz http://www.lenart.org.pl/ --

Re: Global tag settings?

2009-03-23 Thread carlo latasa
org.apache.struts2.views.jsp.ui.SelectTag.labelPosition=right or org.apache.struts2.components.Select.labelPositioin=right don't work either. So does the default struts.properties file included in the struts jar define all the possible keys/values that can be set at runtime? On Fri, Mar 20, 20

Re: avoiding unwanted value stack manipulation

2009-03-23 Thread José Santos
i tried solution 4 where the action: - has the DTO itself as an instance variable (as opposed to having DTO fields as instance variables) - implements ParameterNameAware it works ok with regard to parameter interception but the parameters are not checked by validation annotations. this is because

Re: [HELP] why is this configuration file(struts.xml) faulty????

2009-03-23 Thread Dale Newfield
白鹏 wrote: wow, I got it. If we place theafter , it will be OK! D'oh! The "order doesn't match the DTD" problem is something you'll only encounter once per project, so the fact I didn't notice it is clearly a sign I've been working on the same project for far too long. -Dale --

The MIME type of while uploading .dbf files

2009-03-23 Thread arunabh
Hi , I am trying to do a restricted file upload . I have used text/plain,application/vnd.ms-excel,application/dbf,application/dbase,application/x-dbase,application/x-dbf,zz-application/zz-winassoc-dbf,application/x-msdownload

[S1]: Resource configuration.

2009-03-23 Thread MassimoH
I'm maintaining a legacy Struts 1.1 application that defines multiple resource (.properties) files per key in struts-config.xml using a comma-delimited list like this: This has worked fine for years (all resource files get loaded), however after I've redone the build to use Maven/Jetty, this

Re: TextProvider issue upgrading from 2.0.14 to 2.1.6

2009-03-23 Thread ryangr
Anyone? ryangr wrote: > > Apparently the code sample of the button got messed up...the actual code > can be seen here: http://pastie.org/422358 > -- View this message in context: http://www.nabble.com/TextProvider-issue-upgrading-from-2.0.14-to-2.1.6-tp22628594p22660388.html Sent from the S

Re: avoiding unwanted value stack manipulation

2009-03-23 Thread Nils-Helge Garli Hegvik
The documentation for the ParametersInterceptor [1] mentions the ParameterNameAware interface [2]. Maybe that could be a solution? Nils-H [1] - http://struts.apache.org/2.1.6/docs/parameters-interceptor.html [2] - http://struts.apache.org/2.1.6/struts2-core/apidocs/com/opensymphony/xwork2/interc

Re: avoiding unwanted value stack manipulation

2009-03-23 Thread Musachy Barroso
I would go for #4, you might want to look into http://struts.apache.org/2.0.6/struts2-core/apidocs/com/opensymphony/xwork2/interceptor/ParameterNameAware.html, or blocking params in the params interceptor. musachy On Mon, Mar 23, 2009 at 8:53 AM, José Santos wrote: > hi, > > what's the recommend

Re: session

2009-03-23 Thread Jim Kiley
I'm sorry -- English obviously isn't your native language -- I personally can't make heads or tails of this. Is your problem that when a user navigates back to your welcome page the session is lost? Or that the session isn't lost and you want it to be? Or something else entirely? Is it that you

avoiding unwanted value stack manipulation

2009-03-23 Thread José Santos
hi, what's the recommended design for avoiding fields of DTOs in the value stack being updated through (HTML) DOM manipulation? consider a typical edit page containing a form with some fields. this page is a visual representation of a DTO we are about to update. the DTO is set in the action - it

Re: Parameters shows null please help

2009-03-23 Thread sajidbigler
In Console we get this result only once the i will get param next time it goes to null.i am using doubleselect for this getServiceOwnerId-->7099107119529255786 query select SUBSCRIPTION_ID, SUBSCRIPTION_NAME from SUBSCRIPTION where CONTENT_

did any one sussesfully able to use org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter

2009-03-23 Thread sajidbigler
Hi Friends, http://cwiki.apache.org/S2WIKI/troubleshooting-guide-migrating-from-struts-20x-to-21x.html#TroubleshootingguidemigratingfromStruts2.0.xto2.1.x-ExplicitlysettheincludeParamsattributeonallurltagsto%2522get%2522ifitisnotspecified. web.xml suggest to change it and ActionMappingParams P

session

2009-03-23 Thread Seshagiri V
Hi All, 1. Log in and navigation some more pages. 2. At same address bare used again http://localhost/ it is going to welcome page and session not find out because user is already logged in. 3. I am calling one of actions then I will getting user is there(session) 4. I will

Parameters shows null please help

2009-03-23 Thread sajidbigler
Hi Friends, I am not able to understand why my parameters are not being accepted by my action class.please help to resolve this.i included defaultStack after i dint able to make it by .please find action class,jsp,stryts.xml ServiceOwnerAndSuscriptionDetails.java package com.teleparadigm.mms.app

s:label> same line (in line ) from css

2009-03-23 Thread Seshagiri V
Hi All, I couldn't same line (in a line ) struts tags. I want to same line struts tags from css. I am also used Follows anapest code. ">

Re: Struts2 REST

2009-03-23 Thread Li
thanks maplye ~