Thanks a lot, it resolved my problem
Adding : action
Matthieu
---
Matthieu MARC
Responsable du Service Informatique
Centre Arts et Métiers Angers
Tel : 02 41 20 73 61
-Message d'origine-
De : maurizio.cucchi...@gmail.com [mailto:maurizio.cucchi...@gmail.com] De la
part de Maurizio Cucc
Hi,
I am trying to make an action build a JSON result.
The action is defined in the struts.xml file as :
^day,
events,
events\[\d+\],
events\[\d+\].id,
My Java action class EventsAction is defined as :
public class EventsAction ex
Hi,
Your solution sounds better when you want to have a different display between
mobile users and browser users.
Are you agree to post the code of your interceptor ?
I am thinking of making a mobile version of a calendar application. I am
displaying a week based calendar for browsers users, b
Hi,
I have a problem calling a method in a s :param tag.
I want to encode an url parameter in base64 in order to avoid French special
char and charset problem.
The param 'dn' is working.
Item.result.common.dn.bytes is working (tested with a s:property tag).
But the method
Great, it nearly solve my problem.
Thanks,
Matthieu MARC
-Message d'origine-
De : Biesbrock, Kevin [mailto:biesbrock.ke...@aoins.com]
Envoyé : vendredi 13 mai 2011 16:18
À : Struts Users Mailing List
Objet : RE: Iterator tag and enumeration
This peaked my interest so a colleague of mi
getListLocalization() is a method of my Enum, not of my Action class.
Matthieu MARC
-Message d'origine-
De : Steven Yang [mailto:kenshin...@gmail.com]
Envoyé : vendredi 13 mai 2011 03:03
À : Struts Users Mailing List
Objet : Re: Iterator tag and enumeration
I dont quite get what exact
This code is working :
This one is not working :
Neither this one :
And neither this one :
I would be great to make the getListLocalization() work because I will be able
to have a nice display of select element.
Thank
Matthieu MARC
-Message d'origine--
Hi,
I have an enumeration 'Localization' :
public enum Localization {
AIX("Aix-en-provence"),
ANGERS("Angers") ;
}
And I want to put a form select in a jsp using s:select tag with all
Localization items, like :
But I don't know what to put in the list parameter.
In my Loca
Hi,
Thank you. I implements the iterator interface, and now it is working.
public class SearchResults implements Iterator {
private Set keySet = null;
private Iterator iterator = null;
private Set keySet() {
if (this.keySet == null) {
Hi everybody,
I have a container object SearchResults which contains a treeMap of simple
object SearchResult.
I want to iterate over SearchResults in order to display properties of all
SearchResult object
Class SearchResult {
//getter and setter
getDescr
Hi,
You can find example in the two showcases war (the bin for jsp and the source
one if you want to see action java class) of the struts2-jquery plugins :
http://code.google.com/p/struts2-jquery/downloads/list
And on the wiki :
http://code.google.com/p/struts2-jquery/wiki/AutocompleterTag
B
Thanks, for the information, I was an aspect of Struts2 I have not yet learned.
So I do, and it is very interesting.
I tried to go this way for my problem.
My Action class : public class myAction implements ModelDriver;
My User class from another java package : public class User { public Strin
My User Class came from another java library which bind User class to an Active
Directory User. I would like to find a solution without modifying this java
library.
... but If there is no solution, I will modify my User class.
Matthieu MARC
-Message d'origine-
De : Maurizio Cucchiara
I used the struts 2.2.1.1 version
-Message d'origine-
De : Maurizio Cucchiara [mailto:maurizio.cucchi...@gmail.com]
Envoyé : jeudi 17 février 2011 10:28
À : Struts Users Mailing List
Objet : Re: Multiple field and modelDriven
Which struts version?
Maurizio Cucchiara
Il giorno 17/feb/2
Hi everybody,
I have a class named User which contain some information about user .
I have made a form in my JSP and an action which is modelDriven with my User
class.
Public class User implements modelDriven{}...
My question is about multiple field with same id in my JSP. My User class have
15 matches
Mail list logo