Re: sx:datetimepicker

2010-10-10 Thread Li Ying
I read the documents of JQuery Plugin. It looks like the attribute [showButtonPanel] means if show button panel [in the calender], but not if show a button beside the textfield. I think maybe you should use the attributes [showOn]/[buttonImage]/[buttonImageOnly]/[buttonText] instead. You can tak

Re: sx:datetimepicker

2010-10-10 Thread Li Ying
Try delete the attribute [readonly="true"]. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Cimande2, REST Struts and Android REST client

2010-10-10 Thread Frans Thamura
hi all this is our slide for REST based Struts2 project, cimande 2.0 http://www.slideshare.net/flatburger/cimande-20-android-edition-rest we still work hard to make the REST apps can better and easier to develop like my last posting, is to make the development more easier thx to john for s2j i

Re: sx:datetimepicker

2010-10-10 Thread cellterry
Thanks for your tips again. I did not see any errors and warning in my eclipse console. And I tried it in firefox with firebug installed. There is no bugs triggered. Or I misunderstand what "JavaScript console" is? Terry. Dave Newton-6 wrote: > > And again, do you see any errors in the Jav

struts2-portlet2-plugin-2.1.8.1 in Liferay 6.0.5 - Post-Redirect-Get aka Redirect after post

2010-10-10 Thread Alberto Gallardo
I have tried the Struts 2 Portlet Tutorial (https://cwiki.apache.org/confluence/display/WW/Struts+2+Portlet+Tutorial) with the struts2-portlet2-plugin-2.1.8.1 plugin (http://boss.bekk.no/display/BOSS/Struts+2+Portlet+2.0+Plugin), but couldn't get the Post-Redirect-Get (PRG) working. The does not t

Re: jquery with jsp

2010-10-10 Thread Maurizio Cucchiara
Placing custom js inside external files improve performances absolutely, by allowing limit bandwidth usage through browser caching system. If we're talking about struts2, you should take a look at timer interceptor (http://struts.apache.org/2.0.14/docs/timer-interceptor.html). This could get you a

Re: jquery with jsp

2010-10-10 Thread tito
@MaurizioI have included jquery min , but my custom scripts i have put them in jsp page section inside

RE: Simple theme and field errors

2010-10-10 Thread Altenhof, David Aron
Csszengarden might be nice, but pretty ambitious. I just think that, if as I suspect, lots of people are rolling their own theme (which one almost has to in many cases), then having a place to put them would be helpful. I suspect there's a lot of wheel reinvention going on. -David -Origin

Re: sx:datetimepicker

2010-10-10 Thread Maurizio Cucchiara
Terry, you can use datepicker without necessarily involving the struts framework. Please, see attached file. Maurizio Cucchiara 2010/10/10 cellterry : > > Dear all, > > So unlucky I encountered another problem to use struts-jquery-plugin > (2.4.1). > > I found that the datepicker field looks the

Re: sx:datetimepicker

2010-10-10 Thread Dave Newton
And again, do you see any errors in the JavaScript console? It's important to tell the details, otherwise it's really difficult to help. Dave On Sun, Oct 10, 2010 at 1:47 PM, cellterry wrote: > > Dear all, > > So unlucky I encountered another problem to use struts-jquery-plugin > (2.4.1). > > I

Re: sx:datetimepicker

2010-10-10 Thread cellterry
Dear all, So unlucky I encountered another problem to use struts-jquery-plugin (2.4.1). I found that the datepicker field looks the same as a textfield without any button beside it. My JSP is: : : <%...@taglib prefix="s" uri="/struts-tags"%> <%...@taglib prefix="sj" uri="/struts-jquery-tags"%

Re: jquery with jsp

2010-10-10 Thread Maurizio Cucchiara
Basically, you never include jquery script inside your page. I try to explain better: Inside your page you must include only 2 script directive: 1. first one contains jquery reference (f.e.: http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js). 2. second one contains your custom script

Embeded JSP

2010-10-10 Thread Frans Thamura
anyone have try Embeded JSP in Tomcat7, is it compatible with Tc7? F - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: jquery with jsp

2010-10-10 Thread Dave Newton
On Sun, Oct 10, 2010 at 12:14 PM, tito wrote: > If I include some jquery codes in my jsp . will it make the jsp page > heavy to load ? > ... How about including some "jquery codes" and finding out? What's your definition of "heavy"? What kind of code are you including? How is it being served? Is

jquery with jsp

2010-10-10 Thread tito
If I include some jquery codes in my jsp . will it make the jsp page heavy to load ? regards, Tito Cheriachan ___ Automate Twittering using AutoTweeter http://www.autotweeter.in Follow twitter users automatically with AutoFollower

Re: advanced theme

2010-10-10 Thread Dave Newton
I don't really think I can make it much simpler than that; sorry. Dave On Sun, Oct 10, 2010 at 12:11 PM, Frans Thamura wrote: > dont get it ;) > > can make it more easier to understand > > PS: googling about what is composability -> ?? > > F > > > On Sun, Oct 10, 2010 at 11:08 PM, Dave Newton

Re: advanced theme

2010-10-10 Thread Frans Thamura
dont get it ;) can make it more easier to understand PS: googling about what is composability -> ?? F On Sun, Oct 10, 2010 at 11:08 PM, Dave Newton wrote: > It depends on your needs. If the data is *always* used together, then it > should be a single action. If it isn't, then it shouldn't be.

Re: advanced theme

2010-10-10 Thread Dave Newton
It depends on your needs. If the data is *always* used together, then it should be a single action. If it isn't, then it shouldn't be. This is why people talk about "composability", which is a tactic equally applicable to data exposure. Dave On Sun, Oct 10, 2010 at 12:04 PM, Frans Thamura wrote:

Re: advanced theme

2010-10-10 Thread Frans Thamura
this is the logic strutsaction -> JSON -> javascript -> rich page how many json we need to make 1 rich page, 10 jsons? if we need 10 jsons, any idea to make effective struts2 programming, 10 action or 1 action which trow 1 object collection (with 1 values inside the collection) F On Sun, Oct

Re: advanced theme

2010-10-10 Thread Dave Newton
I'm not really sure what you're saying: JSON can represent an arbitrary collection of data, and a page can do whatever it wants with that data. Struts was designed as an action-based framework, not component-based. it can be used to serve a component-based framework, just like anything else that ca

advanced theme

2010-10-10 Thread Frans Thamura
Based on david's theme thread I just have several question that may be interest all of u. This is my long standing question which I believe jsf is reposition as the best framework for this model We know every advanced page now based on advanced javascript. We need more than just one json to ma

Re: sx:datetimepicker

2010-10-10 Thread Dave Newton
Or raw, recent Dojo. I think the plugins are great for the *most* simple usecases. Anything remotely beyond that, even a smidge, I have to agree that it's almost always better to use the raw JavaScript framework of choice, for a variety of reasons. Dave On Sun, Oct 10, 2010 at 11:26 AM, Dale New

Re: sx:datetimepicker

2010-10-10 Thread Dale Newfield
On 10/10/10 10:52 AM, cellterry wrote: It seems that I should turn to study jquery plugin. Or, as keeps being suggested (even by the authors of those plugins), just use raw jquery. -Dale - To unsubscribe, e-mail: user-unsub

Re: sx:datetimepicker

2010-10-10 Thread cellterry
Thanks, Dave. It seems that I should turn to study jquery plugin. Terry. -- View this message in context: http://old.nabble.com/sx%3Adatetimepicker-tp29927463p29927727.html Sent from the Struts - User mailing list archive at Nabble.com.

Re: sx:datetimepicker

2010-10-10 Thread Dave Newton
I'm actually pretty sure, since I was involved in its deprecation. The Dojo plugin was moved into a separate plugin in S2.1, and deprecated. http://struts.apache.org/2.1.8/docs/ajax-tags.html Dave On Sun, Oct 10, 2010 at 10:16 AM, cellterry w

Re: sx:datetimepicker

2010-10-10 Thread cellterry
Hello, sx tag lib is deprecated? I do not think so. It is newly introduced since 2.1.x version. Dave Newton-6 wrote: > > Any errors in the JavaScript console? > > (Also, bear in mind that these tags are deprecated for a reason!) > > Dave > > On Sun, Oct 10, 2010 at 9:37 AM, cellterry wrot

Re: Simple theme and field errors

2010-10-10 Thread Dave Newton
Often times just printing the .class of an OGNL expression can be handy in diagnosing issues without bothering with real debugging (or using the tag). There's no theme gallery I'm aware of, nor, I believe, are there too many TOGU (Themes of General Usefulness). They're not really themes in the se

RE: Simple theme and field errors

2010-10-10 Thread Altenhof, David Aron
Jeez ... you'd think I'd be able to figure that out. Oh, well ... late night :-) By the way, is there anything like a "theme gallery" for Struts2? somewhere to post new themes and view others' work? -David -Original Message- From: Maurizio Cucchiara [mailto:maurizio.cucchi...@gmail.com]

Re: sx:datetimepicker

2010-10-10 Thread Dave Newton
Any errors in the JavaScript console? (Also, bear in mind that these tags are deprecated for a reason!) Dave On Sun, Oct 10, 2010 at 9:37 AM, cellterry wrote: > > Dear all, > > Recently I am trying to use dojo compnent sx:datetimepicker in struts > 2.1.8.1 with dojo plugin. > > I found even th

sx:datetimepicker

2010-10-10 Thread cellterry
Dear all, Recently I am trying to use dojo compnent sx:datetimepicker in struts 2.1.8.1 with dojo plugin. I found even the render of field box cannot be obtained but the label appears. Actually I have done the following in my JSP file. 1. Include tag lib: <%...@taglib prefix="sx" uri="/struts

Re: Optimize webserver performance

2010-10-10 Thread Maurizio Cucchiara
Sometimes put dependencies in the tomcat's library could become a forced choice (for example when using Database Connection Pools). In all other case, it can be a very annoying situation (especially you in term of dependencies' clarity). That said using tomcat's common library, avoiding ORM framew

Re: Simple theme and field errors

2010-10-10 Thread Maurizio Cucchiara
try this 2010/10/10 Dave Newton : > There can be more than one error; it's a collection. > > Dave > > On Sunday, October 10, 2010, Altenhof, David Aron wrote: >> Working on first Struts2 project, and quickly found out that standard themes >> can produce some quirky output. (Hoping to wr