Re: [S2] ModelDriven: model not pushed on stack?

2008-08-27 Thread Wes Wannemacher
Okay, sorry, I don't remember the original post. My look at the FailingAction from the last message was what made me point to the docs. I also vaguely remember what Jeromy was referring to, but a quick search in JIRA doesn't show it. The code for most of the interceptors, especially the model

Re: how to set remoteuser

2008-08-27 Thread Jeromy Evans
Hardik Shah wrote: hi we can get remoteuser using request.getremoteuser() but how we can set it? - One approach is to wrap the request object. Create a Filter, decorate the HttpServletRequest with one the implements setRemoteUser() and delegates all other methods to the original.

Re: how to set remoteuser

2008-08-27 Thread Hardik Shah
Jeromy Evans - Blue Sky Minds wrote: A better approach is to use the container's authentication as intended so the remoteUser is managed by it.. i think u are saying about jdbc realm for container's authentication! - Java/J2EE developer India blogs

Re: how to set remoteuser

2008-08-27 Thread Hardik Shah
my first and last goal about that i want to maintain single sign on without storing user information in session i have also integrated hibernate with it ,can i use for achieve somthing like or not? - Java/J2EE developer India blogs http://hardik4u.wordpress.com wordpress blog --

Re: how to set remoteuser

2008-08-27 Thread Jeromy Evans
Hardik Shah wrote: Jeromy Evans - Blue Sky Minds wrote: A better approach is to use the container's authentication as intended so the remoteUser is managed by it.. i think u are saying about jdbc realm for container's authentication! Correct. It's not as bad as it first

Re: how to set remoteuser

2008-08-27 Thread Hardik Shah
Jeromy Evans - Blue Sky Minds wrote: Correct. It's not as bad as it first seems if you manage the entries in the two tables (for tomcat) yourself. Otherwise the next step is a third party library like Spring Security. try to use jdbcrealm but when submit gives error like HTTP

Re: how to set remoteuser

2008-08-27 Thread Jeromy Evans
Hardik Shah wrote: my first and last goal about that i want to maintain single sign on without storing user information in session i have also integrated hibernate with it ,can i use for achieve somthing like or not? Do you mean single sign-on as in across multiple domains or webapps? If

Re: how to set remoteuser

2008-08-27 Thread Jeromy Evans
Hardik Shah wrote: Jeromy Evans - Blue Sky Minds wrote: Correct. It's not as bad as it first seems if you manage the entries in the two tables (for tomcat) yourself. Otherwise the next step is a third party library like Spring Security. try to use jdbcrealm but when submit

how to work on SVN

2008-08-27 Thread Narasimha Raju Naidu
hi to all, i am new to eclipse, my client gave a SVN work bench and told me to work on for struts application. but i dont know from where i should start, whre i should add my files. can any one help me regarding this . waiting for your reply. -- Regards, Narasimha Raju.Naidu

RE: how to work on SVN

2008-08-27 Thread Iyer, Krishnan (US - Mumbai)
Hi Narasimha, Theres an Eclipse plugin called Subclipse which you can download from subclipse.tigris.org. You would need to configure subclipse so that your workspace points to the SVN repository. With this you can perform all SVN operations from your eclipse. Best Regards, Krishnan Iyer

Re: how to work on SVN

2008-08-27 Thread Narasimha Raju Naidu
Thanks for you instant reply, they configured every and told me that try to write build.xml. really i dont know what is build.xml and i searched on google and found one bild.xml and i edited that file and saved inmy application. but still im not confident abt that. now i

Re: how to set remoteuser

2008-08-27 Thread Hardik Shah
Jeromy Evans - Blue Sky Minds wrote: Do you mean single sign-on as in across multiple domains or webapps? If so, this will probably be container specific. If you mean a stateless authentication approach (ie. they sign in once, then each subsequent request includes the credentials so

Re: S2: TypeConverters and Spring Injection

2008-08-27 Thread Jeromy Evans
[EMAIL PROTECTED] wrote: Is there something unique about the StrutsTypeConverter class that causes auto-wire by name to work successfully (without even a bean definition of the converter), but not @Transactional/@PersistenceContext annotations? Thank you. It's a guess, but I would say

Extending EJBInjection interceptor

2008-08-27 Thread Alexander Baetz
Hi, i'm currently working on a new Interceptor for EJB Injection on Actions. I allready extendet it to work on fields and methods. But since i dont like to make my own Annotation type i wanted to use the javax.ejb.ejb anotation. But there is a small problem with that: the annotation used by

Re: how to set remoteuser

2008-08-27 Thread Jeromy Evans
Hardik Shah wrote: this approach in single webapp thanks i should go with spring security ,but it works fine with s2? \ Yes, others definitely use it with S2 and Spring. It takes substantial amount of effort to learn. You may have to ask for specific help about that after going

[S1] Global Error Page: Exception available?

2008-08-27 Thread Jari Fredriksson
Heya! Does Struts save the exception anywhere in the request before loading a global-error-page? I would not like to catch exceptions in my Action and save the error message, and I guess that is a common problem. So is there any way I can print the Exception.getMessage() in the global error

Re: Extending EJBInjection interceptor

2008-08-27 Thread Jeromy Evans
Alexander Baetz wrote: Hi, i'm currently working on a new Interceptor for EJB Injection on Actions. I allready extendet it to work on fields and methods. But since i dont like to make my own Annotation type i wanted to use the javax.ejb.ejb anotation. But there is a small problem with that:

Ampersand sign problem

2008-08-27 Thread Nayyer Kamran
Hello, I am trying to use “ISO-8859-1” char set in my web application. But when I try to display “?” sign using html:text field it displays “#163;”. If I look at the HTML source there I see that “” is escaped by the character entity “amp;” so now instead of “#163;” the value is “amp;#163;”

Re: [S1] Global Error Page: Exception available?

2008-08-27 Thread Nuwan Chandrasoma
The value stack will have 2 properties called exception and exceptionStack, Thanks, Nuwan Jari Fredriksson wrote: Heya! Does Struts save the exception anywhere in the request before loading a global-error-page? I would not like to catch exceptions in my Action and save the error message,

Re: how to set remoteuser

2008-08-27 Thread Hardik Shah
Jeromy Evans - Blue Sky Minds wrote: Yes, others definitely use it with S2 and Spring. It takes substantial amount of effort to learn. You may have to ask for specific help about that after going through the tutorials. yes you are right ,i have just seen that ,it might be took so

Re: how to set remoteuser

2008-08-27 Thread Jeromy Evans
Hardik Shah wrote: could you provide basic stuff or link for implementing Guice/Warp with s2 - he he, that's also a major decision if you want to go down that path. I don't recommend jumping after whichever approach seems least effort (btw, your original approach to use a realm

Re: how to set remoteuser

2008-08-27 Thread Hardik Shah
yes :-) you are right ! i just confused bcoz showing various aspects :confused::confused: Jeromy Evans - Blue Sky Minds wrote: he he, that's also a major decision if you want to go down that path. I don't recommend jumping after whichever approach seems least effort (btw, your original

Re: Extending EJBInjection interceptor

2008-08-27 Thread Lukasz Lenart
make my own Annotation type i wanted to use the javax.ejb.ejb anotation. But Maybe it will be better to use @Inject from xwork or something? The javax.ejb.ejb annotation are used to define EJBs itself not to be used for injecting them. Regards -- Lukasz http://www.lenart.org.pl/

Re: [S1] Global Error Page: Exception available?

2008-08-27 Thread Lukasz Lenart
Hi, You can read the docs [1] and if you defined exception handler with default handler, then exception are stored in request object under Globals.EXCEPTION_KEY [1] http://struts.apache.org/1.3.8/userGuide/building_controller.html#exception_handler Regards -- Lukasz http://www.lenart.org.pl/

Re: [S1] Global Error Page: Exception available?

2008-08-27 Thread Dave Newton
--- On Wed, 8/27/08, Jari Fredriksson wrote: Does Struts save the exception anywhere in the request before loading a global-error-page? IIRC it's in the request under Globals.EXCEPTION_KEY. I think. Dave - To unsubscribe,

Invalidating session

2008-08-27 Thread Gundersen, Richard
Hi all I came across this page for invalidating the session http://struts.apache.org/2.0.11.2/docs/how-do-we-get-invalidate-the-sess ion.html It mentions this way of invalidating the session: if (session instanceof org.apache.struts2.dispatcher.SessionMap) {

Struts 2 + Rest URLs

2008-08-27 Thread rakeshxp
Hi All, I am migrating from struts 2.0.10 to 2.1.2 ( for need of restful URLs). Could someone help me understand the following ? 1) Is it better to use Annotations or Codebehind for Restful URLs? ( I some how like the annotations more than assuming some standard for resources) 2) I am stuck at

Re: Struts 2 + Rest URLs

2008-08-27 Thread Jeromy Evans
rakeshxp wrote: Hi All, I am migrating from struts 2.0.10 to 2.1.2 ( for need of restful URLs). Could someone help me understand the following ? 1) Is it better to use Annotations or Codebehind for Restful URLs? ( I some how like the annotations more than assuming some standard for resources)

Re: Struts 2 + Rest URLs

2008-08-27 Thread Jeromy Evans
Jeromy Evans wrote: rakeshxp wrote: Hi All, I am migrating from struts 2.0.10 to 2.1.2 ( for need of restful URLs). Could someone help me understand the following ? 1) Is it better to use Annotations or Codebehind for Restful URLs? ( I some how like the annotations more than assuming some

Re: Invalid field value on select with multiple=true

2008-08-27 Thread ms . programmer . 1
I am having this same problem. Have you had any luck fixing this? On Tue, Aug 26, 2008 at 3:33 PM, Jimmy Shabadoo [EMAIL PROTECTED]wrote: Hi Folks, I have a class, Item, that has a Set of ItemCertifications. I want to represent ItemCertifications as a select box with the attribute

Re: Struts 2 + Rest URLs

2008-08-27 Thread rakeshxp
Excellent. Thanks! So now, I have the following com.struts.example.action.AccountController com.struts.example.action.account.LogoutController When I hit, http://localhost:8080/myapp/account/logout , then I get the following exception No result defined for action

RE: Default bundles with JDK6

2008-08-27 Thread Repko, Brian
There's been no reply to this - is there something more that I can give folks for help on this? -Original Message- From: Repko, Brian [mailto:[EMAIL PROTECTED] Sent: Sunday, August 24, 2008 11:41 To: Struts Users Mailing List Subject: Default bundles with JDK6 We have a custom

Re: Struts 2 + Rest URLs

2008-08-27 Thread rakeshxp
Jeromy Evans - Blue Sky Minds wrote: This is a approach is fine. The annotations are a feature of CodeBehind in 2.1 (used by CodeBehind to create the configuration) Note that CodeBehind will be replaced by the ConventionPlugin in 2.2ish but the annotations won't need to change

Re: Struts 2 + Rest URLs

2008-08-27 Thread Jeromy Evans
rakeshxp wrote: Jeromy Evans - Blue Sky Minds wrote: This is a approach is fine. The annotations are a feature of CodeBehind in 2.1 (used by CodeBehind to create the configuration) Note that CodeBehind will be replaced by the ConventionPlugin in 2.2ish but the annotations won't need to

Re: Struts 2 + Rest URLs

2008-08-27 Thread Jeromy Evans
I need to sign off, but have a look at the REST showcase included in the apps directory of struts2.1 The location of results is best described here: http://struts.apache.org/2.x/docs/codebehind-plugin.html Codebehind doesn't have much flexibility in the result location. If you use

Re: Struts 2.1.2 REST plug-in

2008-08-27 Thread stanlick
Thanks bro. So am I to understand that annotations are required to take advantage of namespaces if you are not configuring your actions in XML? This would seem to have simply moved configuration into the actions. :( Peace, Scott On Tue, Aug 26, 2008 at 5:10 PM, Musachy Barroso [EMAIL PROTECTED]

Re: Struts 2.1.2 REST plug-in

2008-08-27 Thread Musachy Barroso
It should work with XML config also. musachy On Wed, Aug 27, 2008 at 9:43 AM, [EMAIL PROTECTED] wrote: Thanks bro. So am I to understand that annotations are required to take advantage of namespaces if you are not configuring your actions in XML? This would seem to have simply moved

Re: [S2] ModelDriven: model not pushed on stack?

2008-08-27 Thread Pierre Thibaudeau
2008/8/27 Jeromy Evans [EMAIL PROTECTED] There is something else at play here. If you put a break-point in the interceptor it should become clear. I vaguely an update or concern recently relating to automatic refreshing of the model in the ModelDriven interceptor; the interceptor gets the

Re: Credit card validator

2008-08-27 Thread David N. Arnold
Don't know if it helps you, but Hibernate Validator has a credit card validator. It will work with JPA providers other than just Hibernate. On Thu, Aug 21, 2008 at 10:39 AM, Gundersen, Richard [EMAIL PROTECTED] wrote: Cheers Dave I'll dig around and see if theres a good open source

RE: Credit card validator

2008-08-27 Thread Gundersen, Richard
Thanks David I'll give it a try - thanks for the tip Richard Gundersen Java Developer Email: [EMAIL PROTECTED] Phone: 01618302398 Fax: 01618342536 London Scottish Bank plc 24 Mount Street Manchester M2 3LS -Original Message- From: David N. Arnold [mailto:[EMAIL PROTECTED] Sent:

[S2] non intuitive OGNL value evaluation?

2008-08-27 Thread Gabriel Belingueres
Hi, Please see this lines: s:property value='#parameters.eventoId'/br/ s:property value='%{hello + #parameters.eventoId}'/br/ s:property value='%{hello + #parameters.eventoId[0]}'/ Let's say that parameter eventoId == 9, it outputs: 9 hello[Ljava.lang.String;@144c5bb hello9 The funny thing is

Re: [S2] non intuitive OGNL value evaluation?

2008-08-27 Thread Dave Newton
--- On Wed, 8/27/08, Gabriel Belingueres wrote: [...] or is it some bug in the OGNL evaluation code? I wouldn't call it a bug per se, but instead unexpected, designed behavior. In other words, I believe it's doing that on purpose. There are some other situations in which OGNL will evaluate

Re: [S2] non intuitive OGNL value evaluation?

2008-08-27 Thread Musachy Barroso
Parameters are an array, so parameters.eventoId is an String array(hence [Ljava.lang.String;@144c5bb), to get the actual value you need to always do parameters.eventoId[0]. Are you sure that it print 9 for the first one? musachy On Wed, Aug 27, 2008 at 11:15 AM, Gabriel Belingueres [EMAIL

Re: Struts 2 + Rest URLs

2008-08-27 Thread rakeshxp
I think I am beginning to understand this plugin :) One issue that I am stuck at is that, assuming I have only 1 class com.struts.example.action.AccountController , then http://localhost:8080/myapp/account and http://localhost:8080/myapp/account/1 ( maps to show ) works. But the moment I have

Struts 2 Rest + Prevent Session creation

2008-08-27 Thread rakeshxp
Creating a new post for a new query on struts 2 rest plugin. In my current app ( built on struts 2.0.10), I have a custom interceptor stack ( which is set as default-interceptor-ref ). the code looks like this: package name=mydefault extends=struts-default namespace=/

Re: Empresas Condomínio

2008-08-27 Thread Joao Cerdeira
Obrigado :D On Wednesday 27 August 2008 16:36:44 Pedro Borges wrote: João, Aqui tens os contactos que me pediste: - MTS AGI (a que ganhou e que era mais barata): José Carvalho / +351 93 8862326 - Forevergest (a que eu gostei mais): Drª Filomena Monteiro / +351 91

Re: Invalidating session

2008-08-27 Thread dynamicd
I invalidate my session in my action using request.getSession().invalidate(); Gundersen, Richard wrote: Hi all I came across this page for invalidating the session http://struts.apache.org/2.0.11.2/docs/how-do-we-get-invalidate-the-sess ion.html It mentions this way of

Re: [S2] non intuitive OGNL value evaluation?

2008-08-27 Thread Dave Newton
IIRC it will--OGNL plays some games to try and do what it thinks you want to; I'm not what all the rules are, though. --- On Wed, 8/27/08, Musachy Barroso [EMAIL PROTECTED] wrote: From: Musachy Barroso [EMAIL PROTECTED] Subject: Re: [S2] non intuitive OGNL value evaluation? To: Struts Users

Re: [S2] non intuitive OGNL value evaluation?

2008-08-27 Thread Gabriel Belingueres
Positively sure. Forgot to mention: I'm testing against S2.1.2 2008/8/27, Musachy Barroso [EMAIL PROTECTED]: Parameters are an array, so parameters.eventoId is an String array(hence [Ljava.lang.String;@144c5bb), to get the actual value you need to always do parameters.eventoId[0]. Are you

Re: couldn't access s:include param using #parameters

2008-08-27 Thread Becky . L . O'Sullivan
Unfortunately you can't use JSTL in Struts 2 tags anymore. I got around this by using JSTL to set the parameter into page scope: c:set var=paramName value=${param.paramName}/ Once it's in page scope #attr will find it: s:if test=#attr.paramName == 'someStringValue'found it!/s:if -B

Re: Extending EJBInjection interceptor

2008-08-27 Thread Alexander Baetz
Correct me if i'm wrong but afaik beans (with bean-name) are defined via @stateless and @statefull and @entity @EJB (in servelett context) does the injection for me. and this doesnt work with struts. based on the code from the plugin i thought i would have take care of the instances. but

Re: [S2] ModelDriven: model not pushed on stack?

2008-08-27 Thread Pierre Thibaudeau
2008/8/27 Jeromy Evans [EMAIL PROTECTED] I vaguely an update or concern recently relating to automatic refreshing of the model in the ModelDriven interceptor; the interceptor gets the model and re sets it on the stack when it thinks it should. I followed through your suggestion, and came up

Re: Extending EJBInjection interceptor

2008-08-27 Thread Alexander Baetz
As i answered to the other mail. I'm not sure. Based on the code i started with i thought i would have to take care of the instances (and therefore only hold one for a stateless bean). I'm not that familiar with EJB injection and lookups. but when i think about it JNDI has to hold the one

Re: [S2] non intuitive OGNL value evaluation?

2008-08-27 Thread Pierre Thibaudeau
2008/8/27 Dave Newton [EMAIL PROTECTED]: IIRC it will--OGNL plays some games to try and do what it thinks you want to; Microsoft products too try to do what they think you want... It's absolutely maddening! ;) - To unsubscribe,

RE: Extending EJBInjection interceptor

2008-08-27 Thread Martin Gainty
which EJB container are you using to implement the @EJB functionality? Martin __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential

Re: [S2] Iterate through two lists

2008-08-27 Thread Milan Milanovic
Hi Dave, I don't understand this, what are you saying that I cannot use Set in jsp in this way ? Is there any other solution ? -- Thx, Milan newton.dave wrote: --- On Tue, 8/26/08, Dave Newton [EMAIL PROTECTED] wrote: (And even if you can't or don't want to fix it on the server-side,

Re: Extending EJBInjection interceptor

2008-08-27 Thread Struts Two
I am currently using my own customized EJB3InjectInterceptor for Websphere application server (It only injects local beans as I do not use remote in my application). Now seeing that Jeromy is working on a new Interceptor, I wonder if all the servers follow the same lookup pattern. I know that

Struts2 with JPA/Hibernate using Spring

2008-08-27 Thread Håkan Jacobsson
Hi, I have a Struts2 web application. I'm using Spring (for autowiring of dependency injection) to integrate JPA and Hibernate in the web app. It's working fine. Now I need to separate the JPA/Hibernate classes into a separate jar file (the web app will have this jar file as a dependency). How

Re: Struts 2.1.2 REST plug-in

2008-08-27 Thread stanlick
Did you miss the part about ...if you are not configuring your actions in XML? Musachy Barroso wrote: It should work with XML config also. musachy On Wed, Aug 27, 2008 at 9:43 AM, [EMAIL PROTECTED] wrote: Thanks bro. So am I to understand that annotations are required to take

RE: Struts2 with JPA/Hibernate using Spring

2008-08-27 Thread Martin Gainty
the JPA package structure would look like: WEB-INF/classes/package/persistence/*.class WEB-INF/classes/META-INF/persistence.xml WEB-INF/classes/META-INF/orm.xml (optional) OR you could jar everything into one jar and place in lib folder WEB-INF/lib/*.jar documentation located at

Ang: RE: Struts2 with JPA/Hibernate using Spring

2008-08-27 Thread Håkan Jacobsson
Martin, Big thanx for a quick answer! If I understand you correctly - both persistence.xml and applicationContext. xml can be placed together with the JPA/Hibernate classes in a jarfile located in WEB-INF/lib in the web app? /regards, Håkan Ursprungligt meddelande Från: [EMAIL

What is the struts way to create a navigation menu?

2008-08-27 Thread laredotornado
Hi, Using pre-Struts 2, what is the preferred method of creating a navigation menu? I have something that looks like this -- http://screencast.com/t/xmVBY9Te and the desire is that as I click on each nav item it takes me to my page of choice while styling the current menu selection differently.

Re: Struts date tag?

2008-08-27 Thread Laurie Harper
laredotornado wrote: Hi, Using pre-Struts 2, is there a tag that will create a date (month, day, and year)? What would I need to do in the ActionForm? In other words, it seems I'm not sure I understand; are you asking if there is a tag which will create separate HTML form inputs for month,

[OT] Re: [S2] Iterate through two lists

2008-08-27 Thread Dave Newton
--- On Wed, 8/27/08, Milan Milanovic wrote: I don't understand this, what are you saying that I cannot use Set in jsp in this way ? What would it mean to get the nth index of a set??? Sets are unordered. Dave - To

Re: What is the struts way to create a navigation menu?

2008-08-27 Thread Dave Newton
--- On Wed, 8/27/08, laredotornado wrote: Using pre-Struts 2 [...] You mean... Struts 1? what is the preferred method of creating a navigation menu? There's Struts Menu, and a million other menu techniques. I know of no preferred way; it just depends on what you need, how you want to

RE: [S2] Iterate through two lists

2008-08-27 Thread Martin Gainty
try the simplest of scenarios such as html head titlethis is for milan/title /head body s:iterator status=stat value={1,2,3,4,5} !-- reference the index (start with 0 ... ) -- s:property value=#stat.index / !-- reference the top of the stack which should be the -- !-- current

Re: [S2] ModelDriven: model not pushed on stack?

2008-08-27 Thread Dave Newton
http://struts.apache.org/2.x/docs/editing-the-documentation.html Dave --- On Wed, 8/27/08, Pierre Thibaudeau [EMAIL PROTECTED] wrote: From: Pierre Thibaudeau [EMAIL PROTECTED] Subject: Re: [S2] ModelDriven: model not pushed on stack? To: Struts Users Mailing List user@struts.apache.org

Re: Struts date tag?

2008-08-27 Thread laredotornado
Hi, I am asking if there is a tag which will create separate HTML form inputs for month, day and year. Thanks, - Dave Laurie Harper wrote: laredotornado wrote: Hi, Using pre-Struts 2, is there a tag that will create a date (month, day, and year)? What would I need to do in the

Re: Extending EJBInjection interceptor

2008-08-27 Thread Alexander Baetz
the old way for JBoss servers is a JNDI lookup, which looks something like this: InitialContext initialContext = new InitialContext(); service = initialContext.lookup(myEJB); normaly myEJB would be the name used in the @stateless or @statefull annotation or (if not set) the classname As it

RE: [S2] Iterate through two lists

2008-08-27 Thread Dave Newton
You managed three different taglib prefixes in one email; that's gotta be some sort of record. --- On Wed, 8/27/08, Martin Gainty [EMAIL PROTECTED] wrote: From: Martin Gainty [EMAIL PROTECTED] Subject: RE: [S2] Iterate through two lists To: Struts Users Mailing List user@struts.apache.org

Re: Struts date tag?

2008-08-27 Thread Dave Newton
--- On Wed, 8/27/08, laredotornado wrote: I am asking if there is a tag which will create separate HTML form inputs for month, day and year. Was there one in the taglib documentation? I don't recall there being one. Dave -

Re: [OT] Re: [S2] Iterate through two lists

2008-08-27 Thread Milan Milanovic
I'm using TreeSet and my set objects are implementing Comparable interface, so they are ordered, aren't they ? Altough, I know that Set doesn't have get(index) method. O.K. I'll switch to List. Thx. -- Milan newton.dave wrote: --- On Wed, 8/27/08, Milan Milanovic wrote: I don't understand

Re: [OT] Re: [S2] Iterate through two lists

2008-08-27 Thread Dave Newton
If the underlying implementation is ordered then the 9-character JSP trick would probably work. The solution is left as an exercise for the reader. Dave --- On Wed, 8/27/08, Milan Milanovic [EMAIL PROTECTED] wrote: From: Milan Milanovic [EMAIL PROTECTED] Subject: Re: [OT] Re: [S2] Iterate

Re: What is the struts way to create a navigation menu?

2008-08-27 Thread laredotornado
Fair enough. Here's how I'm doing it now. Definitely interested in any thoughts for cleaning up this mess, optimizing and using Struts 1 to the fullest. The variable allowedTasks is a Vector of Strings representing what the user can do within the app. div width=100% align=left class=menuBar

Re: Extending EJBInjection interceptor

2008-08-27 Thread Jeromy Evans
Struts Two wrote: Now seeing that Jeromy is working on a new Interceptor, I wonder if all the servers follow the same lookup pattern. I'm not working on any interceptors related to this. For JNDI lookups in S2 in the past I've used the DI framework's features rather S2. ie. Both Spring and

Re: Struts 2 Rest + Prevent Session creation

2008-08-27 Thread Jeromy Evans
rakeshxp wrote: But this does not seem to work. When I hit any restful URL, then there is a JSESSIONID cookie being set. Could someone point out what is wrong with the above config ? Thanks! CodeBehind is responsible for setting up the packages. I don't know the history, but codebehind

YUI plugin -please suggest me how to imlementing it

2008-08-27 Thread Varun Deep
Hello to all I am using the YUI plugin with my struts2 based application. I downloaded jsonplugin-0.30.jar put it in the lib directory. I have also done the required coding for it. But still I am not able to load the required class file. Please suggest me the steps required to implement it.

Re: Default bundles with JDK6

2008-08-27 Thread Jeromy Evans
Repko, Brian wrote: There's been no reply to this - is there something more that I can give folks for help on this? Sounds like a bug. This section has always seemed messy to me. There's been several changes here in the 2.1 branch. I don't completely understand your approach, but