Re: logic:iterate not populating the values on submit

2008-12-24 Thread Yayo
. ^^ Happy new year! -- *Yayo* http://yayocaturas.blogspot.com eduy...@gmail.com -- On Wed, Dec 24, 2008 at 7:43 PM, Prasanth Nair wrote: > Hi, > I need a urgent help. Could someone respond to > > > http://saloon.javaranch.com/cgi-bin/ubb/

Re: How to change the param name for paging in the display:table tag

2008-12-07 Thread Yayo
ey're really good. ^g^ SalĂș. -- *Yayo* http://yayocaturas.blogspot.com [EMAIL PROTECTED] -- On Wed, Oct 29, 2008 at 12:04 AM, Juanjo Cuadrado <[EMAIL PROTECTED]>wrote: > Hi, > > I have a Struts2 application and I'm using the display:table t

Struts 2 action not posting

2008-12-07 Thread Yayo
Hi, I donno if you can remember this problem I posted once http://webui.sourcelabs.com/struts/mail/user/threads/Action_not_posting.meta Well... I "solved" it the last time taking the div where I was receiving the resulting response and putting it into the s:form I was sending to the server... An

Re: Struts2 cancel button with ajax theme does not execute method (bug?)

2008-05-12 Thread Yayo
I don't have scripts in my results but that don't changes the fact that the action configured in the cancel button never gets executed... On Mon, May 12, 2008 at 4:57 AM, Jeromy Evans < [EMAIL PROTECTED]> wrote: > Yayo wrote: > >> Hi, >> >> i'd like

Struts2 cancel button with ajax theme does not execute method (bug?)

2008-05-11 Thread Yayo
Hi, i'd like to discuss with you for in case you've found it before. I've got a div ... that I fill with my ajax results so I present a list inside of the result div, then user clicks on an element and the response goes inside for editing. Then in the edition details I've added two buttons, a su

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 >

Struts2 and tiles NullpointerExxception

2008-05-01 Thread Yayo
I simply can't find anything wrong in my config, I've got a simple app with a login action returning "success" this is my Struts.xml file: working.page and this is my tiles.xml:

Re: [OT] Struts - Spring - hibernate and lazy initialization

2008-04-02 Thread Yayo
re your dependencies, you probably need to > go through Spring to setup the Hibernate session for the worker thread. The > Spring forums are probably the best place to seek advice with that. > > L. > > > Yayo wrote: > > > Sorry, more explanation is needed... I've got to

Re: Struts - Spring - hibernate and lazy initialization

2008-04-02 Thread Yayo
.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:516) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:566) at sun.reflect.NativeMe

Struts - Spring - hibernate and lazy initialization

2008-04-02 Thread Yayo
Hi, I'm developing a struts - spring based application. I've got actions-delegates-managers and daos and I use the open session in view filter from hibernate. In some cases I've got to return lazy results to the user so I've got to launch a new worker thread and taht new one doesn't have an hib

Re: ajax - how to remove my form after the user clicked submit.

2008-04-01 Thread Yayo
in teh callback of your ajax call add document.getElementById("divOfYourFormID").innerHTML = "new content" your action must have forwarded you to the "new content" a text with a message like "everything's fine!" ^g^ On Tue, Apr 1, 2008 at 11:23 PM, xianwinwin <[EMAIL PROTECTED]> wrote: > > Hi the

Re: Struts 1.3 + Spring -> "No WebApplicationContext found: no ContextLoaderListener registered?"

2008-04-01 Thread Yayo
ED]> wrote: > Have you added the contextLoaderListener in web.xml? > > > Yayo wrote: > > > Hi and thanks in advance! > > > > I've got a struts - spring based application and a declared bean wich > > implements both ApplicationContextAware and ServletContex

Struts 1.3 + Spring -> "No WebApplicationContext found: no ContextLoaderListener registered?"

2008-04-01 Thread Yayo
Hi and thanks in advance! I've got a struts - spring based application and a declared bean wich implements both ApplicationContextAware and ServletContextAware. I debug the code and both setters receive data but when I try to use the servletContext it spites me this error: 21:15:56,031 ERROR Cont

Re: i18n

2008-01-24 Thread Yayo
hi, I've googled a bit and found thiz: session.setAttribute("org.apache.struts.action.LOCALE", *new* Locale("en")); http://forum.java.sun.com/thread.jspa?threadID=573861&messageID=2854271 http://www.jguru.com/faq/view.jsp?EID=1057614 ^g^ 2008/1/24 volkan tokmak <[EMAIL PROTECTED]>: > hi al

Re: [S2] rendering a matrix (like a chessboard)

2008-01-07 Thread Yayo
create a custom tag for the board rendering ^g^ On Jan 7, 2008 12:45 PM, GF <[EMAIL PROTECTED]> wrote: > I have matrix of objects.. somekind like ChessBoardPosition[][] > I want to render it using Struts2. > > You can imagine my matrix as a Chessboard.. > I use 2 iterators, to iterate over column

Re: How to redirect error message

2007-12-09 Thread Yayo
Errors are stored in a request scope attribute and after a redirect they're lost because a new request is launched by the client browser. You must explicitly (by code) store them in a session attribute to get them in the second request. ^^ On Dec 9, 2007 3:18 PM, Edgaras <[EMAIL PROTECTED]> wrote

Re: Preventing validation when form is first displayed

2007-08-13 Thread Yayo
I use to have a loadAction for each page and the real action to post to... Maybe I didn't catch the problem, do you use that scheme? On 8/13/07, Session A Mwamufiya <[EMAIL PROTECTED]> wrote: > > Hi, I have an action that is validateable and uses the validate method to > ensure that an element is

Re: How exactly It happens !!!!!!!

2007-08-13 Thread Yayo
Hi Prashant I recomend you to read the starting guide, it comes with the struts bundle and explains everything you've asked, you can read it online here: http://struts.apache.org/1.3.9/userGuide/index.html On 8/13/07, Prashant Baviskar <[EMAIL PROTECTED]> wrote: > > Hi, > > I am new to struts. >

Re: [OT] Re: Struts tile and other tag includes

2007-08-12 Thread Yayo
s, JSTL, and other custom tag libraries were in use. > > Adding a single include directive (instead of a dozen or more) to each of > several hundred JSPs is a much cleaner and more maintainable solution. > > I highly recommend reading (or re-reading) the JSP 2.1 specification - >

Re: [OT] Re: Struts tile and other tag includes

2007-08-12 Thread Yayo
ld use the word "discouraged" ^g^ On 8/12/07, Yayo <[EMAIL PROTECTED]> wrote: > > yeah, I know, but we can use cobol to program cgi instead of java too > > On 8/12/07, Dave Newton <[EMAIL PROTECTED] > wrote: > > > > Then how do you figure it's

Re: [OT] Re: Struts tile and other tag includes

2007-08-12 Thread Yayo
yeah, I know, but we can use cobol to program cgi instead of java too On 8/12/07, Dave Newton <[EMAIL PROTECTED]> wrote: > > Then how do you figure it's been deprecated? It's the > only thing that will allow doing what the original > post was talking about. > >

Re: [OT] Re: Struts tile and other tag includes

2007-08-12 Thread Yayo
I know! On 8/12/07, Dave Newton <[EMAIL PROTECTED]> wrote: > > --- Yayo <[EMAIL PROTECTED]> wrote: > > think that's a bad solution, the has been > > deprecated by the use of tiles and the like to > > compose pages... and even with that I don't think

Re: Struts tile and other tag includes

2007-08-12 Thread Yayo
think that's a bad solution, the has been deprecated by the use of tiles and the like to compose pages... and even with that I don't think it will work... On 8/11/07, Martin Gainty <[EMAIL PROTECTED]> wrote: > > Jim- > > The simplest answer is to put all your tlds in an TLDInclude.jsp > then cal

Re: Struts tile and other tag includes

2007-08-11 Thread Yayo
I think you're wrong but doing well ^g^ You need to include in each page the references to the tag-libs you're using and I would not call that "the code" of the page, maybe the header or the include section ^^ On 8/11/07, Jim Reynolds <[EMAIL PROTECTED]> wrote: > > I have something like this: This