RE: confirm subscribe to user@struts.apache.org

2007-10-22 Thread Odelya Glick
Add it -Original Message- From: Martin Wilmes [mailto:[EMAIL PROTECTED] Sent: Monday, October 22, 2007 3:48 PM To: user@struts.apache.org; [EMAIL PROTECTED] che.org Subject: Re: confirm subscribe to user@struts.apache.org On Monday 22 October 2007 15:39:49 [EMAIL PROTECTED] wrote: Hi!

OT: displaytag remember sort config ..

2007-10-22 Thread Giovanni Azua
hi all, I just put a displaytag table within a S2 AJAX DIV that refreshes every X seconds. Now the problem is that I would like displaytag to remember the last sorting options so e.g. the auto refresh not only displays the new data but also resorts according to the last known sorting criteria

[S1] Ping another page from within a struts application

2007-10-22 Thread enthucoder
Hi, I am not sure if this a struts question exactly, but neverthless I need help :). I am trying to integrate 2 apps, app 1 on platform 1 (non JEE) and app2 on JEE based. I have requirement where, i need to send session id of app2 to a listener page in app1 (i.e non jee based one and i am

Re: Images

2007-10-22 Thread Martin Uhlir
Hi, when the page is loaded for the first time, there is such tag in your html page img src=/hapandharpur/img/logo.jpg;jsessionid=43E71BFE7F7B323A7437A0011F5A0FE9 may be there is problem with the jsessionid=43E71BFE7F7B323A7437A0011F5A0FE9 because no such file

How to get initialized at startup

2007-10-22 Thread Brian Hawkins
I'm pretty new to Struts2. I have some code I need to initialize when the servlet comes up for the first time. How do I do that when I'm using struts and I do not have my own servlet? Do I create a servlet just for this purpose? Thanks Brian

Re: How to get initialized at startup

2007-10-22 Thread Piero Sartini
I have some code I need to initialize when the servlet comes up for the first time. How do I do that when I'm using struts and I do not have my own servlet? Do I create a servlet just for this purpose? If you need something that is initialized when your webapp starts, I would suggest to

Re: about Struts 2.0.9 portlet example ...

2007-10-22 Thread Guillaume Bilodeau
We will soon start a portal project and we're evaluating the technologies available to us. Is Struts2 support for portlets ready for primetime, or should we use something else until it's stabilized? Cheers, GB Nils-Helge Garli wrote: Hi! If you're thinking of the struts2-portlet

Re: about Struts 2.0.9 portlet example ...

2007-10-22 Thread Nils-Helge Garli Hegvik
The portlet support in the next 2.0.x and 2.1.x has been improved a lot. You can browse the changelogs and remaining issues in the issue tracker. It does not include Ajax support, but you can add that yourself. I know of several projects that are using it in production already. Nils-H On

how rename the upload file in struts1 ?

2007-10-22 Thread MavenMan
I want to rename upload file in my action .I code : FormFile file=form.getUserphoto(); file.setFileName(String.valueOf(date.getTime())); but error is :javax.servlet.ServletException: The setFileName() method is not supported. what can I do ? thanks in advance ! -- View this message in

Re: Struts TLD Parse Error

2007-10-22 Thread Paul Benedict
Are you sure you're using a 1.1 jar? On 10/18/07, Peters, John [EMAIL PROTECTED] wrote: Good morning, Using Struts 1.1 running on WebSphere 6.1. Any ideas on the error below? I'm getting this same error for struts-html.tld, struts-nested.tld and struts-bean.tld. Thanks in advance for any

Re: Case insensitive action mappings

2007-10-22 Thread Paul Benedict
I believe I tried this once but there were too many places within the Controller that did String.equals ( ) somewhere else. However, I will make a ticket to accomplish this in 1.4 Paul On 10/19/07, Cool Coder [EMAIL PROTECTED] wrote: I think this idea is cool. Thanks. But that does not

[S2]ActionSupport set parameters question.

2007-10-22 Thread Eugen Stoianovici
I'm having trouble understanding how ActionSupport works. I've extended ActionSupport to handle a form page. If the from contains errors (ie: i have an amount field mapped like s:text name=invoice.amount/ and the user types in asdf) the action mapped to result type execute is never called and,

Re: [S2]ActionSupport set parameters question.

2007-10-22 Thread David Harland
Add something like this to your action public void validate() { User user = getUser(); if (StringUtils.isBlank(user.getName())) { addActionError(getText(user.name.empty)); } if (StringUtils.isBlank(user.getAddress())) { addActionError(getText(user.address.empty)); } } Have a

Re: [S2]ActionSupport set parameters question.

2007-10-22 Thread Eugen Stoianovici
Thank you, it's just what i needed David Harland wrote: Add something like this to your action public void validate() { User user = getUser(); if (StringUtils.isBlank(user.getName())) { addActionError(getText(user.name.empty)); } if (StringUtils.isBlank(user.getAddress())) {

FW: Why does update action fire on load

2007-10-22 Thread abdul jabbar zul jami
I have not yet solved the problem. There is no img tag with an empty src .Pls help. regards Zul Jami From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: RE: Why does update action fire on loadDate: Tue, 16 Oct 2007 04:42:27 + Thanks for the reply.I added the update method only now.But when I

Why does update action fire on load

2007-10-22 Thread zul;jami
Still I am getting the error, my execute also fires update on load. There is no img tag with empty src attribute -- View this message in context: http://www.nabble.com/Why-does-update-action-fire-on-load-tf4670323.html#a13341641 Sent from the Struts - User mailing list archive at Nabble.com.

Re: JSON RPC

2007-10-22 Thread Martin Gainty
See you wednesday nite at fenway http://boston.redsox.mlb.com/index.jsp?c_id=bos Martin-- - Original Message - From: Ted Husted [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Friday, October 19, 2007 7:45 AM Subject: Re: JSON RPC I've been doing some work

Re: confirm subscribe to user@struts.apache.org

2007-10-22 Thread Martin Wilmes
On Monday 22 October 2007 15:39:49 [EMAIL PROTECTED] wrote: Hi! This is the ezmlm program. I'm managing the user@struts.apache.org mailing list. I'm working for my owner, who can be reached at [EMAIL PROTECTED] To confirm that you would like [EMAIL PROTECTED] added to the user