Re: TabbedPanel layout mess in Firefox

2007-04-27 Thread Musachy Barroso
But you can delay the content update until the last minute (showLoadingText="false"). Or am I missing something here :)? regards musachy On 4/27/07, Dave Newton <[EMAIL PROTECTED]> wrote: --- Felipe Rodrigues <[EMAIL PROTECTED]> wrote: > And about the content that tabbedPanel shows when > load

Re: S2 going away?

2007-04-27 Thread Musachy Barroso
Yes, the table tag will go away soon. You can try tabletags or displaytag. musachy On 4/27/07, Patrick J. Maloney <[EMAIL PROTECTED]> wrote: Is it and is http://cwiki.apache.org/S2PLUGINS/table-tags.html the appropriate replacement? tia, Patrick (struts newb, just starting with Struts 2) --

S2 going away?

2007-04-27 Thread Patrick J. Maloney
Is it and is http://cwiki.apache.org/S2PLUGINS/table-tags.html the appropriate replacement? tia, Patrick (struts newb, just starting with Struts 2) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [E

Fw: how to test the 1st and last iteration ?

2007-04-27 Thread Martin Gainty
Tim for 2.x use the ww:iterator ww:if test="#foo=bar" http://struts.apache.org/2.x/docs/iteration-tags.html M-- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received

jBoss java.policy file

2007-04-27 Thread Martin Gainty
Evening All Anyone know where I can a working java.policy file for JBoss? (No domains configured yet) Thanks M-- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received thi

Re: how to test the 1st and last iteration ?

2007-04-27 Thread Tim B
"piloupy GOTTAPIL" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > > What I want to do is quite simple. I'd like to know how to test in a > when I'm at the first or last iteration. > > My present problem is to parse a collection of String and display the > results like this :

Using timezone with date tag

2007-04-27 Thread Rohit Dewan
Is there a way to specify timezone in the date tag. The current behavior defaults to the timezone of the server. Regards, Rohit

Re: TabbedPanel layout mess in Firefox

2007-04-27 Thread Dave Newton
--- Felipe Rodrigues <[EMAIL PROTECTED]> wrote: > And about the content that tabbedPanel shows when > loading. Do you see that? Yes; while the content is loading there is visible content. That's one reason I'm actually probably going to move away from the tabbed panel (and possibly Dojo in general

Re: [BEER] Re: Books

2007-04-27 Thread Musachy Barroso
I agree with Ted. I read the book before jumping into S2. musachy On 4/27/07, Ted Husted <[EMAIL PROTECTED]> wrote: On 4/27/07, maestro <[EMAIL PROTECTED]> wrote: > Now that everyone has had a good whip at it... > Is the book worth anything? Yes. -

Re: TabbedPanel layout mess in Firefox

2007-04-27 Thread Musachy Barroso
When the div is loading it shows "Loading..." by default, you can change the text (loadingText) or disable it (showLoadingText), as I mentioned the other day I think it would be better to have this off in 2.1 because of problems in IE when a form is submitted. regards musachy On 4/27/07, Felipe

[S2] WebWork (Struts 2) In Action presentation by Patrick Lightbody

2007-04-27 Thread Ted Husted
Patrick Lightbody does an overview of WebWork and the Struts merger, comparing to other web frameworks and explaining validation support, Ajax support, and how to achieve rapid development with WebWork/Struts 2 * http://www.infoq.com/presentations/struts-2-webwork-pat-lightbody -Ted. --

Re: [BEER] Re: Books

2007-04-27 Thread Ted Husted
On 4/27/07, maestro <[EMAIL PROTECTED]> wrote: Now that everyone has had a good whip at it... Is the book worth anything? Yes. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: TabbedPanel layout mess in Firefox

2007-04-27 Thread Felipe Rodrigues
I belive in you. I by myself have some tabbedPanels that works ok in Firefox. I just asked here to see if somebody have lived this same issue. And about the content that tabbedPanel shows when loading. Do you see that? Are you using a heavy content inside the first tab? By heavy you can understand

Re: TabbedPanel layout mess in Firefox

2007-04-27 Thread Dave Newton
FWIW I am using the tabbed panel w/ S2.0.6 under FF and it's rendering okay (well, I haven't worked on it since I installed FF2, so I suppose all bets are off). d. --- Felipe Rodrigues <[EMAIL PROTECTED]> wrote: > > I already did this. the rendered HTML seems to be > ok. > I took a margin prope

Re: [BEER] Re: Books

2007-04-27 Thread Frank W. Zammetti
I don't know what information I can or can't give out, so suffice it to say you won't be waiting too much longer for books specifically on S2... and no, before anyone asks, I'm not writing one :) Frank -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omn

Re: [BEER] Re: Books

2007-04-27 Thread robin bajaj
i hope Ted (Husted) is reading this post ... (and several others from Struts 2 users who have expressed the need for such a book.. robin (a Struts2 fan, but waiting for some good book) - Original Message From: Chris Pratt <[EMAIL PROTECTED]> To: Struts Users Mailing List Sent: Friday,

Re: S2: How to get namespace of currently executed action from interceptor?

2007-04-27 Thread Felipe Rodrigues
Did you tried use ActionContext? Regards, Felipe Dmitriy Kuznetsov wrote: > > Hi. > > I have interceptor that logs requests to actions. In it's > intercept(ActionInvocation) method i easily find the name of currently > executed action using following code: > > public String intercept(Action

Re: how to test the 1st and last iteration ?

2007-04-27 Thread Laurie Harper
Affan Qureshi wrote: piloupy GOTTAPIL wrote: Hi, What I want to do is quite simple. I'd like to know how to test in a when I'm at the first or last iteration. My present problem is to parse a collection of String and display the results like this : ### CODE : begin ### value1, value2, value3

Re: [s2] use remoteUser with struts tags

2007-04-27 Thread Felipe Rodrigues
Well, If you're in a JSP, you can get it direct from the request, even using EL or using expressions. If you're in a action you may want take a look at the documentation. Specific in the part of FAQ -> How To. You'll find that you can get the request object by implementing the interface ServletRe

Re: Beanutils.copyproerties problem

2007-04-27 Thread Laurie Harper
opentotech wrote: Hi techies, I have a problem with Beanutils.copyproperties. I have a jsp with a I know in action I will be getting an array of practices. I am using LazyValidatorForm. In my GP object I have an array of practices. Practice[] practices. I am using Beanutils.copyproperties to co

Re: TabbedPanel layout mess in Firefox

2007-04-27 Thread Felipe Rodrigues
I already did this. the rendered HTML seems to be ok. I took a margin propertie out of my CSS and it is bether now. The only difference is in the border that appears in IE but don't in Firefox. So strange. It is probably something in the internal dojo's css. By the way, I have another issue in

Re: ClassCast Exception for ExcelFile Upload

2007-04-27 Thread Kirthi
sorry abt that Its throwing exception at this line FileInputStream fin = (FileInputStream) in; I tried new FileInputStream(in) - But this is not a valid constructor - not defined in API Is there anyother way in struts where u get FileInputStream directly from the ActionForm -Thank you La

Re: [OT] [s2] web-container authorization problem

2007-04-27 Thread Laurie Harper
Which Servlet spec version are you targetting? I.e. what does the start of your web.xml look like? If I recall correctly, Servlet 2.4 clarifies the semantics for form-login-config elements to explicitly allow any type of resource to be referenced. Prior to that many containers, including Tomcat

Re: ClassCast Exception for ExcelFile Upload

2007-04-27 Thread Laurie Harper
You didn't specify which line in the code you posted is throwing the exception, but I would guess it's this: InputStream in = (InputStream) formFile.getInputStream(); FileInputStream fin = (FileInputStream) in; It's never wise to down-cast a value from an interface type

Re: [S2] Newbie Passing S2 variables to javascript functions

2007-04-27 Thread Laurie Harper
Roger Varley wrote: Hi Within a tag I have the following statement (because status seems to disappear when the iterator exits) and I use the expression %{#indexValue} within other struts s: tags without a problem. I now need to pass this value to a javascript function i.e onclick="enableField

Re: [S2]Loop through two arrays in my JSP

2007-04-27 Thread Martin Gainty
didnt see your version Me Lo Siento!!! M-- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received this email message in error, please notify the sender immediately by tele

ClassCast Exception for ExcelFile Upload

2007-04-27 Thread Kirthi
I am having problems with the FileUpload in struts. I am uploading an Excel File through browser and sending to Struts Action Class, handling it with FormFile. I am casting this FormFile to FileInputStream which is working fine. But when I am deleting some of the rows in that excel file and uplo

Re: [S2]Loop through two arrays in my JSP

2007-04-27 Thread Skip Hollowell
Martin, This is helpful for Struts1 and I appreciate you taking some time to dig it up and post a reply, but the problem I described was for Struts 2. Dave Newton sent a nice post earlier that pointed me to the proper section in the doc that explains how to use the status property of the s:i

Re: [S2] Type Conversion Problem in documentation

2007-04-27 Thread Laurie Harper
Struts2 Fan wrote: Hi all, I have a problem with this type-conversion thing. http://struts.apache.org/2.x/docs/type-conversion.html I am trying to dynamically fill a table. I have a bean Person and Person has "List". What I did - step by step. 1 - I defined "List houseList" in the Person

Re: TabbedPanel layout mess in Firefox

2007-04-27 Thread Musachy Barroso
Make sure the returned html (for each div) is well formed. musachy On 4/27/07, Felipe Rodrigues <[EMAIL PROTECTED]> wrote: I have a TabbedPanel that works so weel in IE, but is a mess in Firefox. At each tab content (which is remote) I saw a line right up this div. This line seems to be the b

Re: [BEER] Re: Books

2007-04-27 Thread Chris Pratt
I have recently begun the learning curve from Struts 1 to Struts 2, and since WebWork in Action is really the only game in town, it's definitely worth the read. There is a lot of package and library conversions that you have to do to get the examples working on Struts 2, and some of the concepts

Re: how to test the 1st and last iteration ?

2007-04-27 Thread Affan Qureshi
> piloupy GOTTAPIL wrote: > > > > Hi, > > > > What I want to do is quite simple. I'd like to know how to test in a > > when I'm at the first or last iteration. > > > > My present problem is to parse a collection of String and display the > > results like this : > > > > ### CODE : begin ### > >

Re: [BEER] Re: Books

2007-04-27 Thread Harring Figueiredo
I never thought of it that way.. but I believe it to be true... I think that they change so that it will break previous instalation. Sometimes OS can be a pain. :-) Hf On 4/27/07, Wendy Smoak <[EMAIL PROTECTED]> wrote: On 4/27/07, Harring Figueiredo <[EMAIL PROTECTED]> wrote: > By th eway h

Re: how to test the 1st and last iteration ?

2007-04-27 Thread Laxmikant
Hi Try to use following code, might be helpful ${index}, Laxmikant piloupy GOTTAPIL wrote: > > Hi, > > What I want to do is quite simple. I'd like to know how to test in a > when I'm at the first or last iteration. > > My present problem is to parse a collection of String and dis

TabbedPanel layout mess in Firefox

2007-04-27 Thread Felipe Rodrigues
I have a TabbedPanel that works so weel in IE, but is a mess in Firefox. At each tab content (which is remote) I saw a line right up this div. This line seems to be the border of TabbedPanel, but the content is outside this line. AnyIdea? Thanks Felipe -- View this message in context: http://

Re: [Very OT] [BEER] Re: [BEAN-UITLS]setting super class using bean retrospection

2007-04-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Miro, I've done heavy editing to make the quoted post make sense. Forgive me if I have inaccurately portrayed the question. temp temp wrote: > I want a wrapper class for an object. I do not want to write methods > which calls [the superclass] method

Re: [BEER] Re: Books

2007-04-27 Thread maestro
Now that everyone has had a good whip at it... Is the book worth anything? On 4/27/07, Wendy Smoak <[EMAIL PROTECTED]> wrote: On 4/27/07, Harring Figueiredo <[EMAIL PROTECTED]> wrote: > By th eway he describes the whole thing, I think he meant it literaly, even > though he should have used the

Re: question

2007-04-27 Thread Dave Newton
--- meeboo <[EMAIL PROTECTED]> wrote: > value="%{getTagsAsString(id)}" works like a charm. > I'm still a bit confused on whether to use the # > prefix or not in certain places, but i'm glad it > works now :D The # indicates non-root OGNL stack access. When an Action is executed it's pushed on t

Re: question

2007-04-27 Thread meeboo
value="%{getTagsAsString(id)}" works like a charm. I'm still a bit confused on whether to use the # prefix or not in certain places, but i'm glad it works now :D Thanks! Felipe Rodrigues wrote: > > Well, when you're calling a method you should use %{} or #, otherwise it > would print as a lite

Re: [S2] Newbie Passing S2 variables to javascript functions

2007-04-27 Thread Felipe Rodrigues
Once you've setted this var, you can use Plain Old EL to get it. ${indexValue} should work . A good pratice in this case is define the scope you're setting this var. Regards, Felipe Roger Varley wrote: > > Hi > > Within a tag I have the following statement name="indexValue" value="#status

Re: question

2007-04-27 Thread Felipe Rodrigues
Well, when you're calling a method you should use %{} or #, otherwise it would print as a literal. I'm not sure about what of % or # will work. Dave Newton-4 wrote: > > --- meeboo <[EMAIL PROTECTED]> wrote: >> But when I write > value="getMovieCategory(category)"/> it >> only prints out "getMov

Re: [S2] Problem with Form Tag

2007-04-27 Thread Felipe Rodrigues
Did you tried set readOnly? Are you using ajax theme? If yes, maybe this is the problem. Try the others theme. In the most of cases, this won't affect the ajax behavior of application, once submit has its theme setted to ajax. Regards, Felipe Roger Varley wrote: > > On 27/04/07, Felipe Rodri

Re: S2: Autocompleter and focus

2007-04-27 Thread jdmr
Would you mind posting the onload script? I'm having trouble with it... Thanks... David M. Scott Nesbitt wrote: > > > I am having trouble setting the focus on an > autocompleter field. > > When I print out all the fields in my overlay, I see > three for the sports team autocompleter: > > sp

Re: [BEER] Re: [BEAN-UITLS]setting super class using bean retrospection

2007-04-27 Thread temp temp
I want a wrapper class for an object I do not want to write methods which calls method Assume I have class I have inteface getString(); getLength(); Some class is implementing this. At runtime I uwant to update this object by overriding method getLenth(). one way is create a n

[BEER] Re: [BEAN-UITLS]setting super class using bean retrospection

2007-04-27 Thread Dave Newton
--- temp temp <[EMAIL PROTECTED]> wrote: > Is there any way I can set super class using bean > retrospection ? > I create a instance of a class is there a > possible way to to add a super class using bean > retrospection ? In a day of surprisingly accurate typos, retrospection is *exactly* what

[BEAN-UITLS]setting super class using bean retrospection

2007-04-27 Thread temp temp
Is there any way I can set super class using bean retrospection ? I create a instance of a class is there a possible way to to add a super class using bean retrospection ? Thansk & Regards miro - Ahhh...imagining that irresistible "new car" sm

Re: How to fill a div from an Ajax call when a onchange event is fired ?

2007-04-27 Thread Olivier THIERRY
As some people asked me by private message, a few words to explain how I could make it work. I hope it will help other Struts users ;) The original need : when the user types an elmployee code, I want to retrieve his name and firstname and display it in a div. My action class is as followin (it

Re: how to test the 1st and last iteration ?

2007-04-27 Thread Olivier THIERRY
De rien lol For what I know, the tag can only compare with a constant value. So you have to use a scriptlet :( Try this : Olivier 2007/4/27, piloupy GOTTAPIL <[EMAIL PROTECTED]>: >> To Olivier : Here's what I've done : ### CODE : begin ### , , ### CODE : end ###

[S2] Newbie Passing S2 variables to javascript functions

2007-04-27 Thread Roger Varley
Hi Within a tag I have the following statement (because status seems to disappear when the iterator exits) and I use the expression %{#indexValue} within other struts s: tags without a problem. I now need to pass this value to a javascript function i.e onclick="enableField(%{#indexValue})" but

RE: how to test the 1st and last iteration ?

2007-04-27 Thread Rod Bollinger
Hi Piloupy, You can do this using JSTL as such: Then you can reference ${myOutput} anywhere you like. HTH, -Rod -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of piloupy GOTTAPIL Sent: Friday, April 27, 200

Re: question

2007-04-27 Thread Dave Newton
--- meeboo <[EMAIL PROTECTED]> wrote: > But when I write value="getMovieCategory(category)"/> it > only prints out "getMovieCategory(category)". Does %{getMovieCategory(category)} work? d. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the be

Re: question

2007-04-27 Thread meeboo
I'm sure that it's on the stack. I am using another method call via OGNL where I do and that works fine. But when I write it only prints out "getMovieCategory(category)". Is this expected behaviour or a bug? Thanks! Felipe Rodrigues wrote: > > Is the method you're calling binded in some act

Re: question

2007-04-27 Thread Felipe Rodrigues
Is the method you're calling binded in some action that result in this form? I mean, to call some method by OGNL this method should be on the stack. Make sure it is on the stack, if it is and keeps not working, post the code of your action and your form here. Regards, Felipe meeboo wrote: >

Re: how to test the 1st and last iteration ?

2007-04-27 Thread piloupy GOTTAPIL
To Olivier : Here's what I've done : ### CODE : begin ### , , ### CODE : end ### But it doesn't work. I don't know how to use correctly the tag :-( I thought I may try the , but the tag doesn't exist... If it is possible, I'd like to only use Struts tags, but if there's

Re: [S2]Loop through two arrays in my JSP

2007-04-27 Thread Martin Gainty
Hi Skip http://husted.com/struts/tips/006.html from id of the iterate is then used to reference name (for the specific array value indicated by property) Does this help? M-- This email message and any files transmitted with it contain confidential information intended only for the person(s) to

Re: [BEER] Re: Books

2007-04-27 Thread Wendy Smoak
On 4/27/07, Harring Figueiredo <[EMAIL PROTECTED]> wrote: By th eway he describes the whole thing, I think he meant it literaly, even though he should have used the adjective instead (sadistic). It is indeed very funny! A former coworker once accused open source developers of changing stuff no

Re: [BEER] Re: Books

2007-04-27 Thread Antonio Petrelli
We're all sadistic after all. At Tiles 2 we changed DTDs and tag libraries completely, not to mention the APIs. It's a real sadistic pleasure seeing developers in difficulties when trying to upgrade :-) Antonio 2007/4/27, Harring Figueiredo <[EMAIL PROTECTED]>: By th eway he describes the whol

Re: [S2] Problem with Form Tag

2007-04-27 Thread Roger Varley
On 27/04/07, Felipe Rodrigues <[EMAIL PROTECTED]> wrote: Put disabled in the fields instead of in the form. That's no good for me. If you click on a field within a disabled form, the onclick() event is triggered, but if you leave the form active and disable each field individually the onclick

question

2007-04-27 Thread meeboo
Hey all I am trying to populate the value of a s:textfield with some data from a method via OGNL. I tried value="getTagsAsString(movie.id)" which doesn't work at all (the textfield is populated with "getTagsAsString(movie.id)"). Then I tried the JSTL approach, by writing value="%{#getTagsAsString

Re: [BEER] Re: Books

2007-04-27 Thread Harring Figueiredo
By th eway he describes the whole thing, I think he meant it literaly, even though he should have used the adjective instead (sadistic). It is indeed very funny! hff On 4/27/07, Dave Newton <[EMAIL PROTECTED]> wrote: --- maestro <[EMAIL PROTECTED]> wrote: > The sadist part to it, its the indus

Re: [BEER] Re: Books

2007-04-27 Thread maestro
Oops... honestly, I had to polish up my original text... it was much more harsh. I had sent it off to fellow developers but decided to post it. I missed one ! But a good laugh is always good ;) On 4/27/07, Dave Newton <[EMAIL PROTECTED]> wrote: --- maestro <[EMAIL PROTECTED]> wrote: > The sadi

Re: how to test the 1st and last iteration ?

2007-04-27 Thread Martin Gainty
last entry is "- Original Message - From: "Martin Gainty" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Friday, April 27, 2007 9:43 AM Subject: Re: how to test the 1st and last iteration ? Morning All problems with nulls If you want to be more specific on what is used

Re: [S2] Problem with Form Tag

2007-04-27 Thread Felipe Rodrigues
Put disabled in the fields instead of in the form. regards, Felipe Roger Varley wrote: > > Hi > > I've got this snippet in my .jsp file > > > > > action="setLineItemAction" disabled="true"> > > name="order.details[%{#status.index}].p

[BEER] Re: Books

2007-04-27 Thread Dave Newton
--- maestro <[EMAIL PROTECTED]> wrote: > The sadist part to it, its the industry standard. That misspelling is *so* accurate in this case! :D I just lol'd out loud. d. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protectio

Re: how to test the 1st and last iteration ?

2007-04-27 Thread Martin Gainty
Morning All with nulls If you want to be more specific on what is used for delims then load all of your values in to StringTokenizer object then do http://javaboutique.internet.com/tutorials/Struts_EL/index-3.html HTH M-- This email message and any files transmitted with it contain confidentia

Re: [s2] ajax tags for doing popup/overlay form?

2007-04-27 Thread patwary rao
Allen, I am trying to implement ajaz in my struts app. I don;t know how how ajax anabled div works.can you please elamorate or send the example. shiva --- Allen Gilliland <[EMAIL PROTECTED]> wrote: > i'm guessing that this is a pretty common problem > but i couldn't find > any examples on th

Re: How to fill a div from an Ajax call when a onchange event is fired ?

2007-04-27 Thread Olivier THIERRY
OK, I see. It's something like that ? #{'demandeAbsence.matriculeDemandeur' : 'matricule'} /jsp/employes/infosEmploye.jsp Does it mean I need to create a specific action for any form which will user the getInfosEmploye action ? In fact, it would

Re: how to test the 1st and last iteration ?

2007-04-27 Thread Olivier THIERRY
Use tag to have the collection's length ;) 2007/4/27, piloupy GOTTAPIL <[EMAIL PROTECTED]>: Thanks for the answer, but how I can get the collection's length ? I try to avoid any use of scriptlet if possible. piloupy On 4/27/07, Olivier THIERRY <[EMAIL PROTECTED]> wrote: > You have an indexI

Re: how to test the 1st and last iteration ?

2007-04-27 Thread piloupy GOTTAPIL
Thanks for the answer, but how I can get the collection's length ? I try to avoid any use of scriptlet if possible. piloupy On 4/27/07, Olivier THIERRY <[EMAIL PROTECTED]> wrote: You have an indexId attribute on the logic:iterate tag. This indexId attribute sets the name of a JSP scope variabl

Re: OGNL

2007-04-27 Thread stanlick
I think so. If the documentation says Because the Action is on the stack, and the stack is the OGNL root, references to Action properties can omit the # marker, it should also say *if you don't want it to work*. Scott On 4/26/07, Dave Newton <[EMAIL PROTECTED]> wrote: --- Big Stick <[EMAIL PR

Dojo.io.bind vs IE7

2007-04-27 Thread Felipe Rodrigues
Hi guys, I'm having problems to make a Dojo.io.bind in IE7. I've trying to find something in Dojo's foruns, but have nothing that I can use. Does anyone knows something about that? I'll appreciate any help. Thanks, Felipe -- View this message in context: http://www.nabble.com/Dojo.io.bind-v

Re: How to fill a div from an Ajax call when a onchange event is fired ?

2007-04-27 Thread Musachy Barroso
I think the "alias" interceptor would help in this case: http://struts.apache.org/2.x/docs/alias-interceptor.html musachy On 4/27/07, Olivier THIERRY <[EMAIL PROTECTED]> wrote: Thanks Musachy, your advices were very helpful. I succeeded in doing what I wanted, but there is still a detail tha

Re: How to fill a div from an Ajax call when a onchange event is fired ?

2007-04-27 Thread Olivier THIERRY
Thanks Musachy, your advices were very helpful. I succeeded in doing what I wanted, but there is still a detail that upsets me with your solution and I'm not totally happy with the solution. The drawback of the solution is that the the parameter I can get in my action has the name of the text fi

[S2] Problem with Form Tag

2007-04-27 Thread Roger Varley
Hi I've got this snippet in my .jsp file but the disabled attribute is not being rendered into the final html, so all the forms are active. What am I do

Re: how to test the 1st and last iteration ?

2007-04-27 Thread Olivier THIERRY
You have an indexId attribute on the logic:iterate tag. This indexId attribute sets the name of a JSP scope variable that will contain the index in the loop. Then you can test the value of this variable with the logic:equal. Olivier 2007/4/27, piloupy GOTTAPIL <[EMAIL PROTECTED]>: Hi, What I

Books

2007-04-27 Thread maestro
Hi, I have been using Struts 1.x for some time now. I have been looking at JSF for the last couple of weeks. JSF is such a departure from Struts its simply depressing. I do understand that JSF is a component framework. Whereas Struts is an action framework. The biggest problem is that the web i

how to test the 1st and last iteration ?

2007-04-27 Thread piloupy GOTTAPIL
Hi, What I want to do is quite simple. I'd like to know how to test in a when I'm at the first or last iteration. My present problem is to parse a collection of String and display the results like this : ### CODE : begin ### value1, value2, value3 ### CODE : end ### And as you can see, for th

plugin for generating UML from config and java file

2007-04-27 Thread skomlena
Hi everybody. Im using struts 1.2.7 with eclipse 3.2.0. and jboss 4.0.3 SP1. I want to generate UML from struts-config file and from java files also (it will be great if i can see which method is called, not only the java file). Is there any plugin (or plugins) that can give me that? Tnx, Sta

Re: [S2] Autocompleter FATAL exception raised: [object Error]?

2007-04-27 Thread Dave Newton
--- wolverine my <[EMAIL PROTECTED]> wrote: > when entered > http://localhost:8080/test/AjaxTest.action, it > produced the following: > > {"options":[["a","b","c"]]} AFAIK the documentation at: http://struts.apache.org/2.x/docs/ajax-tags.html#AjaxTags-autocompleterTag is still correct for the

Beanutils.copyproerties problem

2007-04-27 Thread opentotech
Hi techies, I have a problem with Beanutils.copyproperties. I have a jsp with a I know in action I will be getting an array of practices. I am using LazyValidatorForm. In my GP object I have an array of practices. Practice[] practices. I am using Beanutils.copyproperties to copy from form to GP

[s2] use remoteUser with struts tags

2007-04-27 Thread Marcin Orlinski
Hello all I have a question about struts2 tags and get information from HttServletRequest. Does simple method exist to use request.getRemoteUser() and request.isUserInRole() in (for example) ? Best regards Marcin Orlinski -- View this message in context: http://www.nabble.com/-s2--use-remote

[s2] web-container authorization problem

2007-04-27 Thread Marcin Orlinski
Hello all I have simple application (struts2) that works on Tomcat 5.5 with DataSourceRealm. In web.xml I have: FORM myRealm /logon.jsp /logon_error.jsp and everything works fine. But when I try use this: /logon.do /logon_erro

nested iteration using struts2 iteration tag

2007-04-27 Thread oguzhan tortop
hi i have a list that holds other lists and inside of the other lists i have objects but i have a little problem while reaching the lists inside of a list. Here is my tag structure