[Q] what is right way to display list of checkbox(es) in two or three columns?

2003-02-25 Thread michael . korolyov
Hello, I have a list that needs to be displayed in two or three columns something like that format : tr td /td td /td /tr tr td /td td /td /tr tr td /td /tr is html:multibox tag and logic.iterate only one way? is any other ways to do it? tnx Best Regards. Michael.

Re: how old is struts

2003-02-25 Thread Andreas Mack
On Sat, 2003-02-22 at 02:45, Craig R. McClanahan wrote: On Fri, 21 Feb 2003 [EMAIL PROTECTED] wrote: Date: Fri, 21 Feb 2003 16:34:03 -0500 From: [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: how old is struts Craig,

RE: Support for automatic frames

2003-02-25 Thread Ray Madigan
Well, you have to know somehow, or you could never get the application running in the first place. Seems like you need a method to know which frame to load what action into. How many levels of frames are you planning to use? Is there a heirarchy to the frames relative to the actions that will

RE: need to display a tree struture in JSP

2003-02-25 Thread Ray Madigan
Have you looked at the Struts Menu system that can be found in the Resources section of the struts website. For the most part it is static, reads the configuration from an xml document. It probably wouldn't take much to make it dynamic. Just a thought - lots of work has gone into it, and it

RE: Support for automatic frames

2003-02-25 Thread Jose Ramon Diaz
Hello Ray, Well, you have to know somehow, or you could never get the application running in the first place. Seems like you need a method to know which frame to load what action into. Yes, that´s the reason why we create the frames.do action configured with an XML file as we said in

AW: HELP - SOS - Single Form Bean Problem

2003-02-25 Thread Hirschmann, Bernhard
Hm - it looks fine for me... What makes you think, that a new form bean is created for every JSP? Did you debug through it? Surely for every session a new form bean will be created, but it shouldn't create new ones for all the JSPs in the same session. Bernhard -Ursprüngliche

Re: HELP! Plz!! request.getRequestURI() in jsp vs. Action classHELP!!! :)

2003-02-25 Thread Guido
If I am not missing anything, maybe you can (it is a good practice) go _always_ through an Action (or ActionForward, etc) and never post directly to a JSP... HTH, Guido. Khalid K. wrote: (Repost) Hello All, Please help with this problem. I need request.getRequestURI() to return actionA.do

Tiles menu and user authorization rights

2003-02-25 Thread Heligon Sandra
I am developing a Struts application and I am using Tiles for the presentation. I have a common look and feel for all pages with a header, a menu, a body, and a footer. My question is the following: The options (commands) of the menu depend on the user

strange display delay

2003-02-25 Thread Nicolas Grehalle
I have a strange display problem with a web page. I try to display a Tree with a expand all option. When i expand all the tree, the program spends : - few milliseconds in my Action class (about 30 ms) - 1.2 second in my jsp page (i use the code System.out.println( System.currentTimeMillis() ); on

RE: Tiles menu and user authorization rights

2003-02-25 Thread ROSSEL Olivier
I am developing a Struts application and I am using Tiles for the presentation. I have a common look and feel for all pages with a header, a menu, a body, and a footer. My question is the following: The options (commands) of the menu depend on the user

Re: strange display delay

2003-02-25 Thread Chetan Sahasrabudhe
Few Questions first 1. Tree is in java script ? 2. Tree is a applet ? if java script, do u hit the server again to get the nodes for the tree ? or do u populate it beforehand and all data goes in one shot to the jsp. while populating the tree have u written any recursive loops ? If so, how is

Re: strange display delay

2003-02-25 Thread Nicolas Grehalle
Le mar 25/02/2003 11:19, Chetan Sahasrabudhe a crit : Few Questions first 1. Tree is in java script ? 2. Tree is a applet ? if java script, do u hit the server again to get the nodes for the tree ? or do u populate it beforehand and all data goes in one shot to the

Re: strange display delay

2003-02-25 Thread Chetan Sahasrabudhe
Nicolas : can u push your jsp on net ? I will like to have look at it coz it itz acting fast on server side it should not have much of the problem on client side either but letz see ... push u jsp as attachment (if itz not against ur company policy) Chetan - Original Message - From:

Re: strange display delay

2003-02-25 Thread Nicolas Grehalle
I'm not allowed to join my jsp code, but i can put some part of this code : body % long td = System.currentTimeMillis(); System.out.println( heure dpart (vue) : + ( td ) ); % nested:form action=/TEXT/searchTextContentBooks.do method=POST nested:nest

Re: Struts and Portlets

2003-02-25 Thread Vic Cekvenich
I found JSR-168 lacking. I have been using Tile 201 like things for a long time to give me a lite and fast version of Portlets features. http://blogs.browsermedia.com/patrick/index.do?date=20030211#130200 .V [EMAIL PROTECTED] wrote: Hi, is there an intention to implement the JSR-168 (Portlet

RE: [TILES] Foxy Tiles Problem

2003-02-25 Thread PILGRIM, Peter, FM
-Original Message- From: Hue Holleran [mailto:[EMAIL PROTECTED] Hi Peter, I'm not sure I fully understand but we're using ... template layout within templates layout? successfully and I think this is necessary for all but the simplest tiles layouts. Indeed, tiles examples

Session timeout problem

2003-02-25 Thread Mohan Radhakrishnan
Hi, Our struts application ( I am not sure if it is the session )occasionally timesout and throws us back to the login page. session-config session-timeout15/session-timeout /session-config This is not uniform. Whenever I login I use code like this

Re: Struts and Portlets

2003-02-25 Thread tnist
You could take a look at www.liferay.com, there latest implementation (1.8) follows the Porlet Spec, JSR-168, and is using Struts 1.1b2. Regards, Todd G. Nist From: [EMAIL PROTECTED] Date: 2003/02/25 Tue AM 01:52:38 EST To: [EMAIL PROTECTED] Subject: Struts and Portlets Hi, is there

planning component

2003-02-25 Thread alexj
Hi I need to know if there is any struts planning component with calendar ? My goal is to have the capability to add-edit-view the planning for each students, prof etc.. Thanks in advance. -- Alexandre Jaquet - - To

XML dummy question

2003-02-25 Thread Adolfo Miguelez
Hi All, just I easy question for XML developers. We have many configuration XML files for our model tier in struts our apps. Are the following approaches analogous? - approach A: tag ACDATA[text_that_I_do_not_want_to_parse]/A - approach B: tag Atext_that_I_do_not_want_to_parse/A validating

Show or hide fields according to an other field value.

2003-02-25 Thread Heligon Sandra
I would like to know how is it possible to show or hide fields in a Tiles/JSP page according to the check or not of a radio button ? For example at the top of the page I have a radio button with two values:one or more. If the more option is selected I have to

RE: Session timeout problem

2003-02-25 Thread Mohan Radhakrishnan
Hi, I also have the following in web.xml init-param param-namenocache/param-name param-valuetrue/param-value /init-param session-config session-timeout15/session-timeout /session-config Thanks, Mohan -Original Message- From: Mohan

Student question about struts

2003-02-25 Thread Jobe, Mike [EESUS]
Hey all, I am working on my senior project at school and I need to make a dropdown box and a list box. What is the easiest way of doing these? I will be connecting them to the database later, so all I need is help with the actual layout. Thanks! Michael

Re: Validation Rules XML

2003-02-25 Thread Jeff Kyser
Hey Brian, here's my guess: (note uncertainty :) The javascript function required() is generated in: org.apache.struts.taglib.html.JavascriptValidatorTag in method doStartTag(). If you look at similar statements in other rules in the validator-rules.xml file, such as oByte = new

Struts tags common properties

2003-02-25 Thread Sanjay Sharma
Most Struts tags use name and property to retrieve a value that is used in a custom tag. What criteria did the tag developers use to determine which custom tag attribute should be obtain a value through name/property combination. Most tags have only one attribute that uses name/property lookup.

RE: strange display delay

2003-02-25 Thread du Plessis, Corneil C
Iterators are generally very efficient I have not used the nested tags but I cannot image that they would be any different from logic:iterate. How much work is done in searchTextContentBooksTreenode.jsp ? -Original Message- From: Nicolas Grehalle [mailto:[EMAIL PROTECTED] Sent: 25

the ActionMapping input property can optionally be the name of an ActionForward instead. but ERROR

2003-02-25 Thread Ferran Parra
Hi all, I configure this in the struts-config.xml : controller inputForward=true but this error is returned when application redirect to ActionMapping input property with the name of Global ActionForward: The requested resource (/ibercamera/adminPreCreateUser) is not available. any idea??

RE: Student question about struts

2003-02-25 Thread John Espey
You should read about the html:select and html:options tags. http://jakarta.apache.org/struts/userGuide/struts-html.html They won't actually be connected to a database directly, instead they will read from a java.util.Collection (no ASP or PHP here ;-) -Original Message- From: Jobe,

RE: Student question about struts

2003-02-25 Thread Jobe, Mike [EESUS]
Thanks I will look at that! Mike -Original Message- From: John Espey [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 25, 2003 9:50 AM To: Struts Users Mailing List Subject: RE: Student question about struts You should read about the html:select and html:options tags.

Reporting an Exception message in a JSP.

2003-02-25 Thread ROSSEL Olivier
I want to display the error message of an SQLException in my JSP. At first, I tried to set an ActionError with this message and to display it via html:errors/. It does not work because ActionError accepts as an input string the key of a property. So what's the nicest way to show to the user the

RE: [Q] what is right way to display list of checkbox(es) in two or three columns?

2003-02-25 Thread Sri Sankaran
Management of layout must be handled by yourself. The tags don't get involved in this process. If using Struts tags you might have to resort to scriptlets in conjunction with the iteration index to manage your layout. Or if scriptlets are anathema, you can use JSTL or Struts-EL. Still

RE: struts 1.1b3 , getting lot of messages in out file

2003-02-25 Thread Mark Williamson
I encountered this exact same thing when i put my log4j jar file in common\lib, and I had debug level set in my properties file. Apparently tomcat spotted the log4j and used it, along with my debug line, and started spewing out volumes of stuff. So I changed the debug to info and it went away.

RE: need to display a tree struture in JSP

2003-02-25 Thread Chen, Gin
Struts-Layout sounds like a viable option for you. http://struts.application-servers.com/ -Tim -Original Message- From: Pani Ramasami [mailto:[EMAIL PROTECTED] Sent: Monday, February 24, 2003 5:53 PM To: 'Struts Users Mailing List' Subject: need to display a tree struture in JSP Hi:

RE: Reporting an Exception message in a JSP.

2003-02-25 Thread Sri Sankaran
You can still use the fact that argument to the constructor of an ActionError is the key to resource. You could set up your app resources with some.key=Could not proceed because of {0} error Then you can create the ActionError as new ActionError(some.key, exception.getMessage()); Sri

Re: Reporting an Exception message in a JSP.

2003-02-25 Thread David Graham
Well, I would never show my user an error message from some low level system such as the database. If you really want them to see this info you could define a message key as anything={0} and substitute your SQL message. I highly discourage this but it's an option. David From: ROSSEL

RE: How to Show gif image instead of html button in the forms for html:submit tag ?

2003-02-25 Thread Shabbir Khadir Mohammed
HI Bernhard, Thanks for your valuable response. It worked fine. Regards Shabbir -Original Message- From: Hirschmann, Bernhard [mailto:[EMAIL PROTECTED] Sent: Monday, February 24, 2003 1:56 PM To: 'Struts Users Mailing List' Subject: AW: How to Show gif image instead of html button in

RE: Reporting an Exception message in a JSP.

2003-02-25 Thread pqin
If you want to show your error message on the page where error occurs, there is no easy way than html:error/. Regards, PQ This Guy Thinks He Knows Everything This Guy Thinks He Knows What He Is Doing -Original Message- From: ROSSEL Olivier [mailto:[EMAIL PROTECTED] Sent: February

How to Show gif image instead of html button in the forms for html:reset tag ?

2003-02-25 Thread Shabbir Khadir Mohammed
Hi All Hope all are doing well. I am using following code for form submit in one of the JSP. html:reset/ It is displaying normal html button for reset On clicking this button form will be resetting. Now my question is, Instead of normal html button for submit, I want to display a GIF

RE: Reporting an Exception message in a JSP.

2003-02-25 Thread John Espey
Quick questiondo you really want the user to see a SQLException message? Assuming that is really what you want, there are constructors for AE that take a key and up to four objects that will be substituted in the error value that is specified for the key. The key and value appear in

AW: Reporting an Exception message in a JSP.

2003-02-25 Thread Hirschmann, Bernhard
You can pass one or more arguments to the constructor of ActionError. This argument could be your stack trace. In the resource string you have to handle the first argument as a {0}, the second as {1} etc. i.e. in you ApplicationResources.properties: error.msg=An error has occured. Stack trace:

AW: Reporting an Exception message in a JSP.

2003-02-25 Thread Juraj . Lenharcik
Hi Oliver, whats with this constructor: ActionError(java.lang.String key, java.lang.Object value0) Construct an action error with the specified replacement values. ? Juraj -Ursprungliche Nachricht- Von: ROSSEL Olivier [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 25.

RE: Reporting an Exception message in a JSP.

2003-02-25 Thread Mark Galbreath
I've always found electric shock to be effective. There's nothing like that ol' 117v/60Hz AC wake-up call to let a user know not to do that again! Seriously, you can add a returned exception to the errors array in the Action class, then display it with html:errors. Mark -Original

Re: Session timeout problem

2003-02-25 Thread Michael C. Lee Jr.
Are you using container managed security? Home brewed? Whatever it is, the problem is most likely not with struts. I'm also guessing that there is no problem. You need to read the spec on how container managed security works if that's what your using. We had a lot of problems here with session

Re: Reporting an Exception message in a JSP.

2003-02-25 Thread Robert S. Sfeir
On Tuesday, Feb 25, 2003, at 10:14 US/Eastern, David Graham wrote: Well, I would never show my user an error message from some low level system such as the database. If you really want them to see this info you could define a message key as anything={0} and substitute your SQL message. I

[struts-menu] display trouble

2003-02-25 Thread alexj
Hi, After testing the example app who work fine, I've try to include struts-menu on my project. After reading the readme I follow that : - Copy the file lib/struts-menu.tld from the struts-menu distribution into the WEB-INF directory of your web application. - Copy the file

RE: NPE, webapp broken after moving to 1.1-rc1

2003-02-25 Thread Wendy Smoak
David Karr wrote: I could use a full review of exactly the page that is causing problems, including the full stack trace, along with a modified page that is not having a problem. I filed a bug for it (#17375). Basically, any page with html-el:errors/ dies with a NPE. I thought maybe it

RE: Reporting an Exception message in a JSP.

2003-02-25 Thread John Espey
What do you think of printing that exception out in comment, so you can view the source to see the exception but not have to worry about turning it on or off? -Original Message- From: Robert S. Sfeir [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 25, 2003 9:30 AM To: Struts Users

RE: Reporting an Exception message in a JSP.

2003-02-25 Thread pqin
I usually log SQLExceptions in log file and display An unexpected error occurred, please contact your sys admin. Regards, PQ This Guy Thinks He Knows Everything This Guy Thinks He Knows What He Is Doing -Original Message- From: John Espey [mailto:[EMAIL PROTECTED] Sent: February

multibox?

2003-02-25 Thread Jobe, Mike [EESUS]
Can anyone send me an example of a Multibox by any chance? Thanks, Mike

Re: Reporting an Exception message in a JSP.

2003-02-25 Thread Ian Hunter
If you can, make it based on some user token that only you would have. - Original Message - From: John Espey [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, February 25, 2003 10:35 AM Subject: RE: Reporting an Exception message in a JSP. What do you

RE: Reporting an Exception message in a JSP.

2003-02-25 Thread pqin
Solution 1: - Add error to ActionMessage. - Display the above message as a hidden field on the same page. - Meanwhile, display a friendly message to user on the same page. Solution 2: - log exception to a file. - display friendly message to user on the same page. Regards, PQ This Guy

RE: multibox?

2003-02-25 Thread Sri Sankaran
Have you looked at html-multibox.jsp that is in the struts-exercise-taglib application that ships with Struts? Sri -Original Message- From: Jobe, Mike [EESUS] [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 25, 2003 10:46 AM To: '[EMAIL PROTECTED]' Subject: multibox? Can anyone

RE: multibox?

2003-02-25 Thread Jobe, Mike [EESUS]
No I haven't, thanks I will look at it! Mike -Original Message- From: Sri Sankaran [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 25, 2003 10:49 AM To: Struts Users Mailing List Subject: RE: multibox? Have you looked at html-multibox.jsp that is in the struts-exercise-taglib

RE: Struts and Portlets

2003-02-25 Thread Mitchell Morris
Ummm ... JSR-168 is still being held under NDA. Their page (http://www.jcp.org/en/jsr/detail?id=168) says that they'll expose the spec in March sometime. How did you get a copy of the spec in advance, and aren't you concerned about violating the NDA? Also, can we look at the spec too? I'm

AW: Struts and Portlets

2003-02-25 Thread Juraj . Lenharcik
Hi Mitchell, I dont have it. I expect that some features are included. Juraj -Ursprüngliche Nachricht- Von: Mitchell Morris [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 25. Februar 2003 17:12 An: 'Struts Users Mailing List' Betreff: RE: Struts and Portlets Ummm ... JSR-168 is still

where do i get info for setting the logging level in struts1.1.b3

2003-02-25 Thread Ashish Kulkarni
Hi, I want to set the log message level to error , so i dont get all the debug messages. Is there a place where some steps or procedurs is given to setup this level, I am using log4j in my project and so have the log4j.jar file in lib directory, does it affect it?? = A$HI$H

Re: Reuse Frames with Tiles

2003-02-25 Thread Cedric Dumoulin
The Tiles insert mechanism use the RequestDispatcher.include(...) which only allows to include a resource from the same webapp. So, you can't insert a tile from another war file. A solution is to implement a tile that read its content from an external location. But, the external location will

RE: where do i get info for setting the logging level in struts1.1.b3

2003-02-25 Thread Pani, Gourav
Ashish, You would have to create a log4j.properties file and load it with a Servlet on startup. Information for this should be available here: http://jakarta.apache.org/log4j/docs/manual.html. You can then set your logging level with the following line in your properties file. # Logger for

[OT] RE: where do i get info for setting the logging level in struts1.1.b3

2003-02-25 Thread John Espey
http://jakarta.apache.org/log4j look for log4j.properties -Original Message- From: Ashish Kulkarni [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 25, 2003 10:21 AM To: [EMAIL PROTECTED] Subject: where do i get info for setting the logging level in struts1.1.b3 Hi, I want

RE: where do i get info for setting the logging level in struts1. 1.b3

2003-02-25 Thread Ashish Kulkarni
Hi, Thanx for the info, just wondering about the hint about losing $ sign in my signature,why do u think so? Ashish --- Pani, Gourav [EMAIL PROTECTED] wrote: Ashish, You would have to create a log4j.properties file and load it with a Servlet on startup. Information for this should be

[OT] RE: where do i get info for setting the logging level in struts1. 1.b3

2003-02-25 Thread Pani, Gourav
hmm, if you can't figure out why seeing $ signs in someone's signature is irritating, how about this. not classy. $ in your name makes it sound like you are all about the cash. especially in an open source environment, that is a bit tasteless don't you think. your call. -Original

RE: Struts and Portlets

2003-02-25 Thread BaTien Duong
We believe that Struts together with other best-of-breed loosely connected components without hard connections to any engines such as the ones in JetSpeed will be best to implement JSR-168. Obviously, we have to wait for Reference Implementation of JSR-168. This topic will be hot. BaTien

Re: Tile configuration problem: No value defined for bean

2003-02-25 Thread Cedric Dumoulin
Hi, You should use tiles:insert name=sccLayout .../ rather than tiles:insert beanName=sccLayout .../ beanName is for retrieving a definition from the jsp scope. name is for retrieving a definition from the tiles factory. Cedric [EMAIL PROTECTED] wrote: Greetings, I'm experienced with

RE: [OT] RE: where do i get info for $etting the logging level in $trut$1. 1.b3

2003-02-25 Thread James Mitchell
What'$ wrong with u$ing $ in my $ig? -- Jame$ Mitchell $oftware Engineer/$trut$ Evangeli$t -Original Message- From: Pani, Gourav [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 25, 2003 11:33 AM To: 'Struts Users Mailing List' Subject: [OT] RE: where do i get info for setting

HELP! Plz!! request.getRequestURI() in jsp vs. Action class

2003-02-25 Thread Khalid K.
Thanks for the replies, let me clarify something: Here is the problem: We have a header for the site called header.jsp. This header has an image/link which if clicked will switch between languages..i.e. english and spanish. This header is included in all subsquent jsp pages. So if the client

Re: Session timeout problem

2003-02-25 Thread Khalid K.
In some containers, the session is timeout is managed by the container..you might want to look into that.. For example, we run Websphere, and it is set to time out after 30min, even though we were sitting the seesion to timeout after 60min, it was being overwritten by the Container... hope this

RE: [OT] RE: where do i get info for $etting the logging level in $trut$1. 1.b3

2003-02-25 Thread Pani, Gourav
well, i guess if the struts evangelist says it's ok, it must be. ;) maybe it is a personal preference of mine. i just recommended it to him and said it was his call anyway. -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 25, 2003 11:38 AM To:

Re: RE: Struts and Portlets

2003-02-25 Thread tnist
My fault, I guess I needed a couple more cups of coffee before typing up my response. Liferay has implemented an enterprise portal, which uses Struts 1.b2. As for their adherence to the fore mentioned spec, JSR-168, I am not sure. Sorry for the misinformation. Todd From: Mitchell Morris

Re: RE: Struts and Portlets

2003-02-25 Thread Mete Kural
Liferay has not yet implemented JSR-168 completely. This is because the specs keep on changing still. Once the specs become fairly stabilized, a.k.a. once JSR-168 hits the community, the Portlet API is intended to be implemented fully. As our friend said, Liferay is an implementation of an

Re: NPE, webapp broken after moving to 1.1-rc1

2003-02-25 Thread Dan Tran
I ran to the same problem, here is top level stacktrace, (if it is not already reported) java.lang.NullPointerException at java.util.Hashtable.get(Hashtable.java:329) at org.apache.jasper.runtime.PageContextImpl.findAttribute(PageContextImpl.java :305) at

Re: Struts and Portlets

2003-02-25 Thread Craig R. McClanahan
On Tue, 25 Feb 2003 [EMAIL PROTECTED] wrote: Date: Tue, 25 Feb 2003 07:52:38 +0100 From: [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Struts and Portlets Hi, is there an intention to implement the JSR-168 (Portlet API) into

RE: NPE, webapp broken after moving to 1.1-rc1

2003-02-25 Thread Karr, David
Yes, it's reported, and I see the problem, and I'll be fixing that tonight. -Original Message- From: Dan Tran [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 25, 2003 9:14 AM To: Struts Users Mailing List Subject: Re: NPE, webapp broken after moving to 1.1-rc1 I ran to the same

Re: Reporting an Exception message in a JSP.

2003-02-25 Thread Paul Yunusov
On Tuesday 25 February 2003 10:03 am, ROSSEL Olivier wrote: I want to display the error message of an SQLException in my JSP. At first, I tried to set an ActionError with this message and to display it via html:errors/. It does not work because ActionError accepts as an input string the key

Re: Struts and Portlets

2003-02-25 Thread Mete Kural
--- Craig R. McClanahan [EMAIL PROTECTED] wrote: I'm definitely interested in making it possible to reuse Struts-based webapp things (actions, form beans, pages, business logic) in a portlet. That's going to take some refactoring and abstraction of the fundamental APIs -- but it's

How to submit a conditional form with images link?

2003-02-25 Thread Ext-Lydia.Sabino
Hi all, I am using Struts and I need to implements 3 differents actions for the same form (addItem.do, updateItem.do and deleteItem.do). My form has only 2 fields and 3 images for the actions. Do I have to create 3 different forms? Maybe I can use the html:image tag but I don't know how. More,

Re: Struts and Portlets

2003-02-25 Thread Craig R. McClanahan
On Tue, 25 Feb 2003, Mete Kural wrote: Date: Tue, 25 Feb 2003 09:31:36 -0800 (PST) From: Mete Kural [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: Struts and Portlets --- Craig R. McClanahan [EMAIL

Maps and Nested Properties problems

2003-02-25 Thread Mathias, Merlyn
Hi, I would like to know how to use a Map with nested properties. I have an ArrayList of Maps in my ActionForm. I want to do something like this in my JSP page. logic:iterate id=address name=addressList indexId=index Street: html:text property=address[index].street / City : html:text

Why does struts (beanutils?) not use Map.Entry.setValue()

2003-02-25 Thread WILLIAMS,RAND (HP-USA,ex1)
Why does struts (beanutils?) not use Map.Entry.setValue() in logic:iterate ? when I change the value in an html:text, something does not update the Map.Entry... has anyone noticed this?? Should I do it another way? It's driving me nuts. -Rand Williams Hewlett-Packard logic:notEmpty

Re: RE: bean:write issues... or a better solution

2003-02-25 Thread Jason Vinson
I tried this in my page and i get: [log error] javax.servlet.jsp.JspException: Cannot find bean under name queuesName at org.apache.struts.taglib.html.OptionsTag.getIterator(OptionsTag.java:418) at org.apache.struts.taglib.html.OptionsTag.doEndTag(OptionsTag.java:234) [jsp]

Re: Maps and Nested Properties problems

2003-02-25 Thread David Graham
I've never had any luck using indexed accessors. Try defining your accessors like public List getAddresses(){return addresses;} so that they accept and return the whole list. That's worked for me in the past. You could also use JSTL instead of the nested taglib. David From: Mathias,

RE: How to submit a conditional form with images link?

2003-02-25 Thread Wendy Smoak
I am using Struts and I need to implements 3 differents actions for the same form (addItem.do, updateItem.do and deleteItem.do). My form has only 2 fields and 3 images for the actions. Do I have to create 3 different forms? Maybe I can use the html:image tag but I don't know how. More, I

[Ann]: Live online advanced Struts training by 4 authors for $350- last chance

2003-02-25 Thread Vic Cekvenich
One place for more details and info here: http://www.postgresql.org/event.php?EventID=122 .V - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Struts and Portlets

2003-02-25 Thread Mete Kural
--- Craig R. McClanahan [EMAIL PROTECTED] wrote: There are certainly people in the world who have done this sort of thing already (Liferay, BasicPortal, etc.) for non-JSR-168 portlet APIs, so it's clearly feasible, and it's a pretty good idea. But, from my perspective, this sort of thing

Re: Struts and Portlets

2003-02-25 Thread Vic Cekvenich
http://nagoya.apache.org/wiki/apachewiki.cgi?PortalProposal Mete Kural wrote: --- Craig R. McClanahan [EMAIL PROTECTED] wrote: There are certainly people in the world who have done this sort of thing already (Liferay, BasicPortal, etc.) for non-JSR-168 portlet APIs, so it's clearly feasible,

RE: RE: bean:write issues... or a better solution

2003-02-25 Thread Karr, David
Show us where you're putting queuesName into request scope. -Original Message- From: Jason Vinson [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 25, 2003 10:12 AM To: Struts Users Mailing List Subject: Re: RE: bean:write issues... or a better solution I tried this in my page

Re: RE: RE: bean:write issues... or a better solution

2003-02-25 Thread Jason Vinson
It's in my action class. theForm is the ActionForm that gets passed in. QueueListing[] theQueues = new QueueListing [cboQueue.getCount()]; for (int i=0; i theQueues.length; i++) { theQueues[i] = new QueueListing();

RE: need to display a tree struture in JSP

2003-02-25 Thread Dennis Doubleday
I'll endorse--it worked really well for me, with one issue. Arron, did you see my post from 10 days ago or so? I had a problem with simultaneously loading the same tree in two separate iframes on the same page. The nested context in one seemed to interfere with the context in the other.

RE: Reporting an Exception message in a JSP.

2003-02-25 Thread David Bolsover
Agreed - but in the UK we wouldn't stop at 117v - 240v minimum :). db -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: 25 February 2003 15:22 To: 'Struts Users Mailing List' Subject: RE: Reporting an Exception message in a JSP. I've always found electric

RE: Maps and Nested Properties problems

2003-02-25 Thread WILLIAMS,RAND (HP-USA,ex1)
Hello Merlyn, I am having trouble with modifying the Map.Entry.value, but this might help you: From the docs http://jakarta.apache.org/struts/userGuide/struts-logic.html#iterate [ Normally, each object exposed by the iterate tag is an element of the underlying collection you are iterating over.

Re: Re: RE: RE: bean:write issues... or a better solution

2003-02-25 Thread Jason Vinson
hrmm... if i load the page initially, i get a Internal Server Error, with the error message from before. But if i go to the address bar and just hit enter with the same address, it loads the page. what am i doing wrong? Jason ---Original Message--- From: Jason Vinson [EMAIL

RE: RE: RE: bean:write issues... or a better solution

2003-02-25 Thread Jarnot Voytek Contr AU HQ/SC
You're not putting it in request scope, you're sticking it in your form - to put it on the request, use request.setAttribute(queuesName, theQueues); -- Voytek Jarnot Quidquid latine dictum sit, altum viditur. -Original Message- From: Jason Vinson [mailto:[EMAIL PROTECTED] Sent:

Re: Struts and Portlets

2003-02-25 Thread Mete Kural
Hi Vic, I read your proposal. As you say, I think it would be great to provide Struts-based verticals under a portal platform. In your proposal you have mentioned that one of BasicPortal's goals is to provide a UI that is similar to my.netscape.com. I think that Liferay has accomplished this and

Relative link to top of page and Struts

2003-02-25 Thread Moyer, Alan L
Hi, I'm having a problem with doing a link within the same page with Struts. The sequence is as follows: 1) Go through a Struts action that forwards to a jsp page. 2) jsp page has the following at the bottom of the page: html:link href=#top associated with an image button At the top of the page

select multiple

2003-02-25 Thread LUCERO,DENNIS (HP-Boise,ex1)
When using html:select the fields that do not use the multiple = true attribute are correctly populated from the form bean during a round trip to the server but the fields using multiple = true are not. The getter and setter methods are getting called (sys out showing up), and the array type is

RE: RE: RE: bean:write issues... or a better solution

2003-02-25 Thread Karr, David
You actually have to put a bean with the name queuesName into request scope, like this: request.setAttribute(queuesName, theQueues); -Original Message- From: Jason Vinson [mailto:[EMAIL PROTECTED] It's in my action class. theForm is the ActionForm that gets passed in.

Re: select multiple

2003-02-25 Thread Ian Hunter
I just went through this. - Original Message - From: LUCERO,DENNIS (HP-Boise,ex1) [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 25, 2003 1:56 PM Subject: select multiple When using html:select the fields that do not use the multiple = true attribute are correctly

RE: [struts-menu] display trouble

2003-02-25 Thread Ray Madigan
You need the menu-config.xml file in your WEB-INF directory -Original Message- From: alexj [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 25, 2003 7:32 AM To: Struts Users Mailing List Subject: [struts-menu] display trouble Hi, After testing the example app who work fine, I've try

RE: Maps and Nested Properties problems

2003-02-25 Thread Mathias, Merlyn
Hi David and Rand, Thank you very much for your help. I fixed my problem by referring to the property name by address[index]{street} instead of address[index].street. It worked. Thanks Again, Merlyn. -Original Message- From: WILLIAMS,RAND (HP-USA,ex1) [mailto:[EMAIL PROTECTED] Sent:

Newbie Validation and DispathcAction

2003-02-25 Thread Anders
Hey, I'm trying to implement this simple form/action. - I'm using one DispatchAction that contains multiple methods. Show and update will be relevant for this. - I'm using one ValidationForm. - The validationform is tied to the dispatchaction correctly and everything works great. I can show the

[ANNOUNCEMENT] Liferay Enterprise Portal 1.8 RC2 is released

2003-02-25 Thread Mete Kural
Hello Folks, The Liferay team is proud to announce that Liferay Enterprise Portal 1.8 Release Candidate 2 has been released. You can download Liferay bundled and pre-configured with JBoss/Tomcat, JBoss/Jetty or Orion. Or if you wish you can download the .EAR enterprise archive file and deploy it

  1   2   3   >