I using jquery to post the request with some content and expecting a
JSON-format response
here is my code..
$.post(/socialize/tags;addTag.json,{contentType:TOPIC,
resourceId:1,
tags:tag},function(data){
Hi,
I want to use the namespace feature of struts2 actions in a portal/portlet
environment.
Using s:url like this works (like shown in the struts2 delivered testcases):
s:form action=MasterControl method=POST
a href=s:url portletUrlType=action namespace=mw action=/mvc/stopWork
/s:urlTest/a
Can you store the url with an id an use it as an expression in the
action attribute of the submit tag?
Nils-H
On Mon, Oct 6, 2008 at 9:16 AM, Torsten Krah
[EMAIL PROTECTED] wrote:
Hi,
I want to use the namespace feature of struts2 actions in a portal/portlet
environment.
Using s:url like
Am Montag, 6. Oktober 2008 10:38:36 schrieben Sie:
Can you store the url with an id an use it as an expression in the
action attribute of the submit tag?
This works using a html link with s:url and %{myactionurl}.
However the form does only work in this form (like it should):
s:form
Hi all;
I have 2 rows in my table. Each row should be displayed or not depending of
the value of a radio button which can be F or M. So, when I clik on F,
I need to display the row with id=repIn and when I click on M the row
with id=repOut.
I do not need the server for this, all should be done
Use some simple JavaScript and CSS.
--- On Mon, 10/6/08, RemiClaude [EMAIL PROTECTED] wrote:
From: RemiClaude [EMAIL PROTECTED]
Subject: How to force Struts to reevaluate logic:equal on client side?
To: user@struts.apache.org
Date: Monday, October 6, 2008, 9:00 AM
Hi all;
I have 2 rows
Hi,
The jobTypelist is empty, but it worked with 2.6.11 version of ognl.
The applications is our own.
Thanks for trying to help!
:-)
-Ursprungligt meddelande-
Från: Dale Newfield [mailto:[EMAIL PROTECTED]
Skickat: den 4 oktober 2008 00:31
Till: Struts Users Mailing List
Ämne: Re:
he's trying to determine where the failure occurs
so you'll need to
get your jobTypeList array populated
and is set to the ValueStack
http://struts.apache.org/2.1.2/docs/set.html
you can then use property to check
s:property value=jobTypeList default=a default value /
if you see a default
Hi
Is there a way to output localized dates and times from a jsp using the
locale from the request object, not using hardcoded DateFormat pattern in
the jsp? I want to be able to write things like:
someDateTimeFormtter value=dateObjOnOgnlStack type=date
dateStyle=SHORT/
someDateTimeFormtter
One way is to use the s:text tag. If you define an entry in your
application properties file similar to:
format.date.long={0,date,long}
then you can display a date object in your JSP using:
s:text name=format.date.longs:param value=%{user.createDate}//s:text
The advantage is that each
Of course! Didn't realize that the MessageFormat could have styles.
This is a great solution
Thanks!
Chris Pratt wrote:
One way is to use the s:text tag. If you define an entry in your
application properties file similar to:
format.date.long={0,date,long}
then you can display a
Hi
I wish to develop an application from scratch, using Struts 2. However, I don't
find the tag documentation available on the Apache website to be comprehensive.
Could somebody please guide me in this regard.
Thanks Regards
---Mickey Kumra___
CAUTION -
[EMAIL PROTECTED] wrote:
The jobTypelist is empty, but it worked with 2.6.11 version of ognl.
The applications is our own.
So you're saying that the updated version doesn't silently fail, and
that's enough to condemn it? I would argue that that's an improvement.
In fact, if you look in the
All,
I am one of the architects behind a multi-language site using Struts 2. To
mitigate XSS exposure, defining a whitelist of allowable characters is the
normal approach, but seems to become a non-trivial exercise when supporting
multiple languages (we will be supporting 15). My understanding
I have a textfield where a user input information.
s:textfieldname=employee.destination
label=Destination
required=falsesize=15 /
My question is this: how can I give the user previous input that he provided
once he clicks the
--- On Mon, 10/6/08, Mickey Kumra wrote:
I wish to develop an application from scratch, using Struts
2. However, I don't find the tag documentation available
on the Apache website to be comprehensive. Could somebody
please guide me in this regard.
That's a fairly open-ended request. What,
I've been trying to find some solution, but from my side, everything
looks ok, regarding API docs [1] all parameters are stored as a Array
of String in the Map, so you should be able to access it, could you
show your code?
[1]
Check out: http://struts.apache.org/2.1.2/docs/tag-developers-guide.html
Mark
On 07/10/2008, at 3:49 AM, Mickey Kumra wrote:
Hi
I wish to develop an application from scratch, using Struts 2.
However, I don't find the tag documentation available on the Apache
website to be comprehensive.
I am trying to rewrite this sample code from the FAQ using zero
configuration annoations:
http://struts.apache.org/2.1.2/docs/how-can-we-return-a-text-string-as-the-response.html
and I came up with this:
import java.io.InputStream;
import java.io.StringBufferInputStream;
import
Mark,
The Issue is eventhough the preload=false, each time you click the div the
content will be loaded,
What I want is basically to capture the click event and load accordingly if
required.
Thanks
Mark-413 wrote:
While I haven't used it yet, my understanding is that if you set
you should use onclick
__
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official business
of Sender. This transmission is of a confidential nature and Sender does not
endorse distribution to any
In your web.xml ensure you have a filter-mapping defined for the
/struts/...js files. You need to make sure that a request to the
Javascript and CSS files defined in the struts jar file go thru the Struts 2
filter. That is, make sure you have something like this on your web.xml:
In your web.xml ensure you have a filter-mapping defined for the
/struts/...js files. You need to make sure that a request to the
Javascript and CSS files defined in the struts jar file go thru the Struts 2
filter. That is, make sure you have something like this on your web.xml:
In your web.xml ensure you have a filter-mapping defined for the
/struts/...js files. You need to make sure that a request to the
Javascript and CSS files defined in the struts jar file go thru the Struts 2
filter. That is, make sure you have something like this on your web.xml:
In your web.xml ensure you have a filter-mapping defined for the
/struts/...js files. You need to make sure that a request to the
Javascript and CSS files defined in the struts jar file go thru the Struts 2
filter. That is, make sure you have something like this on your web.xml:
In your web.xml ensure you have a filter-mapping defined for the
/struts/...js files. You need to make sure that a request to the
Javascript and CSS files defined in the struts jar file go thru the Struts 2
filter. That is, make sure you have something like this on your web.xml:
Oh ok. That's beyond my knowledge. Hopefully someone else on the
list can help you.
Mark
On 07/10/2008, at 12:27 PM, Tracy12 wrote:
Mark,
The Issue is eventhough the preload=false, each time you click the
div the
content will be loaded,
What I want is basically to capture the click
Hello,
Some modules in my application not yet migrate to struts 2.
upload file doesn't work (using commons file upload), because it's intercept by
struts 2.
How to disable / avoid upload file functionality in struts 2 ?
Thanks
can anybody say how to pass or push parameter in valuestack and get it from
another action in struts 2
really confused with all valuestack stuff
suppose
i have
action name=AddComboValue
29 matches
Mail list logo