Re: Session Object Storage Capacity.

2007-01-07 Thread Antonio Petrelli
Leon Rosenberg ha scritto: it solely depends on how much heap you give your webcontainer divided by the number of users you have/expect minus the memory the remaining application requires. size = (HEAP - APP_MEMORY)/users. Is it really so simple? :-) Anyway beware of the size of session-scoped

Re: Session Object Storage Capacity.

2007-01-07 Thread Leon Rosenberg
it solely depends on how much heap you give your webcontainer divided by the number of users you have/expect minus the memory the remaining application requires. regards Leon On 1/8/07, Balwinder <[EMAIL PROTECTED]> wrote: Hi Everyone!!! While working with struts application, i cmae across a v

Redirect with Struts 2

2007-01-07 Thread Kamal C. Mettananda
Hi, I have seen that there has been an ActionForward class under Struts 1.x which could be used for a redirect to a completely different domain URL. But how can we achieve the same with Struts 2. Thanks. Kamal Send instant messages to your online friends http://uk.messenger.yahoo.com -

Session Object Storage Capacity.

2007-01-07 Thread Balwinder
Hi Everyone!!! While working with struts application, i cmae across a very weird but important question. I just wanted to know how much data we can store in our Page, PageContext, Request, Session, and Application objects? Thanks. Thanks and regards, Balwinder Kumar

Re: [S2] How to separate Action from "FormBean"

2007-01-07 Thread Dariusz Wojtas
I work with struts2 for about a month and it is perfectly stable. The only 'issues' I could see were related to it's ajax support - but it already works perfectly in most areas, and the issues being found are quickly examined by the struts team. It's definitely worth to try it. It's simpler than

[S2] Struts 2 and portlets

2007-01-07 Thread Dariusz Wojtas
I will repeat my question sent few days ago, maybe this time someone will help me. What is the state of Struts 2 and it's portlet support? I am considering to start my new project [must work as a portlet app] using Struts2 but I do not know if this is worth doing now. The projects starts in the n

Re: [S2] How to separate Action from "FormBean"

2007-01-07 Thread uni
Dariusz Wojtas <[EMAIL PROTECTED]> wrote: > Want to have a bean separate from the action and just reference it? > Define your bean (whatever you want) and just declare it as a variable > on your action. Thanks Dariusz. That's exactly what I was looking for. Looks like I should definitely give S2 a

Re: error

2007-01-07 Thread Laurie Harper
Tom Jerry wrote: why am I not getting any reply ? In general, because you asked a question nobody could answer. The best thing to do then is to try and re-formulate your question and/or provide additional info. In this case, the code you submitted isn't adequate to diagnose the problem. -

Re: [S2] How to separate Action from "FormBean"

2007-01-07 Thread Dariusz Wojtas
Want to have a bean separate from the action and just reference it? Define your bean (whatever you want) and just declare it as a variable on your action. Nothing more. Add getter and setter. class MyAction ... { private MyBeanClass myBean; } in your JSP just prefix bean components with the b

[S2] How to separate Action from "FormBean"

2007-01-07 Thread uni
I just took a look at the tutorials of Struts 2 today. As a Struts 1 user, I don't like form beans that mostly copy your business data beans. In Struts 2, you don't need form beans anymore, but the tutorial states that you have to implement an execute() method into your business bean. Actually, wha

Re: Heuristic completions

2007-01-07 Thread Martin Gainty
Pretty Tough to locate that information Thank God for Frank Zammetti and Borland! Many Thanks, Martin -- --- This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it

Re: [S2] dropdowndatetimepicker questions

2007-01-07 Thread Dariusz Wojtas
I do not know if you did see my comment to WW-1605. It somehow produces endless loop ... Dariusz Wojtas On 1/7/07, Musachy Barroso <[EMAIL PROTECTED]> wrote: ok, here is the right one: https://issues.apache.org/struts/browse/WW-1605 musachy --

Re: [S2] dropdowndatetimepicker questions

2007-01-07 Thread Musachy Barroso
ok, here is the right one: https://issues.apache.org/struts/browse/WW-1605 musachy Dariusz Wojtas wrote: Will it work with all modes of the parent form? (ajax, xhtml) as expected? Did anyone recognize the issue with textarea? If included inside a form with theme="ajax" then it automatically

Re: [S2] dropdowndatetimepicker questions

2007-01-07 Thread Dariusz Wojtas
Will it work with all modes of the parent form? (ajax, xhtml) as expected? Did anyone recognize the issue with textarea? If included inside a form with theme="ajax" then it automatically is ajaxified (rich text) instead of just being rendered in a table row with two cols. btw, I am just sitting

Re: [S2] Possible issue with remote form submission

2007-01-07 Thread Musachy Barroso
I know the remote forms have problems (not sure what they are), I have to check them out, I was talking about the "Remote Button" page in show case, which submits a form asynchronously, that one should be working in IE and FF. musachy Dariusz Wojtas wrote: I removed theme ajax from my form a

Re: [S2] dropdowndatetimepicker questions

2007-01-07 Thread Musachy Barroso
I swear I haven't been drinking today :). I will do a similar fix for the dropdowndatetimepicker musachy Dariusz Wojtas wrote: Maybe this fix helps, but for autocompleter. I asked for dropdowndatetimepicker :) Greetings Dariusz Wojtas On 1/7/07, Musachy Barroso <[EMAIL PROTECTED]> wrote:

Re: [S2] Possible issue with remote form submission

2007-01-07 Thread Dariusz Wojtas
I removed theme ajax from my form and it still did not work. Because the current showcase has problems, I copied the remoteforms sample to my app. Only 2 of these forms do work with IE (pass params). I can be sure of this because I have a filter in front of the app which renders the requested UR

Accessing arrays in struts2 jsp

2007-01-07 Thread Sune Mølgaard
I , which iterates over a List of String[]. I then To get such an array available with key "image". I would then like to but any number in []'s is accepted (or, rather, ignored), giving me the full contents of the array instead of the entry specified. What could I be doing wrong? Be

Re: [S2] dropdowndatetimepicker questions

2007-01-07 Thread Dariusz Wojtas
Maybe this fix helps, but for autocompleter. I asked for dropdowndatetimepicker :) Greetings Dariusz Wojtas On 1/7/07, Musachy Barroso <[EMAIL PROTECTED]> wrote: I logged this ticket with a simple patch: https://issues.apache.org/struts/browse/WW-1602 (remember to remove theme="ajax" for the

Re: error

2007-01-07 Thread Martin Gainty
Hi Tom and if you implement your SubmitRequestForm with either public class SubmitRequestForm extends BeanValidatorForm OR public class SubmitRequestForm extends ValidatorForm implements DynaBean, Serializable ? Martin -- ---

Re: error

2007-01-07 Thread Tom Jerry
why am I not getting any reply ? On 1/3/07, Tom Jerry <[EMAIL PROTECTED]> wrote: why do I get this error ? java.lang.ClassCastException: org.apache.struts.validator.BeanValidatorForm at com.traveldesk.actions.MyRequestAction.AddRequest( MyRequestAction.java:49) public ActionForward AddReq

Re: [S2] dropdowndatetimepicker questions

2007-01-07 Thread Musachy Barroso
I logged this ticket with a simple patch: https://issues.apache.org/struts/browse/WW-1602 (remember to remove theme="ajax" for the ones that you want it to render the label) regards musachy Dariusz Wojtas wrote: Hi, I am absolutely nod in mood to be the 1st class troublemaker for S2 ajax s

Re: [S2] dropdowndatetimepicker questions

2007-01-07 Thread Musachy Barroso
Dariusz Wojtas wrote: Hi, I am absolutely nod in mood to be the 1st class troublemaker for S2 ajax support - which is very nice - but real life usage brings some questions. Don't lose your faith, must of the fixes have been recommended by you :) I have a form using theme ajax. And I have so

Re: Heuristic completions

2007-01-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Frank, Frank W. Zammetti wrote: > Martin Gainty wrote: >> Good Afternoon All >> >> I am seeking a definition and any information on the term 'Heurisitic >> completion' > > Come on Martin, everybody knows what heuristic completion is: Wow, I guess I

Re: [S2] Possible issue with remote form submission

2007-01-07 Thread Musachy Barroso
Just to make sure that's not it, can you remove the theme="ajax" from the form? In the remote button page, on showcase there is an example of a button submitting a form, is that working for you? musachy Dariusz Wojtas wrote: Hi Musachy, I have a form of this type: ... cssClass=".." /> A

Re: Heuristic completions

2007-01-07 Thread Frank W. Zammetti
Martin Gainty wrote: Good Afternoon All I am seeking a definition and any information on the term 'Heurisitic completion' Come on Martin, everybody knows what heuristic completion is: Heuristic completion is when a transaction attempts to complete, and one of its participating Resources mak

Re: Heuristic completions

2007-01-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin, Martin Gainty wrote: > I am seeking a definition and any information on the term 'Heurisitic > completion' A heuristic is generally considered to be a process or algorithm that was developed using empirical data instead of theory. Basically,

Re: [S2] Possible issue with remote form submission

2007-01-07 Thread Dariusz Wojtas
Hi Musachy, I have a form of this type: ... And this one gets submitted, but IE seems to post it without parameters. At the same time FF posts it with parameters. In both browsers targetting of the submission form works, but IE does not pass params. If this could help, I have a form with so

[S2] dropdowndatetimepicker questions

2007-01-07 Thread Dariusz Wojtas
Hi, I am absolutely nod in mood to be the 1st class troublemaker for S2 ajax support - which is very nice - but real life usage brings some questions. I have a form using theme ajax. And I have some: fields inside. Fields 'textfield' and 'select' do create a row in table with 2 cols: label, f