I am pretty sure Struts does not force you to use Sitemesh.
On 11/30/2009 10:54 PM, Saeed Iqbal wrote:
Do you have Sitemesh filter in your web.xml?
On Tue, Dec 1, 2009 at 12:00 AM, jvsrvcs wrote:
I am trying to get a very simple struts2 HelloWorld app to work (with
maven2)
I think I have e
Do you have Sitemesh filter in your web.xml?
On Tue, Dec 1, 2009 at 12:00 AM, jvsrvcs wrote:
>
> I am trying to get a very simple struts2 HelloWorld app to work (with
> maven2)
>
> I think I have everything but I keep getting this error:
>Messages:
>Unable to initialize TldLocati
Struts i8ln does not work with simple theme
use fmt tag instead
On Tuesday, December 1, 2009, David Canos wrote:
> hi guys
>
> 15th of May in this list someone write:
> theres something like this on bug-tracking?
>
> We are suffering a very strange behavior of the submit tag in a theme=simple
>>
hi guys
15th of May in this list someone write:
theres something like this on bug-tracking?
We are suffering a very strange behavior of the submit tag in a theme=simple
> form.
I'm using Struts 2.0.12 with i18n done following [1].
>
this s:submit give us empty value
> if you replace code b
Hi,
I am newbie to Struts 2. I am trying to refresh a part of my page without
submitting the whole page, so I am trying to use ajax theme. is it possible
to refresh the contents in the div? with the settings below, it always
replaces the intial contents with the result JSP of the ajax action. I do
In my Struts 2 book, I've now read all about built-in type conversion and
overriding default messages. So I got a useful message now, when the user
enters an alphanumeric value in a field with an underlying int property. But
after the conversion error, Struts goes on validating and the message for
I am trying to get a very simple struts2 HelloWorld app to work (with maven2)
I think I have everything but I keep getting this error:
Messages:
Unable to initialize TldLocationsCache: XML parsing error on file
/WEB-INF/sitemesh-page.tld: (line 1, col 1)
File: org
I found the problem. I was mapping the FilterDispatcher servlet for all
dispatchers, like this:
struts2
/*
REQUEST
INCLUDE
FORWARD
ERROR
So the FilterDispatcher servlet was creating new ActionContexts for each
JSP being forwarded (I'm using
As I mentioned before, look at the Interceptor interface that is part of
Struts 2. It will allow you to get control of every request to check
whether the user is logged in and do the right thing if they are. You can
add parameters to your actions in the struts.xml that can help control the
action
How about menu and sub menu stuff.
Can I get sub menu details same time.
And one more thing, do we need to call this Struts menu for page refresh?
or for every action?
Thanks in advance
RS
Oscar Calderón-2 wrote:
>
> I've worked with struts menu and jsp without problems. About CSS i
> remembe
I've worked with struts menu and jsp without problems. About CSS i
remember that you specify theme to struts menu tags then you simply edit
the css sheet that you include in your application when you put all the
necessary stuff to make work struts menu, like the jar and so on.
nani2ratna escri
This is just a guess, but is this "line 10" in your C0002_HomeAction class?
if((ses.get("context").toString()!="")&&(ses.get("role").toString()=="admin")){
Based on the exception, I'd say that the Session being null is what's
causing the exception. Try changing that line to
if((ses != null) &&
Hi,
In my application i have successfully integrated Spring secuirty and spring
with struts2.
And I need to configure LDAP as well.
But I want to show the tabs or menu items to the users according to their
roles.
I have seen Struts menu, but its mainly developed with velocity, i dont want
to do
Hi. I'm trying to use the tokenSession interceptor to prevent double
submit problems. The problem is that this line in TokenHelper.setToken
(invoked from tag) always return null:
ActionContext.getContext().getSession()
I'm also using the createSession interceptor, but it's still not working.
Hi,
I've a property in my resource bundle like this
error.required = {0} is required.
label.name = Name
label.email = Email
In my validation xml file,
I've this rule
I want to pass label.name to error.required, how to do that?
I've tried these:
and
label.name
both still givi
you can use @SkipValidation
--
View this message in context:
http://old.nabble.com/struts2-validation-for-only-one-method-in-action-tp9082687p26572573.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To u
dear chris
I think it's ok if we redirect by using the struts.xml file
but I really confuse in so many other cases
for example
when the user is login into the system already but still try to enter to
login.jsp page
in that case i think the system should be able to detect that the user is
holding th
Hi All,
I am new to struts and creating a struts application having workflow. for
this workflow I am using the below code in the struts2.xml
model
partialEvent
Hi Ben,
Are you throwing a
com.opensymphony.xwork2.conversion.TypeConversionException exception
in your converter class when there is a problem converting the date?
I have the following for my converter class:
public class DateConverter extends StrutsTypeConverter {
private static
19 matches
Mail list logo