sx:submit and s:file don't work together

2009-09-14 Thread Ignacio Enriquez
Hi. This is a extrange behavior when using the file tag s:submit works but sx:submit does not. Actually sx:submit does nothing. does not even return error. nothing happens.(the button is pressed but nothing happens) Why the following does not work? (the code is short ) s:form method=post

setting sx:submit targets conditionally?

2009-09-10 Thread Ignacio Enriquez
Hey... I am just starting struts. Is it possible set targets attribute of sx:submit conditionally? For example, if my action return error go back and show error ( in s:actionerror) inside the parentDiv ( sx:submit targets=parentDiv ) if success, I want a new completely page, so no targets.

creating dynamic trees (using sx:tree tag)

2009-09-09 Thread Ignacio Enriquez
Hi, I Never used trees before, so... I would like to have a ROOT with x sons ( no grandsons at all ) How can I create this? I thought that doing children.add(node) will not create a son but a brother. I have this, but this is creating a ROOT, a son, a grandson, grand-grandson, etc (4

Re: how to get the result of a form inside of a sx:tabbedpanel div?

2009-09-08 Thread Ignacio Enriquez
never liked that much Eclipse and maven in windows xp cmd is so frustrating! On Tue, Sep 8, 2009 at 11:06 PM, Dave Newtonnewton.d...@yahoo.com wrote: Ignacio Enriquez wrote: Martin, Could you be more specific? *sigh* I think that what I need is not update is actually reload a new content

Re: how to get the result of a form inside of a sx:tabbedpanel div?

2009-09-08 Thread Ignacio Enriquez
not tried StrutsBuilder yet, but I wish it gets popular. I never liked that much Eclipse and maven in windows xp cmd is so frustrating! On Tue, Sep 8, 2009 at 11:06 PM, Dave Newtonnewton.d...@yahoo.com wrote: Ignacio Enriquez wrote: Martin, Could you be more specific? *sigh* I think

is possible write html inside ajax tag sx:treenode ?

2009-09-07 Thread Ignacio Enriquez
/sx:treenode /sx:tree but dinamically. Any advice is very appreciated. Thanks Ignacio -- 慶應義塾大学大学院 理工学研究科 開放環境科学専攻 斎藤英雄研究室 修士1年 Guillermo Ignacio Enriquez G. e-mail :  nach...@hvrl.ics.keio.ac.jp

how to get the result of a form inside of a sx:tabbedpanel div?

2009-09-07 Thread Ignacio Enriquez
Hi. How can I get the result of a form that is originally inside a sx:tabbedpanel sx:div inside of the same sx:div? probably the answer is ajax calls, but I don't know ajax calls and I am in kind of a hurry. (So no time to learn very difficult ajax stuff) I would like to have the results inside

RE: how to get the result of a form inside of a sx:tabbedpanel div?

2009-09-07 Thread Ignacio Enriquez
, e-mail: user-h...@struts.apache.org With Windows Live, you can organize, edit, and share your photos. Click here. -- 慶應義塾大学大学院 理工学研究科 開放環境科学専攻 斎藤英雄研究室 修士1年 Guillermo Ignacio Enriquez G. e-mail :  nach...@hvrl.ics.keio.ac.jp

getting results inside a panel of sx:tabbedpanel

2009-09-04 Thread Ignacio Enriquez Gutierre
Hi, I am quite new to struts. (I post this question in stackoverflow.com also without any answer yet... ) I have a sx:tabbedpanel with three s:divs inside of it. <sx:tabbedpanel id=mainContainer> <sx:div label=View Files cssStyle=height:200px;margin:20%; href=ShowFiles.action>