Re: Messages resources

2007-10-19 Thread Fitzwilliam . Aaron
That does not seem to be a struts-related question.

i suppose a simple method can do that,

*Class.getResourceAsStream*


On 10/19/07, Pablo Vázquez Blázquez <[EMAIL PROTECTED]> wrote:
>
> Anyone has any idea to solve this?
>
> Thanks!
>
>
> Pablo Vázquez Blázquez escribió:
> > Hello!
> >
> > Does anybody know how can I access to my Messages[_locale].properties
> > from a class that is not an action? (It extends TagSupport).
> >
> > Thanks.
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Fitzwilliam Python [EMAIL PROTECTED]


Re: S1 Indexed Properties question

2007-10-19 Thread Fitzwilliam . Aaron
In that case, i think you need mapped properties instead of indexed
properties.

read this:
http://struts.apache.org/1.2.9/faqs/indexedprops.html

Mapped properties and javascript need to cooperate together in order to
solve the problem.

Wish this would help.

On 10/20/07, Pavel Sapozhnikov <[EMAIL PROTECTED]> wrote:
>
> Hi I have a question so I need to have a form that will be able to create
> dynamic text boxes. I heard this can be done using indexed properties in
> struts 1. Basically what I need is like a button that will say Add A
> Person
> then when u click on that button two text boxes will come up in one row
> Last
> Name and First Name. So clicking on that button would add this row with
> two
> text boxes but I need this to be utilizing struts indexed properties. If
> anyone could point me in the right direction or maybe have an example of
> such it would be greately appreciated. This indexed properties stuff is
> also
> very new to me.
>
> Thanks
> Pavel
>
> --
> Pavel Sapozhnikov
> xFact, Inc
> [EMAIL PROTECTED]
>



-- 
Fitzwilliam Python [EMAIL PROTECTED]


Re: logic:iterate question

2007-11-25 Thread Fitzwilliam . Aaron
u sure the collection 'books' is not empty?

On 11/26/07, Minghui Yu <[EMAIL PROTECTED]> wrote:
>
> in Action:
> ...
> Set books=bdao.findAllBooks();
>request.setAttribute("books", books);
> ...
>
>
> In JSP:
>
> 
> All Books:
> 
> 
> 
> 
> --
>
> The line ( throws an
> exception:
>
> Root Cause:
> javax.servlet.ServletException: javax.servlet.jsp.JspException: Cannot
> find bean: "book" in any scope
>
> (there is getTitle method for Book)
>
> Any idea why I made mistake?
>
> Thanks,
>
> Thanks & Have a good day,
>
> YU, Minghui
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Fitzwilliam Python [EMAIL PROTECTED]


Re: Exception while using validator framework

2007-06-01 Thread Fitzwilliam . Aaron





Guess you used the wrong version of the "commons-validator.jar".

Luck.

Fitzwilliam
--
北半球的狗几月份掉毛?


Re: Exception while using validator framework

2007-06-01 Thread Fitzwilliam . Aaron

Tell me those things:

1. struts' version u r using;
2. DOCTYPE of both validation.xml and validation-rules.xml

--
北半球的狗几月份掉毛?