Re: Using Struts with Dojo vs GWT

2008-10-22 Thread Tim Jowers
We used scriptalicious in one product but have sorta standardized on jQuery
too now for three others. Now as to the actual controls... some of us are
leaning towards Yahoo UI because its datatable (datgrid) has the largest
feature set such as being able to drag columns left or right of others. I'd
love to know what cotrol libraries others suggest. We also use a grid
(datagrid) from the jQuery site as well as some DOJO stuff through jMaki for
charing/dashboard. As to DOJO, i know one friend's company moved to the
commercial extjs due to performance problems but their app is a highly
analytic app with probably large data sets. Anyone else have experience with
these?

TimJowers
 P.S> My friend Matt Hooper did an DHTML datatable back in 1999. It used the
scroll thumb to do paging and did background. locality-based loading and
lazy loading. I haven't seen any of them to be that advanced but maybe
someone knows of one?

On Wed, Oct 22, 2008 at 6:43 AM, Felipe Lorenz <[EMAIL PROTECTED]>wrote:

> Hi,
>
> In my projects ive been use Struts 2 with JQuery. Why JQuery?
> Lighweight, easy to learn and use and run it in all browsers...
>
> On Mon, Oct 20, 2008 at 5:28 AM, Wes Wannemacher <[EMAIL PROTECTED]> wrote:
> > I don't know if this is a question we can answer for you. Dojo has its
> > advantages and disadvantages, but from a practical perspective it is a
> > very different framework than GWT. If the application you are going to
> > create could make better use of GWT, then use it...
> >
> > Lately, the AJAX-ified applications I have worked on haven't used either
> > GWT or Dojo. The nice thing about Struts 2 is that it is flexible enough
> > that what you do in your UI shouldn't have any bearing on how you build
> > your actions. I just happily built an app that used JQuery heavily on
> > the front-end and Struts 2 + Spring / JPA on the backend. I could have
> > done it with the Struts 2 AJAX tags, but was looking for an excuse to
> > learn more about JQuery.
> >
> > -Wes
> >
> > On Sun, 2008-10-19 at 23:19 -0700, Ryan Detert wrote:
> >> I am new to Struts but have used the GWT before. Would it be wise at all
> to
> >> try and use the GWT with Struts or should I just stick with Dojo?
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: 404 error in struts 2 blank helloworld example in RAD7

2008-10-20 Thread Tim Jowers
Thanks for the help. It works now: RAD7.0.0.6 and WAS 6.1.0.17. Works.
Struts2-core-2.0.11.jar
timjowers

On Fri, Oct 17, 2008 at 3:48 PM, Tim Jowers <[EMAIL PROTECTED]> wrote:

>
> Thanks for the emails. I downgraded and made the setting but haven't solved
> my malfunction yet. I'm on WebSphere Platform 6.1 [BASE 6.1.0.17cf170821.07]. 
> So, I'll mess with it some more later.
>
> Tim
>
>
>
> On Fri, Oct 17, 2008 at 2:01 PM, Struts Two <[EMAIL PROTECTED]> wrote:
>
>> >>So, I do have a working configuration for tomcat5.5. Now for
>> WebSphere/Rad7.
>> >>WebSphere does not give an error message but does load the .jsp but just
>> not
>> >>the .action. This must be a websphere configuration issue or an issue
>> with
>> >>conflicting .jars. i'll continue to investigate.
>>
>> Before you run struts 2 on Websphere, make sure you set the following
>> property through websphere admin console:
>>
>> Application servers > server1 > Web container > Custom Properties >
>> com.ibm.ws.webcontainer.invokefilterscompatibility   ==  true
>>
>> My assumption is you are also running Struts 2.0.11.1 as my current
>> project is based on this release, and I have not been experiencing any
>> problems of any sort. Bear in mind if you are using struts 2.1.2 Beta
>> version you may still experience problem running urls that end with .action
>> directly from browser url address. I had this issue before 2.1.2 goes to
>> beta and there is a JIRA still open for this.
>>
>>
>> __
>> Do You Yahoo!?
>> Tired of spam?  Yahoo! Mail has the best spam protection around
>> http://mail.yahoo.com
>>
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>


Re: 404 error in struts 2 blank helloworld example in RAD7

2008-10-17 Thread Tim Jowers
Thanks for the emails. I downgraded and made the setting but haven't solved
my malfunction yet. I'm on WebSphere Platform 6.1 [BASE
6.1.0.17cf170821.07]. So, I'll mess with it some more later.

Tim


On Fri, Oct 17, 2008 at 2:01 PM, Struts Two <[EMAIL PROTECTED]> wrote:

> >>So, I do have a working configuration for tomcat5.5. Now for
> WebSphere/Rad7.
> >>WebSphere does not give an error message but does load the .jsp but just
> not
> >>the .action. This must be a websphere configuration issue or an issue
> with
> >>conflicting .jars. i'll continue to investigate.
>
> Before you run struts 2 on Websphere, make sure you set the following
> property through websphere admin console:
>
> Application servers > server1 > Web container > Custom Properties >
> com.ibm.ws.webcontainer.invokefilterscompatibility   ==  true
>
> My assumption is you are also running Struts 2.0.11.1 as my current
> project is based on this release, and I have not been experiencing any
> problems of any sort. Bear in mind if you are using struts 2.1.2 Beta
> version you may still experience problem running urls that end with .action
> directly from browser url address. I had this issue before 2.1.2 goes to
> beta and there is a JIRA still open for this.
>
>
> __
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: 404 error in struts 2 blank helloworld example in RAD7

2008-10-17 Thread Tim Jowers
Thanks for the feedback. Wow. i would NEVER have expected so much problems
from sub-releases of the libs.  I'm trying it in Tomcat 5.5. the lib
versioning problems there are a big mess too.

I first tried my files from the RAD7/WebSphere and had the same failures.
Then I unjarred struts-2.0.11-all.jar and copied the libs to
Tomcat5.5/shared/lib. Then i copied the .war examples to Tomcat5.5/webapps.
They loaded and worked. Hooray! The other example still did not. But
wait
When I restart Tomcat5.5. it fails. What gives? The libs I had on WebSphere
work but the ones from struts-2.0.11-all.jar do not!
Oct 17, 2008 11:06:08 AM
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider register
INFO: Parsing configuration file [struts-default.xml]
Oct 17, 2008 11:06:08 AM org.apache.catalina.core.StandardContext start
SEVERE: Error filterStart
Oct 17, 2008 11:06:08 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [/hellostruts] startup failed due to previous errors

Here's what i have from WebSphere/before and what works:
C:\svnviews\cb35\CORP_BANK_SRC\build>dir /b
C:\Tomcat5.5\webapps\hellostruts\WEB
-INF\lib
freemarker-2.3.8.jar
ognl-2.6.11.jar
struts-core-1.3.5.jar
struts2-codebehind-plugin-2.0.11.jar
struts2-config-browser-plugin-2.0.11.jar
struts2-core-2.0.11.jar
xwork-2.0.4.jar
The all match what is in the struts-2.0.11-all.jar. struts-2.0.11-all.jar
also has some additional .jar files and looks like these break loading the
webapp .war files onto tomcat5.5.

So, I do have a working configuration for tomcat5.5. Now for WebSphere/Rad7.
WebSphere does not give an error message but does load the .jsp but just not
the .action. This must be a websphere configuration issue or an issue with
conflicting .jars. i'll continue to investigate.

Thanks for your help,
TimJowers



On Fri, Oct 17, 2008 at 6:09 AM, Struts Two <[EMAIL PROTECTED]> wrote:

> Struts 2.0.11.2 has a known issue for running on websphere. Downgrade to
> struts 2.0.11.1 [That is the one I am currently using with RAD 7.5 and
> Websphere 6.1.0.19 and it works perfect] or upgrade to build 2.0.12 which
> is supposed to have fixed the issue [I have not tried it yet]
>
>
>
> - Original Message 
> From: Tim Jowers <[EMAIL PROTECTED]>
> To: user@struts.apache.org
> Sent: Thursday, October 16, 2008 6:52:23 PM
> Subject: 404 error in struts 2 blank helloworld example in RAD7
>
> Hi,
>
> Has anyone run the struts2-blank-2.0.11.2.war in RAD7/WebSphere?  I get 404
> on calling an action.
> First, https://localhost:9444/testo/example/HelloWorld.jsp works.
> Then the action 404's:
> https://localhost:9444/testo/example/HelloWorld.action?request_locale=en
> I validated the HelloWorld.class can be loaded with a JSP scriptlet.
> Here is the struts.xml:
> 
>  Configuration 2.0//EN" "http://struts.apache.org/dtds/struts-2.0.dtd";>
>
> 
> 
> 
>
> 
>
> 
> /example/HelloWorld.jsp
> 
>
> 
> /example/{1}.jsp
> 
>
> 
>
> 
>
> I know it is being loaded as the jsp is being loaded and if I put in a
> bogus
> class name like example.HelloWorld2 then it emits an error message.
>
> This is supposed to be simple but I do not see any other logged messages or
> anything telling me why it is 404. Maybe this has something to do with
> WebSphere taking over "*.action" mappings or something.???
>
> Thanks for any insights,
> Tim Jowers
>
> P.S> I note the example.ExampleSupport class is never classloaded. Not sure
> why it was in the example as it seems to be ignored always.
>
> Here's the server log:
> [10/16/08 18:45:53:283 EDT] 000a WsServerImpl  A  WSVR0001I: Server
> server1 open for e-business
> [10/16/08 18:47:17:376 EDT] 0021 ServletWrappe I  SRVE0242I: [samj2ee]
> [/testo] [/example/HelloWorld.jsp]: Initialization successful.
> [10/16/08 18:47:17:688 EDT] 0021 XmlConfigurat I
> com.opensymphony.xwork2.config.providers.XmlConfigurationProvider register
> Parsing configuration file [struts-default.xml]
> [10/16/08 18:47:17:798 EDT] 0021 XmlConfigurat I
> com..opensymphony.xwork2.config.providers.XmlConfigurationProvider register
> Parsing configuration file [struts-plugin.xml]
> [10/16/08 18:47:17:813 EDT] 0021 XmlConfigurat I
> com.opensymphony.xwork2.config.providers.XmlConfigurationProvider register
> Parsing configuration file [struts.xml]
> [10/16/08 18:47:17:845 EDT] 0021 Settings  W
> org.apache.struts2.config.Settings getLocale Settings: Could not parse
> struts.locale setting, substituting default VM locale
> [10/16/08 18:47:17:860 EDT] 0021 DefaultConfig I
>
> com.opensymphony.xwork2.config.impl.DefaultConfiguration$ContainerProper

404 error in struts 2 blank helloworld example in RAD7

2008-10-16 Thread Tim Jowers
Hi,

 Has anyone run the struts2-blank-2.0.11.2.war in RAD7/WebSphere?  I get 404
on calling an action.
First, https://localhost:9444/testo/example/HelloWorld.jsp works.
Then the action 404's:
https://localhost:9444/testo/example/HelloWorld.action?request_locale=en
I validated the HelloWorld.class can be loaded with a JSP scriptlet.
Here is the struts.xml:

http://struts.apache.org/dtds/struts-2.0.dtd";>








/example/HelloWorld.jsp


 
/example/{1}.jsp






I know it is being loaded as the jsp is being loaded and if I put in a bogus
class name like example.HelloWorld2 then it emits an error message.

This is supposed to be simple but I do not see any other logged messages or
anything telling me why it is 404. Maybe this has something to do with
WebSphere taking over "*.action" mappings or something.???

Thanks for any insights,
Tim Jowers

P.S> I note the example.ExampleSupport class is never classloaded. Not sure
why it was in the example as it seems to be ignored always.

Here's the server log:
[10/16/08 18:45:53:283 EDT] 000a WsServerImpl  A   WSVR0001I: Server
server1 open for e-business
[10/16/08 18:47:17:376 EDT] 0021 ServletWrappe I   SRVE0242I: [samj2ee]
[/testo] [/example/HelloWorld.jsp]: Initialization successful.
[10/16/08 18:47:17:688 EDT] 0021 XmlConfigurat I
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider register
Parsing configuration file [struts-default.xml]
[10/16/08 18:47:17:798 EDT] 0021 XmlConfigurat I
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider register
Parsing configuration file [struts-plugin.xml]
[10/16/08 18:47:17:813 EDT] 0021 XmlConfigurat I
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider register
Parsing configuration file [struts.xml]
[10/16/08 18:47:17:845 EDT] 0021 Settings  W
org.apache.struts2.config.Settings getLocale Settings: Could not parse
struts.locale setting, substituting default VM locale
[10/16/08 18:47:17:860 EDT] 0021 DefaultConfig I
com.opensymphony.xwork2.config.impl.DefaultConfiguration$ContainerProperties
setProperty Overriding property struts.i18n.reload - old value: false new
value: true
[10/16/08 18:47:17:860 EDT] 0021 DefaultConfig I
com.opensymphony.xwork2.config.impl.DefaultConfiguration$ContainerProperties
setProperty Overriding property struts.configuration.xml.reload - old value:
false new value: true
[10/16/08 18:47:18:313 EDT] 0021 ObjectTypeDet I
com.opensymphony.xwork2.util.ObjectTypeDeterminerFactory  Setting
DefaultObjectTypeDeterminer as default ...