Re: How to display message from resource bundle using Struts EL tags

2007-07-12 Thread Nuwan Chandrasoma
key="${stringvar}"/>http://struts.apache.org/1.3.8/struts-el/index.html- Original Message - From: "semaj.najraham" <[EMAIL PROTECTED]> To: Sent: Friday, July 13, 2007 5:49 AM Subject: Re: How to display message from resource bundle using Struts EL tags Any idea, guys!! semaj.naj

Re: How to display message from resource bundle using Struts EL tags

2007-07-12 Thread semaj.najraham
Any idea, guys!! semaj.najraham wrote: > > I have the following jsp: > > <%@ taglib uri="http://struts.apache.org/tags-bean"; prefix="bean"%> > <%@ page import="com.messages.Constants" %> > > > > where Constants.java contains the following containts > > public static final String SECTION_TI

Re: Struts 2 performance

2007-07-12 Thread Aram Mkhitaryan
One more point for the test applications, try do not use complicated pages with db calls and stuff like that use simple pages where you have lots of ognl expressions (as there is ticket in jira where it is noticed that profiler showed that the bottleneck is in ognl expressions) Best, Aram __

Re: Struts 2 performance

2007-07-12 Thread Aram Mkhitaryan
there are some new results, when setting the global theme to the simple one, my S2 test application becomes 20 times faster, but still it is 3 times slower then S1 There should not be a noticable difference with OGNL yet. The performance improvements in OGNL 2.7 require expressions to be comp

RE: Struts 2 Client Side Validation

2007-07-12 Thread Deepak Kumar
HI, Please check http://www.roseindia.net/struts/struts2/struts-2-client-side-validation-exam ple.shtml Thanks -Original Message- From: Néstor Boscán [mailto:[EMAIL PROTECTED] Sent: Friday, July 13, 2007 1:05 AM To: user@struts.apache.org Subject: Struts 2 Client Side Validation Hi I

How to display xml data in struts list box

2007-07-12 Thread Asir Jeeva
Hi all, Please give me an example to display *xml data in struts box.*

Re: Struts 2 performance

2007-07-12 Thread Musachy Barroso
Doesn't xwork cache the expressions compiled? musachy On 7/12/07, James Holmes <[EMAIL PROTECTED]> wrote: Frank, There should not be a noticable difference with OGNL yet. The performance improvements in OGNL 2.7 require expressions to be compiled before being executed. The current S2 code doe

Re: Struts 2 performance

2007-07-12 Thread Frank W. Zammetti
I'm still betting OGNL isn't hit in any significant way in this test anyhow... in fact, is it used at all? I'm not even certain... I assume this line does: But maybe I'm wrong? Like I said, even if it is, if *that* made any sort of real difference in the numbers, I'd be flat-out shocked.

Re: Struts 2 performance

2007-07-12 Thread James Holmes
Frank, There should not be a noticable difference with OGNL yet. The performance improvements in OGNL 2.7 require expressions to be compiled before being executed. The current S2 code does not do this yet so it cannot realize the performance gains yet. Sent via BlackBerry. -Original M

Re: Configuring Struts with eclipse

2007-07-12 Thread Ted Husted
On 7/12/07, cilquirm <[EMAIL PROTECTED]> wrote: We now strongly recommend that developers only turn devMode on for a reason, and always temporarily. There have been problems with people forgetting to turn devMode back off in production, which can cause a serious performance drag. c) Drop

Re: Struts 2 performance

2007-07-12 Thread Frank W. Zammetti
Ted Husted wrote: On 7/12/07, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: (b) the OGNL bump, at least as far asjust a straight drop-in, makes no real difference I don't think we really expected the "drop-in" to make a difference without making other adjustment to take advantage of the enhance

Re: Struts 2 performance

2007-07-12 Thread Ted Husted
On 7/12/07, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: (b) the OGNL bump, at least as far asjust a straight drop-in, makes no real difference I don't think we really expected the "drop-in" to make a difference without making other adjustment to take advantage of the enhancements. -T. -

RE: Struts 2 performance

2007-07-12 Thread David Chisholm
We've only seen some initial high level benchmarks, and there isn't enough information yet to assert what is the source of the performance differences. This should be identified before trying things like a new version of OGNL. David -Original Message- From: Don Brown [mailto:[EMAIL PROT

Re: Struts 2 performance

2007-07-12 Thread Don Brown
I'm really happy to see this issue being addressed, but it is important to remember, framework performance wasn't (isn't?) a primary goal for WebWork 2, and now Struts 2. Specific decisions were made to favor developer productivity and flexibility over performance such as a template engine-based,

Re: [S2] UTF-8

2007-07-12 Thread Perssy Llamosas
Solved it on my own. The page header requires to be in utf-8 too, it is not enough to have the page encoding in jsp to utf-8. Without that line IE returns ascii while firefox returns utf-8. Perssy Llamosas wrote: Hello, I am trying to make struts read my requests as UTF-8, so far I have con

[S2] UTF-8

2007-07-12 Thread Perssy Llamosas
Hello, I am trying to make struts read my requests as UTF-8, so far I have configured Tomcat connector to uriencode in utf-8 but my struts beans still receive "?" strings. What am I missing? Perssy Llamosas - To unsubscribe,

Re: freemarker @s.property within @s.text not working

2007-07-12 Thread Adrian Ost
Adrian Ost schrieb: hi all, Iterating over a List type arrayList works fine just like this: <@s.iterator value="%{myList}" > ... <@s.property /> ... BUT this is not working: <@s.iterator value="%{myList}" > ... <@s.text name="<@s.property />" />

Re: Struts 2 performance

2007-07-12 Thread Frank W. Zammetti
Well, here's exactly why I hate benchmarking: it's never consistent! :) This time, everything compiled with JDK 1.6 (it's what I have installed along side 1.4.2) and all used 5000 samples (updated test plan to always do 5000 samples)... S1: 685 average, 142.3/sec throughput, 20.89 KB/sec So,

Re: Configuring Struts with eclipse

2007-07-12 Thread cilquirm
It's relatively easy. You want the WTP ( unless you're using some customized version like MyEclipse, at which point, I can't help ). a) Create a Dynamic Web Project. b) Set up your Server Runtime (1) (2) c) Drop your jars into WebResources/WEB-INF/lib (3)(4) 4) write up your struts.xml : ht

Struts design best practice issue

2007-07-12 Thread Viplav Kallepu
Hi All, I am new to struts and I am using struts 1.3.8. I am using a bean class for every table in oracle as a Data Transfer Object and a actionform for every jsp. Now my problem is I have to do data type conversion from my actionform to DTO and DTO to actionform, for example I have date in my j

dynamic text fields in jsp

2007-07-12 Thread Viplav Kallepu
Hi All, I am new to struts and I am using struts 1.3.8. I am using a bean class for every table in oracle as a Data Transfer Object and a actionform for every jsp. Now my problem is I have to do data type conversion from my actionform to DTO and DTO to actionform, for example I have date in my j

Re: Struts 2 performance

2007-07-12 Thread cilquirm
for my sake, i hope it's still 1.5. i'm not allowed to go near 1.6 because of some obscure bug in some oracle driver somewhere. Ted Husted wrote: > > Are we targeting 1.6 now, or is the S2 target platform still 1.5? > > -T. > > On 7/12/07, James Holmes <[EMAIL PROTECTED]> wrote: >> Perfect!

Re: Struts 2 performance

2007-07-12 Thread cilquirm
Frank, would you care to give the same tests a shot with ognl 2.7 and javassist in the mix. Although none of this is purely scientific, at least evaluations on that regard give us some level of subjective information. The ognl 2.7 and javassist jar are available via the tapestry-4.2-libs downl

s2: Logging

2007-07-12 Thread Leena Borle
Hi, How to enable logging in S2? I added log4j.jar and isDebug statements in my actions, but do not see any messages. Leena

Need help: not parsed

2007-07-12 Thread Rosalia Lee
Hi, I'm new to SiteMesh and have been trying to use SiteMesh, Struts 2 with SiteMesh Plugin and Java 5 for a project. I have been stucked with this problem for a couple days. Thanks in advance for your help. It will be greatly appreciated! Problem: When I requested index.html or index.jsp, the

freemarker @s.property within @s.text not working

2007-07-12 Thread Adrian Ost
hi all, Iterating over a List type arrayList works fine just like this: <@s.iterator value="%{myList}" > ... <@s.property /> ... BUT this is not working: <@s.iterator value="%{myList}" > ... <@s.text name="<@s.property />" /> ... Result in HT

Re: Struts 2 performance

2007-07-12 Thread Frank W. Zammetti
The build scripts and full source are of course included, so by all means feel free to recompile and rerun... I'm getting into something else at the moment otherwise I'd do it right now because I'd be very interested in seeing if the results converge a bit (I wouldn't expect them to diverge, th

Re: Struts 2 performance

2007-07-12 Thread James Holmes
My only point was that the S1 and S2 apps should be compiled using the same version of Java. I didn't mean to imply any version that S2 should support. I guess in a perfect world the test should be compiled with 1.5 since that is what S2 supports. James On Thu Jul 12 15:34 , "Ted Husted" sent:

Struts 2 Client Side Validation

2007-07-12 Thread Néstor Boscán
Hi I'm trying to use Struts 2 with client side validation. I would like to use a theme that does not add any HTML to the form, fields and error messages. I'm working with simple theme but it's not generating the JavaScript code to do the validation and the tag is generation elements. Any idea

Re: Struts 2 performance

2007-07-12 Thread Ted Husted
Are we targeting 1.6 now, or is the S2 target platform still 1.5? -T. On 7/12/07, James Holmes <[EMAIL PROTECTED]> wrote: Perfect! This is an excellent start. I think both should be compiled with 1.6.0. That will immediately remove that element of difference between the two. James -

Re: Struts 2 performance

2007-07-12 Thread James Holmes
Perfect! This is an excellent start. I think both should be compiled with 1.6.0. That will immediately remove that element of difference between the two. James On Thu Jul 12 15:22 , 'Frank W. Zammetti' <[EMAIL PROTECTED]> sent: >Dunno if this might help, but: > >http://www.omnytex.com/struts_b

Re: Struts 2 performance

2007-07-12 Thread Frank W. Zammetti
Dunno if this might help, but: http://www.omnytex.com/struts_benchmarking.zip In it you'll find two applications, one for S1 (1.3.8) and one for S2 (2.0.8)... they are both (I think!) pretty much equivalent, and about as simplistic as you can get. Also included is a JMeter test plan to run a

[S2] How to Validate Indexed Lists?

2007-07-12 Thread Hoying, Ken
I am using the Type Conversion functionality (http://struts.apache.org/2.x/docs/type-conversion.html) for handling indexed lists. BTW.. Very cool stuff and worked great right off. My question is that I would now like to take it one step further and use the XML validation definitions to validat

Re: [S2] JSP exception printStackTrace

2007-07-12 Thread Perssy Llamosas
Okay, I figured it on my own. <%-- works! --%> <% exception = (Exception) request.getAttribute("exception"); if (exception != null) exception.printStackTrace(new PrintWriter(out)); %> Perssy Llamosas wrote: Hello, I am trying to print the Stack Trace from an exception redirected by global-e

[S2] JSP exception printStackTrace

2007-07-12 Thread Perssy Llamosas
Hello, I am trying to print the Stack Trace from an exception redirected by global-exception-mappings in the struts.xml I can access the variable using EL but it doesn't seem to exist in the page scope since I cannot access it. Where is being stored? <%-- Exception Handler --%> <%-- This work

Configuring Struts with eclipse

2007-07-12 Thread umeshawasthi
HI All, Can any body tell me how can i configure Struts in Eclipse i am using Eclipse 3.2.2 .How can i start a struts project in the Eclipse.Any help will be much appriciated. thanks --umesh :( -- View this message in context: http://www.nabble.com/Configuring-Struts-with-eclipse-tf4069766.html

S2: how to send infor back to a subscribed topic

2007-07-12 Thread Scott Nesbitt
I have a topic like this: dojo.event.topic.subscribe("/saveTopic", function(data, type, e) { // data : text returned // type : "before", "load" or "error" // e: request object if ('load' == type) { } } When my action on the server is successful the type is set to load and things wo

Re: [S2] JSP/OGNL - displaying iterator length

2007-07-12 Thread Musachy Barroso
The iterator class doesn't have a length property: http://java.sun.com/j2se/1.5.0/docs/api/java/util/Iterator.html you are going to have to get the size from the collection itself. musachy On 7/12/07, yitzle <[EMAIL PROTECTED]> wrote: I got an iterator that works fine and does what I want it

How to display message from resource bundle using Struts EL tags

2007-07-12 Thread semaj.najraham
I have the following jsp: <%@ taglib uri="http://struts.apache.org/tags-bean"; prefix="bean"%> <%@ page import="com.messages.Constants" %> where Constants.java contains the following containts public static final String SECTION_TITLE = "section.title"; and key/value is defined in MessageReso

trying to make a loading jsp page

2007-07-12 Thread adambomb
Hi Im trying to make a loading jsp for a another jsp which takes considerable time pulling out huge amount of data. Can some body help me in making a loading screen which is displayed(perhaps with hepl of javascript) while the page is loading a redirects to the actual page once it has got the res

optionstranferselect tag and converter

2007-07-12 Thread meissa . sakho
Hi all, I'm using the optionstranferselect tag in my webapps and I need to customize the listkey that are submitted by the form. In my action class, I have the defaultListSupport attribute corresponding to the listkey with its corresponding setter and getter just like below: public class Optio

[S2] JSP/OGNL - displaying iterator length

2007-07-12 Thread yitzle
I got an iterator that works fine and does what I want it to: ... A few lines above, I try to print the iterator size: Total: Doesn't display anything. The OGNL Guide says it supports .length for arrays. Does is not support iterators? Especially since the iterator is simple an array contain

Re: How to display the ' character from a .properties file

2007-07-12 Thread Josh Vickery
On 7/12/07, Niall Pemberton <[EMAIL PROTECTED]> wrote: I don't use Struts2 - but my guess is that this is down to a single quote being an escape character in MessageFormat: http://java.sun.com/j2se/1.4.2/docs/api/java/text/MessageFormat.html So its probably not a bug - just need to escape singl

[S2] SUGESTION=

2007-07-12 Thread Luciano Costa
I'd like to suggest the implementation of this simple but great-to-use feature. I've made hard use of textarea tag and it's boring to re-code it ever and ever. This sample code prevents use of javascript block in head section. Once "" already has "onKeyDown" and "onKeyUp" properties, I think thi

Re: How to display the ' character from a .properties file

2007-07-12 Thread Niall Pemberton
On 7/12/07, Josh Vickery <[EMAIL PROTECTED]> wrote: Actually, I think this is a bug in the handling of MessageResources in Struts 2. Not only do ' characters in properties files fail to display, they cause parameter substitution to fail. For example, if you have a properties file: I don't use

Re: How to display the ' character from a .properties file

2007-07-12 Thread TonyD
I wrote my string in my .properties file mylabel=Now it''s working and then a got it in my .jsp with Antonio Petrelli-3 wrote: > > 2007/7/12, TonyD <[EMAIL PROTECTED]>: >> >> >> Thanks it works! > > > > > Mmm... this means that there's something wrong when you display the text. > I th

[S2] Generic Actions attributes and stack values.

2007-07-12 Thread m . coindeau
Hi, I got a problem with an extremly generic platform I'm trying to implement. Here is my genericAction code to understand the question mentionned above: === public abstract class GenericAction extends ActionSupport implements Prepa

Re: Struts 2 performance

2007-07-12 Thread Ing. Andrea Vettori
Il giorno 12/lug/07, alle ore 16:31, Guillaume Carré ha scritto: 2007/7/12, Ing. Andrea Vettori <[EMAIL PROTECTED]>: Compared to nothing... they are pure numbers. They are simply just good enought (to me). If we don't have this in mind we should use assember for everything :) what I meant

Re: How to display the ' character from a .properties file

2007-07-12 Thread Josh Vickery
Actually, I think this is a bug in the handling of MessageResources in Struts 2. Not only do ' characters in properties files fail to display, they cause parameter substitution to fail. For example, if you have a properties file: foo=Message's for {0} and you attempt to display it in a jsp lik

Re: How to display the ' character from a .properties file

2007-07-12 Thread Antonio Petrelli
2007/7/12, TonyD <[EMAIL PROTECTED]>: Thanks it works! Mmm... this means that there's something wrong when you display the text. I think that, before writing the string, you have to escape it. How, and where, do you write the string? Antonio

Re: How to display the ' character from a .properties file

2007-07-12 Thread TonyD
Thanks it works! Pascal Lalonde-4 wrote: > > This should be the good solution, that's what we do ... > > [EMAIL PROTECTED] wrote: >> try to double the ' >> >> ex.: >> >> mylabel=I don''t know how >> >> >>> If in my .properties file I have text with the ' character >>> >>> my.properties (fil

Re: Struts 2 performance

2007-07-12 Thread Guillaume Carré
2007/7/12, Ing. Andrea Vettori <[EMAIL PROTECTED]>: Compared to nothing... they are pure numbers. They are simply just good enought (to me). If we don't have this in mind we should use assember for everything :) what I meant was: maybe it could be a good idea to redevelop your screens with, sa

Re: Struts 2 performance

2007-07-12 Thread Ted Husted
As they say, the proof of the pudding is in the taste. The performance of Struts 2 is at least as good as WebWork 2, which powers a large number of excellent sites, including Atlassian Confluence and Jive Forums. Prior versions of Tapestry were also using OGNL, which seems to be one of the bottlen

Re: Struts 2 performance

2007-07-12 Thread Ing. Andrea Vettori
2007/7/12, Ing. Andrea Vettori <[EMAIL PROTECTED]>: Yes i'm sure it's true. So the struts related performance seems not too bad... compared to what? Compared to nothing... they are pure numbers. They are simply just good enought (to me). If we don't have this in mind we should use ass

Re: Struts 2 performance

2007-07-12 Thread Guillaume Carré
2007/7/12, Ing. Andrea Vettori <[EMAIL PROTECTED]>: Yes i'm sure it's true. So the struts related performance seems not too bad... compared to what? -- Guillaume Carré - To unsubscribe, e-mail: [EMAIL PROTECTED] For additiona

Re: [S2] IE crashing with ajax tabbedpanels

2007-07-12 Thread Musachy Barroso
Hi Jason Thanks for letting me know regards musachy On 7/12/07, Jason Wyatt <[EMAIL PROTECTED]> wrote: The problem seems that we were including large CSS style sheets on each tab's jsp page, which was unnecessarily filling IE's memory, and eventually it would crash due to some buffer being bl

optiontransferselect tag problem (again)

2007-07-12 Thread meissa . sakho
Hi all, I have a problem with the selected values by the optiontransferselect tag when my form is submitted. here is an extract of my jsp. The list is a map and I'm expecting to get a List of DummyKey in the doubleName. But I'm getting a ClassCastException when I try to iterate and cast the r

Re: [S2] autocompleter, predefining initial value

2007-07-12 Thread Pedro Herrera
It´s not a good solution, but it works(to set both the initial value and the initial key). Thanks Toni Lyytikäinen wrote: > > Take a look at the html generated by the tag, is there an initialKey > -attribute and what is it's value? If it is "29" then it's working for the > key part at leas

Re: Struts 2 performance

2007-07-12 Thread Ing. Andrea Vettori
Yes i'm sure it's true. So the struts related performance seems not too bad... Il giorno 12/lug/07, alle ore 14:02, Al Sutton ha scritto: Try using a some dummy beans for your MP3 test that return known data, that way you can get a good idea of the impact your database has on the response t

Re: [S2] autocompleter, predefining initial value

2007-07-12 Thread Toni Lyytikäinen
Take a look at the html generated by the tag, is there an initialKey -attribute and what is it's value? If it is "29" then it's working for the key part at least. Of course I forgot to say that you need to set both the initial value and the initial key. You can set the value with the value attrib

Re: How to display the ' character from a .properties file

2007-07-12 Thread Pascal Lalonde
This should be the good solution, that's what we do ... [EMAIL PROTECTED] wrote: try to double the ' ex.: mylabel=I don''t know how If in my .properties file I have text with the ' character my.properties (file) mylabel=I don't know how ... The output doesn't display the ' character

Re: [S2] autocompleter, predefining initial value

2007-07-12 Thread Pedro Herrera
It´s not working to me I´ve setted the in the action countryIdKey = "29" and the combo comes blank... help me Herrera Toni Lyytikäinen wrote: > > Whoops, sorry I should probably think before I post. So you want to set > the > key, not the value of the input element. I did this by ha

RE How to display the ' character from a .properties file

2007-07-12 Thread MLENEVEUT
I had the same problem, and I put ’ instead of ' in my .properties. Ragards, Michaël TonyD <[EMAIL PROTECTED]> 12/07/2007 14:29 Veuillez répondre à "Struts Users Mailing List" A user@struts.apache.org cc Objet How to display the ' character from a .properties file If in my .prope

Re: How to display the ' character from a .properties file

2007-07-12 Thread acogoluegnes
try to double the ' ex.: mylabel=I don''t know how > > If in my .properties file I have text with the ' character > > my.properties (file) > > mylabel=I don't know how > ... > > > The output doesn't display the ' character > > I dont know how > > Do I need a special character before the ' charac

Re: How to display the ' character from a .properties file

2007-07-12 Thread Antonio Petrelli
2007/7/12, TonyD <[EMAIL PROTECTED]>: Do I need a special character before the ' character? Which one? I could say the backslash ( \ ) but the apostrophe is not a special character to be escaped (such as = ! ) so I wonder why you cannot see it... Antonio

How to display the ' character from a .properties file

2007-07-12 Thread TonyD
If in my .properties file I have text with the ' character my.properties (file) mylabel=I don't know how ... The output doesn't display the ' character I dont know how Do I need a special character before the ' character? Which one? Thanks. -- View this message in context: http://www.n

RE: Struts 2 performance

2007-07-12 Thread Al Sutton
Try using a some dummy beans for your MP3 test that return known data, that way you can get a good idea of the impact your database has on the response time. I suspect you'll find that your DB is causing a lot of the delay in the short ramp up test. -Original Message- From: Ing. Andrea Vet

Re: java.lang.NullPointerException please help

2007-07-12 Thread Alexis Pigeon
Hi vani, Please reply to the list, and no to me personally, so that more people can help you out. On 12/07/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: 1)to point no 1.if you add .tld to the third line u will get exception as .tld is missing.actually no need to add tld file as it is alread

Re: java.lang.NullPointerException please help

2007-07-12 Thread Alexis Pigeon
Hi vani, Just some comments... 1- I would add the ".tld" extension to the 3rd line. Also make sure it's pointing to the correct path. 2- In the action attribute of the form tag, the ".action" is not necessary 3- Your h1 tag is outside the html tag. Not that it could raise an NPE, but still, fo

Datetimepicker with displayFormat="dd/MM/yyyy" and OGNL parser

2007-07-12 Thread Max Pimm
The display of the date time picker works fine when i change the format. However when the params interceptor tries to deserialize my form data into java objects using OGNL it thinks that the field has format MM/dd/. How should i tell the OGNL parser that my date format is different? max -

java.lang.NullPointerException please help

2007-07-12 Thread vani patange
Hi Iam newbie to Struts2.Whenever i used struts-tags lib to build user interfaces iam getting NullPointerException coming at TagUtils.java my simple jsp page is looks like this <[EMAIL PROTECTED] contentType="text/html"%> <[EMAIL PROTECTED] pageEncoding="UTF-8"%> <[EMAIL PROTECTED] prefix="s" ur

Free Java Magazine

2007-07-12 Thread Deepak Kumar
Hi, We have just released free magazine on java technology. Visit http://javajazzup.com/issue1/ to grab a free copy. Regards Rose India Team http://www.roseindia.net - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional co

Re: Struts 2 performance

2007-07-12 Thread Ted Husted
* http://struts.apache.org/helping.html On 7/12/07, Don Brown <[EMAIL PROTECTED]> wrote: Ted wrote up a good doc somewhere on the website, but the summary is join the dev list, participate in discussions, file jira tickets with patches that include unit tests. Don

Accessing constants in Struts.xml

2007-07-12 Thread meeboo
Hey all How can I access constants via my S2 mapping files? At the moment I have the following mapping: ${UMA_REDIRECT_URL}http://myapp:8080/app/upload.action /uploadMovie.jsp ${UMA_REDIRECT_URL} is a constant declared in UploadMovie - but I can't access it in Struts.xml. If I on the other ha

[s2] formatting in textfield

2007-07-12 Thread KenLin
How would I go about formatting a number in currency format in a textfield? The only example I've seen is using the s:text tag, and it uses the name attribute, which you obviously can't do in a textfield. Thanks -- View this message in context: http://www.nabble.com/-s2--formatting-in-textfiel

Re: Struts 2 performance

2007-07-12 Thread Ing. Andrea Vettori
I've done some measurements with jmeter on my e-commerce site built on struts2 and ejb3. 1 user (testing) === Home page, http://www.elettrotop.com/ElettroTop/Home.action average response time : 63 msec MP3s list, http://www.elettrotop.com//ElettroTop/RicercaArticoliAlbero.action?path=

Re: [S2] autocompleter, predefining initial value

2007-07-12 Thread Toni Lyytikäinen
Whoops, sorry I should probably think before I post. So you want to set the key, not the value of the input element. I did this by having a getElementKey-method in the Action class which returns the key you want as the default. Element is the name of the input element. On 7/12/07, Toni Lyytikäine

Re: How to control the display of Struts2 tags like s:textfield

2007-07-12 Thread TonyD
I'am using the "qxhtml" theme in my form. the output generated is: RED The Style doesn't effect the label text, I supposed that: RED was what I wanted to have, how could I obtain that? Thanks in advance. DNewfield wrote: > > TonyD wro

Re: [S2] autocompleter, predefining initial value

2007-07-12 Thread Toni Lyytikäinen
The value attribute sets the preset value of the input element, if that is what youre looking for. On 7/12/07, Pedro Herrera <[EMAIL PROTECTED]> wrote: I´m using autocompleter tag with Struts 2.0.8 and I need to show a default value to the user. For example, in the JSON list : [ ["Alabama",

[S2] autocompleter, predefining initial value

2007-07-12 Thread Pedro Herrera
I´m using autocompleter tag with Struts 2.0.8 and I need to show a default value to the user. For example, in the JSON list : [ ["Alabama","AL"], ["Alaska","AK"], ["American Samoa","AS"], ... I need to show by default 'AS(id) - American Samoa' . How I do this ? Herrera --

Re: how to include struts by using

2007-07-12 Thread cksachdev
Just remove "/" thats it. e.g. -- red phoenix-2 wrote: > > I want to use > > > > but when I run this jsp file,http://localhost:8080/a.jsp,it raise > error,it shows it can't find a1.do and a2.do,but when I write follows in > IE, > http://localhost:8080/a1.do, it can show r

RE: [S2] IE crashing with ajax tabbedpanels

2007-07-12 Thread Jason Wyatt
The problem seems that we were including large CSS style sheets on each tab's jsp page, which was unnecessarily filling IE's memory, and eventually it would crash due to some buffer being blown. We've removed the CSS links, javascript includes and the from our tabs up a level to the jsp page tha