struts2 with beehive and jsf?

2007-01-28 Thread Simons Kevin
All, I want to make a switch to struts 2 but I was wondering if struts 2 can be integrated with beehive? And if so, do I gain productivity or performance or is it better to kick off with Struts2 and JSF only? Regards, -

Re: [S2] Putting a single html input type=text

2007-01-28 Thread Omer Basar
Thanks Dave.

Dynamically redirect to a page

2007-01-28 Thread Omer Basar
Hi all, I have another problem. I want to redirect my action to a link but the link must be gathered from database and it can be chosen randomly. So I cannot staticly put a definition for this action in struts.xml . How can I do this. (Example : When I press a button I forward it to ClickAction

Re: [S2] Putting a single html input type=text

2007-01-28 Thread Dariusz Wojtas
s:textfield name=propName theme=simple/ If you use theme 'ajax' (eg. textfield nested within form with theme='ajax') then it will generate a row with 2 cells, one with label, one with the input field. The bonus of 'ajax' is that it automatically generates validation error mesage on the field

Interface question

2007-01-28 Thread Martin Gainty
Good Morning All- I saw this yesterday and thought this could never work (but then again maybe there is a way) package fu.bar; class HttpSource { RequestHandler reqHandler; }; package fu.bar.*; public class JDOMHttpSource extends HttpSource { /**Constructor for JDOMHttpSource**/ public

Re: Dynamically redirect to a page

2007-01-28 Thread Tom Schneider
http://marc.theaimsgroup.com/?l=struts-userm=116826570319911w=2, Omer Basar wrote: Hi all, I have another problem. I want to redirect my action to a link but the link must be gathered from database and it can be chosen randomly. So I cannot staticly put a definition for this action in

Re: Dynamically redirect to a page

2007-01-28 Thread Anjali
On 1/28/07, Omer Basar [EMAIL PROTECTED] wrote: Hi all, I have another problem. I want to redirect my action to a link but the link must be gathered from database and it can be chosen randomly. So I cannot staticly put a definition for this action in struts.xml . How can I do this. (Example :

Re: Interface question

2007-01-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin, Martin Gainty wrote: package fu.bar.*; Well, that certainly won't compile. I'll assume you meant package fu.bar;. package fu.bar; class HttpSource { RequestHandler reqHandler; }; public class JDOMHttpSource extends HttpSource {

Re: Interface question

2007-01-28 Thread Mauricio Garavaglia
Seems unclear to me. Please try to ask it in another way. Regards. Mauricio Garavaglia Martin Gainty wrote: Good Morning All- I saw this yesterday and thought this could never work (but then again maybe there is a way) package fu.bar; class HttpSource { RequestHandler reqHandler; }; package

s:datetimepicker not working

2007-01-28 Thread xiao jie
Hi : I seem to have problem with the s:datetimepicker tag in my struts 2 application, I used the quickstart project as a template and starting point for my project, but when I include a s:datetimepicker in a jsp page,it says No tag datetimepicker defined in tag library imported with prefix s.

Re: s:datetimepicker not working

2007-01-28 Thread Dariusz Wojtas
Which version of S2 are you using? There were changes in this area in the last month. You need to use 2.0.3, or preferably 2.0.4 to use it this way http://people.apache.org/builds/struts/nightlies/2.0.x/ Dariusz Wojtas - To

Re: Interface question

2007-01-28 Thread Martin Gainty
Without declaring with implements as in ClassName implements InterfaceName any static invocation in the class such as the example illustrated below will be invalid.. Saludos desde EEUU! Martín --- This e-mail message

Re: s:datetimepicker not working

2007-01-28 Thread xiao jie
hi: I am using struts 2 2.0.1 but how do I update it to 2.0.4? thanks a lot. Pam - Original Message From: Dariusz Wojtas [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Sunday, January 28, 2007 7:58:20 PM Subject: Re: s:datetimepicker not working Which

Re: s:datetimepicker not working

2007-01-28 Thread Dariusz Wojtas
Look at the link I have given you :) http://people.apache.org/builds/struts/nightlies/2.0.x/ These are the nightly builds for Struts 2. Download struts core, struts api + the plugins you need - only a set from the last day. Alternatively checkout the sources from the repository and make a

Re: s:datetimepicker not working

2007-01-28 Thread xiao jie
Hi Dariusz: thanks a lot!! Pam - Original Message From: Dariusz Wojtas [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Sunday, January 28, 2007 8:21:43 PM Subject: Re: s:datetimepicker not working Look at the link I have given you :)

[OT] Re: Interface question

2007-01-28 Thread Dave Newton
--- Martin Gainty [EMAIL PROTECTED] wrote: Without declaring with implements as in ClassName implements InterfaceName any static invocation in the class such as the example illustrated below will be invalid.. Static invocation? There's no static invocation in the code you provided.

Re: Dynamically redirect to a page

2007-01-28 Thread Omer Basar
Thanks for your help Tom.

Element type bean must be declared

2007-01-28 Thread xiao jie
-2.0.4-SNAPSHOT-20070128.jar!/struts-default.xml Stacktraces jar:file:/C:/Documents%20and%20Settings/st.Pamann/project3/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/webapps/quickstart/WEB-INF/lib/struts2-core-2.0.4-SNAPSHOT-20070128.jar!/struts-default.xml:8:69 com.opensymphony.xwork2

Re: Element type bean must be declared

2007-01-28 Thread Don Brown
a lot! Pam Element type bean must be declared jar:file:/C:/Documents%20and%20Settings/st.Pamann/project3/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/webapps/quickstart/WEB-INF/lib/struts2-core-2.0.4-SNAPSHOT-20070128.jar!/struts-default.xml Stacktraces jar:file:/C:/Documents%20and

Re: Element type bean must be declared

2007-01-28 Thread Martin Gainty
/org.eclipse.wst.server.core/tmp0/webapps/quickstart/WEB-INF/lib/struts2-core-2.0.4-SNAPSHOT-20070128.jar!/struts-default.xml Stacktraces jar:file:/C:/Documents%20and%20Settings/st.Pamann/project3/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/webapps/quickstart/WEB-INF/lib/struts2-core-2.0.4-SNAPSHOT-20070128.jar

Re: Element type bean must be declared

2007-01-28 Thread xiao jie
jar:file:/C:/Documents%20and%20Settings/st.Pamann/project3/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/webapps/quickstart/WEB-INF/lib/struts2-core-2.0.4-SNAPSHOT-20070128.jar!/struts-default.xml Stacktraces jar:file:/C:/Documents%20and%20Settings/st.Pamann/project3/.metadata/.plugins

Re: Element type bean must be declared

2007-01-28 Thread xiao jie
%20Settings/st.Pamann/project3/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/webapps/quickstart/WEB-INF/lib/struts2-core-2.0.4-SNAPSHOT-20070128.jar!/struts-default.xml Stacktraces jar:file:/C:/Documents%20and%20Settings/st.Pamann/project3/.metadata/.plugins/org.eclipse.wst.server.core/tmp0

Re: [S2] To struts2 comitters, please include WW-1570 in 2.0.4

2007-01-28 Thread Ted Husted
It was marked for 2.1.x since we plan to refactor the Ajax theme into a plugin during that series. The patch doesn't have to wait for 2.1.x, it's just being grouped with the other Ajax work. Right now, I don't understand the Ajax theme well enough to apply the patch myself. Hopefully, another