I think you could use:
public String intercept(ActionInvocation invocation){
invocation.getProxy().getNamespace();
...
Regards,
Sven
Michael Obster schrieb:
Hi,
is there a way to get the namespace of an invoked action in an
interceptor?
I don't find a way to do that :-(. Anyone has an
I'm guessing your POs in User are null. Line 15 in TestAction should
tell you what.
Nils-H
On Tue, Nov 11, 2008 at 12:52 PM, aum strut [EMAIL PROTECTED] wrote:
Hi all,
I am using Model Driven approach for transfering my form data to the bean
object.i have a form(JSP Page) where i have
Yes thats true..
but may be i am wrong i am assuming that i am trying to set my PO classes in
the USer class
and for this user class i am using MOdel Driven Approach in my action
class..
if i am doing wrong here can any body point me where's the error in the
approach
On Tue, Nov 11, 2008 at 5:54
Hey guys,
I'm using custom objects to store attributes (say a person with
first/last name, age, height). Right now I have a collection that
stores these objects, and then displays them on a JSP page for the user
to select one from the collection for further processing like so:
s:iterator
Hi,
I was also facing the same problem.
I deleted the xml-apis.jar from the Tomcat5.0\common\endorsed and this did
the trick for me.
Try it out and hopefully your problem will also be solved.
Happy coding !!!.
Regards,
- Prabesh
zhaoren liu wrote:
Hi guys,
I am study Struts2. When I
Hi,
is there a way to get the namespace of an invoked action in an interceptor?
I don't find a way to do that :-(. Anyone has an idea for this problem?
The point is I want to check the users role in the interceptor whether
the user is allowed to call the action.
Regards,
Michael
--
Hi,
I am using yui autocompletion data table .
while getting this page , the json request is going to server and getting
all the records to this table.
but it is displaying data error. please help me out this problem,because i
was dumbstuck on this problem from days.
below is the my jsp code
Hi all,
I am using the s.datetimerpicker for selecting a time. (
It rounds up (or down) to full 5 or 10 minutes.
Does anybody kown who to prevent the picker from doing it?
BMW
Leeb Jürgen
Planung Steuerungstechnik Lackiererei
Landshuter Straße 56
84130 Dingolfing
Tel: +49 8731/76-22520
Fax:
Hi,
I'd like to wrap entire web requests with a transaction, so that
multiple calls to different DAO's are all considered part of the same
transaction. I currently have the OpenEntityManagerInView filter set
up, and it seems to be working fine. I thought that might give me what
I want, but
You may use spring to do the thing you want (springframework.org),
it's relative straightforward to do what you want with it, but you may
need to change the OpenEntityManagerInView to manage the transactions.
Si quieres ser más positivo, pierde un electrón
Miguel Ruiz Velasco S.
On Tue, Nov
Hello, I am trying to use the JSON plugin in my struts2 application. I am
getting a parser error on the string returned from the server. I think the
plugin is having problems converting my Map to JSON.
Here is my object that I am trying to convert to JSON:
public class RoleDetails extends
Using objects as keys is probably not a good idea.
musachy
On Tue, Nov 11, 2008 at 6:25 PM, Relph,Brian [EMAIL PROTECTED] wrote:
Hello, I am trying to use the JSON plugin in my struts2 application. I am
getting a parser error on the string returned from the server. I think the
plugin is
Where the s:select tag will render to HTML,
whatever you do in struts2-Tag, the HTML select just only pass the value
in select.
so, it seems no good idea.
I do it like this:
s:select list=listCollection listKey=displayValue
listValue=name+'separatorString'+anotherValue+'sepStr2'+id
I have an object that is related to a set of other objects. I suppose I could
make 2 maps both keyed by the same primitive, one for the objects, and one to
the related objects. But why? You say it is not a good idea, but my objects
all implement hashcode and equals, and outside of trying to
the problem will be when you try to access that map using javascript.
On Tue, Nov 11, 2008 at 8:38 PM, Relph,Brian [EMAIL PROTECTED] wrote:
I have an object that is related to a set of other objects. I suppose I
could make 2 maps both keyed by the same primitive, one for the objects, and
You can do something similiar to the following -
In your action create -
ListString textFields = new ArrayListString();
In your jsp you do the following -
s:textfield name=textFields[0] /
s:textfield name=textFields[1] /
s:textfield name=textFields[2] /
etc.
sivamIsha wrote:
dear
16 matches
Mail list logo