>
> I do not understand well. Do you mean to create new package in sruts.xmland
> add an action which serves static content ?
>
Exactly,
Best,
Aram
Aram Mkhitaryan
52, 25 Lvovyan, Yerevan 375000, Armenia
Mobile: +374 91 518456
E-mail: [EMAIL PROTECTED]
I am running into a situation where once a user has checked a box and has
submitted the form, there is now no way to uncheck the box. What is the proper
way to handle this situation?
Thanks,
Joe
I tried taking a modified version of the Struts 2 + Spring 2 + JPA + AJAX
tutorial that I've done and integrated it with Sitemesh.
I realized that if i have div tags with the ajax theme, Sitemesh will
decorate that area so I will end up with and embedded decorator in the main
page. I need to excl
Hi, Richard Sayre
Thanks for ur reply.
I have been looking for a solution by myself but to find that there was none
to resolve it just change the configuration-file.
I have no experience in taking use of FreeMarker.
However,ur way may be just the only one.
I will just try and thanks for ur commen
I need to pass the URL from the including page to the included page within
the same http request and not across requests (hence the form, hidden
variables are not needed). Let me illustrate with an example. Lets say I
have searchResults.jsp that lists a page of results and at the bottom, I
include
Your approach seems fine.
See if you can access "CategoryEditor.action" directly using the
browser. If not, the action name is incorrect.
Have you confirmed that its actually posting a request?
Also the logging and debugging interceptor for more insight.
Session A Mwamufiya wrote:
Hi,
I use
I tried that, but it doesn't change a thing, I still never get the actions
called. I'm sure that someone must have already used a button to call a struts
2 action; could you please send me a jsp example of that so that I could do the
same in my case.
Thanks,
Session
>
> hey to get things m
Hey Srinivas
Maybe u cud create a form and create a hidden variable to pass the URL
around between different pages. Retrieve the URL from the form, process
it if u need, add it again as a hidden variable in a form in the next
page. try to submit the form by post.
Also see if this helps:
http://s
Hi to everyone.
I'm new to Struts and I'm trying to use JAAS Authentication using mysql
database to store usernames and passwords.
I've found tutorials in google but they show how to configure JAAS with struts
using a file to store the authentication data of the users.
The tutorial is http://www
I am developing an app for which there is a common pagination bar (call it
"paginationInclude.jsp") that is included at the bottom of several different
pages.
The pagination include needs to get a "base url" from the including page and
then append a "pagenum" param to that URL to generate the fin
Lukasz,
It was a few months ago, but I recall encountering the same problem when
trying to define a Guice module. As you described, it worked fine
without a Module but failed when one was specified.
I tracked it down to a bug (in the plugin I think?) and it was solved by
building the current v
Hi Frank,
Thanks again for the detailed response.
I think I've got your points. Yes I'm aware of Swing/VB technology and that
analogy helped me a lot to understand the perspective.
However, I'm still not very sure whether the design approach of Swing/VB is a
right fit for a scenario where the
Very cool! That has been one of those things I keep meaning to work
on. If nothing else, add the lines (commented out, of course) to our
portlet archetype.
Don
On 7/29/07, Nils-Helge Garli <[EMAIL PROTECTED]> wrote:
> Good tutorial, and a nice way to get started with portlet development!
>
> Ma
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Richard,
Richard Sayre wrote:
> I have a form that can have 1 to many 'Name' text fields. In struts
> 2 how do I set up the action so it can automatically grab the values
> that are in those fields?
>
> If I had 1 name field I would just put a name
After reading the Mail Reader walk through, it would seem the best
practice for handling exceptions is throwing them back to your Action
and having a result mapped to handle each specific exception.
Is this the best way to do this?
If I use this method how can I log the stack of each exception th
I have a form that can have 1 to many 'Name' text fields. In struts
2 how do I set up the action so it can automatically grab the values
that are in those fields?
If I had 1 name field I would just put a name variable in the Action
Class and create a setter and getter for it. How do I do this w
For clarification the following line:
<#include "/${parameters.templateDir}/xhtml/validationarea.ftl" />
was added to the first line of form.ftl
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAI
Hi,
I had the same problem. I did not like the way the error were being
displayed (In a new row above the field that has the error) To do
this I have to chenge the XHTML template
First I removed the validation from the controlheader-core
<#--
REMOVED
We have our own Error area
<#if hasFieldEr
Good tutorial, and a nice way to get started with portlet development!
Maybe not entirely on topic, but inspired by your tutorial and some
information I found earlier in the pluto FAQ about embedding pluto, I
started playing around with making the maven-jetty-plugin work with a
portlet project. Th
19 matches
Mail list logo