validation problem

2008-05-10 Thread Anet
Hi everybody; I have some tables on my page. each of them contains some of properties. for the first time, tables are hidden and will be displayed by this javascript code: function toggle(id){ var id = id; var table = document.getElementById(id); if(table.style.display=="none"){ table.sty

Re: Struts2 Portlet and Hibernate lazy-loading

2008-05-10 Thread Nils-Helge Garli Hegvik
Hi! I don't see why it shouldn't be possible to create a similar interceptor for Struts 2. It would certainly be the cleanest and best way to do it. Nils-H On 5/10/08, Parker Grimes <[EMAIL PROTECTED]> wrote: > Hi, > > Since portlets cannot use servlet session filters like the Spring > OpenSes

Struts 3 will be there?

2008-05-10 Thread Frans Thamura
hi there JSFgoes to 2.0 will Struts goes to 2.0? F

Re: Accessing ServerName property from request

2008-05-10 Thread Zoran Avtarovski
Thanks Jeremy. That¹s all I wanted to confirm. I¹ve done it like that but I just wanted to make sure I wasn¹t making problems for myself further down the line. Z. > Zoran Avtarovski wrote: >> > I need to access the getServerName method of the request from an action, >> but >> > I¹d like to do it

Maven struts2-archetype-starter error

2008-05-10 Thread maestro
Hi, I very new to Struts2 and Maven. I ran this command with version 2.0.9 on the 6th of May without a problem. mvn archetype:create -DgroupId=tutorial \ -DartifactId=tutorial \ -DarchetypeGroupId=org.apache.struts \ -Darc

Loosing content type encoding in bean:include

2008-05-10 Thread Ignacio de Córdoba
Hi there, I am having a problem when trying to include a page using bean:include. I loose the encoding even the included page has the right <@page encoding ...> attributes. Is this a bug or I am doing something wrong? I am using struts 1.3 I've tried to use othre include options, but is the one t

Programmatically reloading resource bundles Struts 2

2008-05-10 Thread sarat.pediredla
I have a resource bundle file called "config.properties" that is created to store application settings. This file is created during runtime and values are provided by the user. I am retrieving one of these properties in my JSP in a fmt:message key (basically user controlled i18n string). What I r

Re: Accessing ServerName property from request

2008-05-10 Thread Jeromy Evans
Zoran Avtarovski wrote: I need to access the getServerName method of the request from an action, but I¹d like to do it via the request map. What parameter do pass the get method? I couldn¹t find anything on the site. Z. Hi Zoran, it's not in the request map. The RequestMap maps only to the

Re: default interceptor stack

2008-05-10 Thread Gabriel Belingueres
2008/5/9, David Harland <[EMAIL PROTECTED]>: > Is it possible to set a different default interceptor stack per package using > default-interceptor-ref? Yes. I have split my struts configuration into mutiple files each with a different package name. I have set the default in the first file and

Re: How to pre-select a select list?

2008-05-10 Thread hellriserchet
Hi Volker, I'm actually new to struts. I use struts 2 package but all my learning resources including "struts for dummies" talk about struts 1, and I don't know how can I use the new tags, that's why I use these struts 1 tags! How this problem is solved in struts 1? I hope I would not be forced

Re: How to pre-select a select list?

2008-05-10 Thread Volker Karlmeier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, are you using struts1 ? This looks something strange to me. Just use ~list="availableRoles" ~cssClass="input"/> If you have getter and setter vor role (getRole(