Hi,
Do you want to use Dynamic table on browser side (javascript) or on server
side / jsp?
On JSP side you can use indexed or mapped properties and create table of
input boxes.
For more information
http://mail-archives.apache.org/mod_mbox/struts-user/200710.mbox/[EMAIL
PROTECTED]
Thanks,
You could use jQgrid, it has lots of options.
http://www.trirand.com/jqgrid/jqgrid.html
To use jqgrid you need to pass it the data via xml or json, so I
recomend use the xslt or the json result of struts. You should not
build the xml or the json using a jsp.
It's not somewhat easy, but you will
Hallo
I recently subscribe to the list, and I start working with ajax tags. Im
using in a form some tabs, by inside a tab I need to use a form that will
make a ajax post. I was trying a combination between htmlContent inside the
ajax tabs, but in my java class I didn't receive any value in the
Ok I figured out what is happening with my s:submit
method=pageForward attempt:
If you specify a form action function (example, s:form
action=sample!submit) it will supersede your submit's method
parameter and the submit method will not get called.
If I remove the !submit and make it
If you are using jQuery try this also
http://www.webplicity.net/flexigrid/
I felt its better polished and finished.
Regards,
Jishnu Viswanath
Software Engineer
*(+9180)41190300 - 222(Ext) ll * ( + 91 ) 9731209330ll
Tavant Technologies Inc.,
www.tavant.com
PEOPLE :: PASSION :: EXCELLENCE
Ho all.
I'm il train!
It is possible in struts.xml to have global result of type redirect?
My struts.xml doesn't give validation errors, but results or type
redirect aren't visible ho the controller.
Please help
Gianluca
Inviato da iPhone
Hello
I have two non-nested forms, each with their own submit button and separate
action destinations. The problem is when I click the second form the first
form always fires. Should this, primitive, design work as intuitive with each
only submitting to the action on the specific form that
great if we were programming php on Apache!
I recommend the Dojo Grid control
http://dojotoolkit.org/book/dijit-functional-spec/other-widgets/table
anyone else?
Martin
__
Disclaimer and confidentiality note
Everything in this e-mail and any
Also posted to Struts 2 forum on Nabble - apologies if this causes a
duplicate posting.
Planning to use Struts 2 and JPA (OpenJPA) in a new application development
and am spending some time to review options of how it should be done.
There will be a large CRUD component within the application
I guess you should be more specific about the problem, what is the theme
you are using ?
The answer to your question is yes, it is working intuitively, as I use
it in my own projects.
- Pascal
http://www.cameleon-sporting.com
cpanon wrote:
Hello
I have two non-nested forms, each with
Thanks for your answer.
I don't know what's happening with my thread but I can't see your answer on
nabble. Not a problem, I can see it in an other way.
But your answer doesn't explain me why the attribute is lost between two
struts actions, or I don't understand.
The real problem is that an
That's really weird, I can not find any thing so php specific with grid, its
plain simple grid.
Bye the way, dojo 1.1 has grid, or was it 1.0 Well I personally did not
like the grid implementation, mainly one reason, sluggish, heavy.
I do remember some other contributed and they
Are you saying you want to set the default result type to redirect
globally or that you just want a global result type of redirect to be
available to your actions?
If the former, just redefine the redirect result type in your package and
set it to default=true, like:
result-types
I agree that using the paramsPrepareParams is not the ideal stack to
handle optimistic locking.
However, assuming that you are not losing the original version number
(for example if you are submitting it as a hidden field of your edit
form), and you can reassign it to the appropriate POJO field
dojo and struts-tags and sitemesh and tiles are already supported in struts
http://struts.apache.org/2.0.11.2/docs/dojo-head.html
BTW: you're loading one heck of alot of functionality into JS with these
external JS libraries
http://struts.apache.org/2.0.11.2/docs/ajax.html
(i'm not picking on
Hi,
i have a date validation allows year if it starts with number. If i try
to put the year as dff2: or no number like ddff it throws validation
error. But when I enter 2dff it doesnt throw any validation error.
Here is the validation block
field property=datefield depends=date
I encountered a very strange situation today. I had the following in a web
page:
s:iterator value=employees
s:textfield name=employees[%{key}].id .../
where the get method in my action was:
public MapString,Employee getEmployees()
The employee id 7932F was being interpreted as 7932!
1. Dojo and struts-tags and sitemesh and tiles are already supported in struts
Hmmm, I think these are the valid 2.0.11.2 strut-tags
http://struts.apache.org/2.0.11.2/docs/ajax-tags.html
Well there is no where specified that struts moved to dojo 1.0, well if they
don't we will have problem if u
--- On Mon, 9/22/08, Martin Gainty wrote:
great if we were programming php on Apache!
Or S2 on an app server; I use jQuery regularly.
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
--- On Mon, 9/22/08, Jishnu Viswanath wrote:
Hmmm, I think these are the valid 2.0.11.2 strut-tags
http://struts.apache.org/2.0.11.2/docs/ajax-tags.html
They're supported under S2.0 as well, but not as a plugin, and cotnain somewhat
less functionality.
well if they don't we will have problem
I actually think some people here have reported that they're doing so
successfully, although I haven't done it myself.
Well that would be one amazing work cos both dojo object is entirely
different, ya u can use it in 2 iframes, but in same iframe both dojo .4
and 1.x, well until I see it I wont
FYI, a theme can be specified in a s:form tag or any of its s: form
elements via theme=simple|xhtml|ajax attribute. If you didn't specify one
it's using the xhtml theme.
Do your forms submit to the same event handler? It would be helpful if we
could see the struts.xml and the web pages that
He mentioned html:submit - I guess we are talking about Struts 1, so there are
no themes involved.
Piero
On Monday 22 September 2008 22:14:50 Kawczynski, David wrote:
FYI, a theme can be specified in a s:form tag or any of its s: form
elements via theme=simple|xhtml|ajax attribute.
Interesting. Seems it is a feature, as documented in [1].
Tested it myself:
s:property value=1234h.class.name /
s:property value=1234b.class.name /
s:property value=1234F.class.name /
s:property value=1234L.class.name /
s:property value=1234d.class.name /
s:property value=(1234).class.name /
The
I'm having a problem with Struts2 in Eclipse. I've set all the JARs up
and the FilterDispatcher launches properly. The problem is that it seems
my struts.xml is never read, because I keep getting a message saying
There is no Action mapped for namespace / and action name home. -
[unknown
Thanks for the response.
I agree that there are a number of ways around the problem - I was just
worried that I mis-understanding the sample.
Gabriel Belingueres-2 wrote:
I agree that using the paramsPrepareParams is not the ideal stack to
handle optimistic locking.
However, assuming
--- On Mon, 9/22/08, Emil Lundberg [EMAIL PROTECTED] wrote:
I'm having a problem with Struts2 in Eclipse. I've
set all the JARs up and the FilterDispatcher launches
properly. The problem is that it seems my struts.xml
is never read, because I keep getting a message saying
There is no Action
That's strange... When i set constant name=struts.devMode
value=true / in struts.xml, struts goes into devMode, but still
doesn't find my action mappings. Did I do something wrong? I've worked
with struts before but I just can't seem to get this right for some
reason... Could it have something
Anyone can help me, please?
Thanks.
cacodemon79 wrote:
Hi to all.
I'm using Struts 1.3, Tomcat 6.0 and Eclipse.
I have a problem with Indexed Properties.
I have a jsp that should save hidden values and pass it to the linked
Action.
I show you my code.
JSP PAGE
Is the Struts Dispatcher configured in your web.xml to intercept all
requests?
Carlos Luis Zúñiga Sibaja
__
[EMAIL PROTECTED]
divide et impera...
On Mon, Sep 22, 2008 at 3:43 PM, Emil Lundberg [EMAIL PROTECTED]wrote:
That's strange... When i set constant
Hi,
i want to save some special settings inside a bean and use them to
change things on my jsp pages. for that i created a singleton
usersettingsbean. I know i can create the bean with the help of a
struts-tag. but how can i access/create the bean from within the execute
method of an action?
Hello Chris. Thank you.
Are you saying you want to set the default result type to redirect
globally or that you just want a global result type of redirect to be
available to your actions?
The second. I wrote this:
package name=almayer namespace=/ extends=struts-default
This is my requirement:
- the user asks for a resource, say A.action
- the controller fires a custom interceptor I to authenticate the user
- user isn't authenticated, so I redirect to L, the login page
- user enters valid credentials
- the controller redirect to the original requested A.action
Stupid me...
it seems i was looking at the wrong api docs. Next time i avoid google...
There is a difference between the webworks documentation on
opensymphony.com and struts.apache.org. set(string,object) is hopefully
the solution of my problem. i'll try it tomorrow.
on the pro side, i
I thought of the same problem some time ago.
- during the execution of I all information for the correct redirect is
stored (session, bean... whatsoever)
- during the login action, after the login is confirmed the action
realizes that a redirect is requestet (to a.action)
now the login
What is the message you're receiving? From what you've provided I can't
tell if it's that it can't find the redirect result type, or the
/homeSecure.action to redirect to.
(*Chris*)
On Mon, Sep 22, 2008 at 4:03 PM, Gianluca Musella
[EMAIL PROTECTED] wrote:
Hello Chris. Thank you.
Are you
I don't know but I hope not, since I don't want my expressions to
reduce to different data types depending if there is a number or not
in them!
Even if abc would reduce to the string 'abc', the expression 0xabc
reduce to an Integer (have tested it), since it is an hexadecimal
number.
2008/9/22
please post your struts.xml and the url you are trying to hit. Your web.xml
relevant part will also behelpful ...
On Mon, Sep 22, 2008 at 5:43 PM, Emil Lundberg [EMAIL PROTECTED]wrote:
That's strange... When i set constant name=struts.devMode value=true
/ in struts.xml, struts goes into
if you want to create action (actually action names) on the fly
2 options
http://struts.apache.org/2.0.11.2/docs/rest-plugin.html
provided disableControllerScanning = false e.g.
struts.configuration.rest.disableControllerScanning=false
the other option is to go with Spring MVC dynamic
39 matches
Mail list logo