Hi,
I am having a situation where the s:reset tag does not work. I am doing
some client side validation using javascript and server side valdiations in
the 'validate()' method of my action class.
When client side validation fails and I click the reset button, the data
gets cleared.
But when the
Hello,
I have put my webapplication on a server on the internet. Some clients
access this application from behind a company proxy and there are session
problems : one client sees the data from another client... but when hitting
F5 the browser gets back to its normal session.
I guess the server
Antonio Petrelli wrote:
2008/6/4 Dimitris Mouchritsas [EMAIL PROTECTED]:
The menu would look something like:
.
So in essence there are 3 seperate menus there.
Ok, you can use definition in a definition. For example:
definition name=menuContainer template=/threeRows.jsp
put
2008/6/5 Dimitris Mouchritsas [EMAIL PROTECTED]:
While the word Menu shows up in the final page, I don't see menu1,2 or 3.
Your code seems ok. Do you see an error in the log?
Antonio
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Antonio Petrelli wrote:
2008/6/5 Dimitris Mouchritsas [EMAIL PROTECTED]:
While the word Menu shows up in the final page, I don't see menu1,2 or 3.
Your code seems ok. Do you see an error in the log?
Antonio
-
To
Hi everybody,
I'm trying to play with internationalization but I have a small problem.
Here is my code :
s:iterator value=week.semaine
s:label labelposition=top value=%{displayName} /
s:select name=week.semaine[%{index}].am onchange=countHour(); id=am%{index}
2008/6/5 Dimitris Mouchritsas [EMAIL PROTECTED]:
Your code seems ok. Do you see an error in the log?
No, no errors on the log. :(
Does your generated HTML contain the div elements?
Can I see the code of login.jsp for example?
Antonio
Antonio Petrelli wrote:
2008/6/5 Dimitris Mouchritsas [EMAIL PROTECTED]:
Your code seems ok. Do you see an error in the log?
No, no errors on the log. :(
Does your generated HTML contain the div elements?
Can I see the code of login.jsp for example?
Antonio
Hi there,
I'm struggling to find a solution to what I think must be a common problem.
The client I work for has a single Struts/Struts2/Spring-WebFlow mashup of a
webapp that has grown organically over the last few years. We have a very
agile development process and like to do frequent
I've been trying to learn Struts and come unstuck on it's integration with
Tiles.
I've been following along with Jason Holmes Struts Complete Ref 2nd ed for
(Struts 1)
The source associated to book can be downloaded from
http://www.jamesholmes.com/StrutsTCR/StrutsTCR2nd-code.zip here
Chapter 7
Hi.. you can out the display tag inside of a remote div... and, every time
when you want refresh the DT, just refresh the div
On Wed, Jun 4, 2008 at 10:41 PM, Arunkumar Balasubramanian
[EMAIL PROTECTED] wrote:
Can we update the display:table with an ajax call? Here is what I was
newMedicine.newMedicineDEscription is the name ou the id? Need to be the id
of element.
try to put it i the end, but without a method...you can do this...
On Thu, Jun 5, 2008 at 2:53 AM, StrutsUser [EMAIL PROTECTED]
wrote:
Hi,
I tried as you have mentioned. The script gets called, the
hi!
i'm having a strange problem...
while i'm exeuting my applications(using struts2) in local (tomcat) with
this
http://localhost:8080/myapplication/sho ... dUser=
the application works fine.
But when i deploy it in an oracle application server it's not working, and
if i print the debug
2008/6/5 JG Flowers [EMAIL PROTECTED]:
action path=/viewSearch
forward=search.page/
Using a Tiles definition as the name of a forward action is not supported.
Use an action that forwards to a Tiles definition, or use a JSP page.
Antonio
Hi Antonio.
Many thanks for feedback.
When you say use an action that forwards to a Tiles definition can you
elaborate on this a bit more for me.
Cheers
--
View this message in context:
http://www.nabble.com/Cannot-retrieve-ActionForward-named...-tp17667182p17668494.html
Sent from the Struts -
2008/6/5 JG Flowers [EMAIL PROTECTED]:
When you say use an action that forwards to a Tiles definition can you
elaborate on this a bit more for me.
You have to change this:
action path=/viewSearch
forward=search.page/
into:
action atch=/viewSearch type=com.jamesholmes.minihr.SearchAction
Hi,
in my application, i have a requirement of implementing field level
customization, like locking the field, hiding the field etc.. to achieve
this i am planning to extends struts-tags tag library functionality. can
any one give any idea of how to do this?
Thanks in advance.
Many thanks for response.
When you were learning all this stuff about Struts, what did you find was to
best resource?
I've found James book quite good, but I feel I'm not getting to grips with
some of the stuff that goes on in struts-config.xml..
--
View this message in context:
2008/6/5 JG Flowers [EMAIL PROTECTED]:
When you were learning all this stuff about Struts, what did you find was to
best resource?
Eh, I am a Tiles PMC member, so I know a lot about Tiles internals,
not much about Struts.
I discovered this problem and took a look at the code, and fixed on my
--- On Thu, 6/5/08, Julien ROTT [EMAIL PROTECTED] wrote:
I guess the server is a bit confused because the clients
have the same IP address (I tried jboss and jetty).
Session management isn't really handled by Struts, it's handled via the app
server and browser (by sending the session id
--- On Thu, 6/5/08, JG Flowers [EMAIL PROTECTED] wrote:
I've been trying to learn Struts [...]
Just out of curiosity, why are you starting with Struts 1 at this point?
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
--- On Thu, 6/5/08, Narayana S [EMAIL PROTECTED] wrote:
in my application, i have a requirement of implementing field
level customization, like locking the field, hiding the field
etc.. to achieve this i am planning to extends struts-tags
tag library functionality. can any one give any idea
Because it's probably still the most widely used Web Framework still. So I
figured I'd hit this one first.
I've got books on Struts 2, JSF and Wicket on my bookshelf to read next!
newton.dave wrote:
--- On Thu, 6/5/08, JG Flowers [EMAIL PROTECTED] wrote:
I've been trying to learn Struts
StrutsUser wrote:
Hi,
I am having a situation where the s:reset tag does not work. I am doing
some client side validation using javascript and server side valdiations in
the 'validate()' method of my action class.
When client side validation fails and I click the reset button, the data
gets
Vinny wrote:
Sorry,
I sent this to the wrong user list.
Yes you did - and that's why I know a lot of Java and only a little Groovy.
(and cannot see if anybody has answered your question)
Anyway, this should be the same in Java and Groovy: String.split uses a
REGULAR EXPRESSION to split.
A
Hi,
I want to know how to do single user login, that is user should not
login form multiple location at the same time.
Regards,
Prashant Saraf
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
Hi again Antonio,
1) Tiles PMC member? What does PMC stand for? A contributor to Tiles or is
PMC some kind of Tiles spin off?
2) I discovered this problem and took a look at the code, and fixed on my
side.
Hopefully you won't have to do it many times, but sometimes it helps.
Uh?
Should my code
This really depends on how you are currently managing authentication. How
are you currently managing authentication?
On Thu, Jun 5, 2008 at 9:33 AM, Prashant Saraf [EMAIL PROTECTED] wrote:
Hi,
I want to know how to do single user login, that is user should not
login form multiple location
2008/6/5 JG Flowers [EMAIL PROTECTED]:
1) Tiles PMC member? What does PMC stand for? A contributor to Tiles or is
PMC some kind of Tiles spin off?
PMC=Project Management Committee. I am both a committer and I have the
power to decide the future of Tiles (yeah I've got the power! :-D )
2) I
Hi ,
I am managing it by DB check. My Helper class is checking either user
is valid or not with DB.
Regards
PS.
-Original Message-
From: Jim Kiley [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 05, 2008 7:10 PM
To: Struts Users Mailing List
Subject: Re: Single user Login
This really
Great! I'm glad it worked fine. I'll merge your documentation additions as
soon as I have a moment, thanks for providing them.
I like your idea of generating multiple flash map IDs, it seems like a good
solution would make the implementation more flexible. Feel free to modify
the code and
This is really bizarre.
I'd tried changing the html link to forward after initial action version
didn't work. Then changed it back, created a war and deployed in Tomcat
again. Suddenly everything works.
I'm wondering if Tomcat had some sort of ghost image of prior deployment
that had exactly
You can use OGNL in the result like this:
action name=test class=com.acme.TestAction
result name=success type=freemarker${template}/result
/action
then you can have a getTemplate() method in your action that returns
the right template.
musachy
On Thu, Jun 5, 2008 at 10:18 AM, Kibo [EMAIL
--- On Thu, 6/5/08, Kibo [EMAIL PROTECTED] wrote:
[specifying template based on form value]
You can use OGNL in your configuration.
http://struts.apache.org/2.0.11.1/docs/parameters-in-configuration-results.html
Dave
-
To
Hi,
I have one question regarding iterator. I have one simple list that contain
three values:
List { id, value, date } and I'm iterating through this list. And I want to
show in my list a sum for value for every day at the last row that contain that
date, like this:
idnbsp;nbsp;nbsp;
In the documentation[1] for the Stream result type we have a:
param name=contentDispositionfilename=contacts.xls/param
This was causing the problem. A simple change to:
param name=contentDispositionattachment;filename=contacts.xls/param
solved the issue.
Hope this may help someone out there
Hi,
I have one question regarding iterator. I have one simple list that contain
three values:
List
{ id, value, date } and I'm iterating through this list. And I want to
show in my list a sum for value for every day at the last row that
contain that date, like this:
id__value___date___sum
Hi,
when you have the translations in a resource bundle, as you have now
with your package.properties, you cannot simply get the translations
from the stack, but have to invoke the getText method from you
TextProvider.
The TextProvider interface usually is implemented by your action as
soon as
Hi,
I am using JPA and ehcache.
My entity is this.
@Entity
@Table(name = holiday_calendar)
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class HolidaysCalendar
{
@Id
@Column(name = HOLIDAY_CALENDAR_ID, nullable = false, unique = true)
private int holidayCalendarId;
@Column(name =
Hi felipe, could you post a example?
2008/6/5 Felipe Lorenz [EMAIL PROTECTED]:
Hi.. you can out the display tag inside of a remote div... and, every time
when you want refresh the DT, just refresh the div
On Wed, Jun 4, 2008 at 10:41 PM, Arunkumar Balasubramanian
[EMAIL PROTECTED]
Does anyone know how to do it?
-Original Message-
From: Prashant Saraf [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 05, 2008 7:14 PM
To: Struts Users Mailing List
Subject: RE: Single user Login
Hi ,
I am managing it by DB check. My Helper class is checking either user
is valid or not
Hi,
I have a form where user enter something and then table below the form is
populated. I want to focus on one particular textfield in my form, so when user
click on submit button:
lt;s:submit theme=ajax value=Save targets=samples
notifyTopics=/save/gt;
the page is located at that textfield
If you want to implement a full-blown security scheme like Spring Security,
there are ways to do it. If you don't (and that is understandable), you're
going to need to track whether or not a given user is already logged in, at
the application level.
One solution, which is absolutely
Hi Jim,
Thanks for the help.. I did try it before what u said, but things are
going worst when user is login off with session time out or close the
browser,
If user login again after browser crash or browser close then they have
to wait till session timeout is not done.
-Original
Arun-
did you disable the optimistic_lock code..?
// OPTIMISTIC LOCK MODE (dont use this as this causes OptimisticLockMode
Exceptions)
// Attribute olNode = node.attribute( optimistic-lock );
//return Versioning.OPTIMISTIC_LOCK_VERSION;
// entity.setOptimisticLockMode( getOptimisticLockMode(
All,
In my app, I have this package/action defined:
package name=data extends=struts-default namespace=/data
default-interceptor-ref name=paramsPrepareParamsStack /
action name=displayData class=fm.gui.action.DataAction
result name=success/pages/data/viewData.jsp/result
result
yes, you can update a display table alone with an ajax call.
this is one done with ajaxanywhere:
aa:zone name=bossTechnicalCompetitions
display:table name=workers
decorator=displaytagClasses.DisplayRadio
class=displaytag
display:column
Are you talking about links to actions having parameters appended?
If so, are you either excluding parameters at each s:url... or,
alternatively, setting a default excludeParams via config?
Dave
--- On Thu, 6/5/08, Stanley, Eric [EMAIL PROTECTED] wrote:
In my app, I have this
Hi,
We use struts2 2.0.6 and
we have the following, when the user click one of the
tabs (div s), I want to know which div id is focussed
or clicked, so I went I head and had javascippts
functions(onClick, onFocuss) within s:div but they
are not getting called,
Is this a bug, How can know
Thanks for your reply.
Can you give the reference of javascript functions used for the display:table
used with in AjaxAnywhere tag? If you have an working example, it would be
great, if you could provide the reference with other classes involved with
display:table.
From: [EMAIL
50 matches
Mail list logo