-Message d'origine-
De : Lukasz Lenart [mailto:lukasz.len...@googlemail.com]
Envoyé : lundi 9 novembre 2009 20:53
À : Struts Users Mailing List
Objet : Re: [Struts 2.1.8] Filter init parameter "actionPackages" fails on
JBoss5.1.0: workaround ?
2009/11/9 Fernandes Celinio :
> Any id
Any advice, please ?
Thanks.
-Message d'origine-
De : Celinio Fernandes [mailto:cel...@yahoo.com]
Envoyé : dimanche 15 novembre 2009 23:08
À : Struts Users Mailing List
Objet : [Struts 2.1.8] datetimepicker and action: String or Date ??
Hi,
I have struts2-core-2.1.8.jar and xwork-core
This is what I get :
java.text.ParseException: Unparseable date: "2009-11-20T00:00:00+01:00"
java.text.DateFormat.parse(Unknown Source)
-Message d'origine-
De : Fernandes Celinio [mailto:cfernan...@sopragroup.com]
Envoyé : lundi 16 novembre 2009 10:40
À
ng List
Objet : Re: [Struts 2.1.8] datetimepicker and action: String or Date ??
2009/11/16 Fernandes Celinio :
> This is what I get :
> java.text.ParseException: Unparseable date: "2009-11-20T00:00:00+01:00"
> java.text.DateFormat.parse(Unkn
Hi Neil,
That was a good lead. Thanks.
I used this format :
SimpleDateFormat formatter = new SimpleDateFormat("-MM-dd'T'HH:mm:ss");
I checked the source of the DateTimePicker class to get the correct format.
So I got it working now but that was a pain.
-Message d'origine-
De
I skipped it because I cannot figure out the format to handle that colon in the
middle of that time zone.
I tried without that time zone and saw that it works anyways.
Thanks again.
-Message d'origine-
De : Neil Aggarwal [mailto:n...@jammconsulting.com]
Envoyé : lundi 16 novembre 2009
Hi,
I have an entity bean which has a BLOB attribute. That BLOB attribute
maps to a BLOB column in a table in an Oracle database.
@Entity
public class Boo implements Serializable {
...
@Lob
@Basic(fetch=FetchType.LAZY)
private byte[] image;
public byte[] getImage
will simply return image as a result.
Also read very carrefully above e-mail from Saeed!
Best greetings,
Paweł Wielgus.
2009/11/27 Saeed Iqbal :
> Are you putting the file name in session string or the binary file?
>
> On Friday, November 27, 2009, Fernandes Celinio
> wrote:
>&
Hi,
I know that it is not possible to inject EJB in Struts 2 actions.
The following annotation would not work :
@EJB
MyBeanLocal mybean;
But how come ? Since a Struts action is a servlet and injection works in
a servlet, injection should work.
Thanks for enlightening me.
Hi,
I am using the Dojo example that is described here :
http://struts.apache.org/2.0.14/docs/struts-2-spring-2-jpa-ajax.html
It works fine.
But if I integrate the 2 JSPs (index.jsp and list.jsp) in a Tiles
template then it fails :
The JSP index.jsp becomes involved in some sort of infinite loop,
By the way, I am using Struts 2.1.8, not 2.18 of course.
-Message d'origine-
De : Fernandes Celinio [mailto:cfernan...@sopragroup.com]
Envoyé : mercredi 16 décembre 2009 18:26
À : Struts Users Mailing List
Objet : [Struts 2.18] Dojo tags and attributes (listenTopics, notifyT
Sorry I got the message completely wrong (end of the day ...) : I meant Tiles,
not Facelets !
Any idea ? Thanks.
-Message d'origine-
De : Fernandes Celinio [mailto:cfernan...@sopragroup.com]
Envoyé : mercredi 16 décembre 2009 18:29
À : Struts Users Mailing List
Objet : RE: [S
Hi,
I have developped a stateful session bean where access to methods are
restricted :
@SecurityDomain("myDomainBlabla")
@RolesAllowed({"xxx", "yyy"})
@Stateful
public class BlablaBean implements BlablaRemote {
@RolesAllowed({"xxx"})
public void doSomething(User user)
Hi,
According to the documentation, the "The Dojo plugin will be deprecated
on Struts 2.1".
http://struts.apache.org/2.1.8/docs/ajax-tags.html
Is that true ?
I have been playing with it lately, it seems to work well.
If it is really deprecated, what is the replacement then ? jQuery ?
What JavaSc
available somewhere ?
Thanks.
-Message d'origine-
De : Lukasz Lenart [mailto:lukasz.len...@googlemail.com]
Envoyé : lundi 21 décembre 2009 12:53
À : Struts Users Mailing List
Objet : Re: [Struts 2.1.8] Is the Dojo plugin really deprecated on Struts 2.1 ?
2009/12/21 Fernandes Celinio :
Hi,
I am trying to run the debug console that is available in a popup when you
append the URL with ?debug=console
It is described here :
http://struts.apache.org/2.0.14/docs/debugging.html
Here is the URL i used :
http://localhost:8085/myWebApp/doLogin.action?debug.console
It complains that it
hi,
I am trying to validate the fields of a JSP using the XML validation.
I have a file ContactAction-validation.xml that holds the controls to be made.
It fails, the validation does not occur.
Is there any known bug using Struts 2.0.14 with Websphere 6.1 ?
Because it works with JBoss 5, so i a
Hi,
I need to make a screen with several tabs.
I am wondering what is the best solution.
I know the Dojo tag that comes with truts 2 : tabbedpanel.
It seems to work rather well, but Dojo tags are deprecated i believe ?
Are there any other solutions ? With jQuery ? Pure Ajax ?
I am using Struts 2
Hi,
Disabled fields by W3 specifications will not get posted on form
submission (http://www.w3.org/TR/html4/interact/forms.html#h-17.12.1).
In my case, the textfield "dateCreation" has a "disabled" attribute set
to true (fieldDisabled is set to true).
How do i submit the value of a di
truts 2] Disabled fields are not posted on form submission
2009/5/13 Fernandes Celinio :
> How do i submit the value of a disabled text field ?
> Is there an interceptor that already takes care of it in Struts 2 ?
By HTML spec, disabled fields aren't send to a server, it isn't Stru
Hi,
In struts 2, what are the different ways to keep the previous values of
the fields of a form which
is being modified (with new values) ?
I would like to save in the database the NEW (after modification) and
the OLD (before modification) values of the fields of the form.
Let's say I have 3 colu
Hi,
Is there a problem when using the Convention plug-in with Jboss 5.1.0 ?
I mean there is no struts.xml file., the mapping is defined in the
Action classes, through the use of annotations such as :
@Actions({
@Action(value="/myFirstPath",
result...@result(name="success
ntion plug-in not working with Jboss 5.1.0
2009/5/27 Fernandes Celinio :
> I know it works well with the Tomcat server.
JBoss is using Tomcat to serve Java web applications, did you try deploy the
same application to standalone Tomcat?
Regards
--
Lukasz
http://www.lenar
Hi Michael,
Did you fix your problem ?
If yes, what was wrong ?
-Message d'origine-
De : Michael Obster [mailto:mich...@obster.org]
Envoyé : vendredi 2 octobre 2009 17:42
À : Struts Users Mailing List
Objet : Re: [Struts2] Problem using Struts2 with EJB3 over ServiceLocator
(Jboss say
Hi,
How do you render the content of a tooltip dynamic ?
I am using several messages_XX.properties files, one for each language.
In each properties file, I have defined the key blabla.tooltip.
For instance in messages_en.properties:
blabla.tooltip=Pay before the end of the term.
In messages_fr.
16 AM, Fernandes Celinio < cfernan...@sopragroup.com>
wrote:
> Hi,
>
> How do you render the content of a tooltip dynamic ?
> I am using several messages_XX.properties files, one for each language.
>
> In each properties file, I have defined the key blabla.tooltip.
>
> For
Thanks Likasz.
However I am using JBOSS 5.1.0 GA JDK 6, not Jboss 5.0.1 GA.
Anyays, I added a constant in struts.xml :
And removed the tags from the web.xml
file.
It still does not work, I still get that java.io.FileNotFoundException
exception.
Someone from Jboss suggested that I tr
n
JBoss5.1.0: workaround ?
2009/11/9 Fernandes Celinio :
> However I am using JBOSS 5.1.0 GA JDK 6, not Jboss 5.0.1 GA.
I downloaded and checked also with 5.1 - no problems spotted
> Anyays, I added a constant in struts.xml :
> value="com.eni.dvtejb.clientStruts2.action" /&g
distribution ?
-Message d'origine-
De : Lukasz Lenart [mailto:lukasz.len...@googlemail.com]
Envoyé : lundi 9 novembre 2009 13:03
À : Struts Users Mailing List
Objet : Re: [Struts 2.1.8] Filter init parameter "actionPackages" fails on
JBoss5.1.0: workaround ?
2009/11/9 Fe
3:15
À : Struts Users Mailing List
Objet : Re: [Struts 2.1.8] Filter init parameter "actionPackages" fails on
JBoss5.1.0: workaround ?
2009/11/9 Fernandes Celinio :
> Is that latest filter implementation part of the Struts 2.1.8 distribution ?
Sorry, tiny mistake,
1ÿ557ÿ320 xwork-core-2.1.6.jar
Any idea ? Thanks
-Message d'origine-
De : Lukasz Lenart [mailto:lukasz.len...@googlemail.com]
Envoyé : lundi 9 novembre 2009 13:29
À : Struts Users Mailing List
Objet : Re: [Struts 2.1.8] Filter init parameter "actionPackages" fails on
JBoss5
It works if i use an exploded EAR and an exploded WAR.
However I get an HTTP 404 error on all actions I try to call.
Has there been any change in actions handling between Struts 2.0 and Struts
2.1.8 ?
-Message d'origine-
De : Fernandes Celinio [mailto:cfernan...@sopragrou
I would recommend Eclipse. www.eclipse.org
-Message d'origine-
De : terry.gard...@sun.com [mailto:terry.gard...@sun.com]
Envoyé : lundi 9 novembre 2009 15:15
À : Struts Users Mailing List
Objet : Re: advice on building front-end rapidly
http://netbeans.org
On Nov 8, 2009, at 4:32 PM
Hi,
To answer your question I am quoting the book "Practical Apache Struts 2 Web
2.0 Projects" by Ian Roughley :
Using the component tag is similar to using an include tag of either the Struts
2 or JSP variety. The difference is conceptual, in that the component tag is
meant to be a user interfa
Hello Lukasz,
Can you access the source code of this plugin ?
http://code.google.com/p/struts2ejb3/
I signed in on google but still cannot see any files.
Is that project still empty ?
Does anyone see the files ?
-Message d'origine-
De : Lukasz Lenart [mailto:lukasz.len...@googlemail.c
Hi,
I have a small workflow where the user needs to register.
In the 1st screen the user chooses a login and a password.
In the 2nd screen the user enters his first name, last name, age, etc
In the 3rd and final screen the user enters her/his address.
The submit final in the 3rd screen should be f
Hi,
Can anyone tell me what are the main differences between Struts 1 and
Struts 2 ?
Or point me to links describing them.
What was added in version 2 ?
Thanks !
===
Ce message et toutes les pieces jointes (ci-apres le "message")
sont confide
Hi,
we have several web apps that have been developed with S1.
I am currently learning S2 and i am studying the reasons why we should
migrate to S2.
Can you tell me the advantages of migrating to S2 ?
I am not sure we should migrate, but i have not checked all new features
of S2 yet.
Thanks for y
Hi,
I want to forbid the user to go back.
Javascript does not work in actions:
window.history.forward(1);
Is there a way to disable the back button in Struts ?
Thanks
=
Ce message et toutes les pieces jointes (ci-apres le "message
Hi,
I want to forbid the user to go back.
This Javascript trick does not work in actions:
window.history.forward(1);
Is there a way to disable the back button in Struts ?
Thanks
=
Ce message et toutes les pieces jointes (ci-apres
40 matches
Mail list logo