Multiline key value in resource file

2007-09-09 Thread Mirbek Nosinov
Hello I am trying to make multiline key value in my resource file Reource file is like "myRes.properties" and in this file i want to include text like: title Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text under key name : mykey so content of m

i18n in struts2

2007-09-09 Thread Mirbek Nosinov
Hello How can i implements internationalization features in struts 2 application. i am using struts 2.0.9 and my user interface based on tiles 2. How can i switch from one language to another with different locale? Thanks in advanced.

form bean>form-property>type please help

2007-09-09 Thread Ehteshamul Haque
Can we set a type of a form-property as array of Objects? Example: OR set them as ArrayList(Collection) Like: Another question: If both are possible then which one is better for which context Ehteshamul Haque - Looki

Re: Struts question

2007-09-09 Thread Paul Benedict
I think you're trying to do a nested property but that's not supported that way. The bean name is already specified by "name" so no need to repeat it in "property" ; Paul On 9/9/07, Maya menon <[EMAIL PROTECTED]> wrote: > > Reposting: dont know why junk charachers appear below > I have a quest

Struts2: Create instance from struts form

2007-09-09 Thread Joshua Jackson
Dear all, I'm trying to create an instance from struts form as such: I am expecting that the member instance is created by the form so I can use it in Action as such: private Member member; private String name; public String create() throws Exception

Re: pls help: struts 1.x /dynaValidatorForm/String[] type

2007-09-09 Thread Paul Benedict
You need to allocate array space. For example, add an initial="20" attribute to the property. On 9/9/07, john lee <[EMAIL PROTECTED]> wrote: > > Any expert can give me your hands? > > i have an DynaValidatorFrom as following: > > inside struts-config.xml > >org.apache.struts.action.DynaVal

Re: Struts question

2007-09-09 Thread Maya menon
Reposting: dont know why junk charachers appear below I have a question about how to retrive the value from a data object in the form bean I have a form bean, TestForm where I declare my dataobject as private testdata[] data; with its getter and setter In my testdata class I have a Strin

Struts question

2007-09-09 Thread Maya menon
> value='mypath'/>">I have a question about how to retrive the value from a > data object in the form bean > value='mypath'/>"> > value='mypath'/>">I have a form bean, TestForm where I declare my dataobject as > value='mypath'/>">private testdata[] data; > value='mypath'/>"> > value

pls help: struts 1.x /dynaValidatorForm/String[] type

2007-09-09 Thread john lee
Any expert can give me your hands? i have an DynaValidatorFrom as following: inside struts-config.xml inside validation.xml But, the execution give me the error message for null point exception. All the examples i could find is de

[S2] regarding "struts.configuration.xml.reload" setting in struts.xml

2007-09-09 Thread Joe Lam
I have this in struts.xml and I have this constant injected to my class does this mean that whenever I change my constant's value in struts.xml, my class will get the updated value? by doing a simple test, I can't get it updated. If yes, what am I missing? If no, how to reload struts.xml conf

Re: Struts url problem

2007-09-09 Thread Martin Gainty
pull the value of a variable e.g. 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 telepho

Re: Struts url problem

2007-09-09 Thread Dave Newton
--- Ehteshamul Haque wrote: > In that case we can use '' > > EXAMPLE: > > That's not valid XML; you can't nest S2 tags like that. d. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECT

RE: struts2 getInputForward()

2007-09-09 Thread Al Sutton
Forwarding works in a different way in struts2, have a look at http://www.infoq.com/articles/converting-struts-2-part1 -Original Message- From: Michael Kulovits [mailto:[EMAIL PROTECTED] Sent: 09 September 2007 11:55 To: user@struts.apache.org Subject: struts2 getInputForward() how do i

struts2 getInputForward()

2007-09-09 Thread Michael Kulovits
how do i return to an actions input page/action? in struts1 there was the mapping.getInputForward() method, maybe i'm blind but i haven't found an equivalent in struts2. thanks in advance. ~~~kULO; - To unsubscribe, e-mail: [

Re: Issue with c:import or jsp:include

2007-09-09 Thread Ehteshamul Haque
plz check .. .. Jennie Moeller <[EMAIL PROTECTED]> wrote: I have to include a jsp page in my main jsp page. The include must first go to an action which uses a dispatch. exa

Re: Struts url problem

2007-09-09 Thread Ehteshamul Haque
In that case we can use '' EXAMPLE: ... (other params) TonyD <[EMAIL PROTECTED]> wrote: I'm trying to use a property value into a struts url but doesn't work because I can not use the (" character) twice into a url value, could somebody help me? Thanks in advance. "> ...