RE: Validate url

2005-11-09 Thread Fulgencio Comendeiro, Eduardo
In the file struts-config.xml Do you have ?? -Mensaje original- De: Ben [mailto:[EMAIL PROTECTED] Enviado el: jueves, 10 de noviembre de 2005 8:14 Para: Struts Asunto: Validate url Hi I followed the Struts User's Guide to setup the form so that it validates the URL when the

Preventing users from resubmitting payment screen

2005-11-09 Thread Jadeler
I wanted to find out any recommendations in handling successful payments where the user is redirected to a receipt screen after a successful payment transaction. Basically, I need to prevent users from resubmitting the payment screen again via clicking on the browser back button, etc or via other

Re: html:textarea - escape html special characters

2005-11-09 Thread Kjersti Berg
On 10/11/05, Laurie Harper <[EMAIL PROTECTED]> wrote: > Kjersti Berg wrote: > > The html:textarea will escape html special characters to html > > entities. Inputing an & will give a string with &. Fair enough. > > But why does inputting a < or > give you < instead of < ? > > Probably as a result

Validate url

2005-11-09 Thread Ben
Hi I followed the Struts User's Guide to setup the form so that it validates the URL when the user submits the form. I use the following validation settings for the URL field. schemes http,https No matter what I put in the field, it alwa

RE: strange behaviours of tiles

2005-11-09 Thread hermod.opstvedt
Hi This has nothing to do with Tiles. The reason is that you are getting an exception during page compile: Most likely you are trying to access a Collection in select or something that does not render. I have seen this a number of times. Hermod -Original Message- From: eve [mailto:[EM

RE: including error-tiles on validation error / exception

2005-11-09 Thread hermod.opstvedt
Hi The solution to this is as simple as it can get: Use the "input" directive and point this at a new tiles definition which overiredes your contact definition, where you only override the banner. Hermod -Original Message- From: Andreas Kurtz [mailto:[EMAIL PROTECTED] Sent: Wednesday,

Re: barfs if it's parameter is null

2005-11-09 Thread Mon Cab
Nice one. Thanks Rahul. I ended up wrapping in tags... --- Rahul Akolkar <[EMAIL PROTECTED]> wrote: > On 11/7/05, Mon Cab <[EMAIL PROTECTED]> wrote: > > Hi all... > > > > I.e any way of using the tag less > > strictly, so that > value="bla"> will not cause an exception if var is > > nul

FormFile throws Serializable exception in session scope

2005-11-09 Thread Ben
Hi Could someone please let me know how to make FormFile work in the session scope? It always gives me Serializable exception. I need to use FormFile in session scope. Thanks, Ben - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Picking a framework

2005-11-09 Thread Dakota Jack
I would highly suggest you look at Spring and its web framework. You may find that in the long run the .NET apps and the JSF apps are a false time saving. This will be particularly clear when your engineers have become tool jockeys who spend a lot of their work time finding new iTunes don't know ho

Re: cant reset form

2005-11-09 Thread Chris Pat
Hi Paul Sorry. The more I think about there are probably better and more secure ways to do and not to do it. I was thinking of form with fields that "remembered" the last n number of entries and made then available on a combo box in the field for repeated entry. It definitely would not be good f

RE: cant reset form

2005-11-09 Thread David G. Friedman
Chris, What do you want to do, push the results onto a stack/list to pop them back out if you need to change something, or would an HTML form's reset button work for you (as a client-side solution). Regards, David -Original Message- From: Chris Pat [mailto:[EMAIL PROTECTED] Sent: Thursda

Re: cant reset form

2005-11-09 Thread Paul Benedict
>>Not to be greedy, however is it possible to have a >>form dynamically save and make selectable the previous >>field entries? You need to be more clear. I don't understand this. __ Yahoo! FareChase: Search multiple travel sites in one click. h

Re: cant reset form

2005-11-09 Thread Chris Pat
Hi Paul A very complete and informative answer. I learned. Thanks. Not to be greedy, however is it possible to have a form dynamically save and make selectable the previous field entries? From this discussion it seems like no. Is that something you would do in the ActionForm? Broadly speaking

Re: cant reset form

2005-11-09 Thread Paul Benedict
Pat, forms are stored in the sesion. If you want to reset it, simply remove it from the session like the following: request.getSession(false).removeAttribute("yourFormName"); The next time Struts invokes the action, it will re-create it if it is missing. So you're learning the downside of using

Re: Lists within lists issue

2005-11-09 Thread Rahul Akolkar
On 11/9/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > On 11/9/05, Rick Reumann <[EMAIL PROTECTED]> wrote: > > Michael Jouravlev wrote the following on 11/8/2005 7:15 PM: > > > > >> > >> property="someObject[${aProp.someIndex}].subobject[${bProp.someIndex}].someField"/> > > > > > Any idea how

Re: cant reset form

2005-11-09 Thread Chris Pat
Thanks Pat & rajasekhar I will do that. However is there a way to stop the serialization or force the clearing of the form fields and keep the session otherwise instantiated? I can see the need store/create objects in the session, possibly with a form bean, but want my fields clear. Just a newb

Re: cant reset form

2005-11-09 Thread rajasekhar . cherukuri
Hi Chris, Why don't you try making the scope of the form as "request" ? Chris Pat <[EMAIL PROTECTED]> 11/10/2005 09:33 AM Please respond to "Struts Users Mailing List" To Struts Users Mailing List cc Subject cant reset form Hello I have an app with three fields on the form.

Re: cant reset form

2005-11-09 Thread Paul Benedict
Pat, It's possible by restarting the tomcat server, you're serializing the session -- it's called a "sticky session" -- which sticks around between restarts. I am not aware of anyone using reset(). If you also need to clear the form fields, why not use a request scope form? It sounds like you

Re: Lists within lists issue

2005-11-09 Thread Michael Jouravlev
On 11/9/05, Rick Reumann <[EMAIL PROTECTED]> wrote: > Michael Jouravlev wrote the following on 11/8/2005 7:15 PM: > > >> >> property="someObject[${aProp.someIndex}].subobject[${bProp.someIndex}].someField"/> > > > Any idea how to simplify input using JSTL 1.1 (JSP 2.0) only? > > Well, that would b

RE: Tiles: nesting one template inside another?

2005-11-09 Thread Paul Benedict
Kevin, Yes, you can nest tiles within tiles!!! I use it heavily; I am pretty sure it's also documented, but in case it's not clear, you should read this very advanced tutorial on Tiles - it basically takes it to the max and exhausts what you can do with it: http://www.lifl.fr/~dumoulin/tiles/doc

cant reset form

2005-11-09 Thread Chris Pat
Hello I have an app with three fields on the form. It all works fine and I even have the Reset method assigning blank strings. The problem, Reset never works. I submit the form and the form values do not clear. This is even more unbelievable, I down TC, recompile the war, place it in webapps,

Re: Lists within lists issue

2005-11-09 Thread Rahul Akolkar
On 11/9/05, Rick Reumann <[EMAIL PROTECTED]> wrote: > Michael Jouravlev wrote the following on 11/8/2005 7:15 PM: > > >> >> property="someObject[${aProp.someIndex}].subobject[${bProp.someIndex}].someField"/> > > > Any idea how to simplify input using JSTL 1.1 (JSP 2.0) only? > > Well, that would b

RE: Tiles: nesting one template inside another?

2005-11-09 Thread Leahy, Kevin
I'm still stuck on this. Can anyone help? Have tried as suggested using a tile as the 'value' of a put. Here are the definitions from tiles-defs: I hope it's clear here what I'm trying to do although in this case it's fairly trivial. To the user there are two pages: a search

Re: [OT] Web application context case

2005-11-09 Thread Rahul Akolkar
On 11/9/05, Garner, Shawn <[EMAIL PROTECTED]> wrote: > It isn't from a link necessarily. > Usually it is because somebody typed it in instead of using the link we > provided. > Usually they have caps on or they somehow capitalize one letter. > I'd like to catch the people that are doing this and ha

RE: [OT] Web application context case

2005-11-09 Thread Leahy, Kevin
Can't you configure IIS to redirect www.something.com/WEBAPP requests to www.something.com/webapp ? I don't know how you're set up but I think this would be the task of a webserver administrator? -Original Message- From: Garner, Shawn [mailto:[EMAIL PROTECTED] Sent: 10 November 2005 00:3

RE: [OT] Web application context case

2005-11-09 Thread Garner, Shawn
It isn't from a link necessarily. Usually it is because somebody typed it in instead of using the link we provided. Usually they have caps on or they somehow capitalize one letter. I'd like to catch the people that are doing this and have them get the right page. Shawn D. Garner -Original

RE: Tiles: nesting one template inside another?

2005-11-09 Thread Leahy, Kevin
Are you saying that the 'put' tag can take a another tile as its 'value' attribute? I think this could be the answer, but I haven't noticed this in the documentation - does anyone know of any examples online? -Original Message- From: Paul Benedict [mailto:[EMAIL PROTECTED] Sent: 10 Nove

Re: [OT] [LYNCHMOB]Re: Picking a framework

2005-11-09 Thread Yujun Liang
Struts Development can be very simple and productive if you design a POJO based view layer. I designed a POJO based View layer, the following are the core members of the layer, Page, -- Top panel Tab, -- differentiate active tab and inactive tabs and fields on each tab Button, -- you know Field,

Re: tiles tags

2005-11-09 Thread Laurie Harper
eve wrote: what's the difference between the tags and ? Can i use both in the layout? Which one should I choose? http://struts.apache.org/struts-tiles/tagreference-struts-tiles.html#insert http://struts.apache.org/struts-tiles/tagreference-struts-tiles.html#get Which one you choose depends

RE: Tiles: nesting one template inside another?

2005-11-09 Thread Paul Benedict
Kevin, Follow this example. It uses a master layout [A] and then an inner layout [B]. You need to envision that the body content of A is B, and the body content of B is C. <-- A <-- B <-- B <-- C --- "Leahy, Kevin" <[EMAIL PROTECTED]> wrote: > Thanks for reply

Re: html:textarea - escape html special characters

2005-11-09 Thread Laurie Harper
Kjersti Berg wrote: The html:textarea will escape html special characters to html entities. Inputing an & will give a string with &. Fair enough. But why does inputting a < or > give you < instead of < ? Probably as a result of how you're using it; maybe you have nested tags leading to the

Re: strange behaviours of tiles

2005-11-09 Thread Laurie Harper
eve wrote: has it ever happened to you that a little apparently insignificant change in the jsp caused tiles not to work and all pages composed with tiles to appear completely blank? I really can't find the cause! Tiles can sometimes 'swallow' errors rendering a JSP without logging them, ret

Re: including error-tiles on validation error / exception

2005-11-09 Thread Laurie Harper
Andreas Kurtz wrote: hi folks, i have some questions on using struts with tiles and the corresponding error-handling. we've created a tiles-defintion mainLayout: ... from which other definitions were derived (e.g. a page displaying a contact-form):

Re: [OT] Web application context case

2005-11-09 Thread Laurie Harper
Garner, Shawn wrote: I have a struts webapp on JRun tied to IIS. Anyway our application's context root is all lowercase for example /webapp But the stats for our site in the IIS logs say we're getting 404 page not found errors for the same context only with different case variations. So for /W

RE: Tiles: nesting one template inside another?

2005-11-09 Thread Leahy, Kevin
Thanks for reply. But I'm not sure I really understand what you're suggesting. What I really want is a way of something like this: The base layout contains the menu and logo of company etc It has inside it a tiles insert for the body so that other tiles can add whatever body they want inside.

Re: [OT]what techonolgies will you use to develop a new web application

2005-11-09 Thread Niall Pemberton
...and according to this, you can get it for free: http://www.theserverside.com/news/thread.tss?thread_id=37496 Niall - Original Message - From: "Craig McClanahan" <[EMAIL PROTECTED]> Sent: Wednesday, November 09, 2005 11:28 PM On 11/9/05, Ted Husted <[EMAIL PROTECTED]> wrote: > > On

Re: Map-backed ActionForms PLEASE HELP!!!!

2005-11-09 Thread Laurie Harper
Your 'setThing' and 'getThing' methods have inconsistent signatures. They need to comply with the JavaBeans specification. In particular, they both need to deal in the same value types -- so either change the type of the 'value' parameter to Object in setThing, or change the return type of getT

Re: [OT]what techonolgies will you use to develop a new web application

2005-11-09 Thread Craig McClanahan
On 11/9/05, Ted Husted <[EMAIL PROTECTED]> wrote: > > On 11/9/05, Ashish Kulkarni <[EMAIL PROTECTED]> wrote: > > i have to develop a simple web application for CRUD > > Java Studio Creator is suppose to be nice for that sort of thing: > > * > http://developers.sun.com/prodtech/javatools/jscreator/e

[OT] Re: using Comparable interface for list in Displaytag

2005-11-09 Thread Laurie Harper
fea jabi wrote: for sorting the data in the list in the auto-sorting there is a statement If you want to allow the user to sort the data as it is coming back, then you need to just do two things, make sure that the data returned from your property implements the Comparable interface (if it doe

Re: [OT] Web application context case

2005-11-09 Thread Craig McClanahan
On 11/9/05, Garner, Shawn <[EMAIL PROTECTED]> wrote: > > I have a struts webapp on JRun tied to IIS. > > Anyway our application's context root is all lowercase for example /webapp > > But the stats for our site in the IIS logs say we're getting 404 page not > found errors for the same context only

Re: Upgrade from struts1.0 to 1.2

2005-11-09 Thread Yujun Liang
I didn't do anything, it is still 1.1. Regards On 11/10/05, Garner, Shawn <[EMAIL PROTECTED]> wrote: > > What do you do if you are using the struts template? > Is there a replacement tag you can use in place? > > I was thinking of upgrading from 1.1 to the 1.2.7 version of struts. > > Shawn D. Ga

Ich bin im Urlaub

2005-11-09 Thread bednarz
Sehr geehrte Damen und Herren, in der zeit vom 7. November 2005 bis 18. November 2005 bin ich im Urlaub. Bitte wenden Sie sich bei allen Fragen entweder direkt an [EMAIL PROTECTED] oder telefonisch an: 0511 / 93 62 28 22 Mit freundlichen Grüßen Andreas Bednarz

Re: struts upload with jakarta-commons

2005-11-09 Thread Laurie Harper
sudip shrestha wrote: Doing ftp file uploads in a struts webapp with jakarta-commons-net...did bulk of google searchs...they all seem to go towards use of an applet If anybody has any other ideas, I would be glad to hear. I'm not sure what you want to achieve: uploading a file via FTP f

Re: Why request.getContextPath() wouldn't work?

2005-11-09 Thread Craig McClanahan
On 11/9/05, N G <[EMAIL PROTECTED]> wrote: > > Hi, > I asked a similar question yesterday, but I think I was misundertood as to > what I was asking... > Here is what I would like to know... > If you use the following code in your JSP to avoid having to hard code the > app name: > > Is there a case

Re: Upgrade from struts1.0 to 1.2

2005-11-09 Thread Laurie Harper
bhas4 wrote: Hi, I'm upgrading from Struts 1.0 to 1.2 version, I have followed the steps given in wiki page for upgrading - *Copied all the latest jars *Changed the struts-config.xml to have the 1.2 DTD definition I'm not yet trying to use any of the new features of 1.2, but just want to upgrad

Re: [OT] how to convert an existing struts web application into portal

2005-11-09 Thread Ted Husted
This is suppose to work: * http://portals.apache.org/bridges/multiproject/portals-bridges-struts/index.html -- HTH, Ted. http://www.husted.com/poe/ On 11/9/05, Ashish Kulkarni <[EMAIL PROTECTED]> wrote: > Hi > We have developed a webapplication using struts, i was > wondering is there a straigh

Re: Help me please

2005-11-09 Thread Wendy Smoak
On 11/9/05, Vu, Thai <[EMAIL PROTECTED]> wrote: > The layout is /WEB-INF/admin/tiles/layout.jsp > > The tiles pieces are /WEB-INF/admin/tiles/expandedusermenu.jsp and > /WEB-INF/admin/tiles/userlist.jsp. > > The real page is /WEB-INF/admin/userlist.jsp. The attachments didn't come through. In gen

strange behaviours of tiles

2005-11-09 Thread eve
has it ever happened to you that a little apparently insignificant change in the jsp caused tiles not to work and all pages composed with tiles to appear completely blank? I really can't find the cause!

tiles tags

2005-11-09 Thread eve
what's the difference between the tags and ? Can i use both in the layout? Which one should I choose?

Re: [OT]what techonolgies will you use to develop a new web application

2005-11-09 Thread Ted Husted
On 11/9/05, Ashish Kulkarni <[EMAIL PROTECTED]> wrote: > i have to develop a simple web application for CRUD Java Studio Creator is suppose to be nice for that sort of thing: * http://developers.sun.com/prodtech/javatools/jscreator/ea/jsc2/index.html -Ted. --

RE: [OT]what techonolgies will you use to develop a new web application

2005-11-09 Thread Duane Rosengartner
I don't know folks; perhaps we're hung up on the word 'simple' or you'd have gotten more responses. Or is it that we're a Struts User group and we feel the question is rhetorical? No, that can't be it. I personally feel you should have searched the archives on this one. It's one that's asked every

RE: Help me please

2005-11-09 Thread Vu, Thai
The layout is /WEB-INF/admin/tiles/layout.jsp The tiles pieces are /WEB-INF/admin/tiles/expandedusermenu.jsp and /WEB-INF/admin/tiles/userlist.jsp. The real page is /WEB-INF/admin/userlist.jsp. Thanks Wendy for your attention. -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTE

RE: Map-backed ActionForms PLEASE HELP!!!!

2005-11-09 Thread Neil Mendoza
Yes they are all in the same package. Thanks in advance... N. -Original Message- From: Michael Jouravlev [mailto:[EMAIL PROTECTED] Sent: Wed 11/9/2005 7:12 PM To: Struts Users Mailing List Subject: Re: Map-backed ActionForms PLEASE HELP >From what you posted it is not obvious that

Re: [OT]what techonolgies will you use to develop a new web application

2005-11-09 Thread Frank W. Zammetti
How simple an app are you talking about? A handful of screens with very basic displays and CRUD ops? Heck, you might want to just go model-1 and be done with it. Or a very simple model-2 architecture (i.e., a single servlet where all requests go to which either delegates to some class for a give

[OT] how to convert an existing struts web application into portal

2005-11-09 Thread Ashish Kulkarni
Hi We have developed a webapplication using struts, i was wondering is there a straight forward way to convert it into a portal? or do we have to develop it again Are any good resources avalibale to learn more about portal development Ashish __

Re: [OT]what techonolgies will you use to develop a new web application

2005-11-09 Thread Ashish Kulkarni
Hi i have to develop a simple web application for CRUD Ashish --- Larry Meadors <[EMAIL PROTECTED]> wrote: > That is like asking "If you were going to build a > house, where would > you build it?" > > Sooo many variables. > > I am currently working on an app that uses > Spring+Struts+Tiles+iBA

Re: Map-backed ActionForms PLEASE HELP!!!!

2005-11-09 Thread Michael Jouravlev
>From what you posted it is not obvious that your ActionForm belongs to com.prytaniagroup.www package. Does it? Michael. On 11/9/05, Neil Mendoza <[EMAIL PROTECTED]> wrote: > OK, I'm climbing up the walls trying to make Struts populate a map-backed > action form. This should be a simple task bu

RE: Validation seemingly not getting called any longer

2005-11-09 Thread David G. Friedman
I think I found the explanation from Corey Probst back in March (11th, 2005) on this list: __ By adding a comma separated list of struts config __ files, you are not specifying multiple *modules*, __ just multiple config files. ValidatorResources __ are stored in the ServletContext after being re

Re: [OT] Re: Picking a framework

2005-11-09 Thread Frank W. Zammetti
Hey, your talking to an MCP and MCSD here! I'm already straddling the fence :) Actually, I can't remember the last time I did anything more than a trivial project with any MS technology. So no, I think I'll stick around a bit longer :) I just didn't know they had been ported. That *us* interes

[OT] Web application context case

2005-11-09 Thread Garner, Shawn
I have a struts webapp on JRun tied to IIS. Anyway our application's context root is all lowercase for example /webapp But the stats for our site in the IIS logs say we're getting 404 page not found errors for the same context only with different case variations. So for /WEBAPP, /WebApp for exam

Map-backed ActionForms PLEASE HELP!!!!

2005-11-09 Thread Neil Mendoza
OK, I'm climbing up the walls trying to make Struts populate a map-backed action form. This should be a simple task but I cannot get it to f*&king work and it is driving me insane... The reset method is called before the form is first displayed and the resulting jsp is populated with the value

RE: Validation seemingly not getting called any longer

2005-11-09 Thread Preston CRAWFORD
That would be nice. Wouldn't be a bad thing to add, either. Preston >>> [EMAIL PROTECTED] 11/8/2005 7:54 PM >>> Preston, It is great to hear you've identified your problem. I'd just been looking over my examples and couldn't find anything out of place with the code/xml/config samples you'd incl

Re: [OT] Re: Picking a framework

2005-11-09 Thread Michael Jouravlev
Want to jump the ship? ;-) On 11/9/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > Cool! I had no idea, thanks! > > -- > Frank W. Zammetti > Founder and Chief Software Architect > Omnytex Technologies > http://www.omnytex.com > AIM: fzammetti > Yahoo: fzammetti > MSN: [EMAIL PROTECTED] > > On

Re: [OT]what techonolgies will you use to develop a new web application

2005-11-09 Thread Larry Meadors
That is like asking "If you were going to build a house, where would you build it?" Sooo many variables. I am currently working on an app that uses Spring+Struts+Tiles+iBATIS+Tomcat. Provide some more details on what the app will do, and you will get more accurate answers. Larry On 11/9/05, A

[OT]what techonolgies will you use to develop a new web application

2005-11-09 Thread Ashish Kulkarni
Hi Suppose i have to develop a new web application what are the best and latest techonlogies you recommend to use. 1 Framework : struts,struts+shale,jsf,tapestry 2 front end(jsp): AJAX with JSF tages or with JSTL 3 database connection: ibatis, hibernate, object relation dataase mapping 4 business

RE: Upgrade from struts1.0 to 1.2

2005-11-09 Thread Garner, Shawn
What do you do if you are using the struts template? Is there a replacement tag you can use in place? I was thinking of upgrading from 1.1 to the 1.2.7 version of struts. Shawn D. Garner -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Yujun Liang Sent: W

Re: [OT] Re: Picking a framework

2005-11-09 Thread Frank W. Zammetti
Cool! I had no idea, thanks! -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM: fzammetti Yahoo: fzammetti MSN: [EMAIL PROTECTED] On Wed, November 9, 2005 1:27 pm, Larry Meadors said: > Yes. > > On 11/9/05, Frank W. Zammetti <[EMAIL PROTEC

Re: [OT] Re: Picking a framework

2005-11-09 Thread Larry Meadors
Yes. On 11/9/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > On Wed, November 9, 2005 1:14 pm, Ted Husted said: > > We use Subversion for version control, MySQL for the > > database, iBATIS for the data access layer, and Spring.Web for > > dependency injection. > > Are there iBATIS and Spring p

Re: [OT] Re: Picking a framework

2005-11-09 Thread Frank W. Zammetti
On Wed, November 9, 2005 1:14 pm, Ted Husted said: > We use Subversion for version control, MySQL for the > database, iBATIS for the data access layer, and Spring.Web for > dependency injection. Are there iBATIS and Spring ports to .Net? Frank

Re: [OT] Re: Picking a framework

2005-11-09 Thread Ted Husted
On 11/9/05, Dave Newton <[EMAIL PROTECTED]> wrote: > Believe me, I have little love for the .NET development experience > (although C# is pretty nice as "normal" languages go) but... I've been working in .NET for about a year and a half now. Once we started to ignore the usual examples and try to

Re: Help me please

2005-11-09 Thread Wendy Smoak
On 11/9/05, Vu, Thai <[EMAIL PROTECTED]> wrote: > I don't know what's wrong with my application. I use tiles and whenever > I put in a piece of the tiles, the whole piece isn't > processed. Do you think of any problem? Seeing an example of your code would help. Are you trying to have the in one

Help me please

2005-11-09 Thread Vu, Thai
I don't know what's wrong with my application. I use tiles and whenever I put in a piece of the tiles, the whole piece isn't processed. Do you think of any problem? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comma

Re: How to detect if an action was called from a web form or from an anchor

2005-11-09 Thread Wendy Smoak
On 11/9/05, Néstor Boscán <[EMAIL PROTECTED]> wrote: > > Is there a way to know if an action is called from a web form or from an > anchor? > Put a hidden field in the form and check for it-- if the form wasn't submitted, it won't be there. You can also check request.getMethod() to see if it's P

How to detect if an action was called from a web form or from an anchor

2005-11-09 Thread Néstor Boscán
Hi   Is there a way to know if an action is called from a web form or from an anchor?   Regards,   Néstor Boscán   Néstor Boscán - Gerente de Consultoría Teléfono Móvil: +58 416 6070610  Teléfono Oficina: +58 212 2399711 - +58 212 2398198 

RE: Validation seemingly not getting called any longer

2005-11-09 Thread Garner, Shawn
Got me then. Start from scratch rebuild everything. Maybe your web server doesn't have the right war on it or something like that. Shawn D. Garner -Original Message- From: Preston CRAWFORD [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 08, 2005 5:08 PM To: user@struts.apache.org Subj

Re: Can one Action Method POST to another?

2005-11-09 Thread Michael Jouravlev
On 11/9/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > On 11/9/05, sudip shrestha <[EMAIL PROTECTED]> wrote: > > I have situation here where one action method need to do a POST to another > > method of a DispatchAction implementing class. I need to know if this is > > possible. > > Redirect wit

Re: Can one Action Method POST to another?

2005-11-09 Thread Michael Jouravlev
On 11/9/05, sudip shrestha <[EMAIL PROTECTED]> wrote: > I have situation here where one action method need to do a POST to another > method of a DispatchAction implementing class. I need to know if this is > possible. Redirect with 307 code. HttpResponse.sendRedirect() sets response header to 302

Re: Can one Action Method POST to another?

2005-11-09 Thread Frank W. Zammetti
I'm not completely sure I understand your question, but if your simply asking if one Action call forward to another, the answer is yes. This is commonly referred to as "Action Chaining". If it's a forward, you'll be using the same request object, so anything in there will be present for the secon

Can one Action Method POST to another?

2005-11-09 Thread sudip shrestha
I have situation here where one action method need to do a POST to another method of a DispatchAction implementing class. I need to know if this is possible. I have a struts webapp that uploads file to a ftp web server and so one of the POST variables is a Struts "FormFile" object. If it were just

[OT] [LYNCHMOB]Re: Picking a framework

2005-11-09 Thread Dave Newton
Michael Jouravlev wrote: On 11/9/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Anyway, now we're moving to a new J2EE development environment and trying to decide how to build apps going forward Struts is the logical choice because we know it. However, one of the big issues we have with S

Re: Picking a framework

2005-11-09 Thread Michael Jouravlev
On 11/9/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Anyway, now we're moving to a new J2EE development environment and trying > to decide how to build apps going forward Struts is the logical choice > because we know it. However, one of the big issues we have with Struts > right now is that

Re: Lists within lists issue

2005-11-09 Thread Rick Reumann
Michael Jouravlev wrote the following on 11/8/2005 7:15 PM: Any idea how to simplify input using JSTL 1.1 (JSP 2.0) only? Well, that would be pretty much impossible without writing a tag to do it (since as it stands how could JSP or JSTL have any idea what your nested property names are?

Why request.getContextPath() wouldn't work?

2005-11-09 Thread N G
Hi, I asked a similar question yesterday, but I think I was misundertood as to what I was asking... Here is what I would like to know... If you use the following code in your JSP to avoid having to hard code the app name: Is there a case where this wouldn't work? Thanks, NG

Re: Picking a framework

2005-11-09 Thread Ted Husted
In your situation, you probably want to have a look at Struts Shale and Java Server Faces. JSF is similar to .NET. * http://struts.apache.org/shale/index.html * http://jsfcentral.com/ Shale is still pre-1.0, but I understand the essential features are in the nightly build. Meanwhile, some of us

Re:Upgrade from struts1.0 to 1.2

2005-11-09 Thread bhas4
It was used in one of the jsp page, I have removed it.. but still the same issue it shows a blank page for my action. Let me give more information about my error: 1. I have turned on debugging & I see my "action" servlet which is nothing but an extended class of ActionServlet gets initialized pro

Re: How to clear DynaActionForm?

2005-11-09 Thread pc leung
Thnx On 11/9/05, Hubert Rabago <[EMAIL PROTECTED]> wrote: > You can set the form's scope to "request". This way, the values don't > survive from one request to the next. > > Hubert > > On 11/8/05, pc leung <[EMAIL PROTECTED]> wrote: > > even the following cannot clear fields in > > > type="org.a

using Comparable interface for list in Displaytag

2005-11-09 Thread fea jabi
for sorting the data in the list in the auto-sorting there is a statement If you want to allow the user to sort the data as it is coming back, then you need to just do two things, make sure that the data returned from your property implements the Comparable interface (if it doesn't natively - u

Re: Tiles without Struts

2005-11-09 Thread Greg Reddin
On Nov 8, 2005, at 9:23 PM, Paul Benedict wrote: I have gone to this link: http://struts.apache.org/struts-tiles/installation.html I am looking for those 3 WAR files listed but I can't find them. The link in this paragraph is broken so I can't get to the distribution: "First, download a bi

struts upload with jakarta-commons

2005-11-09 Thread sudip shrestha
Doing ftp file uploads in a struts webapp with jakarta-commons-net...did bulk of google searchs...they all seem to go towards use of an applet If anybody has any other ideas, I would be glad to hear.

including error-tiles on validation error / exception

2005-11-09 Thread Andreas Kurtz
hi folks, i have some questions on using struts with tiles and the corresponding error-handling. we've created a tiles-defintion mainLayout: ... from which other definitions were derived (e.g. a page displaying a co

Re: Validator and Tiles files missing in site

2005-11-09 Thread Wendy Smoak
On 11/9/05, Yujun Liang <[EMAIL PROTECTED]> wrote: > It seems this is the latest. > > http://struts.apache.org/struts-doc-1.1/userGuide/dev_validator.html That's the documentation that shipped with Struts 1.1, so it's not the latest. :) Here's the latest version for the 1.2 branch: http://strut

[OT ]Re: repeat previous action from the other one

2005-11-09 Thread DGraham
Assuming the each user change issues a request to the server, I think that I would use a session scoped object and a filter to achieve this. The session scoped object could hold a flag as well as the "last performed action" and the filter could use these values to automatically invoke the last

Picking a framework

2005-11-09 Thread pantichd
Hello, I realize that this is not the most unbiased group : )  but it seems to be a very sensible and well behaved (no nasty name calling like you find on some other groups). So I'm hoping not to get beat up when I ask this. We have been using Struts for about 4 years now and we've never updated

html:textarea - escape html special characters

2005-11-09 Thread Kjersti Berg
The html:textarea will escape html special characters to html entities. Inputing an & will give a string with &. Fair enough. But why does inputting a < or > give you < instead of < ? Kjersti - To unsubscribe, e-mail: [EMAIL

Re: Tiles: nesting one template inside another?

2005-11-09 Thread Yujun Liang
Yes, you can use Layout B, just let xx be empty and yy be the content when showing layout A. Regards On 11/9/05, Leahy, Kevin <[EMAIL PROTECTED]> wrote: > > I have a generic company layout mainly composed of the menu navigations > system. > > I have also a 'Search' type form. The search form will

Re: Upgrade from struts1.0 to 1.2

2005-11-09 Thread Yujun Liang
I think Struts 1.2 stopped supporting template tag, if you are using template tag in your application, you may not be able to run you Struts application any more. I got similar problem before. Please check, did you use Template? Regards On 11/9/05, bhas4 <[EMAIL PROTECTED]> wrote: > > Hi, > I'm

Tiles: nesting one template inside another?

2005-11-09 Thread Leahy, Kevin
I have a generic company layout mainly composed of the menu navigations system. I have also a 'Search' type form. The search form will be used in various different tiles because it is relevant to View, Edit, Update, Save etc functionality. What I want to do is kind of nest the Search Form layou

Lock in BeanUtilsBean.getInstance(BeanUtilsBean.java:78)

2005-11-09 Thread Richter-Reichhelm, Jesper
After switching to Struts 1.2.7 (and Commons Beanutils 1.7) we experience problems with Struts Tags' usage of PropertyUtils.getProperty() to read a bean's property value: During high traffic time threads begin to wait at the synchronized method org.apache.commons.beanutils.BeanUtilsBean.getInstance

Upgrade from struts1.0 to 1.2

2005-11-09 Thread bhas4
Hi, I'm upgrading from Struts 1.0 to 1.2 version, I have followed the steps given in wiki page for upgrading - *Copied all the latest jars *Changed the struts-config.xml to have the 1.2 DTD definition I'm not yet trying to use any of the new features of 1.2, but just want to upgrade to 1.2 versi

Re: Using Struts-Dialogs for multi row update

2005-11-09 Thread Danny Lee
Hi Michael, Persistance is no issue, becouse I have implemented managers, which can be simply used anywhere. Something like: "On update PersistanceManager.UpdateProductCount(prodID, newCount)" Well the question was about multi row update. It means for every list line I have a "Delete" button

  1   2   >