hi i have a table that has a checkbox, details of the record such as
lastname, firstname with it.
when user selects a record or records using checkbox corresponding to it,
and click the delete button
the record or records selected should be deleted. My problem is it is not
able to execute the
Hello,
I am using Display Tags in my JSP. I have used a customized TableDecorator to
render TextFields and ComboBoxes in its columns. Now i want to render a
DateTimePicker in one of its columns. As i understand, the display tag does not
render Struts Tags when outputted through TableDecorator
Hello!
Before issuing a bug report on Struts' bug tracker, I'd like to have
your advices about a rather stranger syntax error I'm getting with
Eclipse (v.3.3/Europa) and JSP using Struts2 tags.
Here's own I can reproduce it:
Create the project: New Project Other... Web Dynamic Web Project
=
Then I would suggest Tiles. This would be as easy as getting wet in a pond.
Scott
On Jan 13, 2008 9:01 PM, Neil Aggarwal [EMAIL PROTECTED] wrote:
Rod:
The functionality will be exactly the same for
each site.
How do I tell struts to load a given set of
tiles based on the domain name?
First question;
Why do you think this is a Struts bug?
I encountered the same problem when I upgraded from Eclipse 3.2 to 3.3
without changing the project. Have you tried downgrading your version of
Eclipse to see if that resolves the problem?, have you also tried compiling
and testing the
Just re-read your original message. So you have tried it on an app server
and everything is OK. Doesn't that indicate the problem lies with eclipse
and not struts?, shouldn't it be the Eclipse bug tracking system you put
your report in and not Struts Jira?
- Original Message -
From:
I think you make a good case. The best thing might be to file with
XWork, since I believe that's where the code would need to be changed.
* http://jira.opensymphony.com/secure/Dashboard.jspa
If you had a time to review the code and suggest a patch, all the better.
HTH, Ted
Hi,
I have 6 autocompleter combo boxes. The first refresh the second, the second
the third and so one. I use notifyTopics and listenTopics:
s:autocompleter id=cmb1 notifyTopics=refresh2 .../
s:autocompleter id=cmb2 notifyTopics=refresh3 listenTopics=refresh2
theme=ajax url=%{myUrl).../
The URL is working fine without ajax. Yes standard port 443. The
issue i think is making a https ajax request from a http page. I will
check that plugin out.
-Mufaddal.
On Jan 12, 2008, at 2:16 AM, nuwan chandrasoma wrote:
Hi,
what is the port number you have configured to run SSL in
I'm trying to understand where the real problem is.
I think that there are 2 issues. Both important. One in s:url and the
other in s:a
s:url generates a URL that can contain a malicious query string (it
doesn't encode anything except what is passed with s:param). And this
is not good, mainly
It is a bug, since ganfab (sorry I cannot read your name :-) ) tried
I'm Fabio Gandola.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I think that there are two levels of encoding:
1) in s:url, the parameters values must be encoded, to create a valid
(and safe) URL.
2) in s:a, the whole URL must be encoded, simply because it is used
inside an HTML element (a) between double quotes. For example, ''
becomes amp;
So do you
2008/1/14, GF [EMAIL PROTECTED]:
I think that there are 2 issues. Both important. One in s:url and the
other in s:a
s:url generates a URL that can contain a malicious query string (it
doesn't encode anything except what is passed with s:param). And this
is not good, mainly because when
I have found the solution:
'notifyTopics' comma separated list of topics names, that will be published.
Three parameters are passed:
* data: selected value when type='valuechanged'
* type: 'before' before the request is made, 'valuechanged' when
selection changes, 'load' when the
Hi there,
using struts2: I have just place the user's information on a session:
session.setAttribute(Properties.USER_HANDLE, secUser);
I wonder how to access on a jsp page the info; I tried, unsuccessfully, the
following combinations:
s:text name=USER_SESSSION_HANDLEs:bean
2008/1/12, GF [EMAIL PROTECTED]:
s:url id=xssTest action=test namespace=/test encode=true /
s:a href=%{xssTest}XSS Test/s:a
...
http://localhost:8080/struts2-blank-2.0.11/example/XSS.jsp?
'scriptalert(document.cookie)/script
Fabio, one little question.
I don't see how this code can write the
Fabio, one little question.
I don't see how this code can write the parameter passed to the JSP
page. Probably you pasted the wrong code in the s:url part.
Just add (i.e. in IE6) after the ? the following query string:
'scriptalert('helloworld')/script
THANK YOU ROBI
Roberto Nunnari wrote:
Try this:
s:property value=%{#session.USER_SESSSION_HANDLE.fname}/
--
Robi
xianwinwin wrote:
Hi there,
using struts2: I have just place the user's information on a session:
session.setAttribute(Properties.USER_HANDLE, secUser);
Try this:
s:property value=%{#session.USER_SESSSION_HANDLE.fname}/
--
Robi
xianwinwin wrote:
Hi there,
using struts2: I have just place the user's information on a session:
session.setAttribute(Properties.USER_HANDLE, secUser);
I wonder how to access on a jsp page the info; I tried,
2008/1/14, GF [EMAIL PROTECTED]:
Fabio, one little question.
I don't see how this code can write the parameter passed to the JSP
page. Probably you pasted the wrong code in the s:url part.
Just add (i.e. in IE6) after the ? the following query string:
'scriptalert('helloworld')/script
Sorry again Fabio, but I need to understand: the querystring does not seem
to have a param=value structure, and s:url has test as action, and
does not take any dynamic value (i.e. parameter), but maybe I am missing
something.
The bug is calling that page itself (I mean XSS.jsp) passing via
Fabio, I sent a mail to the Struts Developers mailing list about the problem
you reported, please follow the discussion there.
Thanks
Antonio
2008/1/14, Antonio Petrelli [EMAIL PROTECTED]:
2008/1/14, GF [EMAIL PROTECTED]:
Sorry again Fabio, but I need to understand: the querystring
2008/1/14, GF [EMAIL PROTECTED]:
Sorry again Fabio, but I need to understand: the querystring does not
seem
to have a param=value structure, and s:url has test as action, and
does not take any dynamic value (i.e. parameter), but maybe I am missing
something.
The bug is calling that
hi there
i just testing struts2 2.1.0,
can help me how to test the REST plugins,
am i have to get from SVN or can use this?
i know that 2.1.0 is the pre relase for 2.1.1
--
Frans Thamura
hi there
where is the place so i can download the codebehind plugins?
--
Frans Thamura
Am Montag, 14. Januar 2008 17:37:19 schrieb Frans Thamura:
hi there
i just testing struts2 2.1.0,
can help me how to test the REST plugins,
am i have to get from SVN or can use this?
i know that 2.1.0 is the pre relase for 2.1.1
If you are using maven, just include the following
Hi!
I know it has nothing to do with Strtus2, but I didn´t find any place
where to see a solution for my problem, so... apologize for this post. I
know it is not the place.
I´m using dojo library that comes with Struts 2.0.9.
Well, I would like to know if sbd has ever successfully used the
Am Montag, 14. Januar 2008 17:41:06 schrieb Frans Thamura:
hi there
where is the place so i can download the codebehind plugins?
If you just start, I would suggest trying the new convention plugin. You can
find it here:
Did you try the Dojo forums?
d.
--- Pablo Vázquez Blázquez [EMAIL PROTECTED] wrote:
Hi!
I know it has nothing to do with Strtus2, but I didn´t find any place
where to see a solution for my problem, so... apologize for this post. I
know it is not the place.
I´m using dojo library that
Scott:
Great! I will use tiles.
I am confused about know to know which set of tiles
to load. The sites will have different domain names.
Can I tell tiles to use a set based on that?
Thanks,
Neil
--
Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com
Eliminate junk email and reclaim
Hi,
I'm starting in Struts and already found a little problem. While rendering
the html inputs, struts don't close the tags. For example:
The tag html:text property=campo / renders:
input name=campo type=text
Instead of:
input name=campo type=text /
The tag wasn't closed and the document
Look at setting xhtml theme.
http://struts.apache.org/2.0.11/docs/themes-and-templates.html
--
James Mitchell
On Jan 14, 2008, at 1:20 PM, Schuenck wrote:
Hi,
I'm starting in Struts and already found a little problem. While
rendering
the html inputs, struts don't close the
Does not work for me.
Does that work on struts 2.0.x ? Did you find documented somewhere ?
Some special interceptor o configuration ?
Hernán J. González
On Jan 11, 2008 4:23 PM, Rubbinio [EMAIL PROTECTED] wrote:
Actually you can do something like this
s:checkbox name=selectedGroup
Simple solution. Also noted that the bundle only gets loaded once and
everything seems to work fine. Spring rocks.
String[] config= new String[]{applicationContext-resources.xml,
applicationContext-dao.xml,
applicationContext-service.xml};
ApplicationContext context = new
Struts 2.0.11
Nope, no documentation just many attempts until we got it to work.
The class looks like this:
public class OurAction extends ActionSupport implements SessionAware,
ParameterAware, ParameterNameAware {
.
private String[] selectedGroup;
.
public void
Antonio Petrelli wrote:
2008/1/14, GF [EMAIL PROTECTED]:
I think that there are 2 issues. Both important. One in s:url and the
other in s:a
s:url generates a URL that can contain a malicious query string (it
doesn't encode anything except what is passed with s:param). And this
is not good,
I would like to validate if the user has entered a valid email.
for this I have the method
@TypeConversion(converter =
com.utilities.conversion.EmailTypeConversion)
public void setEmail(String email) {
this.email = email;
}
the conversion (where I'm a
Hi Neil,
The approach I use is to implement
org.apache.tiles.definition.DefinitionsFactory and instruct Tiles to use
your DefinitionsFactory
web.xml:
context-param
param-nameorg.apache.tiles.definition.DefinitionsFactory/param-name
param-valuemyDefinitionsFactoryImpl/param-value
Hi all,
I was trying out the SWF plugin from Google codes with the old example and
encountered some exceptions.
Got the example from https://issues.apache.org/struts/browse/WW-1525.
When I tried to enter the age, I got the following exception. I'd changed
the example.xml slightly to use the:
In the type conversion page on the wiki there's some discussion of
automagically creating new elements in a set. I've been trying to get this
to work but haven't succeeded thus far. Can anyone point me to a working
example of the collection.makeNew[index].property feature?
Unlike Map and List
The container's resources can be access from an Action via the
HttpServletRequest object.
To obtain the HttpServletRequest object, see
*
http://struts.apache.org/2.x/docs/how-can-we-access-the-httpservletrequest.html
HTH, Ted
* http://www.StrutsMentor.com/
On Jan 10, 2008 5:55 PM, Filipe
Do you want a bean from the Container? If so, just put an @Inject
annotation above a setter. For example, to get the ObjectFactory, put
this code in your Action:
@Inject
public void setObjectFactory(ObjectFactory factory) {
this.objectFactory = factory;
}
Since Actions, Results, and
if i specify the following
ActionErrors errors;
errors.add(Example, new ActionMessage(error.example));
saveErrors(request.errors);
then i can display the Example at the .jsp by
html:errors property=Example
My puzzle is that
i have an the folowing at
43 matches
Mail list logo