Doubts about new project (Struts2 good way to do it?)

2009-06-04 Thread Francisco Exposito
Hello, I want to create a portal with this functionalities, and I don't know if it is possible to do it using Struts2 or what is better for it: 1) User preferences: every user can configure its "window" and maintain its configuration after save preferences and log in again. The user can select

RE: Doubts about new project (Struts2 good way to do it?)

2009-06-05 Thread Francisco Exposito
I've read that jetspeed2 documentation is poor... do you have an example about jetspeed2 + struts2? Then, is it possible to create a project using: Struts2, Jetspeed2, Spring plugin, Hibernate and Sitemesh? or jetspeed is not compatible with the other? And what about the performance? Could it

RE: Doubts about new project (Struts2 good way to do it?)

2009-06-08 Thread Francisco Exposito
find, > i don't know or heard of any. > > Best greetings, > Paweł Wielgus. > > > 2009/6/5 Francisco Exposito : > > > > I've read that jetspeed2 documentation is poor... do you have an example > > about jetspeed2 + struts2? > > > >

RE: Doubts about new project (Struts2 good way to do it?)

2009-06-08 Thread Francisco Exposito
peed2 - No, JSR168 portlets - Yes. You should be aware of the > features and limitations of portlets though. It might not necessarily > be what you're looking for. I suggest digging a bit deeper into the > topic if you're considering using it. > > Nils-H > > On Mon, J

Instance object with spring in struts2

2009-09-24 Thread Francisco Exposito
Hello, I've installed spring plugin fullhibernatecore plugin. Then I have defined in applicationContext Then I have an action class where I define (with getters and setters): private ICountryService countryService; And when the action happens it instances the countryService. Also I have

Dynamic tree

2009-10-12 Thread Francisco Exposito
Hello, anybody knows how to create a dynamic tree with checkboxes and create/delete/rename option? I've found a jquery tree plugin which seems good but I don't know if it can be used with Struts2 (www.jstree.com) Any other option will be appreciated. Thanks.

RE: Sorting with displaytag issue due to theme="ajax"

2008-09-10 Thread Francisco Exposito
30 -0700 > From: [EMAIL PROTECTED] > Subject: RE: Sorting with displaytag issue due to theme="ajax" > To: user@struts.apache.org > > --- On Wed, 9/10/08, Francisco Exposito wrote: > > > > > > Does it work if you remove *this* ? Again--if the div itself isn&

RE: Sorting with displaytag issue due to theme="ajax"

2008-09-12 Thread Francisco Exposito
This is not the issue because I've tried deleting optiontransferselect and stuHover... I think I only need to execute javascript in result page, but I don't know how. I don't know if executeScripts and separateScripts attributes in struts ajax tags could be a solution, but I can't implement bec

Struts2 + jqGrid possible?

2008-09-29 Thread Francisco Exposito
Hi, Is it possible to use jqGrid with struts2? I am trying to use it but I don't know how to do it. In the script we have: jQuery("#list2").jqGrid({ url:'server.php?q=2', datatype: "json", colNames:['Inv No','Date', 'Client', 'Amount','Tax','Total','Notes'], ... ... but what about the u

RE: Struts2 + jqGrid possible?

2008-09-29 Thread Francisco Exposito
":2}],"total":"1"} and it is a JSON string used by jqGrid, as I've read. But I receive an error in the console error: Error: element is not found input file: http://localhost:8080/WebAds/AjaxRetrieveUser.do?page=1&rows=10&sidx=id&sord=desc&nd=1222724

RE: Struts2 + jqGrid possible?

2008-09-30 Thread Francisco Exposito
tion properties, and it > works correctly. > I thing the js that constructs the grid lacks the json mapper. > Tomorrow morning I will send you the code I use for this. > > Si quieres ser más positivo, pierde un electrón > Miguel Ruiz Velasco S. > > > > On Mon,

Nested selects

2008-10-11 Thread Francisco Exposito
Hi, I have to create nested selects for 4 levels. My solution now is one page using 1 s:doubleselect and once selected the two options, going to the next page where I populate another s:doubleselect. It is really poor. Is there any way to populate the four select in the same page? I have s

Session timeout

2008-10-16 Thread Francisco Exposito
Hi, How can I check if my session is timed out and redirect then to the login page? Regards, Paco _ Llega la nueva temporada. Consulta las nuevas tendencias en MSN Estilo http://estilo.es.msn.com/moda/

RE: Session timeout - SOLVED

2008-10-17 Thread Francisco Exposito
I've done it using an interceptor and it works properly. Thanks all! > From: [EMAIL PROTECTED] > To: user@struts.apache.org > Subject: RE: Session timeout > Date: Thu, 16 Oct 2008 12:12:08 -0400 > > > your web.xml contains a session-timeout parameter set e.g. > > 30 > > > from my und

Important ActionContext.getContext().getSession() error

2008-11-12 Thread Francisco Exposito
Hi, I have the next sentence in order to get info from session: Map session = ActionContext.getContext().getSession(); And then i put or get info. It works properly in firefox local and remote and in ie local. But if I try to execute it in a remote ie, I get that session is null. Any help pl

RE: Important ActionContext.getContext().getSession() error

2008-11-20 Thread Francisco Exposito
iferrents browser, and never got this error... but i > > use the following sentence: > > > > Map session = ActionContext.get.. > > > > I dont put this !!! > > > > On Wed, Nov 12, 2008 at 1:53 PM, Francisco Exposito > > <[EMAIL PROTECTED]> wrote: > > &

ExecAndWait interceptor + stream

2009-02-18 Thread Francisco Exposito
Hi, I have to generate a report and while it is being generated I need to show a waiting page. My xml file has: tiles.irgenerarpartes.wait application/zip ficheroZip filename="p

OptionsTransferSelect error

2008-08-07 Thread Francisco Exposito
Hi, I am trying to use the optionsTransferSelect but it shows me the error "moveSelectedOptions is not defined". I have this jsp page and it works if I open this page directly; but I access to this page using ajax. Any idea? <%@ page pageEncoding="ISO-8859-1" %> <%@ taglib prefix="s" uri="/st

OptionsTransferSelect issue

2008-09-01 Thread Francisco Exposito
Hi, I am trying to use the optionsTransferSelect but it shows me the error "moveSelectedOptions is not defined". I have this jsp page and it works if I open this page directly; but I access to this page using ajax in another page. Any idea? <%@ page pageEncoding="ISO-8859-1" %> <%@ ta

RE: OptionsTransferSelect issue

2008-09-01 Thread Francisco Exposito
I have found a work-around. It works properly if I add in the parent page: but it is not "correct" because not all pages need it. Has anybody a better solution? > From: [EMAIL PROTECTED] > To: user@struts.apache.org > Subject: OptionsTransferSelect issue > Date: Mon, 1 Sep 2008 09:46:56 +00

Doubt about form with select and texfields

2008-09-03 Thread Francisco Exposito
Hi, I am trying to create a form where I have a select, and depending of my selection, I make visible or not some others textfields in the same page. How can I do it? I have this (a test showing a radio or another), but it doesn't work...

One form for some tabbedpane panes

2008-09-04 Thread Francisco Exposito
Hi, I want to have two panes in a tabbed pane, each one with its textfields and selects, but only one form including both info panes. Is that possible? I've tried it, but it doesn't work...

Sorting with displaytag issue due to theme="ajax"

2008-09-09 Thread Francisco Exposito
I am trying to show a table with some data using displaytag. I have a main page which contains the div which will contain the table with the data. Therefore I have in the main page . Then in the results page I have the display:table which shows the data. But when I click over a column to sor

RE: Sorting with displaytag issue due to theme="ajax"

2008-09-09 Thread Francisco Exposito
ot; /> <script src="src/javascript/stuHover.js" type="text/javascript"> CODE TO GO TO THE TABLE PAGE INSIDE THE DIV divContenedor > Date: Tue, 9 Sep 2008 04:14

RE: Sorting with displaytag issue due to theme="ajax"

2008-09-10 Thread Francisco Exposito
h firebug, all js are loaded (in the menu page and in the test page). > To: user@struts.apache.org> From: [EMAIL PROTECTED]> Subject: Re: Sorting > with displaytag issue due to theme="ajax"> Date: Tue, 9 Sep 2008 18:08:57 > -0400> > Francisco Exposito wrote:> > Also I've tried to use displayTagAjax. > In order to use it, I define in the main page:> > > >

RE: Sorting with displaytag issue due to theme="ajax"

2008-09-10 Thread Francisco Exposito
n don't use > the tag, as with the ajax theme they're really designed for > something else--just use HTML divs. I'd try that first, then start to isolate > the problem one step at a time. > > Dave > > --- On Wed, 9/10/08, Francisco Exposito wrote: > > I'v

RE: Sorting with displaytag issue due to theme="ajax"

2008-09-10 Thread Francisco Exposito
ser@struts.apache.org > > > > > > There are too many differences between your two > > examples. You should build up the functionality from one to > > another until it breaks and start from there. > > > > > > One thing I'd comment is that if your d

Struts+uitags+ajax

2007-01-12 Thread Francisco Exposito Aguilera
Hi all, Is it possible to add ajax inside uitags tags?? I am trying to create a page in struts including uitags and ajax, but it doesn't work. And I don't know if what I'm trying to do is possible or not. I have a form with: 1. An html:select, which shows some access control list onchange="

Exceptions design

2007-02-04 Thread Francisco Exposito Aguilera
Hello all, I have a doubt about how design the exceptions in my struts project. I have the action classes and the bean classes. The action classes execute methods from bean classes, which connect to the database. Supposing I am trying to create a user in one of my web pages and the user I wa

Re: Exceptions design

2007-02-04 Thread Francisco Exposito Aguilera
From: Dave Newton <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: Struts Users Mailing List Subject: Re: Exceptions design Date: Sun, 4 Feb 2007 09:41:23 -0800 (PST) --- Francisco Exposito Aguilera wrote: > What is the best way to show the user this sql er

Re: Exceptions design

2007-02-04 Thread Francisco Exposito Aguilera
Reply-To: "Struts Users Mailing List" To: Struts Users Mailing List Subject: Re: Exceptions design Date: Sun, 4 Feb 2007 09:41:23 -0800 (PST) --- Francisco Exposito Aguilera wrote: > What is the best way to show the user this sql error? I'm skeptical that you'd want to sho

File Upload design doubt

2007-02-18 Thread Francisco Exposito Aguilera
Hello all, I am trying to upload files, but I have some doubts… As I´ve read, there are two typical ways to do that: 1.Using StrutsFileUpload MyActionForm myForm = (MyActionForm)form; FormFile myFile = myForm.getMyFile(); String fileName= myFile.getFileName()

Re: File Upload design doubt

2007-02-18 Thread Francisco Exposito Aguilera
re privé ou confidentiel. Si vous n'êtes pas le destinataire de ce document, nous vous signalons qu'il est strictement interdit de le diffuser, de le distribuer ou de le reproduire. - Original Message - From: "Francisco Exposito Aguilera" <[EMAIL PROTECTED]> To:

Re: File Upload design doubt

2007-02-19 Thread Francisco Exposito Aguilera
;il est strictement interdit de le diffuser, de le distribuer ou de le reproduire. - Original Message - From: "Francisco Exposito Aguilera" <[EMAIL PROTECTED]> To: Sent: Sunday, February 18, 2007 3:36 PM Subject: Re: File Upload design doubt > Yes, I have commons-fi

Show info from collection by levels and check data type

2007-03-31 Thread Francisco Exposito Aguilera
Hi all, In the jsp page I sent a collection which contains integer and string values: [1, "A", 2, "B", 2, "C", 1, "D", 2 , "E", 3, "F", 3, "G"] In the page I want to obtain the data (strings of the collection) in the correct level (integers of the collection) A B C D E F G

RE: Show info from collection by levels and check data type

2007-03-31 Thread Francisco Exposito Aguilera
//End if ¿Is this idea correct? If yes, how can I know if the actual value of the collection is an integer or a string? If my idea is not correct, could you guide me??? Thanks a lot Regards, Paco From: "Francisco Exposito Aguilera" <[EMAIL PR

Re: Show info from collection by levels and check data type

2007-03-31 Thread Francisco Exposito Aguilera
Really easy with your help!!! Thanks a lot Laurie! From: Laurie Harper <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: user@struts.apache.org Subject: Re: Show info from collection by levels and check data type Date: Sat, 31 Mar 2007 16:22:29 -0400 Francisco E

Show error in parent page

2007-04-11 Thread Francisco Exposito Aguilera
Hi all, I have a jsp with a download button. When I click on that button, a new web page using javascript is opened: onclick="window.open('http://server:8080/FileServer/Menus/Search/selectDownloadType.jsp','blank','width=400,height=300,scrollbars=no')">key="button.download"/> In the ne

Can't obtain object in POJO using AJAX and problem with validation

2008-08-02 Thread Francisco Exposito Aguilera
Hi, I define in my menu.jsp page two . On the left the menu which always appears. On the right, the part which is updated after every action. Then I have another jsp with a form, the xml validation file and the POJO. The action definition is: /src/jsp/crear/usuarioCrear.jsp

RE: Can't obtain object in POJO using AJAX and problem with validation

2008-08-02 Thread Francisco Exposito Aguilera
. If so, set the > showLoadingText="false" attribute on the submit button and this problem > is resolved. (you can verify this is the problem by testing in Firefox > before making the change) > > Hope that helps, > Jeromy Evans > > Francisco Exposito Aguiler

Error with c:for Each and c:out

2006-07-26 Thread Francisco Exposito Aguilera
Hi all, I am trying to show the results of a search from a database into a jsp page, but it doesn't work. If I add in the jsp file: where listarEmpresas is the parameter where is saved the Collection and Nombre is one of the fields from OTDEmpresas: session.setAttribute("listarEmpr

RE: Error with c:for Each and c:out

2006-07-26 Thread Francisco Exposito Aguilera
e() in the class project.struts.OTD.OTDEmpresa, try with a lower-case 'n'. > -Original Message----- > From: Francisco Exposito Aguilera [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 26, 2006 10:35 AM > To: user@struts.apache.org > Subject: Error with c:for Eac

html:optionsCollection problem

2006-08-01 Thread Francisco Exposito Aguilera
Hi, I have a Bean: package project.struts.General; import java.util.ArrayList; import java.util.Collection; import java.io.*; public class Prueba implements Serializable { private Collection empresas=new ArrayList(); public Collection getEmpresas() { empresas.add("string1");

Re: html:optionsCollection problem

2006-08-01 Thread Francisco Exposito Aguilera
ly also want a field named "toSelect", with accessor and mutators in your form bean, to hold the selected value. On 8/1/06, Francisco Exposito Aguilera <[EMAIL PROTECTED]> wrote: Hi, I have a Bean: package project.struts.General; import java.util.ArrayList; import java.util.Collectio

Re: html:optionsCollection problem

2006-08-03 Thread Francisco Exposito Aguilera
mp;t=008283 Romu <[EMAIL PROTECTED]> wrote: where pays is the property of your form 2006/8/1, Francisco Exposito Aguilera : > > I´ve added it into a but I obtain the > error > > Cannot create iterator for [EMAIL PROTECTED] > > I´ve modified some code because I want

html:link and collection

2006-08-05 Thread Francisco Exposito Aguilera
Hi, I have a jsp where I show some fields of a search. If I click on every row, I must be redirected to a new page with all info of that row. As I read weeks ago at this mailing list, it should be done with html:link, but I have some problems... The DispatchAction searchUsers which "show" th

Died with html:link

2006-09-08 Thread Francisco Exposito Aguilera
Hi, I have a jsp page where I show a table with some fields of a session collection (listUsers). In every row of the table I want to call a new jsp page in order to show all fields. value='${lee.lastName}'/> value='${lee.name}'/> action="searchUser.do?parametro=edi

Re: Error loading Collection in form

2006-09-26 Thread Francisco Exposito Aguilera
Hi, I've solved the issue this morning. My DTOGroup.java was not correctly defined. I had public class DTOGroups extends DynaValidatorForm implements Serialize and the extends DynaValidatorForm is not correct -obvious I don't remember to put it there :) From: "Thomas Joseph" <[EMAIL