I would like to know that aswell, so far I have been using javascript with
jquery that is the lib that I use
// somewhere inside the initial function
$("input:text:visible:first").focus();
// or
$("#othercontol").focus();
// if the first control is not a textbox.
On Mon, May 10, 2010 at 15:52, E
Hi Lu,
does this help http://struts.apache.org/2.1.8.1/docs/form.html ?
Search for focusElement in this text.
Best greetings,
Paweł Wielgus.
2010/5/10 Emi Lu :
> Good afternoon,
>
> Struts1, I use
> For *struts2.1.8.1*, may I know the grammar of setting focus value for
> "s:form" please?
>
>
Good afternoon,
Struts1, I use For *struts2.1.8.1*, may I know the grammar of setting focus value for
"s:form" please?
does not work.
Thanks a lot!
--
Lu Ying
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.
Nevermind, my stacktrace came from that issue :
https://issues.apache.org/jira/browse/WW-2850
2010/5/10 Thomas Lulé :
> One last thing :
>
> Even if everything works, I still get a stacktrace when I submit the
> form to save my object.
>
> I think that the params interceptor tries to set the prope
One last thing :
Even if everything works, I still get a stacktrace when I submit the
form to save my object.
I think that the params interceptor tries to set the properties of the
object "jspProfile" I have in my form (with for example), before the
prepare interceptor initialize that object.
E
It works.
Thanks a lot Lukasz and Alex.
2010/5/10 Alex Rodriguez Lopez :
> Hi Thomas,
>
> use the paramsPrepareParams interceptor stack (or change yours), from
> struts-default.xml:
>
>
>
> ...
>
> I think this accomplishes what you are looking for (of course you need
> setters for t
Hi Thomas,
use the paramsPrepareParams interceptor stack (or change yours), from
struts-default.xml:
...
I think this accomplishes what you are looking for (of course you need
setters for the parameters that you want params interceptor to have
ready for you by the time the pre
2010/5/10 :
> When will there be a GA release of 2.1.9 or above?
Hope soon! We're planing to use Nexus to make a release and right now
I'm waiting for access.
Regards
--
Łukasz
http://www.lenart.org.pl/
Kapituła Javarsovia 2010
http://javarsovia.pl
That interceptor looks great, but is there any way to access request
parameters in the prepare() method ?
The http request provides an "archiveProfileId" parameter and I use
that parameter to load my object "archiveProfile".
2010/5/10 Lukasz Lenart :
> Use Preparable interface instead
> http://st
Hi,
When will there be a GA release of 2.1.9 or above?
Cheers,
Jake
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
Use Preparable interface instead
http://struts.apache.org/2.x/struts2-core/apidocs/com/opensymphony/xwork2/Preparable.html
Regards
--
Łukasz
http://www.lenart.org.pl/
Kapituła Javarsovia 2010
http://javarsovia.pl
-
To unsubscri
Hi,
I've got a form with mapped with "Long" variables in my
action class.
Also, my jsp displays some pre-computed information (that I retrieve
from database in my action's method).
When the user types letters in the number field, the type conversion
fails, and the JSP is reloaded. But the pre-c
12 matches
Mail list logo