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.

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 bean id=countryService class=com.virtua.market.service.dao.CountryDaoService/ Then I have an action class where I define (with getters and setters): private ICountryService

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

2009-06-08 Thread Francisco Exposito
of any. Best greetings, Paweł Wielgus. 2009/6/5 Francisco Exposito fcoexpos...@hotmail.com: 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

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

2009-06-08 Thread Francisco Exposito
know or heard of any. Best greetings, Paweł Wielgus. 2009/6/5 Francisco Exposito fcoexpos...@hotmail.com: 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

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

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

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: action name=CrearGenerarPartes method=crearParte class=ads.web.action.PartesAction interceptor-ref name=defaultStack/ interceptor-ref name=execAndWait

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

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

Important ActionContext.getContext().getSession() error

2008-11-12 Thread Francisco Exposito
Hi, I have the next sentence in order to get info from session: MapString,String 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

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. session-config

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/

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

RE: Struts2 + jqGrid possible?

2008-09-30 Thread Francisco Exposito
. 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, Sep 29, 2008 at 16:50, Francisco Exposito [EMAIL PROTECTED] wrote: I am trying

RE: Struts2 + jqGrid possible?

2008-09-29 Thread Francisco Exposito
=1222724640660_search=false Line: 1 To: user@struts.apache.org From: [EMAIL PROTECTED] Subject: Re: Struts2 + jqGrid possible? Date: Mon, 29 Sep 2008 16:22:00 -0400 Francisco Exposito wrote: Hi, Is it possible to use jqGrid with struts2? I am trying to use it but I don't know how to do

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

RE: Sorting with displaytag issue due to theme=ajax

2008-09-10 Thread Francisco Exposito
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:script src=src/javascript/displayTagAjax.js type=text/javascript/ script src=src/javascript/jquery.js type=text/javascript/But when I reload

RE: Sorting with displaytag issue due to theme=ajax

2008-09-10 Thread Francisco Exposito
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've changed the order and now that error doesn't appear, but it doesn't work yet... I have done a test

RE: Sorting with displaytag issue due to theme=ajax

2008-09-10 Thread Francisco Exposito
, 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've changed the order and now that error doesn't appear

RE: Sorting with displaytag issue due to theme=ajax

2008-09-10 Thread Francisco Exposito
with displaytag issue due to theme=ajax To: user@struts.apache.org --- On Wed, 9/10/08, Francisco Exposito wrote: s:div id=divContenedor theme=ajax /s:div Does it work if you remove *this* s:div...? Again--if the div itself isn't doing anything but is just a placeholder there's no reason to use

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 s:head theme=ajax. Then in the results page I have the display:table which shows the data. But when I click

RE: Sorting with displaytag issue due to theme=ajax

2008-09-09 Thread Francisco Exposito
: Sorting with displaytag issue due to theme=ajax To: user@struts.apache.org --- On Tue, 9/9/08, Francisco Exposito wrote: But when I reload this page, I receive the error jQuery is not defined and the error seems to be in the line of displayTagAjax.js: jQuery(function

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... s:form id=crearContrato action=CrearContrato s:tabbedPanel id=test2

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... tds:select name=contrato.tipoContrato label=Tipo

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 % %@ taglib

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: script src=src/javascript/optiontransferselect.js type=text/javascript/ but it is not correct because not all pages need it. Has anybody a better solution? From: [EMAIL PROTECTED] To: user@struts.apache.org

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=/struts-tags

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 s:div. 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: action name=CrearUsuarioAction

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

2008-08-02 Thread Francisco Exposito Aguilera
this is the problem by testing in Firefox before making the change) Hope that helps, Jeromy Evans Francisco Exposito Aguilera wrote: Hi, I define in my menu.jsp page two s:div. On the left the menu which always appears. On the right, the part which is updated after every action. Then I have

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: html:submit property=accion styleClass=boton

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

2007-03-31 Thread Francisco Exposito Aguilera
is not correct, could you guide me??? Thanks a lot Regards, Paco From: Francisco Exposito Aguilera [EMAIL PROTECTED] Reply-To: Struts Users Mailing List user@struts.apache.org To: user@struts.apache.org Subject: Show info from collection by levels and check data type Date: Sat, 31 Mar 2007 10:32

Re: File Upload design doubt

2007-02-19 Thread Francisco Exposito Aguilera
le distribuer ou de le reproduire. - Original Message - From: Francisco Exposito Aguilera [EMAIL PROTECTED] To: user@struts.apache.org Sent: Sunday, February 18, 2007 3:36 PM Subject: Re: File Upload design doubt Yes, I have commons-fileupload-1.1.1.jar and its dependent jar file commons

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=

Re: File Upload design doubt

2007-02-18 Thread Francisco Exposito Aguilera
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: user@struts.apache.org Sent: Sunday, February 18, 2007 2:20 PM

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

Re: Exceptions design

2007-02-04 Thread Francisco Exposito Aguilera
From: Dave Newton [EMAIL PROTECTED] Reply-To: Struts Users Mailing List user@struts.apache.org To: Struts Users Mailing List user@struts.apache.org 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

Re: Exceptions design

2007-02-04 Thread Francisco Exposito Aguilera
-To: Struts Users Mailing List user@struts.apache.org To: Struts Users Mailing List user@struts.apache.org 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

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

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. c:forEach items='${listUsers}' var='lee' tr td class=tablaFilaVariosResultados1c:out

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 the

Re: html:optionsCollection problem

2006-08-03 Thread Francisco Exposito Aguilera
=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 to obtain a select with all info

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
, Francisco Exposito Aguilera [EMAIL PROTECTED] wrote: 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

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: c:forEach items='${listarEmpresas}' var='lee' trtdc:out value='${lee.Nombre}'//td/tr /c:forEach where listarEmpresas is the parameter where is saved the

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

2006-07-26 Thread Francisco Exposito Aguilera
public String getNombre() in the class project.struts.OTD.OTDEmpresa, try c:out value='${lee.nombre}'/ 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