Re: [S2] i18n for lists/maps

2009-09-07 Thread strutstwouser
This won't work for me because the list is not maintained in Action, rather in a properties file - since it's a set of constants (ex : list of US states) Sparecreative wrote: > > You don¹t have to have a DB back end. > > Here¹s a couple of examples from our system: > > listValue="%{getText(

Re: [OT] Re: How to access enum in jsp?

2009-09-07 Thread 谢冬鸣
you can use OGNL syntax "@cl...@field" see: http://www.opensymphony.com/ognl/html/LanguageGuide/staticFields.html On Mon, Sep 7, 2009 at 05:12, Dave Newton wrote: > Martin Gainty wrote: > >> the original solution i sent was OGNL >> > > So why did you write: > > >>> yes javap would reveal the 'm

RE: how to get the result of a form inside of a sx:tabbedpanel div?

2009-09-07 Thread Ignacio Enriquez
Martin, Could you be more specific? I think that what I need is not update is actually reload a new content inside the div. (this content is not static, it depends on the initial form input) I am looking for some info but all I found is for struts1 and is old not really useful anymore in Strut

how to get the result of a form inside of a sx:tabbedpanel div?

2009-09-07 Thread Ignacio Enriquez
Hi. How can I get the result of a form that is originally inside a sx:tabbedpanel sx:div inside of the same sx:div? probably the answer is ajax calls, but I don't know ajax calls and I am in kind of a hurry. (So no time to learn very difficult ajax stuff) I would like to have the results inside t

is possible write html inside ajax tag ?

2009-09-07 Thread Ignacio Enriquez
Hi, I am quite new to struts. I wonder if is possible to write dinamically some simple html inside sx:treenode tag. is it? I would like to render something like this: http://www.google.com";>Google http://www.yahoo.com";>y

Re: [S2] i18n for lists/maps

2009-09-07 Thread Zoran Avtarovski
You don¹t have to have a DB back end. Here¹s a couple of examples from our system: It¹s pretty self explanatory, but the getText function is called on your action. Obviously this is predicated on your actions either extending ActionSupport or implementing a getText method to retrieve localise

Re: Problem with empty values

2009-09-07 Thread Musachy Barroso
> The problem comes when the value is an empty string, then struts2 replace > the empty value and keeps the name of the object. Not sure what you mean here. musachy -- "Hey you! Would you help me to carry the stone?" Pink Floyd ---

s:debug tag causes exception running in Jetty

2009-09-07 Thread phillips1021
Using the s:debug tag on a JSP in an application running in the Jetty servlet container ( http://www.mortbay.org/jetty/ http://www.mortbay.org/jetty/ ) cause Jetty to throw the following exception: org.apache.jasper.JasperException: Class: org.apache.jasper.compiler.TagLibraryInfoImpl File: TagLi

Re: Confused

2009-09-07 Thread Raj Aaryn
Apache has mentioned Shale as a retired project on its home page. Thanks, Raj On Thu, Sep 3, 2009 at 5:56 PM, C N Davies wrote: > Ok now I recall it was Shale, which in my understanding is the next > incarnation of Struts that had the brakes put on. I read it on an article > Craig wrote regardi

Re: I Have Problem in Developing small application Using Struts

2009-09-07 Thread Dave Newton
I'd start by removing the "." from the form's action attribute and see if that fixes it. Dave narsimharao_mothkuri wrote: Hello to all. I have a problem in struts application. Give me solution to me. see my source code ===login.jsp== <%...@taglib uri="/WEB-INF/struts-html.tld" prefix="html

Problem with empty values

2009-09-07 Thread Mileidys Gonzalez Prieto
Hi I have a problem creating my screens with struts2. Im using a tag textfield like that: ${relation.address[st.index].extraInfo} maxlength="20" size="15"> I can't use key for keeping the value. The problem comes when the value is an empty string, then struts2 replace the emp

I Have Problem in Developing small application Using Struts

2009-09-07 Thread narsimharao_mothkuri
Hello to all. I have a problem in struts application. Give me solution to me. see my source code ===login.jsp== <%...@taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> <%...@taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> <%...@page contentType="text/html" pageEncoding="UTF-8"%>

[OT] Re: [OT] Re: Struts2 is not outputting to the Glassfish server.log

2009-09-07 Thread mailtolouis2020-struts
This is really funny...hahaa I need to find this movie -Louis From: Dale Newfield To: Struts Users Mailing List Sent: Monday, September 7, 2009 6:42:56 AM Subject: Re: [OT] Re: Struts2 is not outputting to the Glassfish server.log Dave Newton wrote: > the mov