You can implement the org.displaytag.pagination.PaginatedList class and use
any parameters you like. Also helps when dealing with large lists.
Z.
> 2008/5/1 Brad A Cupit <[EMAIL PROTECTED]>:
>>> > > I'm curious if there is a neat way to have the page
>>> > > parameter mapped onto action or some
I found this NetBeans plugin. Is it working well ?
https://nbstruts2support.dev.java.net/ netBeansPluginStrtus2
Herrera
--
View this message in context:
http://www.nabble.com/Support-for-Struts-2-in-NetBeans-IDE-tp16996455p16996455.html
Sent from the Struts - User mailing list archive at Nabb
just input the URL of Action in the path="someAction":
On Fri, May 2, 2008 at 9:02 AM, bhaarat Sharma <[EMAIL PROTECTED]> wrote:
> Hi
>
> I started struts with struts 2 but currently am in a project which is using
> struts 1
>
> we have tags like these
>
> type="org.cipe.c
Hi
I started struts with struts 2 but currently am in a project which is using
struts 1
we have tags like these
where the forward path is in a tiles definition.
I am wondering if there is a way to forward the control to another struts1
action when forward name is success?
Hi,
Does someone can tell me why does a action is called more than once?
I've a action to populate some fields (I call it once), by debugging I saw
that this method is called three times.
Is it normal? If it'snt how to prevent?
Thanks!
Márcio Gurgel
Hi Jeromy,
Sorry, I forgot one more question,
Eventhough we use dojo 1.1 directly, we need to have
dojo.js, wouldn't this conflict with the one which
comes as part of struts bundle
--- Jeromy Evans <[EMAIL PROTECTED]>
wrote:
> tom tom wrote:
> > Hi,
> >
> > In order to leverage the full capabil
Thanks Jeromy,
Yes that is what I also thought,
On the other hand I came to know that Struts 2.1 got
lot of tag enhancements with regards to dojo
The main thing which I can't understand is, why struts
provides AJAX theme at all,
DOJO to me is not only a set of javascript, it is a
framewor
While I used WebWork-2, and the XWork associated with it, I was able to
programmatically
retrieve action validation using the ActionValidatorManagerFactory.
Now, it seems this class was removed.
Any suggestions on how to programmatically get a ValidatorFactory instance?
Hi,
In the doc for it says: "The value sent to the server
is a locale-independent value, in a hidden
field as defined by the name attribute. The value will be formatted
conforming to RFC3 339 (-MM-dd'T'HH:mm:ss) "
>From my debugging two values are sent to the server.
1) dojo.attr
Hi,
We are trying to the the tag for date fields.
The doc says that this tag should accept and display dates in the user
locale.
All seems well as long as the user has US english locale defined in his
browser.
However if the user uses another locale, en-gb (English), no_NO
(norwegian) ect, the
--- Sandy143 <[EMAIL PROTECTED]> wrote:
> I have replaced with normal href ...
>
> I am able to view Login.jsp. But when I click on submit ...it throws me
> out.
>
> Please let me know at your earliest possible
Are you billing by the hour for this?
Seriously, have you seen the last three times
Yes ...
I have replaced with normal href ...
I am able to view Login.jsp. But when I click on submit ...it throws me out.
Please let me know at your earliest possible
newton.dave wrote:
>
> --- Sandy143 <[EMAIL PROTECTED]> wrote:
>> Let me be clear then ...
>>
>> I am trying to migrate fro
2008/5/1 Brad A Cupit <[EMAIL PROTECTED]>:
> > I'm curious if there is a neat way to have the page
> > parameter mapped onto action or something alike
>
> You should be able to put a setter on the Action. So, if your url parameter
> is named pageNum, your action would have a setPageNum() method.
> I'm curious if there is a neat way to have the page
> parameter mapped onto action or something alike
You should be able to put a setter on the Action. So, if your url parameter is
named pageNum, your action would have a setPageNum() method.
Brad Cupit
Louisiana State University - UIS
Spring also has support for loading beans from bundles, independent
from the MVC part, which we are using in the OSGi plugin.
musachy
On Wed, Apr 30, 2008 at 11:41 PM, Don Brown <[EMAIL PROTECTED]> wrote:
> Spring MVC is taking a significantly different approach than Struts 2,
> as I understand
ravi_eze wrote:
hi,
even this doesnt seem to be working.
is it possible to load the constant class to the context and then display it
form there.? or in that case it expects a setters and getters... or some way
of getting this done.. the code is very bad to read 'cos every time i am
using @com.
Hi!
On Wed, Apr 30, 2008 at 2:21 AM, crappycrumpet <[EMAIL PROTECTED]> wrote:
> Ralf Fischer-2 wrote:
> >
> > Please tell us exactly what you want to do, as there might be a
> > simpler solution to your problem.
> >
>
> Okay I don't have hibernate and this is what I'm sort of doing. Let's sa
Thanks all for the information. Since it seems that a few others out there
had similar questions, I’ll add to this post for future reference.
Like the Action examples, as long as the get...() property on the parent
class is properly annotated with the VisitorFieldValidator, the annotations
corre
I simply can't find anything wrong in my config, I've got a simple app with
a login action returning "success"
this is my Struts.xml file:
working.page
and this is my tiles.xml:
I have this exception from Weblogic that tells me something in my session
(org.apache.struts2.dispatcher.StrutsRequestWrapper) is not serializable.
Does anyone understand what is going on here? I am not sure whether the
org.apache.struts2.dispatcher.StrutsRequestWrapper should be in the session
Hi,
I want to implement paging with DisplayTag, but I'm stuck with encoded
table name (d--p). As for now I have my Action implement
ParameterAware and manually grab the page number from the map. I'm
curious if there is a neat way to have the page parameter mapped onto
action or something alike (so
Jeromy Evans on 01/05/08 14:49, wrote:
That way you could remove all the boilerplate from your actions.
eg, If it placed the model into the actioncontext you could
potentially use
without your action providing the list or getter at all (except
something must instruct the interceptor to load
Dave Newton wrote:
--- Jeromy Evans <[EMAIL PROTECTED]> wrote:
I've been toying with the idea of creating a custom interceptor to do
this. It would be effectively the same as you describe, except that it
would inspect the action for the presence of some interface, annotation,
or method, an
Adam Hardy wrote:
Adam Hardy on 01/05/08 13:51, wrote:
Jeromy Evans on 01/05/08 12:48, wrote:
Adam Hardy wrote:
I have been casting around for a while for the most elegant and
quick-to-code mechanism for putting populating lists for select
controls.
I wanted to run this one idea past the st
I have an Action that could display several pages based on some info
passed to it.
Basically, its a preview action that will show the proper preview page
based on some input.
The way I am think of doing it is to use custom results to redirect to
the proper preview page:
if (preview1) {
retur
--- Jeromy Evans <[EMAIL PROTECTED]> wrote:
> I've been toying with the idea of creating a custom interceptor to do
> this. It would be effectively the same as you describe, except that it
> would inspect the action for the presence of some interface, annotation,
> or method, and examine the re
Hi Jeromy,
I never received the responses. Not sure why. I initiated the message
from Nabble but it asked that I signed up to the listserv. I did that
but it acted as if the message never posted. So I signed up again and
posted the message again.
I see my question on Nabble and Markmail b
Adam Hardy on 01/05/08 13:51, wrote:
Jeromy Evans on 01/05/08 12:48, wrote:
Adam Hardy wrote:
I have been casting around for a while for the most elegant and
quick-to-code mechanism for putting populating lists for select
controls.
I wanted to run this one idea past the struts users to get a
Jeromy Evans on 01/05/08 12:48, wrote:
Adam Hardy wrote:
I have been casting around for a while for the most elegant and
quick-to-code mechanism for putting populating lists for select controls.
I wanted to run this one idea past the struts users to get any
feedback on something I may have mi
Jon Wynacht wrote:
Hi,
I have a Struts action that, when invoked, needs to send email to
about 50 people. From what I've read in this forum it seems I should
use JMS for this. Any suggestions on which route to take? I'm running
Tomcat 5.5.20. Any pointers? Is this overkill? Better solutions?
Adam Hardy wrote:
I have been casting around for a while for the most elegant and
quick-to-code mechanism for putting populating lists for select controls.
I wanted to run this one idea past the struts users to get any
feedback on something I may have missed or need to know.
One requirement
I have been casting around for a while for the most elegant and quick-to-code
mechanism for putting populating lists for select controls.
I wanted to run this one idea past the struts users to get any feedback on
something I may have missed or need to know.
One requirement I set myself is tha
Hi,
I have a Struts action that, when invoked, needs to send email to
about 50 people. From what I've read in this forum it seems I should
use JMS for this. Any suggestions on which route to take? I'm running
Tomcat 5.5.20. Any pointers? Is this overkill? Better solutions?
Thanks,
Jon
hi,
even this doesnt seem to be working.
is it possible to load the constant class to the context and then display it
form there.? or in that case it expects a setters and getters... or some way
of getting this done.. the code is very bad to read 'cos every time i am
using @com.company
any
Hi,
Logged in to my web application using Internet Explorer.
>From the home page (JSP), opened one popup window (no. 1) ; then from window
1, opened other window no. 2; now submitting (an struts action from jsp)on
window no. 2 , should show the results on the base(main) window ie. where i
firs
35 matches
Mail list logo