[OT] Recommendation of Instant Messagging System
We are developing an application (struts 1.1 + Tomcat 5.5 + Java 1.4). One of the requirements is to implement an instant messaging system for the users of the site (the system should not be very complex). Do you mind to share your experience in using this system. We are looking for free or non free systems. Thanks in advance. Miquel Angel Segui - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Seperation between Controller and Model
Um, what is a keypair? A primary key? I personally prefer to have "store" actions and "view" actions. In my "store" action I would call some business code which verifies that object can be saved automatically. And if not, then if "overwrite" flag is set by client. If yes, store and show "view". If not, show "view" with both objects and with checkbox/button to overwrite. On submit go to "store" action again. This time "overwrite" checkbox would be set. On 5/3/05, Nic Werner <[EMAIL PROTECTED]> wrote: > Hi again, >My apologies for a probably obvious problem. I've got an example > where I need to check (on update) if this object is actually being > 'moved' (ie, keypair is being changed), and if there is already data at > the dest. keypair, go back to the page, display both objects and confirm > the user wants to overwrite the actual data there. If confirmed, null > out the old keypair data and update the new keypair. > > Now, I'm confused on where I should put the logic for all this? This > almost seems like the perfect place for custom Validation code, and > seems like something the Controller would do, but it also seems that > this is business logic and shouldn't be coupled to Struts. I'm thinking > that all Struts should call is my DTO.Update() method? > > Maybe because I don't have much so-called business logic in this > application that I'm not sure of what really should be in that layer, > the above example is about as complex as the logic gets for me. > > Thanks, > > - Nic. > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Seperation between Controller and Model
Hi again, My apologies for a probably obvious problem. I've got an example where I need to check (on update) if this object is actually being 'moved' (ie, keypair is being changed), and if there is already data at the dest. keypair, go back to the page, display both objects and confirm the user wants to overwrite the actual data there. If confirmed, null out the old keypair data and update the new keypair. Now, I'm confused on where I should put the logic for all this? This almost seems like the perfect place for custom Validation code, and seems like something the Controller would do, but it also seems that this is business logic and shouldn't be coupled to Struts. I'm thinking that all Struts should call is my DTO.Update() method? Maybe because I don't have much so-called business logic in this application that I'm not sure of what really should be in that layer, the above example is about as complex as the logic gets for me. Thanks, - Nic. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How to use a Map backed Action form from JSP
Hi, I am a JSP newbie. We were using struts and velocity before and now we are switching over to struts and JSP. We were using Map backed ActionForm for our Application with velocity to handle dynamic and extensible form data. Now when I see the jakarta struts documentation for using the same with JSP, I donot see any example of setting an attribute of the Map backed form from JSP. There is example for getters though. Could anybody who has gone through this search help me and post an example of how to use (get and set) from JSP. Thanks --Shankar - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Struts in Resin: 500 Servlet Exception
Hi all, I am new to struts and tried to write a little logon application which has a LogonAction using other objects from different jar files to look up user accounts in DB via JDBC. But this is the error I got when loging in: 500 Servlet Exception java.lang.NoClassDefFoundError at com.listen.toollib.login.auth.jdbc.JdbcUser.getUser(JdbcUser.java:238) at com.listen.toollib.login.auth.jdbc.JdbcUser.login(JdbcUser.java:71) at logon.LogonAction.isUserLogon(LogonAction.java:30) at logon.LogonAction.execute(LogonAction.java:65) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:446) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:266) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1292) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510) at javax.servlet.http.HttpServlet.service(HttpServlet.java:165) at javax.servlet.http.HttpServlet.service(HttpServlet.java:103) at com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:96) at com.caucho.server.http.Invocation.service(Invocation.java:315) at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135) at com.caucho.server.http.RunnerRequest.handleRequest(RunnerRequest.java:346) at com.caucho.server.http.RunnerRequest.handleConnection(RunnerRequest.java:274) at com.caucho.server.TcpConnection.run(TcpConnection.java:139) at java.lang.Thread.run(Thread.java:536) Note that at this point, lib dir contains all the jar files that this stack trace complains it can't find as shown below. webdev:/pool/113/resin/webapps/myApp/WEB-INF/lib$ ls -ltr total 5232 -rw-r--r--1 tbui webdev 456709 Aug 14 2002 struts.jar -rw-r--r--1 tbui webdev 65368 Aug 14 2002 jakarta-oro.jar -rw-r--r--1 tbui webdev 28755 Aug 14 2002 commons-validator.jar -rw-r--r--1 tbui webdev 22146 Aug 14 2002 commons-services.jar -rw-r--r--1 tbui webdev 28528 Aug 14 2002 commons-resources.jar -rw-r--r--1 tbui webdev 28940 Aug 14 2002 commons-pool.jar.old -rw-r--r--1 tbui webdev 20357 Aug 14 2002 commons-logging.jar -rw-r--r--1 tbui webdev 29461 Aug 14 2002 commons-lang.jar -rw-r--r--1 tbui webdev 14416 Aug 14 2002 commons-fileupload.jar -rw-r--r--1 tbui webdev 93903 Aug 14 2002 commons-digester.jar -rw-r--r--1 tbui webdev 81146 Aug 14 2002 commons-dbcp.jar -rw-r--r--1 tbui webdev 146737 Aug 14 2002 commons-collections.jar -rw-r--r--1 tbui webdev 81171 Aug 14 2002 commons-beanutils.jar -rw-r--r--1 tbui webdev 42492 Apr 21 12:06 commons-pool-1.2.jar -rw-r--r--1 tbui webdev 3941 May 2 11:13 newtools.jar drwxr-xr-x2 tbui webdev 4096 May 3 15:48 META-INF -rw-r--r--1 tbui webdev2768333 May 3 16:47 listen.jar -rw-r--r--1 tbui webdev 731775 May 3 16:48 tools.jar -rw-r--r--1 tbui webdev 651224 May 3 16:48 listen-xmlbeans.jar Also, 1) logon.LogonAction.isUserLogon calls com.listen.toollib.login.auth.jdbc.JdbcUser.login which is in tools.jar 2) com.listen.toollib.login.auth.jdbc.JdbcUser.getUser(JdbcUser.java:238) refers to an object in listen.jar which also exists in the lib dir above I have spent the past week trying to figure out why but it has been in vain. Can anyone help me figure out which dir this application expects the jar to be if my set up is not correct? Thanks so much for your help, Thong Bui - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[OT] Security Filter
Got everything working fine. But I'm wondering about the forward to the "logon_error.jsp" page. In the example apps, the JSP page just says "Bad username and password combination" and doesn't try to access any request info. I was wondering if the is any info passed to give finer grained control. I'm looking to the source, but thought I'd post the question. Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Possibly OT: JSF Facets
Good Evening to All I am reading the spec on JSF and would like to know what facets are and when/where they are used My apologies for the OT nature of this inquiry Thanks, Martin Gainty
Re: Combining html:image and bean:define
Chris, Firstly, it looks like hard work using an and then defining an "onclick" event - why don't you just wrap a link around an image - i.e. something like... Secondly, struts provides the pageKey and titleKey attributes on the and tags which make it easier to use message resources for the "src" and "title" attributes. Putting that all together, how about the following http://struts.apache.org/userGuide/struts-html.html#link http://struts.apache.org/userGuide/struts-html.html#image http://struts.apache.org/userGuide/struts-html.html#img Niall - Original Message - From: "Chris Loschen" <[EMAIL PROTECTED]> Sent: Tuesday, May 03, 2005 9:55 PM Responding to my own question, I did manage to get this working by doing this: Is that the best way to do it? (It works, which is the main thing, but if there's a more efficient method, please let me know...) -Original Message- From: Chris Loschen To: Struts Users Mailing List Hi all, I'm using Struts 1.1, and just received from another team updates to a JSP page that look like this: However, these aren't working -- in the source of the generated HTML, the JSP tags are not getting converted to the appropriate scripting variable and are just getting rendered as-is. I checked and the defined beans are fine, just not when they're used inside the html:image tag. I gather than I cannot combine JSP tags and Struts tags, but I don't see how I can avoid it in this situation: we need the localization elements, and we also need the specific variables. There has got to be a way around this -- any suggestions? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Does cancel button work?
Oops, it works. RequestProcessor remaps tag key to action key. Sorry for the trouble. -- Forwarded message -- From: Michael Jouravlev <[EMAIL PROTECTED]> Date: May 3, 2005 1:49 PM Subject: Does cancel button work? To: Struts Users Mailing List I never used Cancel button before, as well as Action.isCanceled() method. I tried it now and it does not seem to work. Action checks for Globals.CANCEL_KEY, which equals to "org.apache.struts.action.CANCEL", while tag submits "org.apache.struts.taglib.html.CANCEL" as request parameter. Did I miss something? Michael. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Combining html:image and bean:define
Responding to my own question, I did manage to get this working by doing this: Is that the best way to do it? (It works, which is the main thing, but if there's a more efficient method, please let me know...) Thanks again! Chris Loschen -Original Message- From: Chris Loschen Sent: Tuesday, May 03, 2005 4:13 PM To: Struts Users Mailing List Subject: Combining html:image and bean:define Hi all, I'm using Struts 1.1, and just received from another team updates to a JSP page that look like this: However, these aren't working -- in the source of the generated HTML, the JSP tags are not getting converted to the appropriate scripting variable and are just getting rendered as-is. I checked and the defined beans are fine, just not when they're used inside the html:image tag. I gather than I cannot combine JSP tags and Struts tags, but I don't see how I can avoid it in this situation: we need the localization elements, and we also need the specific variables. There has got to be a way around this -- any suggestions? Thanks! Chris Loschen ___ Siebel IT'S ALL ABOUT THE CUSTOMER Visit www.siebel.com This e-mail message is for the sole use of the intended recipient(s) and contains confidential and/or privileged information belonging to Siebel Systems, Inc. or its customers or partners. Any unauthorized review, use, copying, disclosure or distribution of this message is strictly prohibited. If you are not an intended recipient of this message, please contact the sender by reply e-mail and destroy all soft and hard copies of the message and any attachments. Thank you for your cooperation. ___ Siebel IT'S ALL ABOUT THE CUSTOMER Visit www.siebel.com This e-mail message is for the sole use of the intended recipient(s) and contains confidential and/or privileged information belonging to Siebel Systems, Inc. or its customers or partners. Any unauthorized review, use, copying, disclosure or distribution of this message is strictly prohibited. If you are not an intended recipient of this message, please contact the sender by reply e-mail and destroy all soft and hard copies of the message and any attachments. Thank you for your cooperation. ___ Siebel IT'S ALL ABOUT THE CUSTOMER Visit www.siebel.com This e-mail message is for the sole use of the intended recipient(s) and contains confidential and/or privileged information belonging to Siebel Systems, Inc. or its customers or partners. Any unauthorized review, use, copying, disclosure or distribution of this message is strictly prohibited. If you are not an intended recipient of this message, please contact the sender by reply e-mail and destroy all soft and hard copies of the message and any attachments. Thank you for your cooperation. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Does cancel button work?
I never used Cancel button before, as well as Action.isCanceled() method. I tried it now and it does not seem to work. Action checks for Globals.CANCEL_KEY, which equals to "org.apache.struts.action.CANCEL", while tag submits "org.apache.struts.taglib.html.CANCEL" as request parameter. Did I miss something? Michael. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Multiple uploads / attachements
Abdullah Jibaly wrote: Does anyone have an example/pointers of uploading multiple files at one time? I have several forms using DynaValidatorAtionForm that have two file uploads. There's not much interesting going on, though, the framework is doing the majority of the work for me. A form bean, trimmed: The form in the JSP is declared to be a multipart. Processing the upload. trimmed: FormFile cssFile = (FormFile) form_.get("cssFile"); FormFile headerFile = (FormFile) form_.get("headerFile"); //... Upload.uploadFormFile(cssFile, root); Upload.uploadFormFile(headerFile, root); uploadFormFile, trimmed: InputStream instream = file_.getInputStream(); byte[] contents = new byte[file_.getFileSize()]; instream.read(contents); File outputFile = new File(root_ + "/" + file_.getFileName()); FileOutputStream outstream = new FileOutputStream(outputFile); outstream.write(contents); outstream.close(); Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Multiple uploads / attachements
Hi all, Does anyone have an example/pointers of uploading multiple files at one time? Thanks, Abdullah - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Combining html:image and bean:define
Hi all, I'm using Struts 1.1, and just received from another team updates to a JSP page that look like this: However, these aren't working -- in the source of the generated HTML, the JSP tags are not getting converted to the appropriate scripting variable and are just getting rendered as-is. I checked and the defined beans are fine, just not when they're used inside the html:image tag. I gather than I cannot combine JSP tags and Struts tags, but I don't see how I can avoid it in this situation: we need the localization elements, and we also need the specific variables. There has got to be a way around this -- any suggestions? Thanks! Chris Loschen ___ Siebel IT'S ALL ABOUT THE CUSTOMER Visit www.siebel.com This e-mail message is for the sole use of the intended recipient(s) and contains confidential and/or privileged information belonging to Siebel Systems, Inc. or its customers or partners. Any unauthorized review, use, copying, disclosure or distribution of this message is strictly prohibited. If you are not an intended recipient of this message, please contact the sender by reply e-mail and destroy all soft and hard copies of the message and any attachments. Thank you for your cooperation.
RE: [OT] how to test user role in jsp
it's amazing, how could i've missed that functionality of the logic: present tag??!?! thanks, guys, sometime the obvious is too near to see it! kr, guenther -- Günther Wieser creative-it Guglgasse 6/1/11/1 A-1110 Wien Austria http://www.creative-it.com -Original Message- From: Joe Germuska [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 03, 2005 6:00 PM To: Günther Wieser; 'Struts Users Mailing List' Subject: Re: [OT] how to test user role in jsp You can use (and ) to conditionally evaluate the user's role: http://struts.apache.org/userGuide/struts-logic.html#present Joe At 4:44 PM +0200 5/3/05, Günther Wieser wrote: >hi, > >sorry for posting something that's very likely not really related to >struts (but maybe it is, who knows), but coudn't find anything on the net. > >i would like to display a link depending if a user is in a certain >role. is there a test i could use in or anything >else i could use as a tag to do this? do i need to implement this on my own? > >kr, >guenther > >-- >Günther Wieser > >creative-it >Guglgasse 6/1/11/1 >A-1110 Wien >Austria >http://www.creative-it.com -- Joe Germuska [EMAIL PROTECTED] http://blog.germuska.com "Narrow minds are weapons made for mass destruction" -The Ex - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ANOTHER IDE
On Tue, May 3, 2005 1:06 pm, Ted Husted said: > The JetBrains IDEA is so good, it's spooky. > > It's like pair-programming with Commander Data. :) If I had Data around I'd just let him do all the work and pick up the fat management check :) That's pretty much what Picard did all those years now that I think about it :) Seriously though, what features do you find to be exceptionally good? I took a peak some time ago and thought it looked OK, but apparently you found some especially interesting things... Frank - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to populate a map of lists in an action form?
I'm stumped on the below also and want to know how to get this work. Typically my Lists and Map have beans nested in them with access methods to other lists and maps, but I know there should be a way to get this below to work efficiently (where you simply stuff lists and maps into other lists/maps. What is frustrating is I can pull all of it out fine with JSTL (A map with a single employees List which has a single Employee bean): (or a List wiht a List with an Employee bean in it): How to create the inputs for this in HTML, though, has me stumped at the moment. Daniel Lobo wrote the following on 5/3/2005 6:19 AM: Hi, I have an action form with a map that can be accessed with getters and setters. That map holds lists of elements. The problem is how to populate that lists from the html form . I've tried with: and but doesn't work. However, i've implemented a new class child of ArrayList that adds this two methods: public List getList() { return this; } public void setList(List list) { clear(); addAll(list); } And using this class in the map I can do from javascript: And the population of the ActionForm works properly. ¿Does somebody know how to fix this problem without the use of this two "ugly" methods? Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Rick - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ANOTHER IDE
The JetBrains IDEA is so good, it's spooky. It's like pair-programming with Commander Data. :) -Ted. On 5/2/05, Rafael Taboada <[EMAIL PROTECTED]> wrote: > Hi folks... > > I'm using NetBeans as IDE. But i want to know if there is another > powerful IDE that supports working with struts... > > Netbeans can do ant build for me. Is there another powerful IDE? or better?? > > thanks for ur cooperation > > -- > > Rafael Taboada > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- HTH, Ted. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Struts menu PermissionsAdapter question
This should be possible - you just need to implement the PermissionsAdapter interface. http://struts-menu.sourceforge.net/security.html Matt On May 3, 2005, at 10:00 AM, Vinicius Caldeira Carvalho wrote: Hello there! Is it possible to use PermissionAdpter to check a table of given roles instead of "hard coding" 'em on a xml? If so, any examples? Regards Vinicius - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Struts / JSTL c:import external websites
On 5/3/05, Folashade Adeyosoye <[EMAIL PROTECTED]> wrote: > Hi all, > >This might be a JSTL question more than a struts question, but I think > developers might have run into this problem before while developing in > Struts.. > > I was able to import my Yahoo forum into my portal like application, but the > all the links are relative to my site rather than the yahoo site, any hints > to get this to work. > > http://groups.yahoo.com/group/forumName/"/> > > It shows up fine but the links defaults to my site. > Actually, it's not even a JSTL question ... it's an issue of how HTML works. The tag, when you give it a URL, just includes the contents returned by that URL into the current page, with no modifications. If the content includes relative links, they are going to be interpreted as relative to *your* page (as you observed), unless you: * Suck the contents into a buffer and physically modify all the links yourself before outputting it. * Use a element in your section that points at the Yahoo page (but this will mess up any relative links you have in your content) * Use frames so that the Yahoo page is loaded separately, and relative links will work as expected. Craig > . > > Shardayyy > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Struts 1.3 & custom controller
I think that's exactly what the guys are looking for at this point... if you had any issues whatsoever with that port, posting about them I think would be most welcome. Ironic... if you say that everything went perfect that's almost less helpful, isn't it?? :) -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Tue, May 3, 2005 11:32 am, Marco Mistroni said: > Hello all , > In the meantime I found an interesting article from Bill > Siggelkow > > http://www.onjava.com/pub/a/onjava/2005/03/02/commonchains2.html > > > it explains something about RequestProcessor.. > > I'll try to build up something and see if I can get something basic > To work, then I guess I'll be back asking questions :-) > > Regards > Marco > > PS I have also been 'porting' my old app (written using Struts 1.1) to > Struts 1.3/chain..it works just great :-) > > > > -Original Message- > From: Joe Germuska [mailto:[EMAIL PROTECTED] > Sent: 03 May 2005 16:23 > To: Marco Mistroni; 'Struts Users Mailing List' > Subject: RE: Struts 1.3 & custom controller > > At 3:24 PM +0100 5/3/05, Marco Mistroni wrote: >>Hello Frank, >> If Str1.3 RP is implemented as set of commands, then shouldn't >>I be able to extend It to add my own commands (such as one that does > the >>trick >>In your request processor).. >> >>I think it should be possible at least I would like to support J2ME >>clients (via strutsws), HTML clients and WML clients for my >>application.. >> >>So I could define a RP which contains set of commands for handling >>request depending on the user agent.. >> >>I need just some docs for Struts 1.3 Request Processor... >> >>Any good links (other than sourcecode)? > > I suppose not. This is something we need to do, and something which > will be easier to do based on feedback from newcomers who don't know > it so well. (To be honest, it will be rather a while before I have > time to write docs for the ComposableRequestProcessor, although if > someone else wrote some stuff, I might have some time to review it.) > > Really, as I think about your question, it's hard for me to know > where to start, since it seems so obvious to me ;-) But then, I have > been using struts-chain to back a webapp for more than a year now. > > But the questions you've been asking on the list have been helpful, > and if you feel like you can boil any of your learning down, maybe > you can find a spot in the Wiki to start gathering some notes? > > Joe > > -- > Joe Germuska > [EMAIL PROTECTED] > http://blog.germuska.com > "Narrow minds are weapons made for mass destruction" -The Ex > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Struts 1.3 & custom controller
I'm going to try and find some time next week to do strutsws in 1.3... as much for my own learning as for anyone else, but I think that might be a good thing to post about on the Wiki, a real-life example step-by-step. Even those that have never looked at strutsws may find the walk-through helpful. I'm taking the family on vacation tomorrow though and won't be back until Monday, so I won't get to it before late next week at best. Don't hold out for it Marco :) -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Tue, May 3, 2005 11:22 am, Joe Germuska said: > At 3:24 PM +0100 5/3/05, Marco Mistroni wrote: >>Hello Frank, >> If Str1.3 RP is implemented as set of commands, then shouldn't >>I be able to extend It to add my own commands (such as one that does the >>trick >>In your request processor).. >> >>I think it should be possible at least I would like to support J2ME >>clients (via strutsws), HTML clients and WML clients for my >>application.. >> >>So I could define a RP which contains set of commands for handling >>request depending on the user agent.. >> >>I need just some docs for Struts 1.3 Request Processor... >> >>Any good links (other than sourcecode)? > > I suppose not. This is something we need to do, and something which > will be easier to do based on feedback from newcomers who don't know > it so well. (To be honest, it will be rather a while before I have > time to write docs for the ComposableRequestProcessor, although if > someone else wrote some stuff, I might have some time to review it.) > > Really, as I think about your question, it's hard for me to know > where to start, since it seems so obvious to me ;-) But then, I have > been using struts-chain to back a webapp for more than a year now. > > But the questions you've been asking on the list have been helpful, > and if you feel like you can boil any of your learning down, maybe > you can find a spot in the Wiki to start gathering some notes? > > Joe > > -- > Joe Germuska > [EMAIL PROTECTED] > http://blog.germuska.com > "Narrow minds are weapons made for mass destruction" -The Ex > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [OT] how to test user role in jsp
You can use (and ) to conditionally evaluate the user's role: http://struts.apache.org/userGuide/struts-logic.html#present Joe At 4:44 PM +0200 5/3/05, Günther Wieser wrote: hi, sorry for posting something that's very likely not really related to struts (but maybe it is, who knows), but coudn't find anything on the net. i would like to display a link depending if a user is in a certain role. is there a test i could use in or anything else i could use as a tag to do this? do i need to implement this on my own? kr, guenther -- Günther Wieser creative-it Guglgasse 6/1/11/1 A-1110 Wien Austria http://www.creative-it.com -- Joe Germuska [EMAIL PROTECTED] http://blog.germuska.com "Narrow minds are weapons made for mass destruction" -The Ex - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Struts menu PermissionsAdapter question
Hello there! Is it possible to use PermissionAdpter to check a table of given roles instead of "hard coding" 'em on a xml? If so, any examples? Regards Vinicius - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Struts 1.3 & custom controller
Yep, that's exactly what you should be able to do. And if you decide to go off and do it, do feel free to feed it back to me for release on the strusws SF project :) Here's some links to get you started: http://www.onjava.com/pub/a/onjava/2005/03/02/commonchains.html http://www.onjava.com/pub/a/onjava/2005/03/02/commonchains2.html Your really looking at Commons Chain, which forms the basis of 1.3. As I said, I haven't toyed with 1.3 much, so in terms of how this really applies to 1.3 in detail I don't know of any link to help there. Maybe one of the struts team members can direct you... -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Tue, May 3, 2005 10:24 am, Marco Mistroni said: > Hello Frank, > If Str1.3 RP is implemented as set of commands, then shouldn't > I be able to extend It to add my own commands (such as one that does the > trick > In your request processor).. > > I think it should be possible at least I would like to support J2ME > clients (via strutsws), HTML clients and WML clients for my > application.. > > So I could define a RP which contains set of commands for handling > request depending on the user agent.. > > I need just some docs for Struts 1.3 Request Processor... > > Any good links (other than sourcecode)? > > Thanx in advance and regards > Marco > > > -Original Message- > From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] > Sent: 03 May 2005 14:40 > To: Marco Mistroni > Cc: 'Struts Users Mailing List' > Subject: Re: Struts 1.3 & custom controller > > Hi Marco, > > You are correct, the custom controller is at the heart of strutsws. > > I hesitate to answer about 1.3 because I've only looked at it very > briefly. But, I'll try and answer and if someone more knowledgable sees > me flub something, please correct me... > > Remember that 1.3 uses the CoR pattern to break down the request > processor > into a chain of functions. It is designed to be functionally equivalent > to the "current" request processor, but defined as a chain of Commands. > > I seem to recall a thread at one point that said you still could in fact > use a custom monolithic processor... if that's not true than the bottom > line is simply that no, strutsws as it exists today will not be usable > with 1.3. > > Let's assume however that I am remembering correctly and you CAN do > that... you'd still be inserting the 1.1 RP into the mix, which I'd bet > isn't what you really want to do. It is also worth noting that I never > did a strutsws version for the Tiles processor, so Tiles and strutsws > don't mix at this point. This hasn't been a big problem for most people > apparently (I guess they just set up a separate module for the web > services, I don't really know)... > > ...which does kind of raise an interesting question... assuming you can > use a non-chain RP in 1.3, it might be possible to just use the 1.1 RP > in > a module for your web services. If it's a module expressly for strutsws > functions, which RP you use might not matter as much (I could be wrong > though... there could have been some changes between 1.1 and 1.3 that > makes it not work, I frankly don't know). I've never tied such a setup, > so I have no idea if it'll actually work. > > Lastly, I do have the intention of updating strutsws specifically for > 1.3 > (it should be a piece of cake to insert a command or two into the chain > to > perform the necessary functions), but I won't do that until 1.3 is a GA > release. I actualy thought I wrote it against 1.2.4, I didn't realize > it > was 1.1, so the first chance I get I will update it for 1.2.4 at > least... > I only intend to support GA releases for strutsws as well as ajaxtags by > the way. > > Hope that helps! > > -- > Frank W. Zammetti > Founder and Chief Software Architect > Omnytex Technologies > http://www.omnytex.com > > On Tue, May 3, 2005 4:26 am, Marco Mistroni said: >> Hello all, >> I have downloaded strutsws by Frank Zammetti, which >> Enables struts app to be exposed as a webservice.. >> It uses a custom controller(pls frank correct me if I m wrong) that >> Detects if request is an XML request...customizing then output so that >> it >> Will be an XML response that matches form data. >> >> Application works fine with Struts 1.1.. I have just written a >> >> Tag in struts-config and a plugin used by strutsws. >> >> I found problems however with Struts 1.3, and I was wondering if, in >> Struts 1.3, was enough to define a tag in >> struts-config.xml >> Or something else was needed.. >> >> >> Thanx in advance and regards >> Marco >> >> >> > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECT
Re: [OT] how to test user role in jsp
Günther Wieser wrote the following on 5/3/2005 10:44 AM: i would like to display a link depending if a user is in a certain role. is there a test i could use in or anything else i could use as a tag to do this? do i need to implement this on my own? I like the Struts logic present tag for this: JSTL has one also but, as far as I know, it doesn't check for multiple roles like the logic:present one does. -- Rick - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [OT] how to test user role in jsp
The Struts logic tags will do this foo If the current user has the named role (as determined by calling request.isUserInRole(...)) then the conditional markup will be rendered. I don't know whether you can do this using JSTL, I don't think this would work: But perhaps you could access the roles array within the principal (within the request)? -Original Message- From: Günther Wieser [mailto:[EMAIL PROTECTED] Sent: 03 May 2005 15:44 To: 'Struts Users Mailing List' Subject: [OT] how to test user role in jsp hi, sorry for posting something that's very likely not really related to struts (but maybe it is, who knows), but coudn't find anything on the net. i would like to display a link depending if a user is in a certain role. is there a test i could use in or anything else i could use as a tag to do this? do i need to implement this on my own? kr, guenther -- Günther Wieser creative-it Guglgasse 6/1/11/1 A-1110 Wien Austria http://www.creative-it.com If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Click here for important additional terms relating to this e-mail. http://www.ml.com/email_terms/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [OT] how to test user role in jsp
You can use the logic present/notPresent tags. . http://struts.apache.org/userGuide/struts-logic.html#present Niall - Original Message - From: "Günther Wieser" <[EMAIL PROTECTED]> Sent: Tuesday, May 03, 2005 3:44 PM i would like to display a link depending if a user is in a certain role. is there a test i could use in or anything else i could use as a tag to do this? do i need to implement this on my own? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Struts 1.3 & custom controller
Hello all , In the meantime I found an interesting article from Bill Siggelkow http://www.onjava.com/pub/a/onjava/2005/03/02/commonchains2.html it explains something about RequestProcessor.. I'll try to build up something and see if I can get something basic To work, then I guess I'll be back asking questions :-) Regards Marco PS I have also been 'porting' my old app (written using Struts 1.1) to Struts 1.3/chain..it works just great :-) -Original Message- From: Joe Germuska [mailto:[EMAIL PROTECTED] Sent: 03 May 2005 16:23 To: Marco Mistroni; 'Struts Users Mailing List' Subject: RE: Struts 1.3 & custom controller At 3:24 PM +0100 5/3/05, Marco Mistroni wrote: >Hello Frank, > If Str1.3 RP is implemented as set of commands, then shouldn't >I be able to extend It to add my own commands (such as one that does the >trick >In your request processor).. > >I think it should be possible at least I would like to support J2ME >clients (via strutsws), HTML clients and WML clients for my >application.. > >So I could define a RP which contains set of commands for handling >request depending on the user agent.. > >I need just some docs for Struts 1.3 Request Processor... > >Any good links (other than sourcecode)? I suppose not. This is something we need to do, and something which will be easier to do based on feedback from newcomers who don't know it so well. (To be honest, it will be rather a while before I have time to write docs for the ComposableRequestProcessor, although if someone else wrote some stuff, I might have some time to review it.) Really, as I think about your question, it's hard for me to know where to start, since it seems so obvious to me ;-) But then, I have been using struts-chain to back a webapp for more than a year now. But the questions you've been asking on the list have been helpful, and if you feel like you can boil any of your learning down, maybe you can find a spot in the Wiki to start gathering some notes? Joe -- Joe Germuska [EMAIL PROTECTED] http://blog.germuska.com "Narrow minds are weapons made for mass destruction" -The Ex - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Struts 1.3 & custom controller
At 3:24 PM +0100 5/3/05, Marco Mistroni wrote: Hello Frank, If Str1.3 RP is implemented as set of commands, then shouldn't I be able to extend It to add my own commands (such as one that does the trick In your request processor).. I think it should be possible at least I would like to support J2ME clients (via strutsws), HTML clients and WML clients for my application.. So I could define a RP which contains set of commands for handling request depending on the user agent.. I need just some docs for Struts 1.3 Request Processor... Any good links (other than sourcecode)? I suppose not. This is something we need to do, and something which will be easier to do based on feedback from newcomers who don't know it so well. (To be honest, it will be rather a while before I have time to write docs for the ComposableRequestProcessor, although if someone else wrote some stuff, I might have some time to review it.) Really, as I think about your question, it's hard for me to know where to start, since it seems so obvious to me ;-) But then, I have been using struts-chain to back a webapp for more than a year now. But the questions you've been asking on the list have been helpful, and if you feel like you can boil any of your learning down, maybe you can find a spot in the Wiki to start gathering some notes? Joe -- Joe Germuska [EMAIL PROTECTED] http://blog.germuska.com "Narrow minds are weapons made for mass destruction" -The Ex - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[OT] how to test user role in jsp
hi, sorry for posting something that's very likely not really related to struts (but maybe it is, who knows), but coudn't find anything on the net. i would like to display a link depending if a user is in a certain role. is there a test i could use in or anything else i could use as a tag to do this? do i need to implement this on my own? kr, guenther -- Günther Wieser creative-it Guglgasse 6/1/11/1 A-1110 Wien Austria http://www.creative-it.com
Re: User List Archive and Website Questions
> Where is the best, searchable, archive of this list? This works for me: http://marc.theaimsgroup.com/?l=struts-user&r=1&w=2 http://marc.theaimsgroup.com/?l=struts-dev&r=1&w=2 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Struts 1.3 & custom controller
Hello Frank, If Str1.3 RP is implemented as set of commands, then shouldn't I be able to extend It to add my own commands (such as one that does the trick In your request processor).. I think it should be possible at least I would like to support J2ME clients (via strutsws), HTML clients and WML clients for my application.. So I could define a RP which contains set of commands for handling request depending on the user agent.. I need just some docs for Struts 1.3 Request Processor... Any good links (other than sourcecode)? Thanx in advance and regards Marco -Original Message- From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] Sent: 03 May 2005 14:40 To: Marco Mistroni Cc: 'Struts Users Mailing List' Subject: Re: Struts 1.3 & custom controller Hi Marco, You are correct, the custom controller is at the heart of strutsws. I hesitate to answer about 1.3 because I've only looked at it very briefly. But, I'll try and answer and if someone more knowledgable sees me flub something, please correct me... Remember that 1.3 uses the CoR pattern to break down the request processor into a chain of functions. It is designed to be functionally equivalent to the "current" request processor, but defined as a chain of Commands. I seem to recall a thread at one point that said you still could in fact use a custom monolithic processor... if that's not true than the bottom line is simply that no, strutsws as it exists today will not be usable with 1.3. Let's assume however that I am remembering correctly and you CAN do that... you'd still be inserting the 1.1 RP into the mix, which I'd bet isn't what you really want to do. It is also worth noting that I never did a strutsws version for the Tiles processor, so Tiles and strutsws don't mix at this point. This hasn't been a big problem for most people apparently (I guess they just set up a separate module for the web services, I don't really know)... ...which does kind of raise an interesting question... assuming you can use a non-chain RP in 1.3, it might be possible to just use the 1.1 RP in a module for your web services. If it's a module expressly for strutsws functions, which RP you use might not matter as much (I could be wrong though... there could have been some changes between 1.1 and 1.3 that makes it not work, I frankly don't know). I've never tied such a setup, so I have no idea if it'll actually work. Lastly, I do have the intention of updating strutsws specifically for 1.3 (it should be a piece of cake to insert a command or two into the chain to perform the necessary functions), but I won't do that until 1.3 is a GA release. I actualy thought I wrote it against 1.2.4, I didn't realize it was 1.1, so the first chance I get I will update it for 1.2.4 at least... I only intend to support GA releases for strutsws as well as ajaxtags by the way. Hope that helps! -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Tue, May 3, 2005 4:26 am, Marco Mistroni said: > Hello all, > I have downloaded strutsws by Frank Zammetti, which > Enables struts app to be exposed as a webservice.. > It uses a custom controller(pls frank correct me if I m wrong) that > Detects if request is an XML request...customizing then output so that > it > Will be an XML response that matches form data. > > Application works fine with Struts 1.1.. I have just written a > > Tag in struts-config and a plugin used by strutsws. > > I found problems however with Struts 1.3, and I was wondering if, in > Struts 1.3, was enough to define a tag in > struts-config.xml > Or something else was needed.. > > > Thanx in advance and regards > Marco > > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Struts 1.3 & custom controller
Hi Marco, You are correct, the custom controller is at the heart of strutsws. I hesitate to answer about 1.3 because I've only looked at it very briefly. But, I'll try and answer and if someone more knowledgable sees me flub something, please correct me... Remember that 1.3 uses the CoR pattern to break down the request processor into a chain of functions. It is designed to be functionally equivalent to the "current" request processor, but defined as a chain of Commands. I seem to recall a thread at one point that said you still could in fact use a custom monolithic processor... if that's not true than the bottom line is simply that no, strutsws as it exists today will not be usable with 1.3. Let's assume however that I am remembering correctly and you CAN do that... you'd still be inserting the 1.1 RP into the mix, which I'd bet isn't what you really want to do. It is also worth noting that I never did a strutsws version for the Tiles processor, so Tiles and strutsws don't mix at this point. This hasn't been a big problem for most people apparently (I guess they just set up a separate module for the web services, I don't really know)... ...which does kind of raise an interesting question... assuming you can use a non-chain RP in 1.3, it might be possible to just use the 1.1 RP in a module for your web services. If it's a module expressly for strutsws functions, which RP you use might not matter as much (I could be wrong though... there could have been some changes between 1.1 and 1.3 that makes it not work, I frankly don't know). I've never tied such a setup, so I have no idea if it'll actually work. Lastly, I do have the intention of updating strutsws specifically for 1.3 (it should be a piece of cake to insert a command or two into the chain to perform the necessary functions), but I won't do that until 1.3 is a GA release. I actualy thought I wrote it against 1.2.4, I didn't realize it was 1.1, so the first chance I get I will update it for 1.2.4 at least... I only intend to support GA releases for strutsws as well as ajaxtags by the way. Hope that helps! -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Tue, May 3, 2005 4:26 am, Marco Mistroni said: > Hello all, > I have downloaded strutsws by Frank Zammetti, which > Enables struts app to be exposed as a webservice.. > It uses a custom controller(pls frank correct me if I m wrong) that > Detects if request is an XML request...customizing then output so that > it > Will be an XML response that matches form data. > > Application works fine with Struts 1.1.. I have just written a > > Tag in struts-config and a plugin used by strutsws. > > I found problems however with Struts 1.3, and I was wondering if, in > Struts 1.3, was enough to define a tag in > struts-config.xml > Or something else was needed.. > > > Thanx in advance and regards > Marco > > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
User List Archive and Website Questions
Hi Folks, I hope the the struts.apache.org website guys are aware that the List Archive link (left side menu) has been broken for a long time. (Required parameter "listId" or "listName" is missing or invalid) Also, while I at it my email to subscribe to STRUTS-ANNOUNCE Mailing List ([EMAIL PROTECTED]) came back as "Sorry, no mailbox here by that name." And, the like to the "STRUTS-USER Newsgroup" comes back with "www.proj.com" not found. Is the website being negleted? Where is the best, searchable, archive of this list? Thanks, Greg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Struts / JSTL c:import external websites
Hi all, This might be a JSTL question more than a struts question, but I think developers might have run into this problem before while developing in Struts.. I was able to import my Yahoo forum into my portal like application, but the all the links are relative to my site rather than the yahoo site, any hints to get this to work. http://groups.yahoo.com/group/forumName/"/> It shows up fine but the links defaults to my site. . Shardayyy
How to populate a map of lists in an action form?
Hi, I have an action form with a map that can be accessed with getters and setters. That map holds lists of elements. The problem is how to populate that lists from the html form . I've tried with: and but doesn't work. However, i've implemented a new class child of ArrayList that adds this two methods: public List getList() { return this; } public void setList(List list) { clear(); addAll(list); } And using this class in the map I can do from javascript: And the population of the ActionForm works properly. ¿Does somebody know how to fix this problem without the use of this two "ugly" methods? Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Which release to use for production?
I'm still using 1.1 Nicolas De Loof wrote: 1.2.4 is the current "stable" version I'm using Sturts 1.2.6 for production, as known bugs does not affect my app. Take a look at bug list to check if you can use it for your apps. 1.3.x is in development and not ready for production. Use it only for early test as a preview. Martin Kindler a écrit : Hi group, I have successfully developed a prototype system using Struts 1.2.1 and are about to start rewriting it for production use. Therefore I would like to use the most up-to-date stable version. Looking thru the archives, wiki, and the download site I am a bit confused: last released version is 1.2.4, 1.2.6 is labelled "beta" but has apparently not changed for half a year (millenia in struts release periods), there also seems to be work ongoing on 1.2.7. Many members of this list seem to work with 1.3. Not talking about 2.x ... So I am confused. I want to start with a version which is definitely no longer beta, but is 1.2.4 therefore the right choice? Any remarks are welcome! martin --- cityExperience.net Dipl. Inf. Martin Kindler Kaulbachstr. 20a D-12247 Berlin Deutschland eMail [EMAIL PROTECTED] Tel. +49 (030) 260 78 48 2 Fax +49 (030) 260 78 48 3 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Which release to use for production?
1.2.4 is the current "stable" version I'm using Sturts 1.2.6 for production, as known bugs does not affect my app. Take a look at bug list to check if you can use it for your apps. 1.3.x is in development and not ready for production. Use it only for early test as a preview. Martin Kindler a écrit : Hi group, I have successfully developed a prototype system using Struts 1.2.1 and are about to start rewriting it for production use. Therefore I would like to use the most up-to-date stable version. Looking thru the archives, wiki, and the download site I am a bit confused: last released version is 1.2.4, 1.2.6 is labelled "beta" but has apparently not changed for half a year (millenia in struts release periods), there also seems to be work ongoing on 1.2.7. Many members of this list seem to work with 1.3. Not talking about 2.x ... So I am confused. I want to start with a version which is definitely no longer beta, but is 1.2.4 therefore the right choice? Any remarks are welcome! martin --- cityExperience.net Dipl. Inf. Martin Kindler Kaulbachstr. 20a D-12247 Berlin Deutschland eMail [EMAIL PROTECTED] Tel. +49 (030) 260 78 48 2 Fax +49 (030) 260 78 48 3 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Which release to use for production?
Hi group, I have successfully developed a prototype system using Struts 1.2.1 and are about to start rewriting it for production use. Therefore I would like to use the most up-to-date stable version. Looking thru the archives, wiki, and the download site I am a bit confused: last released version is 1.2.4, 1.2.6 is labelled "beta" but has apparently not changed for half a year (millenia in struts release periods), there also seems to be work ongoing on 1.2.7. Many members of this list seem to work with 1.3. Not talking about 2.x ... So I am confused. I want to start with a version which is definitely no longer beta, but is 1.2.4 therefore the right choice? Any remarks are welcome! martin --- cityExperience.net Dipl. Inf. Martin Kindler Kaulbachstr. 20a D-12247 Berlin Deutschland eMail [EMAIL PROTECTED] Tel. +49 (030) 260 78 48 2 Fax +49 (030) 260 78 48 3 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to have a header tile over many modules?
Hello, I have a similiar configuration for my project, a set of menu links and a login-box in a tile shared between modules. After reading the struts documentation, specifying the property "module" for html:link should imho solve the problem but I've had no luck with this approach (all i get back with the module parameter is ""). So I've practicly hard-coded the links, and with the login-box I run since I use ssl-ext and I need to use a specific struts-config to determine http/https. I would really like a more dynamic and clean solution than the one I have to day, like say: and any ideas is appreciated. /Andreas marc wrote: So far so good. I have now made 4 modules in struts 1 major and 4 sub modules. I then spilt it all in 2 tiles, a menu and a body(the submodules then fill in the body). The menu I what to be the same on all sites. But when I forward to one of the modules, I loss the forwards from me major module. Resulting in my menu does work anymore. So my Q is, is there away to include the forwards in the submoduls. So that I dont need to put them in all of me modules, but only have them one place. Thank an regards /marc - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Struts 1.3 & custom controller
Hello all, I have downloaded strutsws by Frank Zammetti, which Enables struts app to be exposed as a webservice.. It uses a custom controller(pls frank correct me if I m wrong) that Detects if request is an XML request...customizing then output so that it Will be an XML response that matches form data. Application works fine with Struts 1.1.. I have just written a Tag in struts-config and a plugin used by strutsws. I found problems however with Struts 1.3, and I was wondering if, in Struts 1.3, was enough to define a tag in struts-config.xml Or something else was needed.. Thanx in advance and regards Marco - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How to have a header tile over many modules?
So far so good. I have now made 4 modules in struts 1 major and 4 sub modules. I then spilt it all in 2 tiles, a menu and a body(the submodules then fill in the body). The menu I what to be the same on all sites. But when I forward to one of the modules, I loss the forwards from me major module. Resulting in my menu does work anymore. So my Q is, is there away to include the forwards in the submoduls. So that I dont need to put them in all of me modules, but only have them one place. Thank an regards /marc - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [OT] Sun RI JSF 1.1 VS myfaces 1.09
Hi currently I am struggling to support both with some custom componentes ;-) Advantages of the SUN RI over MyFaces: - passed the TCK and therefor can call its versions GA - javadoc on available source-code is better (although I seem not to have all the source-code... but maybe I am blind...) Advantages of MyFaces over SunRI: - can disable Javascript which is a GREAT security feature ;-) (also see recent discussions about the "benefit" of JS for script-kiddies...) - more components available - an Apache project - rather active mailing list (Sun RI just has those sun-forums...) With a bit of care it is possible to stay compatible with both implementations which would make it possible to decide on the implementation as late as possible. hth Alexander -Original Message- From: Jimmy Emmanual [mailto:[EMAIL PROTECTED] Sent: Monday, May 02, 2005 6:19 PM To: Struts Users Mailing List Subject: [OT] Sun RI JSF 1.1 VS myfaces 1.09 All, Just wondering if anyone has used both and prefer one over the other. If so, why? Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]