BaseDispacthAction?

2004-05-07 Thread Gianluca
ated actions. Do you have any suggestion on how to implement the above approach (template pattern) to extend DispatchAction, in order to define a BaseDispatchAction? Thanks, Gianluca - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

boundle message in s:select

2009-05-18 Thread Gianluca Musella
Hi all, In tag:

double action's method invocation

2008-09-19 Thread Gianluca Musella
m sure that it works well. Does someone have the same problem, or similar? Please help me. Thanks in advance. Gianluca - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: double action's method invocation

2008-09-19 Thread Gianluca Musella
Yes, I'm using firefox 3. Uh, I can't believe, with IE works Thank you very very very much, Pawel. Gianluca 2008/9/19 Paweł Wielgus <[EMAIL PROTECTED]>: > Hi, > are You using FireFox3 maybe? > We have exactly the same issue - but it was ff3 fault. > Sim

Re: double action's method invocation

2008-09-19 Thread Gianluca Musella
this methos ic called twice, so for me the real quetion is "why the showPhotoInCoversPage methos is double called (like almost all other methods in the app)"? Thanks to all Gianluca 2008/9/19 Martin Gainty <[EMAIL PROTECTED]>: > > GianLuca > > banning clients that use a particular browse

Re: double action's method invocation

2008-09-19 Thread Gianluca Musella
t the tag at all if there isn't the scr value, and FF3 workd fine, calling the action method only ONE time. Fantastic! This "taglia la testa al toro", ie close the question. Thanks to all very much, you all are so capable that after I will post a similar strange problem!! Gianl

afted double method invocation the double listener definition

2008-09-19 Thread Gianluca Musella
struts-cleanup /* struts /* org.apache.struts2.tiles.StrutsTilesListener ServletContextListener, HttpSessionListener org.almayer.web.listener.AlmayerListener index.jsp

Re: Global result of type redirect

2008-09-22 Thread Gianluca Musella
/component/login.jsp /homeSecure.action /homeUnsecure.action Te problem is that the struts.xml is validated in the startup phase, but if some action returns "homeSecure", I receive an error because the forward isn't defined. That's all. Where is my fault? Gian

quest on dynamic redirect

2008-09-22 Thread Gianluca Musella
ction The problem is that the results of the login action are statically cablated in struts.xml: home login But I need a new case to redirect dynamically to A.action (I can't provide statically all cases in my struts.xml). How can I have this behaviour? thanks

Re: quest on dynamic redirect

2008-09-23 Thread Gianluca Musella
Thank you. I can't understand how to realize the redirect descripted here: > - during the login action, after the login is confirmed the action realizes > that a redirect is requestet (to a.action) Particulary I can't understand what it means: > ${redirectTo} Do you have

Re: quest on dynamic redirect

2008-09-23 Thread Gianluca Musella
thank you Alexander, I understand well now. Bye, Gianluca 2008/9/23 Alexander Baetz <[EMAIL PROTECTED]>: > here a longer explanation: > > when I realizes the user isnt authenticated the link (the action to be > called) is saved (in a bean, a session, somewhere where you fi

Quest on actionInvocation

2008-09-23 Thread Gianluca Musella
Hi all, in an interceptor is possible to know which action's method is called? For example, in [...] actionInvocation.getAction() contains an instance of org.almayer.web.action.HomeAction, but how to know about thr called executeSecure? Thanks Gia

Re: Quest on actionInvocation

2008-09-23 Thread Gianluca Musella
thank you ManiKanta, it helps much. 2008/9/23 ManiKanta G <[EMAIL PROTECTED]>: >> in an interceptor is possible to know which action's method is called? > > > You can get the requesting method name by using > invocation.getProxy().getMethod(). > > Similarly you can get the action name: invocation

Re: quest on dynamic redirect

2008-09-23 Thread Gianluca Musella
report message: No result defined for action org.almayer.web.action.SessionAction and result home description: The requested resource (No result defined for action org.almayer.web.action.SessionAction and result home) is not available. What's my fault? Gianluca 2008/9/23 Gianluca

Re: quest on dynamic redirect

2008-09-23 Thread Gianluca Musella
ok, it sounds better. thank you Lukasz 2008/9/23 Lukasz Lenart <[EMAIL PROTECTED]>: >>> class="org.almayer.web.action.SessionAction" method="login"> >>> type="redirectAction">${redirectTo} >> >> >> This is the login action's method (I omitt logic): >> >>public Str

Re: quest on dynamic redirect

2008-09-23 Thread Gianluca Musella
It works fine. Thank you Alex, thank you Lukasz. 2008/9/23 Gianluca Musella <[EMAIL PROTECTED]>: > ok, it sounds better. > > thank you Lukasz > > > 2008/9/23 Lukasz Lenart <[EMAIL PROTECTED]>: >>>>> class="org.almayer.web.action.Ses

custom tags and struts

2008-09-27 Thread Gianluca Musella
esult in html is: Ie the tag isn't resolved but passed as string to the tag. Can anyone help me? thanks Gianluca - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: custom tags and struts

2008-09-27 Thread Gianluca Musella
s the property value as arguments, in this way: I receive the error: According to TLD or attribute directive in tag file, attribute value does not accepr any expression I remember that this is for security purpouse, but daoe exist a workaround to hide the use of struts' taglib in the tag? T

Re: custom tags and struts

2008-09-27 Thread Gianluca Musella
> You can change the tag's rtexprvalue attribute to "true" to allow EL > expressions in S2 tags. How to do this? Thanks Gianluca 2008/9/27 Gabriel Belingueres <[EMAIL PROTECTED]>: > You can change the tag's rtexprvalue attribute to "true" to allo

Re: custom tags and struts

2008-09-27 Thread Gianluca Musella
: java.el.ELException: Error parsing ${...} If I delete the @ chars the error disappear, but expression isn't evaluated correctly. Can someone helps me on this also? Thanks Gianluca 2008/9/27 Martin Gainty <[EMAIL PROTECTED]>: > > GianLuca > > that attribute is in the tld >

entity translation question

2008-09-28 Thread Gianluca Musella
In my jsp I have this (this is a sample, I need to have formatting html tag and plain text): The result html is: <b>some text</b> There is a way to output directly html tags? Thank in advance Gianluca - To un

Re: entity translation question

2008-09-28 Thread Gianluca Musella
Thank you Dave, you help me twice only today. Gianluca 2008/9/29 Dave Newton <[EMAIL PROTECTED]>: > --- On Sun, 9/28/08, Gianluca Musella wrote: >> In my jsp I have this [...] >> >> >> >> The result html is: >> >> some text >> >> T

security quest

2008-10-02 Thread Gianluca Musella
me type of encription (something similar FORM, NORMAL or DIGEST used in the standard JAAS)? Thanks Gianluca - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: security quest

2008-10-03 Thread Gianluca Musella
interceptor to act as the container, sharing an encoded copy of the entered credential. That's all. Is this conceptually corrected? And if yes, can someone give me an hint to how to do this work please? Thanks for your time. Gianluca 2008/10/3 Paweł Wielgus <[EMAIL PROTECTED]>: > Hi Gianluc

http request in ActionInvocation

2008-10-03 Thread Gianluca Musella
Hello guys, in an interceptor, in the intercept() method, how I can read parameters in the http request? Thanks Gianluca - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: security quest

2008-10-03 Thread Gianluca Musella
with the browser during the basic auth is to much expansive, and with no better results. Thank you Gianluca 2008/10/3 Laurie Harper <[EMAIL PROTECTED]>: > Firstly, HTTP BASIC authentication is only pseudo-secure: credentials are > sent encoded rather than in plain text, but the

duplicate tiles listener

2008-10-10 Thread Gianluca Musella
. Someone can help me? Thanks Gianluca - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Delivery Status Notification

2008-10-11 Thread Gianluca Musella
. Someone can help me? Thanks Gianluca Redelivered cause this error: -- Forwarded message -- From: <[EMAIL PROTECTED]> Date: 2008/10/11 Subject: Delivery Status Notification (Failure) To: [EMAIL PROTECTED] This is an automatically generated Delivery Status Notificati

upgrading Eclipse problem with tiles

2008-11-06 Thread Gianluca Musella
Mmm... I've update my Eclipse to Web Tools Platform 3.4 to use with TPTP 4.5 (the profiler) and my tiles.xml doen's work anymore. 22 errors: The content of element type "definition" must match "(icon?,display-name?,description?,put*,putList*)"

Re: Form submitted twice (no AJAX!)

2008-11-19 Thread Gianluca Musella
Do you use ffx or ie or something other? 2008/11/19 Milan Milanovic <[EMAIL PROTECTED]>: > > Yes, just like here: > http://struts.apache.org/2.0.12/docs/struts-2-spring-2-jpa-ajax.html > http://struts.apache.org/2.0.12/docs/struts-2-spring-2-jpa-ajax.html > > -- > Milan > > > diogo pontual wrote:

Re: Form submitted twice (no AJAX!)

2008-11-19 Thread Gianluca Musella
mmm... I don't know. Times ago I've a similar problem. The problem was that ffx3 loads pages two times if there are with empty or null src attribute. Hope this helps. Gianluca 2008/11/19 Milan Milanovic <[EMAIL PROTECTED]>: > > It is Eclipse integrated browser, I supo

Re: Getter Method call twice - S2

2008-12-04 Thread Gianluca Musella
What browser do you use? It can be an ffx3 bug, if you use ffx3 try with ie. Hope this help Gianluca 2008/12/4 Eugenio Perrotta Neto <[EMAIL PROTECTED]> > Hi all. > > I nedd a very urgent help. > > I dont know why when i use tiles or use Tag files whith struts 2, my ge

silly problem with s:text

2008-12-04 Thread Gianluca Musella
If I write in my jsp: with in my i18n.properies: home.hits=Foto visitate: {0}/{1} the output in html is: Foto visitate: 187/27.912 Is there a way to not write the .? Thank you, guys Gianluca

I: model created more than 1 times

2009-01-24 Thread Gianluca Musella
Does someone can explain me this behaviour please? I'm absolutely sure that my model is created more than one times. This is a problem for me. Can you explain me the lifecycle of the model? Thanks in advance Gianluca ---

custo login module & the model

2009-02-08 Thread Gianluca Musella
Hi all, Is possible, from my custom login module, to access the model? Thanks in advance, Gianluca

model bean from a servlet

2009-02-08 Thread Gianluca Musella
. Thank in advance Gianluca - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

interceptors does not work

2009-02-10 Thread Gianluca Musella
This is the interceptor declaration in my struts.xml: org.almayer.web.AlmayerModel session

R: model bean from a servlet

2009-02-10 Thread Gianluca Musella
btain the model in a servlet and to pass it manually to the jsp. That's all, can you help me? Anyway thank you very much. Gianluca > -Messaggio originale- > Da: Jack Qu [mailto:qujiak...@hotmail.com] > Inviato: martedì 10 febbraio 2009 14.24 > A: Struts Users Mail

interceptor on pdf

2009-03-04 Thread Gianluca Musella
Hello boys. Is there something similar interceptors but fired on resources different from actions? I need to fire an interceptor before to show a pdf. If no I must use a Filter. Thank in advance Gianluca Gianluca Musella Delivery Manager  E-Mail: gianluca.muse...@bsc.it  Mobile: +39

output entity in getText()

2009-03-06 Thread Gianluca Musella
n I protect the È to output the correct symbol? Thank in advance. Gianluca - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org