Re: Accessing to an inherited property via OGNL, is possible?

2009-12-17 Thread Cristian Peraferrer
Ok thank you :-) I wasn't sure about it because it wasn't working due to another cause, now I've fixed the other cause and it works. Cristian 2009/12/17 Paweł Wielgus : > Hi Christian, > b.propertyFromClassA - just like that. > > Best greetings, > Paweł Wiel

Accessing to an inherited property via OGNL, is possible?

2009-12-17 Thread Cristian Peraferrer
I have a POJO class B that extends the POJO class A. It is possible to access an inherited property of class A through a class B object, via OGNL (in a JSP page)? Thanks, Cristian -- GPG Key-ID: 0x564903FA - JID: corell...@swissjabber.ch ---

Re: How to check if an iterator is empty inside a s:subset?

2009-11-20 Thread Cristian Peraferrer
Finally I've found that: did the trick. The thing is that I wasn't able to figure out where to find out "var" defined objects. Now I know that are accessed trough #attr. I hope it will help those people with a similar problem. Cris On Thu, Nov 19, 2009 at 1:04 PM, Cristi

Re: struts.i18n.encoding

2009-11-20 Thread Cristian Peraferrer
In my application also used the 'struts.i18.encoding=UTF-8' but I had the same problem. But I found a way to get it to work. This way you are only telling struts that has to use UTF-8. But you also need to tell to your Applications Container (Tomcat for example) that you want UTF-8. 1. Set the URI

How to check if an iterator is empty inside a s:subset?

2009-11-19 Thread Cristian Peraferrer
Hi, I'm trying to show a "There are no items in the list" message in my application. I'm using a subset the following way: evenodd"> There are no items in the list But I'm not able to find how to access to the subse

How to integrate a wiki in my struts2 intranet app?

2009-10-07 Thread Cristian Peraferrer
I would like to integrate a wiki into the struts2 app I'm developing. Any idea which Wiki to use and/or how to integrate one? Thanks, Cris -- GPG Key-ID: 0x564903FA - JID: corell...@swissjabber.ch - To unsubscribe, e-mail: user

[s2] Custom field validator with params containing OGNL expression

2009-07-07 Thread Cristian Peraferrer
Hi! I have implemented a field validator that validates the username is not already in the database (to avoid overwriting). But in the validator call (or configuration), I need to pass a parameter that is another field in the form. Here my code: ${enterprise.enterpriseId} This userna

[s2] errorStyleClass equivalent in Struts 2

2009-04-27 Thread Cristian Peraferrer
Hi, Is there a way in struts2 to point out that there was validation errors in each input field, like putting an error style using errorStyleClass (of struts1)? struts1 example: Thanks, Cris. -- GPG Key-ID: 0x564903FA - JID: corell...@swissjabber.ch -

Re: Aw: [s2] Using UTF-8 in .properties files

2009-04-13 Thread Cristian Peraferrer
Thank you very much, I think it resolves my problem :) Cristian. On 09/04/2009, at 12:28, Paweł Wielgus wrote: Hi all, try this: http://sourceforge.net/projects/eclipse-rbe/ Best greetings, Paweł Wielgus. 2009/4/9 Cristian Peraferrer : So, is it possible to *really* develop

Re: Aw: [s2] Using UTF-8 in .properties files

2009-04-09 Thread Cristian Peraferrer
port files using other encodings, but I never found a ready-to- use package and writing it myself was never worthwhile. Martin - Original Nachricht Von: Cristian Peraferrer An: user@struts.apache.org Datum: 09.04.2009 11:28 Betreff: [s2] Using UTF-8 in .properties files

[s2] Using UTF-8 in .properties files

2009-04-09 Thread Cristian Peraferrer
Hi, How I can use UTF-8 in the .properties files? (I need the .properties files for i18n, so loggically I will need characters other than the contained in ASCII or latin1). Thanks, Cristian. -- GPG Key-ID: 0x564903FA - Jabber ID: corellian at swissjabber.ch --

Re: Empty lines before doctype declaration

2009-04-06 Thread Cristian Peraferrer
I have seen that the problem wasn't related with UTF-8 nor the XML parser. It is about JSP configuration, I have put the following in my web.xml: *.jsp true This solved my problem. On 06/04/2009, at 13:14, Cristian Peraferrer wrote: I'm using struts 2.1.6, using

Empty lines before doctype declaration

2009-04-06 Thread Cristian Peraferrer
I'm using struts 2.1.6, using JSP's with Tiles plugin, and I'm getting empty lines before the doctype, but in my JSP's there aren't spaces. Where I should look at? Thanks, Cristian. -- GPG Key-ID: 0x564903FA - Jabber ID: corellian at swissjabber.ch -