I know it depends on the browser but this is a best effort thing and am
looking for input on my current plan.
When user signs on send the current date/time of the client along with
credentials and record the offset in the session (if any).
All subsequent pages will have a hidden date/time field.
Use the simple theme, or override the theme, or use the CSS theme, or
override the CSS.
Dave
On Monday, November 8, 2010, m.harig wrote:
>
> hi all ,
>
> am designing a user creation page in struts2 , i want to align the
> elements as per my requirements , how do i make it? because struts
hi all ,
am designing a user creation page in struts2 , i want to align the
elements as per my requirements , how do i make it? because struts2 itself
align the elements by its own , is there anyway to override it? please any1
help me
--
View this message in context:
http://old.nabble.c
On Mon, Nov 8, 2010 at 5:58 PM, Alfredo Manuel Osorio Martinez wrote:
>> you can trivially avoid unnecessary prepare calls.
> How can I avoid unnecessary prepare calls? I mean how can I avoid the
> prepare method won't be called if there are not validation errors.
>> De: Dave Newton [mailto:daveln
Hello Dave,
> you can trivially avoid unnecessary prepare calls.
How can I avoid unnecessary prepare calls? I mean how can I avoid the
prepare method won't be called if there are not validation errors.
Thanks in advance
Alfredo Osorio
-Mensaje original-
De: Dave Newton [mailto:davelnew
And I'm saying #1 that a testable action is worth a lot and #2 you can
trivially avoid unnecessary prepare calls.
Dave
On Nov 8, 2010 1:54 PM, "Alfredo Manuel Osorio Martinez" <
alfredo.oso...@afirme.com> wrote:
> Hello Dave and thanks for your response,
>
> I think I didn't explain myself what I
I am suing Struts 1.3.8 to write a file upload application. I am not
using common-upload plugin.
The problem I am having right now is my form bean get null for text
field if I try to upload larger file (>200MB) but work fine when i try
with less size files.
I couldn't understand what's going on
Hello Dave and thanks for your response,
I think I didn't explain myself what I tried to say is whenever you
submit to the action that will process the input data that action's
prepare (or prepareXXX) needs to know how to populate the data needed
for the input result and that's because if validati
Subclass the TilesRequestProcessor instead of the normal one.
Dave
On Mon, Nov 8, 2010 at 1:08 PM, Andy T wrote:
> Hi Lukasz,
>
> Your identification of the exact cause of the error has helped me to
> solve this problem. The problem is here:
>
>
> value="EricEnhancement.util.CustomRequestP
Hi Lukasz,
Your identification of the exact cause of the error has helped me to
solve this problem. The problem is here:
For whatever reason the CustomRequestProcessor I was using is not
compatible with the TilesRequestProcessor. When I remove the above
from struts-config.xml everything
On Mon, Nov 8, 2010 at 10:07 AM, Alfredo Manuel Osorio Martinez wrote:
> Are you saying that input methods shouldn't have any logic in and just
> return the string of the result. If that's the case where should you
> retrieve those list values? What other alternatives do I have? The only
> other on
>>
Is there an unnecessary quotation mark after [titleID]?
Try delete it and see if works.
If it still not working, My suggestion is:
(1)you can implement the search logic in the method [viewPage], and
access the search result via a new property.
or
(2)use a Map instead of a List, so you ca
2010/11/8 Andy T :
> Hi Lukasz,
>
> I have struts-tiles-1.3.8.jar loaded . . . is this what you mean?
Yes, it should be sufficient, could you post your struts config? Below
is extract from the log you sent me.
FATAL main org.apache.struts.tiles.TilesPlugin - TilesPlugin :
Specified RequestProcess
Hello all,
I have a Action contain a list List, and a String property
titleID, how to display the value from list?
Detail code is here:
//**IndexAction**
public class IndexAction{
private List list;
private String titleID;
//get & set
public String viewPage()
{
//#{'a1'
Hello,
> I still don't believe using a framework-defined method, whose intent
is to
> return a string result name, to load data is an expressive design.
Are you saying that input methods shouldn't have any logic in and just
return the string of the result. If that's the case where should you
retr
I don't know if this is your problem, per se, but you can't redirect
to a tile. A Tile is just an alias/synonym for a jsp rendering. You
can only forward to one.
Paul
On Mon, Nov 8, 2010 at 8:58 AM, Andy T wrote:
> Thanks to all who have responded thus far . . .
>
> I think I forgot to add the T
Thanks to all who have responded thus far . . .
I think I forgot to add the Tiles Plugin to my struts-config.xml file.
However when I do this I get "HTTP Status 404 - Servlet action is
not available" . . .
On Sat, Nov 6, 2010 at 2:47 AM, Lukasz Lenart
wrote:
> 2010/11/5 Rafael Medeiros :
Had a look in the soruce for 2.21 AnnotationActionValidatorManager line 226
replaces any / in the action alias with -. So in the example below I would
have to give the file the succinct name
CreatePortalUserAction-CreatePortalUser-persistCustomer-validation.xml :-)
On Thu, Nov 4, 2010 at 12:00 PM,
18 matches
Mail list logo