Re: How to set a value in a autocompleter?

2008-05-02 Thread Márcio Gurgel
Hi, I resolved this value=""%{bean.Attr}; Regards, Márcio Gurgel 2008/5/2 Márcio Gurgel <[EMAIL PROTECTED]>: > Hi! > > I need some help to set a selected value in a autocompleter, when I open > data, all fields are populated, except two autocompleters. > I used JSON to populate the autocomplet

How to set a value in a autocompleter?

2008-05-02 Thread Márcio Gurgel
Hi! I need some help to set a selected value in a autocompleter, when I open data, all fields are populated, except two autocompleters. I used JSON to populate the autocompleter list option. Thanks in advance. Márcio Gurgel

Re: Struts2 regex validation question

2008-05-02 Thread Laurie Harper
Pranav wrote: Hi, I want to put a validation in struts2 using field-validator type="regex" such that any string which contains any of the <, > or any of the alternative representation like < should return a validation failure message. How do I do that?. I believe that if I give a pattern to r

Re: Struts2 and tiles NullpointerExxception

2008-05-02 Thread Yayo
oks, thanks, I've moved completelly to tiles 2 and now the whole app works, thank you d^g^b On Fri, May 2, 2008 at 9:14 AM, Antonio Petrelli <[EMAIL PROTECTED]> wrote: > 2008/5/1 Yayo <[EMAIL PROTECTED]>: > > I simply can't find anything wrong in my config > > In fact me neither :-) > Anyway, can

Struts2 regex validation question

2008-05-02 Thread Pranav
Hi, I want to put a validation in struts2 using field-validator type="regex" such that any string which contains any of the <, > or any of the alternative representation like < should return a validation failure message. How do I do that?. I believe that if I give a pattern to regex, it shows e

Formatting a number: all I get is the key

2008-05-02 Thread Graham Leggett
Hi all, After following the instructions at http://struts.apache.org/2.0.11.1/docs/localization.html, I have ended up with a jsp file that contains the following: value="amount"/> I understand that I have to create the key "format.number" in a resource bundle, and again, following the inst

Re: struts and jasperreports

2008-05-02 Thread Laurie Harper
That sounds like a classpath issue; have you added any jars into any of Tomcat's shared library folders? I'm also suspicious of your inclusion of freemarker-2.3.8.jar and freemarker.jar, ognl-2.6.11.jar and ognl.jar; I haven't checked, but I suspect that's not normal :=) L. David Evans wrote:

Re: Action executed many times

2008-05-02 Thread Laurie Harper
Márcio Gurgel wrote: Does someone can tell me why does a action is called more than once? I've a action to populate some fields (I call it once), by debugging I saw that this method is called three times. Is it normal? If it'snt how to prevent? This is usually a result of elements in the page w

Re: dojo 1.1 in struts 2.0.11 portlets

2008-05-02 Thread Laurie Harper
Yes, it would, which is why Jeromy said don't use the strts2 ajax theme or tags. As long as you don't use those, the Dojo bundled with Struts wont be loaded, so there wont then be a conflict. L. tom tom wrote: Hi Jeromy, Sorry, I forgot one more question, Eventhough we use dojo 1.1 directly

S2 - email client as action result

2008-05-02 Thread Jiang, Jane (NIH/NCI) [C]
I have a S2 action that looks up email address in the database. It needs to open up an email client as the result with the address populated (as if clicked on mailto:[EMAIL PROTECTED]). What is the best way to set up the s2 result? Many thanks for your help, Jane ---

struts and jasperreports

2008-05-02 Thread David Evans
Hello all, I am trying to configure Struts 2 and Jasper Reports. I am getting a: java.lang.NoClassDefFoundError:net/sf/jasperreports/engine/JasperCompileManager As you can see in my setup below, I have the jasperreports-2.0.5.jar in WEB-INF/lib and a jar tvf verifies that that JasperCompileManag

Re: Paging with DisplayTag and encoded table name

2008-05-02 Thread Paweł Badeński
2008/5/2, Zoran Avtarovski <[EMAIL PROTECTED]>: > You can implement the org.displaytag.pagination.PaginatedList class and use > any parameters you like. Also helps when dealing with large lists. > > Z. > > > > > 2008/5/1 Brad A Cupit <[EMAIL PROTECTED]>: > >>> > > I'm curious if there is a neat

Re: Retrieving action names configured in struts.xml

2008-05-02 Thread Volker Karlmeier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I thought about that but I'd have to parse multiple xml-files. Besides this, I'd have to change my code every time the format of struts.xml changes. I'd prefer getting the parsed actions from struts :) Volker Mead Lai schrieb: | read the strut

Re: Using tiles defined attribute with s2 tags

2008-05-02 Thread Lars Dam
The question origined from this discussion in the tiles mailing list: http://mail-archives.apache.org/mod_mbox/tiles-users/200804.mbox/[EMAIL PROTECTED] - the question may be related of how to use a page scoped bean inside struts 2 tags - it may be easier to explain this to me :/ kr. Lars Dam On

Using tiles defined attribute with s2 tags

2008-05-02 Thread Lars Dam
I have some serious problems trying to create some subaction for a tile - mainly i want to have a 1:1 between an action and a tile, so my main action can have a map of subactions, one for each tile i use in my page; so far i can make a tiles definition like: This gives me the 'subaction' i

Re: Struts2 and tiles NullpointerExxception

2008-05-02 Thread Antonio Petrelli
2008/5/1 Yayo <[EMAIL PROTECTED]>: > I simply can't find anything wrong in my config In fact me neither :-) Anyway, can you try updating to Tiles 2.0.5? http://tiles.apache.org/download.html Antonio - To unsubscribe, e-mail: [EM