Hello,
I want to select date in format dd.MM. h:mm:ss. How to do this with
datetimepicker? I can select only date (type=date) or time (type=time), but not
both to same date text input field... or is there same way to do this?
Thanks a lot.
Tom
--
Hello,
I have these keys in resources:
status.active=Active
status.done=Done
I have enum instances for each status in list and want to display it in select
control:
This works except of the listValue parameter.
This works:
listValue="%{getText('status.active')}"
listValue="name()"
but how
> If I don't remember wrong, you cannot nest %{} in the same expression. Try:
>
> %{getText('status.' +name())}
Thanks a lot, it works.
Tom
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-
Hello,
I have problem with datetimepicker, I configured the page according to
struts-example and the final source code is the same (except context), but
problem is with attribute.
Without the tag the page works fine (except datetimepicker) - the
javascript console says "dojo is not defined".
Hello,
I have page with datetimepicker and debug mode in head tag causes some error
lines with this content:
[SyntaxError: syntax error, file:
http://localhost:8080/tomis/struts/dojo/dojo.js, line: 115]
Do you have any idea what should be wrong in dojo.js?
My configuration:
Struts 2.0.14
all
Hello,
please, I can't find any solution how to read message from resource bundle to
variable in JSP page.
First I call the action and then display results in JSP, tags and
form tags reads resource bundle perfectly, but I don't know how to do something
like this (in Struts1) now in Struts2:
Hello,
I want to redirect 404 error page to struts action:
This action works:
http://localhost/resolver.action
This web.xml configuration doesn't work:
404
/resolver.action
Redirect to JSP page works:
404
/error.jsp
However, it works in struts1, doesn't in s
're using Struts 2, have you tried adding
>
> ERROR
>
> to the filter mapping?
>
> Nils-H
>
> On Tue, Jan 27, 2009 at 10:14 PM, Tom Pop wrote:
> > Hello,
> >
> > I want to redirect 404 error page to struts action:
> >
> > This action w
Hello,
I can get localised messages in JSP like this:
How to do the same and assign the text to variable like this:
<%
String text = getText("key");
%>
So - how to get message from resource bundle in JSP java code?
I can then put it for example to ALT attribute of image tag.
Thanks.
Tom
ges
> Datum: 27.1.2009 23:43:55
>
> if you are in a struts tag.
>
> title="%{getText('key')}"
>
> else you can use
>
> title=""
>
>
> ______
Hello,
please, can you show me on this example how to convert tiles from struts1 to
struts2?
This example defines localized page title attribute passed to template in
struts1:
<%
String docTitle = messages.getMessage(locale, "page.title");
%>
Thank you.
Tom
can't use OGNL and struts2 tag.
Thanks for example, I didn't find this in documentation.
Tom
Původní zpráva
Od: Jeromy Evans
Předmět: Re: struts2 and tiles
Datum: 31.1.2009 12:04:44
On 31/01/2009, at 6:23 AM, Tom Pop
Hello,
please, how to insert localized string XXX as attribute in tiles definition?
You can't use because it's nested in tiles tag. You can't use
getText(), I think because it's not struts tag. So, how read localized text and
insert it to tiles attribute value?
Please, provide the exam
13 matches
Mail list logo