On Fri, Mar 11, 2011 at 11:10 AM, François Rouxel wrote:
> well thx,
>
> but I need struts2 to do a little job, parse the url...and go to another
> action... without changing the url...
> because,
> actually, there is no www.mysite.com/abusiness.html
try "chain"?
redirectAction is client-side re
hi Dave
how ru.
am facing a problem sir. here am attaching a pdf of jasper report and jrxml
file. In that detail tab is stretching like anything. Space between detail
tab and coloumn footer is very high. i want detail tab correctly fit to the
data. am attaching that jrcml file and pdf
http://ol
well thx,
but I need struts2 to do a little job, parse the url...and go to another
action... without changing the url...
because,
actually, there is no www.mysite.com/abusiness.html
it's just a fake, but I want to 'redirect', 'forward' I don't know the right
word, to the a detail business page
On Thu, Mar 10, 2011 at 9:52 PM, François Rouxel wrote:
> does struts2 have a type='forward' ?
> because I use type='redirectAction'
Like I said--a redirect... redirects.
http://struts.apache.org/2.x/docs/result-types.html
http://struts.apache.org/2.x/docs/dispatcher-result.html
The documentati
does struts2 have a type='forward' ?
because I use type='redirectAction'
Francois Rouxel
- Message d'origine
De : Dave Newton
À : Struts Users Mailing List
Cc : François Rouxel
Envoyé le : Jeu 10 mars 2011, 21h 46min 08s
Objet : Re: Re :
That's kind of what a redirect *is*.
Perhaps you're thinking of a forward?
Dave
On Thu, Mar 10, 2011 at 9:44 PM, François Rouxel wrote:
> the main idea is
> I generate permaLink for businesses
> ex: mysite.com/abusiness.html
>
> and I need to redirect on the detail business page...
> so I parse
the main idea is
I generate permaLink for businesses
ex: mysite.com/abusiness.html
and I need to redirect on the detail business page...
so I parse the url and do a redirection...but the browser changes the url...and
I don't want the user to see something like
mysite.com/showBusiness.action?idB
not i the type of result is redirectAction
http://struts.apache.org/2.0.14/docs/redirect-action-result.html
we could provide more informed solutions if you could explain what you wish to
implement and a rough workflow
Martin Gainty
__
Verzicht un
Hi guys,
I need your help, at least your expertise...
My site generates permaLinks dynamic like
www.mysite.com/abusiness.html
and struts2 makes a mapping (in struts.xml file) that redirect on an action
that takes params
ex:
I have never run into this issue while using OiSV, but couldn't it be
easily solved by not referencing any related entity or collections
directly from the model you are modifying in your action? In other
words, the object that is in your model (e.g Customer) would be in
getModel() and in the form
Here is an old thread talking of this same issue. It appears some
suggestions are given, but still an issue. Dave was *marginally*
following this thread as well ;-)
http://www.coderanch.com/t/58423/Struts/Struts-Model-Driven-fundamentally-flawed
On Thu, Mar 10, 2011 at 11:55 AM, CRANFORD, CHRI
Dave et el -
I can only conclude that either something is severely lost in my
understanding of a Struts2 ModelDriven action coupled with Spring3 and
Hibernate/JPA. I have tried numerous configuration changes,
annotations, etc and nothing has appeared to avoid allowing dirty data
to make it to the
Annotating @Transactional on the action didn't help.
> -Original Message-
> From: Maurizio Cucchiara [mailto:maurizio.cucchi...@gmail.com]
> Sent: Thursday, March 10, 2011 1:41 AM
> To: Struts Users Mailing List
> Cc: CRANFORD, CHRIS
> Subject: Re: RE: Re : Re : ModelDriven & Hibernate Ent
Oh, learn something new every day :)
> -Original Message-
> From: Dave Newton [mailto:davelnew...@gmail.com]
> Sent: Thursday, March 10, 2011 10:40 AM
> To: CRANFORD, CHRIS
> Cc: Struts Users Mailing List; Maurizio Cucchiara
> Subject: Re: RE: Re : Re : ModelDriven & Hibernate Entities
>
On Thu, Mar 10, 2011 at 11:38 AM, CRANFORD, CHRIS wrote:
> Yes the plugin is in the app's lib directory.
Just FYI, that sets the object factory to "spring", so Spring is
instantiating your actions.
(At least it used to.)
Dave
-
Dave -
Yes the plugin is in the app's lib directory.
> -Original Message-
> From: Dave Newton [mailto:davelnew...@gmail.com]
> Sent: Thursday, March 10, 2011 10:37 AM
> To: Struts Users Mailing List
> Cc: CRANFORD, CHRIS; Maurizio Cucchiara
> Subject: Re: RE: Re : Re : ModelDriven & Hiber
On Thu, Mar 10, 2011 at 11:32 AM, CRANFORD, CHRIS wrote:
> I don't use Spring to instantiate my actions, they're not defined like that.
And you're not using the S2 Spring plugin? (Just for the sake of
completeness; I'm only marginally following this thread.)
Dave
I don't use Spring to instantiate my actions, they're not defined like that.
Spring injects my services into my actions because I use the @Autowired
annotation. I then have all my services and DAO classes annotated with the
@Service and @Repository annotations so that I can wire then through in
Martin -
This is what has me confused. I don't believe that Hibernate's FLUSHMODE is
even being set and I am starting to question if that is because of how I am
using JPA in conjunction with Hibernate with Spring's transaction management
system.
On Thu, Mar 10, 2011 at 10:08 AM, Emi Lu wrote:
> (1) http://code.google.com/p/struts2-jquery/wiki/AutocompleterTag
> (2) http://docs.jquery.com/Plugins/autocomplete
>
> I strongly hope that (1) can be added to (2).
Not sure what you mean there, there will never be docs on the jQuery
site that are
Thank you very much all!
If I did not get your help, I will almost do this way:
http://viralpatel.net/blogs/2009/06/tutorial-create-autocomplete-feature-with-java-jsp-jquery.html
I think if the two websites can link each other, it will help users like
me a lot!!!
(1) http://code.google.com/p/
Hi,
You can find example in the two showcases war (the bin for jsp and the source
one if you want to see action java class) of the struts2-jquery plugins :
http://code.google.com/p/struts2-jquery/downloads/list
And on the wiki :
http://code.google.com/p/struts2-jquery/wiki/AutocompleterTag
B
Try this one
http://code.google.com/p/struts2-jquery/wiki/AutocompleterTag
/peter
>>> Emi Lu 2011-03-10 15:13 >>>
Good morning,
Does someone know where I can find a good:
jquery + struts2 => autocompleter example?
Since dojo deprecated, I am thinking using jquery + struts2.
Basically, au
Good morning,
Does someone know where I can find a good:
jquery + struts2 => autocompleter example?
Since dojo deprecated, I am thinking using jquery + struts2.
Basically, autocompleter's value list needs to be calculated by struts2
action class to retrieve from Database.
Thanks a lot!
Lu Y
Great discussion, but just to give some background on my OT:
- "Blessed" Struts ver. is 2.0.11.1. This does not have the JSON plugin
which I think was included only in 2.1.7
- I have used GSON, and I was very impressed. Marshalling/UNMarchalling JSON
is literally 1 line of code if the model class
i dont use the osiv filter i just make sure the DAO object method returns the
objects initialised correctly (i.e. all lazy collections that are to be
accessed are initialised) for how its going to be used - i might have a DAO
method to return the plain object with no collections initialised an
Hi,
Name of LoginAction-Validation.xml file name must be
LoginAction-validation.xml; so Validation's first character must be
lowercase.
And you should consider to struts form which theme definition used for
it. Look at the
http://struts.apache.org/2.2.1/docs/struts-2-themes.html
Maybe you could
Hi,
I have corrected my jsp page, (not sure whether this is correct ) , and have
attached it below . But I have already initialized listbean in the action
class , whose code snippet im pasting below.
-
private DomainBean listbean;
---
public String addupDomain(){
String r
I can't see any reference to the listbean property in your JSP.
And also in the Action I can't see any initialization of listbean.
Johannes
JavaNoobie wrote:
>
> I have made the necessary changes , and have got rid of the error.Now ,I'm
> being able to access the addupDomain function .However
I can't see any reference to the listbean property in your JSP.
And also in the Action I can't see any initialization of listbean.
Johannes
JavaNoobie wrote:
>
> I have made the necessary changes , and have got rid of the error.Now ,I'm
> being able to access the addupDomain function .However
Hi, I found that that the bean --"listbean" being created in the
action(DomainAction1.java) class is being set with a null value and as a
result the ERROR page is being executed .Please help as to how i can
overcome this issue . Thanks
--
View this message in context:
http://old.nabble.com/Stru
Could you provide your exception stacktrace?
On 10 March 2011 09:51, JavaNoobie wrote:
>
>
> I have made the necessary changes , and have got rid of the error.Now ,I'm
> being able to access the addupDomain function .However , I guess I'm missing
> something fundamental as I'm not being able to i
I have made the necessary changes , and have got rid of the error.Now ,I'm
being able to access the addupDomain function .However , I guess I'm missing
something fundamental as I'm not being able to insert into the database, as
the control is being passed to the ERROR page each time and there is
33 matches
Mail list logo