[OT] Recommendation of Instant Messagging System

2005-05-03 Thread Miquel Angel
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 fre

Re: Seperation between Controller and Model

2005-05-03 Thread Michael Jouravlev
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". I

Seperation between Controller and Model

2005-05-03 Thread Nic Werner
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 us

How to use a Map backed Action form from JSP

2005-05-03 Thread Shankar Banerjee
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 wi

Struts in Resin: 500 Servlet Exception

2005-05-03 Thread T. B.
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.

[OT] Security Filter

2005-05-03 Thread draegoon Z
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.

Possibly OT: JSF Facets

2005-05-03 Thread Martin Gainty
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

2005-05-03 Thread Niall Pemberton
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 th

Re: Does cancel button work?

2005-05-03 Thread Michael Jouravlev
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,

RE: Combining html:image and bean:define

2005-05-03 Thread Chris Loschen
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 Sen

Does cancel button work?

2005-05-03 Thread Michael Jouravlev
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 mis

Re: Multiple uploads / attachements

2005-05-03 Thread Dave Newton
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

Multiple uploads / attachements

2005-05-03 Thread Abdullah Jibaly
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

2005-05-03 Thread Chris Loschen
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.

RE: [OT] how to test user role in jsp

2005-05-03 Thread =?iso-8859-1?Q?G=FCnther_Wieser?=
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 Ge

Re: ANOTHER IDE

2005-05-03 Thread Frank W. Zammetti
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 t

Re: How to populate a map of lists in an action form?

2005-05-03 Thread Rick Reumann
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/m

Re: ANOTHER IDE

2005-05-03 Thread Ted Husted
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... >

Re: Struts menu PermissionsAdapter question

2005-05-03 Thread Matt Raible
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

Re: Struts / JSTL c:import external websites

2005-05-03 Thread Craig McClanahan
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 applica

RE: Struts 1.3 & custom controller

2005-05-03 Thread Frank W. Zammetti
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 Ch

RE: Struts 1.3 & custom controller

2005-05-03 Thread Frank W. Zammetti
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

Re: [OT] how to test user role in jsp

2005-05-03 Thread Joe Germuska
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

Struts menu PermissionsAdapter question

2005-05-03 Thread Vinicius Caldeira Carvalho
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,

RE: Struts 1.3 & custom controller

2005-05-03 Thread Frank W. Zammetti
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/

Re: [OT] how to test user role in jsp

2005-05-03 Thread Rick Reumann
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: .

RE: [OT] how to test user role in jsp

2005-05-03 Thread McDonnell, Colm (MLIM)
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

Re: [OT] how to test user role in jsp

2005-05-03 Thread Niall Pemberton
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

RE: Struts 1.3 & custom controller

2005-05-03 Thread Marco Mistroni
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 b

RE: Struts 1.3 & custom controller

2005-05-03 Thread Joe Germuska
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

[OT] how to test user role in jsp

2005-05-03 Thread =?iso-8859-1?Q?G=FCnther_Wieser?=
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

Re: User List Archive and Website Questions

2005-05-03 Thread Michael Jouravlev
> 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]

RE: Struts 1.3 & custom controller

2005-05-03 Thread Marco Mistroni
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 clie

Re: Struts 1.3 & custom controller

2005-05-03 Thread Frank W. Zammetti
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

User List Archive and Website Questions

2005-05-03 Thread Lindholm, Greg
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 PRO

Struts / JSTL c:import external websites

2005-05-03 Thread Folashade Adeyosoye
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 rath

How to populate a map of lists in an action form?

2005-05-03 Thread Daniel Lobo
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 t

Re: Which release to use for production?

2005-05-03 Thread Simone-dev
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 ea

Re: Which release to use for production?

2005-05-03 Thread Nicolas De Loof
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 écri

Which release to use for production?

2005-05-03 Thread Martin Kindler
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

Re: How to have a header tile over many modules?

2005-05-03 Thread Andreas Toom
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 ba

Struts 1.3 & custom controller

2005-05-03 Thread Marco Mistroni
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 matche

How to have a header tile over many modules?

2005-05-03 Thread marc
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 modul

RE: [OT] Sun RI JSF 1.1 VS myfaces 1.09

2005-05-03 Thread Jesse Alexander (KBSA 21)
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...)