Hi Paweł,
thats true it only send request to server if i will refresh the page and
for that i have already custom interceptor places which is checking the user
object in session in order to confirm that the request is from authorized
user
but when i make use of back button it serve the page
Hi Shekher,
what i meant is that it can be done from server side.
Check for example Your e-banking application, i did it on mine :-).
There, when You press back button browser won't serve You cached page
but ask server for fresh one - this is controlled with content-cache
and pragma, but i can't
Hi Dave,
Thanks for your tip. Apologies for my newbie-ness. Like I said, I've
tried every combination I can think of - except presumably the correct
one. Some examples:
s:param name=#attr['reqParam'].key
value=#attr['reqParam'].value/
s:param name=#['reqParam'].key
Hi,
On Tue, Jan 20, 2009 at 2:08 PM, Zoran Avtarovski
zo...@sparecreative.com wrote:
I¹ve just upgraded an app from 2.0.xx to 2.1.6 and found that the s:select
tag is incorrectly rendering the tooltip html.
I¹ve gone back to defaults and this is what¹s being produced::
td
Hollow All,
I used s:textarea tag, can enter the length text in one line. How to set
limited text (characters) in one line in textarea.
Here is a snippet of my code in the jsp:
s:textarea name=waterholeText cols=96 rows=10
cssClass=inputTextArea/s:textarea
I expect correct
Hi Nathan,
On Wed, Jan 21, 2009 at 9:25 AM, Nathan Coast nat...@codeczar.com wrote:
Hi Dave,
Thanks for your tip. Apologies for my newbie-ness. Like I said, I've tried
every combination I can think of - except presumably the correct one. Some
examples:
s:param name=#attr['reqParam'].key
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
i tried using setting the eader values but they are not working as expected
i can even
go and move back using broswer back button.
if i will find anything helpfull will share with you
till then hard luck
:)
2009/1/21 Paweł Wielgus poulw...@gmail.com
Hi Shekher,
what i meant is that it can be
Is it possible that either i should only put these header in the logout
action
where i am removing the session and den redirecting the user to index page
something like this
HttpServletResponse response=null;
response=ServletActionContext.getResponse();
I experienced a strange issue about Velocity and Struts2.
Two requests for different methods in the same Action concurrently, however
they got the same response. It means request A get the same result of
request B.
I tried google, but can't find anything useful. Could you help me? I guess I
Yes, there are 2 files (InjectEJB.java,EJB3Interceptor.java) that are
visible at
Browse the Source code
or you can do an anonymous SVN checkout:
svn checkout */http/*://struts2ejb3.googlecode.com/svn/trunk/
struts2ejb3-read-only
BR,
Andras
Fernandes Celinio SGCF wrote:
Hello Lukasz,
Can
i wanna use html:img inside html:button
here is the example :
html:button property=test onclick=modifierLigne(%= index
%,%=((AjustContrat)ajustContrat).getAjustcontId() %)
html:img alt=bean:message
key=commun.modifier/ src=img/modif.jpg height=15px
elyes sallem wrote:
html:img alt=bean:message key=commun.modifier/
src=img/modif.jpg height=15px
style=vertical-align: bottom/
The issue is that you're nesting custom tags, and you can't do that. I'd
probably just use an HTML image tag.
ObFaqEntryRant
Sure seems
Hi Ralf,
Thanks for the pointers. It feels to me that the having the param tag
within an iterator was a bit of a hack in the first place. Some
solutions I may play with...
1) create a params class that copes with collections
2) subclass the url class to cope with param maps directly
3)
The docs for the iterator tag,
http://struts.apache.org/2.0.11.2/docs/iterator.html
has an error, IMO (apart from the unfortunate confusion over the 'id'
vs 'var' attributes, which actually apply to struts 2.1) :
It says:
var : Name used to reference the value pushed into the Value Stack
hernan gonzalez wrote:
The docs for the iterator tag,
http://struts.apache.org/2.0.11.2/docs/iterator.html
has an error, IMO (apart from the unfortunate confusion over the 'id'
vs 'var' attributes, which actually apply to struts 2.1) :
It says:
var : Name used to reference the value
(Forgot to add that the same is true for the bean tag as well.)
Dave Newton wrote:
hernan gonzalez wrote:
The docs for the iterator tag,
http://struts.apache.org/2.0.11.2/docs/iterator.html
has an error, IMO (apart from the unfortunate confusion over the 'id'
vs 'var' attributes, which
Of course, the object is pushed on the stack in every case (inside the
scope of the iterator /bean tag) but , apart from that, the var/id
attribute is used to place it (with that name!) in the ActionContext,
and it will remain there even outside the tag scope, after it has been
removed from the
hernan gonzalez wrote:
Of course, the object is pushed on the stack in every case (inside the
scope of the iterator /bean tag) but , apart from that, the var/id
attribute is used to place it (with that name!) in the ActionContext,
and it will remain there even outside the tag scope, after it has
Whoever wrote that description is missing some serious english skillz.
musachy
On Wed, Jan 21, 2009 at 3:08 PM, hernan gonzalez hgonza...@gmail.com wrote:
Of course, the object is pushed on the stack in every case (inside the
scope of the iterator /bean tag) but , apart from that, the var/id
Hello everybody,
I would like to know if there is a sane way to store a request (i.e.
action name and all parameters) and use it later.
It would be nice to do this to redirect a user to the login screen and
just invoke the original action after the user has been successfully
authenticated.
On Wednesday 21 January 2009 20:35:49 Andreas Mähler wrote:
Hello everybody,
I would like to know if there is a sane way to store a request (i.e.
action name and all parameters) and use it later.
It would be nice to do this to redirect a user to the login screen and
just invoke the original
Hi,
I have a Java class as a model which has a method taking a MessageResources
as a parameter and returning a String loaded from a properties file using
the MessageResources. The model is created in Action.execute(). The project
can be compiled but when running it, we get
I am trying to upgrade to 2.1.6 and getting an error on Validation
that I am having problems isolating. I followed migration guide at
http://cwiki.apache.org/S2WIKI/troubleshooting-guide-migrating-from-struts-20x-to-21x.html
and didn't actually have to change that much since application is in
very
Should be located in struts-core
http://www.java2s.com/Code/Jar/Apache/Downloadstrutscore135jar.htm
make sure you struts-core*.jar goes in ./WEB-INF/lib
As you are located in Canada it is possible you *may* have be using different
Locales in which case you want to use getMessage(Locale,key)
1)store in db
2)if static.. place in properties file
3)you can use OGNL to place values into 'application' scope
surest and safest is to store in db..
Mit freundlichen Grüßen
Martin
__
Disclaimer and confidentiality note
Everything in this e-mail
Martin Gainty wrote:
1)store in db
2)if static.. place in properties file
3)you can use OGNL to place values into 'application' scope
...
3) Seems like 'session' would be more appropriate since we're talking
about storing an individual user's request, to be re-used after a login.
And it
Martin Gainty wrote:
Should be located in struts-core
http://www.java2s.com/Code/Jar/Apache/Downloadstrutscore135jar.htm
As a side note, I don't think that's an official Apache mirror, and I
didn't see the signatures there--I couldn't recommend downloading it
from there.
SEAM does use a conversation id that is passed in the traffic to the client.
The longer business process context stores data in a database so that another
participant in the process on logging in can work on it.
Chris
-Original Message-
From: Greg Lindholm glindh...@yahoo.com
29 matches
Mail list logo