Hi
I'd be willing to pitch in here. I have already gone through some of them, also
finding that jsCookMenu does not work in Clay (actually it does'nt work at all
at the moment according to the Myfaces list).
Hermod
-Original Message-
From: Richard Wallace [mailto:[EMAIL PROTECTED]
On 1/29/06, Paul Benedict [EMAIL PROTECTED] wrote:
This is awesome!!! Since Struts doesn't have portlet support, using JSP to
emulate
it is second to none. Portlets are nothing but a subset of the servlet
request anyway,
so you're doing some great work.
I'd like to see an example
I am a beginner at struts.
Can u plz tell me the basics of Struts
I noticed that action mapping can contain a roles parameter. Any idea how
and where to define those roles how to set roles for user when
authenticated. Any sample code I can find on this matter?
Thanks
Best Regards,
Tony HAIDAMOUS
Computer Engineer
hi,
just for future reference (in case somebody searches for the same problem),
i found the solution in the README.txt for verson 1.2.8.
=
KNOWN LIMITATIONS:
=
The following items identify functionality areas that have not yet been
fully implemented or tested:
*
Hello dear members,
We created a seach form using struts. The form uses ISO-8859-1 encoding.
When posting a query with accentuaed characters, no problems.
The browser posts this:
scope=%2FfilesrequestedNodeResults=15uri=xsl=query=pr%E9cipitationsx=0y=0
notice the %E9 in parameters, which
Hi,
Is it possible, through Struts or JavaScript, to narrow down on an
element in a select list with every key press?
I have a sorted select list for country names. If I have entries for
Iceland and India in the pick list, then pressing I would take me
to Iceland but pressing In will take me
You need to subclass the request processor and override the processRoles
method, which by default does nothing. I have included some code which
may help.
public class BHBRequestProcessor extends DelegatingTilesRequestProcessor
{
protected boolean
Shivani,
You may want to take a look at the suggest tag provided by
Struts-layout taglibrary.
http://struts.application-servers.com/suggest/index.html
I have personally used this tag and it is quite easy to get it
working. The best thing is that you do not need to write a single line
of
HI
Anyone can tell how to write the properties value of HashMap in bean:write
using logic:iterate
Regards
vasu
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Thanks so much Raghu for such a quick reply.
Actually I am using a list and not a textbox and I do not want a suggest
list but just want to narrow down on the content of a populated drop
down list.
I'll explain... if I have a standard drop down list for country names
and the list includes ...,
Narayanan, Shiva wrote:
How do we design reusable action forms and action classes(possibly a super
action class and a sub action class) to meet these criteria?
You give me another Harley and I'll do your work for you--I miss my old one.
Dave
Kai Mai wrote:
Whenever a user requests a JSP page, I need to determine if I need to
re-generate it if the corresponding template has been changed.
Doesn't your container do that for you automagically? If it's a JSP page
its corresponding servlet class should be recompiled if the source JSP
Am afraid you can not escape from Javascript to do that!
I am not good at javascript. So you will need to wait till someone
else comments on how to do what you are looking for.
Best,
Raghu
On 1/30/06, Shivani Sawhney [EMAIL PROTECTED] wrote:
Thanks so much Raghu for such a quick reply.
On Jan 30, 2006, at 10:30 AM, Tony Haidamous wrote:
How to grant the role to the user?
It is application server and data source dependant. There is
configuration to be done in web.xml. Check out the servlet
specification or just goole:
web descriptor j2ee security role
or
web.xml
That's the obvious workaround. I was hoping for something a bit more
definitive tho. I saw bug 37867 on bugzilla, but there doesn't seem to
be a solution and it's been quiet for quite a while. I'll comment on it
there as well and see what happens. Some additional observations are below.
Hi!
I would say you can use ActionForm as a bean to pass values from your
action to your JSP. AFAIK ActionForm is just a bean with some
convenience methods.
Andrey
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, January 27, 2006 10:50 PM
To:
Hi!
As I can see from your trace, you are using DispatchAction and in some
moments wrong method name is passed to this action. In the trace you've
presented the method name is empty.
1. Action[/notes] does not contain method named
2. java.lang.NoSuchMethodException:
Struts won't change the value of request parameters. I'm certainly no
encoding expert, but if you want to narrow down the cause, try playing
with a basic servlet and see what it gets from request parameters.
Hubert
On 1/30/06, David Delbecq [EMAIL PROTECTED] wrote:
Hello dear members,
We
This is what's happening:
1) User submit form with invalid data to /Control.do
2) Struts finds action mapping for /Control.do and sees validate=true
3) Struts call's the form's validate()
4) validate returns false
5) Since validation fails, Struts forwards to the input url
6) Go to step 2
There
If there's a form associated with a request, Struts automatically
populates the form bean for you. Just submit the form to a URL with a
proper form bean mapping, and struts will populate the form bean with
values from request parameters for parameters whose names match those
on the form.
It
Regarding the *.do, you can provide any mapping you want. This is configured
in the web.xml where you declare the struts servlet. In particular, I know you
can have any ending you like, or you can parse the requests by path rather than
ending, e.g. /myserver/do/myaction
Regarding the old
Günther,
Can you file a Bugzilla issue for this?
thanks,
Hubert
On 1/30/06, Günther Wieser [EMAIL PROTECTED] wrote:
hi,
just for future reference (in case somebody searches for the same problem),
i found the solution in the README.txt for verson 1.2.8.
=
KNOWN
How should I read multiple different properties file in struts
application, so by name of the property file I can distinguish what type
of properties are defined in the property file.
For e.g. 1. Messages.properties 2. ApplicationBO.propertis and so
forth.
Any help is appreciated !
If all the config files are for the same module, make sure you put the
request processor definition in just one of those config files. In
cases where multiple files (for the same module) carry request
processor definitions, the last definition processed upon startup
would be the definition that
Does all of the tiles:insert statements have to exist in the base layout?
I am trying to use a common, single base layout. I then want to extend
this layout and override one of the tiles to create several intermediate
layouts. I then want to extend these layouts. But, I can't figure out
I am having a problem where requested pages are not being listed in my IIS
log - and I need those entries for my web tracking. I know this isn't struts
(it's JSF) but I figure someone here might know the answer to this.
My environment is as follows. The site is IIS 6.0 with Tomcat 5.5. All
Good job man. I haven't tried the code yet, but this looks nice.
Erik
-Original Message-
From: Michael Jouravlev [EMAIL PROTECTED]
Sent: Jan 29, 2006 7:13 PM
To: Struts Users Mailing List user@struts.apache.org
Subject: [ANN] Tabbed notebooks in Struts/JSP or in pure JSP with new
From: [EMAIL PROTECTED]
Hi
I'd be willing to pitch in here. I have already gone through some of them,
also
finding that jsCookMenu does not work in Clay (actually it does'nt work at
all
at the moment according to the Myfaces list).
I posted a testbed yesterday on this ticket :
can anyone help me understand this? Thanks.
From: fea jabi [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List user@struts.apache.org
To: user@struts.apache.org
Subject: design question
Date: Fri, 27 Jan 2006 11:40:20 -0500
For all the tables in the JSP, I am using displaytag.
For each
I don't have time _right now_ to investigate, but the way you describe
your experience with it, sounds like it's a bug. Creating a bugzilla
issue for it, or even just to get the known limitation notice on
Struts documentation, makes sure the issue doesn't get lost in mailing
list archives.
Hubert:
Thanks for your response !
As I haven't got any answer for my 2nd question, if you can
respond with this thread or newer thread would give me jump start on issue
of application properties file.
In my application I need to read from application
fea jabi wrote:
can anyone help me understand this?
Don't know.
I am creating instances of this Object and making a List which is
getting displayed in the JSP.
I was told that instead of creating Object and creating instances,
one can directly use the result set got from the DB and iterate
Hello,
You want to configure MQ series Q and DB?
For which purpose?
Aren't htosep roperties server-related properties?
If your code is dependent on those things, write a plugIn that read
A configuration file and initializes your objects with proper values..
Ideally, those values should have
I believe that it must have some sort of an extension,
so as to accomodate the processing by the Action servlet.
It does not have to be a .do, but it must have some sort
of an extension -- this get set-up in the web.xml file in the
WEB-INF directory...
Cheers, a.m.
(currently doing a project in
Aleksandar Matijaca wrote:
2006/1/29, Sun Shine [EMAIL PROTECTED]:
I'm rewriting an existing MVC project into Struts. I
have to keep the existing servlet name e.g.
'fooServlet' available for 30 days. How can I support
the new 'fooServlet.do' code and also support the old
MVC code
I am relatively new to struts based application development , I have basic
app up.
Now based my application requirement.
I have to do following
1. I have to put different browser request in a Request Q(SonicMQ)
and then get reply by reading from Reply Q.
I already have utility
Hello,
Not sure then If I gave you right advice
With struts plugin, code that executes in the plugin is executed only
ONCE Per application lifecycle.
You can load your properties int hat plugIn and stored them In the
servletContext,s ot hat every action can then call
Kai Mai wrote:
The template files are in HTML format instead of JSP format. so the
container won't re-compile them.
whenever they are changed, I need to convert them in JSP formats first. Then
the container will re-compile them.
Why not just make them JSP files?
Dave
Dave Newton replied:
In general, I have pretty strong feelings against using raw
ResultSets despite the overhead of copying data... anything
other than raw JDBC will see the same behavior whether it's a
full ORM or something as simple as a RowSetDynaClass (from
Jakarta BeanUtils).
Yeah,
- When PHB asks for weekly progress report on a project and you begin
to describe tasks a, b, and c completion status, he interrupts with I
just need to know a percentage, and then gets visibly annoyed when
you take last week's progress and just add 5% to it.
- When PHB tries to relate his
Thanks for your responses.
I am currently not interacting with DB. Will ofcourse be soon.
But as I mentioned earliar I am creating an object which I am planning to
instanciate for each row of data. When I told about this to my team they
were concerned about the objects being in memory and
I need to support the legacy html template files.
On 1/30/06, Dave Newton [EMAIL PROTECTED] wrote:
Kai Mai wrote:
The template files are in HTML format instead of JSP format. so the
container won't re-compile them.
whenever they are changed, I need to convert them in JSP formats first.
From: Richard Wallace [EMAIL PROTECTED]
That's the obvious workaround. I was hoping for something a bit more
definitive tho. I saw bug 37867 on bugzilla, but there doesn't seem to
be a solution and it's been quiet for quite a while. I'll comment on it
there as well and see what happens.
I did my best to see if this was already addressed by searching mail archives.
All I found so far is a comment from Craig here:
http://marc.theaimsgroup.com/?l=struts-userm=112604395721097w=2
Craig writes:
If, on the other hand, you decide to commit to JSF's controller early rather
than late,
Gary VanMatre wrote:
From: Richard Wallace [EMAIL PROTECTED]
That's the obvious workaround. I was hoping for something a bit more
definitive tho. I saw bug 37867 on bugzilla, but there doesn't seem to
be a solution and it's been quiet for quite a while. I'll comment on it
there as well and
Inline.
On 1/30/06, Troy J. Kelley [EMAIL PROTECTED] wrote:
I did my best to see if this was already addressed by searching mail
archives. All I found so far is a comment from Craig here:
http://marc.theaimsgroup.com/?l=struts-userm=112604395721097w=2
Craig writes:
If, on the other hand,
Craig,
*Exactly* what I was looking for, thanks. Yes, we're keeping an eye on
MyFaces, Facelets, Tomahawk components, IBM Components (We have Rational
Application Developer and IBM ships some components), and the recent
news of Oracle donating many components to add to Tomahawk.
If I get a
From: Troy J. Kelley [EMAIL PROTECTED]
Craig,
*Exactly* what I was looking for, thanks. Yes, we're keeping an eye on
MyFaces, Facelets, Tomahawk components, IBM Components (We have Rational
Application Developer and IBM ships some components), and the recent
news of Oracle donating
I used the latest version of validator jar (commons-validator-1.2.0.jar). I
had to update struts.jar also and the TLDs from an earlier version to the
latest version for validator to work fine. Now I am getting the following
exception.
[1/30/06 16:51:29:689 EST] 759dc768 InsertTag E
Is there a way to get handle on Application property file handle in action
class.
What I mean is if I specify in struts-config.xml
message-resources parameter=DICE null=false/
and drop my DICE.properties file in WEB-INF/classes directory
Shouldn't I be able to read this property file from my
Thanks,
This is what i am looking for :) (almost i think so)
but I think yet that:
j2ee security is a set of patches to solve in each application
where is the patterns?
where is real life?
thanks again Hermod
Luis
2006/1/30, [EMAIL PROTECTED] [EMAIL PROTECTED]:
Hi
Take a look at
Hi
I'll try and get started on that this evening.
Hermod
-Original Message-
From: Gary VanMatre [mailto:[EMAIL PROTECTED]
Sent: Monday, January 30, 2006 5:23 PM
To: Struts Users Mailing List
Subject: RE: [shale] Tomahawk components
From: [EMAIL PROTECTED]
Hi
I'd be willing to
53 matches
Mail list logo