Tiles Doubt

2004-10-12 Thread babloosony
I have various xml files like tiles-defs.xml, tiles-defs.cards.xml, tiles-defs.cards_en_ca.xml. Under what scenarios tiles-defs.cards.xml file and tiles-defs.cards_en_ca.xml file can be invoked ? - To unsubscribe, e-mail: [EMAIL P

Arzttermin

2004-10-12 Thread Markus Heck
Hallo Andreas, ich hab um 9:50 Uhr einen Arzttermin; ich meld mich dann noch mal und sag Bescheid, wann und ob ich heute noch komme. Zu MAP: Dein Programm hab ich gestern noch getestet (mit einer Schleife über alle Sätze aus vip_products), ich hab noch eine Änderung eingebaut, dann war's korrekt.

action form extending action form?

2004-10-12 Thread Fedor Smirnoff
Hi, Cant figure this one out. Let's say I have an: ActionForm form1 and Action action1 that persist throughout the application and used by different processes as a final step. Now I got an action2 where I need to process another actionform form2 right before I pass on to the action1 that proces

action form extending action form?

2004-10-12 Thread Fedor Smirnoff
Hi, Cant figure this one out. Let's say I have an: ActionForm form1 and Action action1 that persist throughout the application and used by different processes as a final step. Now I got an action2 where I need to process another actionform form2 right before I pass on to the action1 that proces

Using JSTL 1.1 with Struts 1.2.4 and JBoss 3.2.5 or 4.0?

2004-10-12 Thread Satish Talim
I am using JBoss 4.0 (which I believe is a Servlet 2.4 / JSP 2.0 container) and Struts 1.2.4. I want to use JSTL 1.1 with Struts and JBoss. For example, I would like to use something like this: <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"; %> <%@ taglib prefix="sql" uri="http:/

Re: need advice: session scoped objects or session scoped ActionForm ?

2004-10-12 Thread lixin chu
actually I do not like either option. my understanding is: * session scoped obejcts (I mean those put into the session using request.getSession().setAttribute()) are like global variables. I need to take care of potential naming conflict-but I can not use fully qualified domain name type of naming

html:link and multiple params on paging

2004-10-12 Thread Joe Hertz
The Pager taglib looks real nice for search results that are generated by request query params e.g. http://hostname/MySearchAction.do?param1=2¶m2=ABC&etcetc So I figure, use the html:link tag's paramId, paramName, paramProperty attributes, but you can only use these for one parameter right? (and

Re: Can lazyList help out for indexed arrays in ActionForm?

2004-10-12 Thread Rick Reumann
Adam Hardy wrote the following on 10/12/2004 5:46 PM: I thought that the servlet container would just pass in the parameter 'tier' as an array of the appropriate size already, in one hit so to speak. Or am I totally wrong? I'm sure it would if I defined each property in the form like... <... prop

Re: Dynamic Fonts: Devolving to Default "Dialog"

2004-10-12 Thread Michael McGrady
Hello, Kris, Thanks or responding. I solved the problem. Instead of relying up System, I just created my own independent font application. I use a doubled HashMap to get the physical font files location from the font FONT name and the font FAMILY name from a constants class (actually two con

Help! Questions about Checkbox and multibox

2004-10-12 Thread t t
Hi, all, I have some questions regarding Checkbox and multibox: 1. What value will be returned if a checkbox is checked? How to get it from the relevant form bean? any example? 2. If I want to check a group of checkboxes (multibox) after a single checkbox is checked, how to do that? I guess java

Re: need advice: session scoped objects or session scoped ActionForm ?

2004-10-12 Thread Sebastian Ho
For every calling page, use a new mapping in yr struts-config. I assume u mean setting the action as session scope in yr config? They are the same I think, the important thing is to keep it to one solution and use it thoughout the application. Else it will be confusing and hard to debug as yr appl

Re: JSF and Struts Together (Easiest possible way)

2004-10-12 Thread Craig McClanahan
Yes, this would "just work". But it leads to the worst case scenario discussed earlier on the mail thread, where half your navigation is in faces-config.xml and the other half is in struts-config.xml. I wouldn't recommend it as either a migration strategy or as a new development strategy. Craig

need advice: session scoped objects or session scoped ActionForm ?

2004-10-12 Thread lixin chu
Hi, I am seeking your expert advice: I have a simple page with Done and Cancel buttons. If any of these buttons are clicked, I suppose to go back to the calling page - there are a few pages that will come to this page. It is a simple workflow type of thing. So I need to know the retutn URL, pls so

Re: JSF and Struts Integration

2004-10-12 Thread Craig McClanahan
On Tue, 12 Oct 2004 14:02:07 -0400, Sean Schofield <[EMAIL PROTECTED]> wrote: > > > Are the UI widgets of JSF really that compelling? The *standard* UI components weren't meant to be compelling -- they were meant to give people an opportunity to actually explore the APIs without having anything ex

Re: JSF and Struts Integration

2004-10-12 Thread Craig McClanahan
On Tue, 12 Oct 2004 11:29:56 -0400, Sean Schofield <[EMAIL PROTECTED]> wrote: > I have been doing some reading recently on JSF and I have a few comments and > questions. > > At first I thought JSF would focus mostly on the "V" in MVC. But after doing some > reading on this, it seems like JSF re

Re: Localization

2004-10-12 Thread Craig McClanahan
On Tue, 12 Oct 2004 08:04:11 -0500, David Suarez <[EMAIL PROTECTED]> wrote: > > Do you have any recommended news group/mailing list for JSF users? > One popular place is the JSF Forum at the Java Developer Connection site (free registration required) at

RE: Dispatch Action called Twice / :-( happened again..

2004-10-12 Thread David G. Friedman
Any chance you have submit buttons calling form.submit()? I think I used to do that and it accidentally caused a double submit in some browsers. Regards, David -Original Message- From: Marco Mistroni [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 12, 2004 5:37 AM To: 'Struts Users Mail

Obtaining an array property

2004-10-12 Thread Freddy Villalba A.
Hello everybody, This is a very silly question, but I haven't been able to find the answer on the archives (perhaps because it's already past midnight and I should be sleeping by now). I have an actionForm with a Long[] property (and also a String[]) that I want to render from a JSP. How can I ac

Re: Can lazyList help out for indexed arrays in ActionForm?

2004-10-12 Thread Adam Hardy
On 10/12/2004 04:14 PM Rick Reumann wrote: I have a situation where I need to use fields on form that are indexed... tier[0], tier[1], etc. (possibly more) Is there a way I could use a LazyList implmentation to grow this if the form property is defined as String[]? (I know how to grow a List in t

Re: Clean way to obtain a property's value...

2004-10-12 Thread Adam Hardy
Axel, thanks for resurrecting the thread with your suggestions. On the first suggestion, how do you propose making the singleton available in the page context, to allow that call? On the second one, how can a tld be used to define constants? Obviously I'm missing something. thanks Adam ps the uns

JSF and Struts Together (Easiest possible way)

2004-10-12 Thread Sean Schofield
I am wondering how easy it would be to setup an application that uses both JSF and Struts. If I'm not interested in having either framework communicate with each other, do I even need struts-faces? In other words if I want part of the application to use '.faces' and be handled exclusively by

Re: Dynamic Fonts: Devolving to Default "Dialog"

2004-10-12 Thread Kris Schneider
Michael, If you're still looking for input, post back, I've got some follow-up questions. Michael McGrady wrote: I use a Struts PlugIn to set System.setProperty("java.awt.fonts", MyApp.FONTS_LOCATION) to set the dynamic option for awt fonts. This works. Then I put a variety of open source fon

Re: Nested tags

2004-10-12 Thread Claus M. Christiansen
just use whatever id you are using for the indexId of the outer nested iterate. if you are using the nested EL tags or JSP2.0 you then have easy access to display the value of any indexId ... use either if JSTL or if JSP2.0 just ${fooIndex} The problem is not so much that I want to dis

Re: FieldChecks change signature and no longer returns value

2004-10-12 Thread Niall Pemberton
Gentoo now has the latest version. Niall - Original Message - From: "Mick Wever" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 12, 2004 4:01 PM Subject: Re: FieldChecks change signature and no longer returns value > > Version 1.2.2 was downgraded from "ga" quality

Re: Query depends part of validation.xml ?

2004-10-12 Thread Twan Kogels
Hello again ;-) I've dived into the struts source code and struggled for a couple of hours (was already struggling a bit before i wrote the email at the bottom). Then i discovered the Resource class which seems to be the answer to my question. Here's some pseudo code: (warning this is only theor

Re: Nested tags

2004-10-12 Thread Rick Reumann
Claus M. Christiansen wrote the following on 10/12/2004 3:13 PM: Now.. The problem lies in the nested iterate tag. The "indexed=true" takes the value from the iterate tag in which it is nested, but what I really need is the one from the outer tag, which is called subQuestion. The reason I need t

Nested tags

2004-10-12 Thread Claus M. Christiansen
Hi ML... I have kind of a problem which I just can't get solved! I have an iterate tag inside an iterate tag, but in the nested iterate tag I need the indexed value from the outer iterate tag!! I have:

Query depends part of validation.xml ?

2004-10-12 Thread Twan Kogels
Hello people, I'm wondering if there is a way to query the value's in validation.xml. I'm particulary interested in the "depends" part which contains the "required" statement. This one indicates if a form field is required. When i know this one then i can program a general routine which prints

Re: JSF and Struts Integration

2004-10-12 Thread Sean Schofield
Hubert Rabago wrote: Yes. Some even believe the navigation rules of JSF is easier to understand than those of Struts. I haven't finished exploring all of the nav features of JSF, but I tend to agree with this comment. Navigation seems to me to be one of the more awkward aspects of Struts. I

RE: logc:equal with displaytag in Struts

2004-10-12 Thread Chris Bredesen
You can open up the element and use the variable "register" (set as the id param on your display:table) in its body to access the column's value bean. Then you can do any other logic you wish on the fly. You'd need to generate the href yourself in this case. HTH, Chris > -Original Message-

Re: JSF and Struts Integration

2004-10-12 Thread Mark Lowe
On 12 Oct 2004, at 17:57, Hubert Rabago wrote: Lots of people more qualified than me to respond to your questions, but I know a little bit about the theory and can give you a preview of what they'll likely say. On Tue, 12 Oct 2004 11:29:56 -0400, Sean Schofield <[EMAIL PROTECTED]> wrote: I have bee

RE: Dispatch Action called Twice

2004-10-12 Thread Lesaint Sébastien
What do you want details about? bug or how I found it? Maybe both? -Message d'origine- De : Rajesh [mailto:[EMAIL PROTECTED] Envoyé : mardi 12 octobre 2004 11:29 À : 'Struts Users Mailing List' Objet : RE: Dispatch Action called Twice Hai Seb' I cant get you, please explain in details .

Re: JSF and Struts Integration

2004-10-12 Thread Hubert Rabago
Geez, my writing can be very confusing. > Whose focus? Struts users miss out on lots of developments outside > Struts, but they miss out on Struts progress as well. I meant, those not using Struts would miss out on Struts developments as well. Maybe it's time for me to get some lunch. Hubert

logc:equal with displaytag in Struts

2004-10-12 Thread Shabada, Gnaneshwer
Hello All, I am using DisplayTag in my Struts App to display a list of results. One of the columns is shown as a hyperlink to show the details for that row on a different screen. Now, I want to be able to make this column as a hyperlink only for certain authorized users like admins. I could have

Re: Write Own Validation Instead of Using validation.xml

2004-10-12 Thread Jeff Beal
Caroline Jen wrote: I am submitteing a form. This form provides check boxes for multiple selections. I am not using the validation.xml to validate if "none" is selected. Instead, I am going to use the validate(). 1. Do I write this validate() in the form class that extends the ActionForm? Yes

Re: JSF and Struts Integration

2004-10-12 Thread Hubert Rabago
Lots of people more qualified than me to respond to your questions, but I know a little bit about the theory and can give you a preview of what they'll likely say. On Tue, 12 Oct 2004 11:29:56 -0400, Sean Schofield <[EMAIL PROTECTED]> wrote: > I have been doing some reading recently on JSF and I

JSF and Struts Integration

2004-10-12 Thread Sean Schofield
I have been doing some reading recently on JSF and I have a few comments and questions. At first I thought JSF would focus mostly on the "V" in MVC. But after doing some reading on this, it seems like JSF really provides the "M" and "C" as well. Is this accurate? It seems possible to combine

RE: Checkboxes with display tag

2004-10-12 Thread Shabada, Gnaneshwer
Jason, Thanks very much. Works for me. I actually used multibox for this same code before using DisplayTag. Dont know why I didnt choose to implement that..anyways it works now. Thanks Gnan -Original Message- From: Jason Lea [mailto:[EMAIL PROTECTED] Sent: Monday, October 11, 2004 7:02 PM

Write Own Validation Instead of Using validation.xml

2004-10-12 Thread Caroline Jen
I am submitteing a form. This form provides check boxes for multiple selections. I am not using the validation.xml to validate if "none" is selected. Instead, I am going to use the validate(). 1. Do I write this validate() in the form class that extends the ActionForm? 2. how do I write this

Can lazyList help out for indexed arrays in ActionForm?

2004-10-12 Thread Rick Reumann
I have a situation where I need to use fields on form that are indexed... tier[0], tier[1], etc. (possibly more) Is there a way I could use a LazyList implmentation to grow this if the form property is defined as String[]? (I know how to grow a List in the reset using LazList but not sure of an

Re: FieldChecks change signature and no longer returns value

2004-10-12 Thread Mick Wever
> Version 1.2.2 was downgraded from "ga" quality because of problems so its > not a good idea to use it in general. Current release version is 1.2.4 and > this issue was fixed in that version. Sorry, failed to look that far ahead :$ Gentoo, unfortunately is still publishing 1.2.2 :( > P.S. I ass

Re: FieldChecks change signature and no longer returns value

2004-10-12 Thread Mick Wever
> After updating to version 1.2.2 > FieldsCheck.validateInteger(..) now returns a boolean indicating success > rather the value. This has broken our code and we need the value. Is > there a substitute method now? I've tracked this down to a patch done under bug#26413. http://issues.apache.org/bug

Re: FieldChecks change signature and no longer returns value

2004-10-12 Thread Niall Pemberton
Version 1.2.2 was downgraded from "ga" quality because of problems so its not a good idea to use it in general. Current release version is 1.2.4 and this issue was fixed in that version. http://issues.apache.org/bugzilla/show_bug.cgi?id=26413 Niall P.S. I assume you meant FieldsCheck.validateInt

RE: read-only fields

2004-10-12 Thread Le Goff, Yoann
disabled="true" readonbly="true" Take care, one of these do not put the field to the request ... Y.

FieldChecks change signature and no longer returns value

2004-10-12 Thread Mick Wever
After updating to version 1.2.2 FieldsCheck.checkInteger(..) now returns a boolean indicating success rather the value. This has broken our code and we need the value. Is there a substitute method now? Mick. -- "It is not enough to have a good mind; the main thing is to use it well." Descartes

Re: iterate paging

2004-10-12 Thread Rick Reumann
Peng Tuck Kwok wrote the following on 10/8/2004 5:05 AM: Or you coud use displaytag. http://displaytag.sf.net It's pretty ok from what I can see. Can someone confirm- One of the reasons I didn't like this tag is it requires your WHOLE list to be in Session. Can you imagine if Google search re

read-only fields

2004-10-12 Thread Freddy Villalba A.
Hello everybody, I want some of the fields in my to be read-only. Usually, I accomplished this by doing one of these: (1) Use "disabled". (2) Use readonly. Now, I have a problem with this... I want to use Struts' XHTML tag. I believe it's the cause for the failing of both alternatives above. I

Re: Mulitiple html:link but only one action

2004-10-12 Thread Jeff Beal
So, apparently I completely misunderstood the problem. I'll go back to one of the HTML examples from one of my earlier posts: Text To get the value 'page1' from within your Action, all you need to do is 'request.getParameter("display")'. The corresponding html:link code could be text where

Re: iterate paging

2004-10-12 Thread Lee Harrington
On 12 Oct 2004 16:13:43 +0800, Sebastian Ho <[EMAIL PROTECTED]> wrote: > Does anyone has an example using struts iterate? How does indexId works? > > Sebastian Here's an example. I have a list "dataStoreList" in the request scope that I set via "request.setAttribute("dataStoreList",dataStoreList

Chaining Actions

2004-10-12 Thread Lee Harrington
I'm having a problem calling one action from another. Both are dispatch actions. Action 1 is called, does it's business, sets a request.setAttribute(), and forwards to Action 2 Action 2 is run, but none of the request variables are there. I get nulls with I "request.getAttribute". Lee ---

Re: Mulitiple html:link but only one action

2004-10-12 Thread marc
Yeah is't the Action code that I got problems with. Can't figure out have to read the html link in my action. Jeff Beal wrote: Maybe, but I'm still not sure exactly where you're having problems. Are you having problems writing the Action code to pass the request to the different pages? If so, h

Re: Mulitiple html:link but only one action

2004-10-12 Thread Jeff Beal
Maybe, but I'm still not sure exactly where you're having problems. Are you having problems writing the Action code to pass the request to the different pages? If so, have a look at DispatchAction -- it is one possible approach to this situation. If the problem is in using the Struts tags to

Re: Mulitiple html:link but only one action

2004-10-12 Thread marc
I need af jsp page with 9 links on them. 3 link need to produceed 3 different lists. 3 needs to forward to 3 different forms. The last 3 need to point to 3 other jsp page. And i would like to use the same action for all 9 of them. Got at clearer picture of what I what? Jeff Beal wrote: text gen

RE: How do I get Chinese & Arabic to/from struts

2004-10-12 Thread Hiran.Chaudhuri
Hi, David. If JRun claims to be servlet spec 2.3 compliant, it should work. Hiran - Hiran Chaudhuri SAG Systemhaus GmbH Elsenheimer Straße 11 80867 München Phone +49-89-54 74 21 34 Fax +49-89-54 74 21 99 > -Original Message- > From: David Th

Re: OT Re: Back Button Woes!!!!

2004-10-12 Thread Rick Reumann
Craig McClanahan wrote the following on 10/12/2004 2:16 AM: It seems, though, that the grandfather ran into a roadblock. As he related the story, the grandfather said, "You know, there's something wrong with this computer. Most of the time, when I fill out a form, it shows me exactly what I'm typ

Re: Mulitiple html:link but only one action

2004-10-12 Thread Jeff Beal
text generates the same thing as text text generates the same thing as text text works similarly, but it loops through the map identified by the name 'map1' for the name/value pairs. It will generate something like: text Using the page attribute instead of the action attribute may be more along

RE: How do I get Chinese & Arabic to/from struts

2004-10-12 Thread David Thielen
I use JRun instead - will this work on it? Thanks - dave -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Siggelkow Sent: Monday, October 11, 2004 10:15 PM To: [EMAIL PROTECTED] Subject: Re: How do I get Chinese & Arabic to/from struts Use Tomcat's SetCharacterE

RE: Localization

2004-10-12 Thread David Suarez
Thanks for the information, didn't know JSF would help out with this as well. We did the prototype with JSF and decided it was maybe a little too soon to use it (we had to ramp up a bit still and didn't want to delay the project). Guess we should've gone ahead with it. Do you have any recommende

Help: XML to HTML need an example

2004-10-12 Thread Kranti Parisa
Hi Friends, need some help... need to convert the xml file into an html buffer string which is used to display the content in jsp.. i will get the xml file path string have to pass that...into java...then read the entire xml file...then convert that into html string... if i append that to the s

Re: Mulitiple html:link but only one action

2004-10-12 Thread marc
Have read that 1000 times, don't understand it(I now that it's probely me how is a bit stupid) Can you give me a and example on have it works, and have I read the string in my action class again. Thanks Jeff Beal wrote: marc wrote: I have a jsp page with 3 html:link tags on it. I what all these

Re: iterate indexId (was: iterate paging)

2004-10-12 Thread Hubert Rabago
See http://struts.apache.org/faqs/indexedprops.html#dynamicindexes On 12 Oct 2004 16:13:43 +0800, Sebastian Ho <[EMAIL PROTECTED]> wrote: > Does anyone has an example using struts iterate? How does indexId works? > > Sebastian > > > > > On Sat, 2004-10-09 at 01:05, Bill Siggelkow wrote: > >

Re: Struts and Tiles

2004-10-12 Thread Susan Bradeen
On Tue, 12 Oct 2004 11:59:10 +0800, PC Leung <[EMAIL PROTECTED]> wrote: > How can I incorporate the tiles definition into struts-config.xml? > or How to define selectBodyTile.do in struts-config.xml? > > controller="/selectBodyTile.do"/> > > type="com.security.user.LoginActio

Re: Mulitiple html:link but only one action

2004-10-12 Thread Jeff Beal
marc wrote: I have a jsp page with 3 html:link tags on it. I what all these links to point to the same action, but each of them need to go to there own jsp site. So I need to set/pass on a string with each link, so that I can send the request the right place. How do I do that?? This is explaine

Re: Iterating through nested sets of objects

2004-10-12 Thread Hubert Rabago
Just based on your working example, shouldn't you be using: with id="element2" instead of name="element2"? On Tue, 12 Oct 2004 19:49:28 +1000, Langdon Stevenson <[EMAIL PROTECTED]> wrote: > Hi > > I am trying to output the contents of a set of nested Objects in a JSP > page using the tagli

Re: Help! Problem with "isTokenValid"

2004-10-12 Thread t t
Thank you for this excellent answer! It makes much sense to me. Tong --- Jason Lea <[EMAIL PROTECTED]> wrote: > Some forms don't need tokens > > Let me see... some places you use tokens are where > you want to stop an > accidental resubmission of a form. Maybe where you > are adding items to >

Re: OT Re: Back Button Woes!!!!

2004-10-12 Thread Hubert Rabago
On Mon, 11 Oct 2004 23:28:10 -0400, Rick Reumann <[EMAIL PROTECTED]> wrote: > Vic, I briefly read over the article. I agree that we'll see more and > more rich clients, but one of the problems is people aren't going to > want to always install stuff on their desktop in order to run an > application

Re: am I able to check null value in List??

2004-10-12 Thread Susan Bradeen
On Mon, 11 Oct 2004 17:37:36 -0500, Peng, Meimin <[EMAIL PROTECTED]> wrote: > Hi, > > I want to check a null vale in a list. > I try to find all struts-tag libraries for doing it. > But, not working yet. > is for checking non-null I believe these check if the value exisits in the request. This m

Re: OT Re: Back Button Woes!!!!

2004-10-12 Thread Eddie Bush
Good to know, Andrew! Thanks for the FYI :-) - Original Message - From: "Andrew Hill" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, October 12, 2004 12:13 AM Subject: Re: OT Re: Back Button Woes I dunno mate. I wouldnt rule out client-side Ja

[OT] ANN: Bridgetown IoC 0.80B-53

2004-10-12 Thread Pilgrim, Peter
> -Original Message- > From: Matt Bathje [mailto:[EMAIL PROTECTED] ==== > > Anyways, this is the way I see it: You can talk all you want, > and malign > struts and its developers all you want, but until you start > implementing > what you want, nothing will happen. > > Matt LOL

Mulitiple html:link but only one action

2004-10-12 Thread marc
I have a jsp page with 3 html:link tags on it. I what all these links to point to the same action, but each of them need to go to there own jsp site. So I need to set/pass on a string with each link, so that I can send the request the right place. How do I do that??

Iterating through nested sets of objects

2004-10-12 Thread Langdon Stevenson
Hi I am trying to output the contents of a set of nested Objects in a JSP page using the taglib. I have three objects that are persisted using Hibernate: 1. Student - (contains a HashSet of Project called 'projects') 2. Project - (contains a HashSet of Url called 'urls') 3. Url - (contains a strin

RE: Dispatch Action called Twice

2004-10-12 Thread Rajesh
Hai Seb' I cant get you, please explain in details ... Rajesh Regards, Rajmahendra R. Hegde Project Leader GK Bharani Software Pvt. Ltd. There are two ways of constructing a software design. One way is to make it so simple that there are obviously no deficiencies. And the other way is to m

RE: Dispatch Action called Twice

2004-10-12 Thread Rajesh
Hai Seb' I cant get you, please explain in details ... Rajesh Regards, Rajmahendra R. Hegde Project Leader GK Bharani Software Pvt. Ltd. There are two ways of constructing a software design. One way is to make it so simple that there are obviously no deficiencies. And the other way is to m

RE: Dispatch Action called Twice / :-( happened again..

2004-10-12 Thread Marco Mistroni
Hello Sebastien, Bad news it happened again.. Looks it happens more often when my colleague is accessing the application on my machine... When I access my app from my machine, it usually works in 9 cases out of 10.. When my colleague connects to my machine, it work half of the time.. I

RE: OT Re: Back Button Woes!!!!

2004-10-12 Thread Hiran.Chaudhuri
Hi, Rick. Right, people like Grandma Jones won't use it. But then, they are old already. For how long can such users be the mayority? And at the same time, computers become more easy in handling and affect a still growing audience. More and more technique is integrated from the very beginning, a

Re: Dynamic html:form tags

2004-10-12 Thread Karsten Krieg
Hi! Guess I should be reading more taglib documentations. Thanks alot. That works. Karsten Krieg "Nicolas De Loof"

Error While uploading file

2004-10-12 Thread Shailender Jain
Dear All, I used the example given in struts for uploding the file. org.apache.commons.fileupload.FileUploadException: Processing of multipart/form- data request failed. Read timed out How can i change the settings so that the application does not give this Error. Thanks Shailender Jain

guessing request encoding (was RE: How do I get Chinese & Arabic to/from struts)

2004-10-12 Thread Hiran.Chaudhuri
Hi, all. I thought about guessing the incoming data's encoding. How about having a hidden input tag with a default value provided by the server. When this value comes back, the server could guess the encoding used by looking at the bytes of this parameter. I'd somehow like to see this solved tr

Re: Dynamic html:form tags

2004-10-12 Thread Nicolas De Loof
Did you try something like this : ... Nico. > Hi group! > > I have a somewhat complex application with tiles. I have a layout page > which looks like this: > > <%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles"%> > <%@ taglib uri="/WEB-INF/

RE: How do I get Chinese & Arabic to/from struts

2004-10-12 Thread Hiran.Chaudhuri
Hi, David. Sorry, guy, but you got the wrong setting. A meta tag is maybe used by the browser, but it is not authorative as you observe. To tell the webserver how the page is encoded (on the server side only), use <[EMAIL PROTECTED] encoding="..."%> To tell the webserver how the page output shal

Dynamic html:form tags

2004-10-12 Thread Karsten Krieg
Hi group! I have a somewhat complex application with tiles. I have a layout page which looks like this: <%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles"%> <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%> <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%> http://www.w3.or

RE: Dispatch Action called Twice

2004-10-12 Thread Lesaint Sébastien
I'm a genius, that's it :p Really searched for days and I had the idea to check the access log of the server. Saw that a request to a specific file created two requests being logged. In my case, it was not twice the same file. Checked the generated HTML source and saw that the path of this mystery

Re: logging in Jelly tags

2004-10-12 Thread Nathan Coast
apologies, sent this to the wrong list, pls ignore Nathan Coast wrote: Hi, I have a couple of Jelly tag classes, what's the 'correct' way write log statements in tag classes. e.g. 1) info - information that is always logged to stdout 2) debug - info that is displayed during with -X cheers Nathan

logging in Jelly tags

2004-10-12 Thread Nathan Coast
Hi, I have a couple of Jelly tag classes, what's the 'correct' way write log statements in tag classes. e.g. 1) info - information that is always logged to stdout 2) debug - info that is displayed during with -X cheers Nathan -- Nathan Coast Managing Director codeczar ltd mobile: (852) 9049 5581

RE: Dispatch Action called Twice

2004-10-12 Thread Marco Mistroni
Hello, I have been experiencing similar problem... Looks like that's the fix thanx man, You saved my day! I have been struggling with it Since last Friday Question: how did you find it out? I am curious... Regards marco -Original Message- From: Lesaint S

Re: iterate paging

2004-10-12 Thread Sebastian Ho
Does anyone has an example using struts iterate? How does indexId works? Sebastian On Sat, 2004-10-09 at 01:05, Bill Siggelkow wrote: > Or you could do it yourself with JSTL: > > <%@ page contentType="text/html;charset=UTF-8" language="java" %> > <%@ taglib uri="http://jakarta.apache.org/struts

RE: Dispatch Action called Twice

2004-10-12 Thread Lesaint Sébastien
I had a similar issue once. Came up that the tag was responsible for it, and browser other than IE as well (I'm not an IE fan at all). In the case renders the URI of a file not a directory, IE does checks if the path, file ignored, is valid, other browser like mozilla or Firefox send a request to

Re: Dispatch Action called Twice

2004-10-12 Thread Michael McGrady
Hi, Rajesh, I like, by the way, your saying at the bottom of your email. Cool! There is a big gap between what is written and passed to the standard out in your class and what shows up on your screen. Can you please give us some idea of what you are doing? Clearly it is not looping in the p