Re: Struts2 REST

2009-03-23 Thread Li
thanks maplye ~

s:labela/a/s:labels:select/ 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. div class=clear-block s:labela href=mailto:s:property value=%{user.emailId}/

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 default-interceptor-ref name=paramsPrepareParamsStack /.please find action class,jsp,stryts.xml

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

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

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 santos.sw...@gmail.com wrote: hi,

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] -

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

[S1]: Resource configuration. message-resources parameter=one,two,three

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: !-- Default key -- message-resources parameter=com.xyz.SomeResources,com.xyz.MoreResources/ message-resources key=subProjectA

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 interceptor-ref name=fileUpload

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

2009-03-23 Thread Dale Newfield
白鹏 wrote: wow, I got it. If we place the global-results after interceptors, 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

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: 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,

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
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 clat...@gmail.com wrote:

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

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: !-- This will print out the entire line in one select choice -- s:select

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

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 constant name=struts.rest.resources

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

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 newton.d...@yahoo.com wrote: Musachy Barroso wrote:

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: 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