This is documented in the Javadoc for NameBasedActionResolver[1]:
Another useful feature of the NameBasedActionResolver is that when a
request arrives for a URL that is not bound to an ActionBean the
resolver will attempt to map the request to a view and return a 'dummy'
ActionBean that will take
Hi Chris,
To get the URL, you can simply use stripes:url beanclass=...
var=someVarstripes:param ...//stripes:url, and then in
JavaScript, get it with ${someVar}. No need to hide the link nor
extract the href.
To get just the ID, you can have, on your action bean, public String
getEncryptedId() {
Hi all,
Just wanted to mention, for those who might be interested, that
The Pragmatic Programmers are having a sale on selected titles,
including the Stripes book, in paper format for $9.95:
http://pragprog.com/book/fdstr/stripes
Full list of books on sale:
http://pragprog.com/promotions
Hi Chris,
I think the reason is, generally, if you submit a form with values and
there are validation errors, those values are blocked from being bound
on the action bean (validation is about disallowing invalid values,
after all). When redisplaying the form and telling the user about the
errors,
Hi Chris,
Perhaps use the hasErrors() JSP function from the Stripes taglib?
http://stripes.sourceforge.net/docs/current/taglib/stripes/hasErrors.fn.html
Hope that helps,
Freddy
On Tue, Jul 30, 2013, at 02:36 PM, Chris Cheshire wrote:
In my JSP page, how do I check if the errors for a field
Hi eminene,
I am very new in Stripes.I am not able to bind textbox with actionbean
attributes.
Enter Name: s:text name=userName
value=${actionBean.userName}name/s:text
Value doesn't seems to bind with updated vaue of userName.
You do not need the value= attribute. Try:
Enter
this
week, and got stuck on this bit of the redirect after login until I
found this thread.
Cheers,
Chris
On Sun, Oct 11, 2009 at 12:11 AM, Freddy Daoud xf2...@fastmail.fm
wrote:
Hi Rusty,
How do I get the url for the current page? I need it for a redirect back
to the current page
Hi Matt,
Gah. I sweat this out for an hour, post something on the mailing list,
and then figure it out on my own a few minutes later.
That's quite alright--score another one for the Rubber Duck:
http://en.wikipedia.org/wiki/Rubber_duck_debugging
Cheers,
Freddy
Heh, I too looked at Angular because of this thread, it looks pretty
cool. Definitely going to try it out.
Freddy
On Mon, Sep 17, 2012, at 09:58 AM, Adam Stokar wrote:
Hi Joe,
If you don't mind telling me, what type of datasource are you using
with Angular.js? I just watched the video and
Hi Joe,
Stripes comes with a dynamic attributes version of its tag library.
You can use it by declaring the following in your JSP (notice the
-dynattr part):
%@ taglib prefix=stripes
uri=http://stripes.sourceforge.net/stripes-dynattr.tld; %
You can use both the regular and the dynattr versions
Since Stripes is capable of rendering a collection of values
with its hidden tag, you are better off using one tag per
input name.
Cheers,
Freddy
On Sun, Feb 19, 2012, at 11:21 PM, Anthony DePalma wrote:
I can confirm that its happening because of Stripes, I just
downloaded the QuickStart
Got the Stripes book? The answer is in there ;-)
Freddy
On Sun, Feb 12, 2012, at 03:41 PM, Mike McNally wrote:
I realize this is kind of Stripes 101, but I guess I skipped that
class.
I'd like to use the code that drops the error class into the field
tag class strings as the primary way to
The 'checked' attribute is also useful when it refers to a Collection.
In the Stripes book I show an example where you have a table with a list
of users, and one of the columns shows the roles that the user has. All
roles are rendered as checkboxes, and the ones that the user has are
checked by
Hi Moritz,
Your code looks right to me. What error are you getting?
Another way is to use a JSP .tag file:
/tags/address.jsp:
%@ tag body-content=scriptless %
%@ attribute name=address required=true rtexprvalue=true
type=com.example.model.Address %
%@ include file=/jsp/taglibs.jsp %
Hi Nathan,
A few comments below. Hope that helps.
[...]
s:form beanclass=${actionBean.class.name} name=frmExam
p(Q1). In which country were you born?/p
ps:radio name=answer[1] value=1/Australia/p
ps:radio name=answer[1] value=2/Other/p
pnbsp;/p
p(Q2). Do you speak any of these
You need field=startTime instead of field=event.startTime,
same for endTime.
Cheers, Freddy
On Wednesday, November 16, 2011 10:37 PM,
ted_smith2...@comcast.net wrote:
Now I am working on a custom date type convert and set in action
bean
class MyActionBean {
private Event _event;
Hi all,
This month's issue of Java Tech Journal has an article about Stripes:
http://jaxenter.com/java-tech-journal/JTJ-2011-08
Cheers,
Freddy
--
All the data continuously generated in your IT infrastructure contains
You could also return the 204 status code, which means success
with No Content.
Freddy
On Friday, September 30, 2011 2:39 AM, Samuel Santos
sama...@gmail.com wrote:
Are you expecting a JSON object?
If so, you can return a JavaScriptResolution(null) or a
Hi,
Try adding a public getter method and a public setter method
for the 'design' property.
Hope that helps.
Freddy
http://www.pragprog.com/titles/fdstr
On Tue, 16 Aug 2011 02:32 +, Cefn Hoile tryanotherem...@cefn.com
wrote:
I've tried so many combinations and I'm now totally stuck.
On Mon, 11 Jul 2011 16:21 -0700, Joaquin Valdez
joaquinfval...@gmail.com wrote:
Hello!
I am wondering how to encrypt an Integer value the same way
stripes does with this syntax. Is this possible?
@Validate(encrypted = true)
private Integer memID;
Something like this:
String encrypted_value =
But before you can create the example WAR file, you have to fix two
syntax
errors in the LoginInterceptor class. Please see the attached patch for
this.
Aw, wish you'd told me about this earlier.. I sent this to the Prags
so that hopefully they fix it on the site and you don't have to do
this
But before you can create the example WAR file, you have to fix two syntax
errors in the LoginInterceptor class.
The errors are fixed in the bundles on the pragprog site now.
Cheers,
Freddy
--
EditLive Enterprise is
Hi Nicolas,
You could try this article, it includes an example along those
lines.
http://www.theserverside.com/news/1363758/A-Stripes-15-Test-Drive
Cheers,
Freddy
On Wed, 15 Jun 2011 20:15 +, nicolas savoini
nicolas.savo...@mac.com wrote:
Hello
I'am just starting with Stripes, so don't
, 15 Jun 2011 21:25 +, nicolas savoini
nicolas.savo...@mac.com wrote:
Thomas Menke stripesml@... writes:
On 06/15/2011 10:58 PM, Freddy Daoud wrote:
Hi Nicolas,
Hi Freddy,
You could try this article, it includes an example along those
lines.
http
Sorry, I don't seem to have the article in my archives.
Boo to TSS for not displaying the article correctly and the
invalid link to source code for the article :(
Freddy
--
EditLive Enterprise is the world's most
Hi Samuel,
2. Validate what belongs to core and what doesn't, I do believe
that:
3. Stripes Security should be moved from plugin to core
(Security and JAAS integration is a fundamental feature in any
Java web framework).
I disagree with that. By your logic of not
Nice writeup Joel and good to have for a quick reference.
Thomas, I know your question was about JSP functions, but I just
wanted to mention that for the actual example you mentioned, you
can probably get Stripes to do the work for you.
Something along the lines of:
stripes:select
Hi Melinda,
ValidationErrors is simply
[1]HashMap[2]String,[3]List[4]ValidationError so you can
iterate through the keys and have the list of corresponding
ValidationError, each of which has a getFieldName() method.
For the duplication, I would remove mapError from your exception
classes. You
Hi Joaquin,
Wondering if anyone has any resources on using stripes with Yui? Saw an
article by Freddy, but it looks like a broken link.
Sorry about that. When someone inquires about an article that was on the
defunct blog, I usually find it and post it. But alas, I cannot find
this
Very nicely explained, Nikolaos!
Freddy
On Mon, 31 Jan 2011 17:00 -0500, Adam Stokar
ajsto...@gmail.com wrote:
Appreciate your help Nikolaos, this is exactly what I was
looking for. Thanks!
- Adam
On Mon, Jan 31, 2011 at 1:52 PM, Nikolaos Giannopoulos
[1]nikol...@brightminds.org wrote:
Hi,
The table on the jsp page gets the data
from
${actionBean.object.children}.
When it is submitted and its get validation error, it goes back to
getContext().getSourcePageResolution(). The defaultHandler method was
not
executed and the actionBean was not populated with its children.
Nikolaos Giannopoulos nikolaos@... writes:
Would Stripes favor TLActionBeanContextTest
over TLActionBeanContext for
the ActionBeanContext???
Hi Nikolaos,
There is no favoring of one custom action bean context class over
another. There should only be one, otherwise, Stripes will throw
an
Hi John,
Should I
look at using flash scope because I’m missing how powerful it
is? (I haven’t seen a need for it yet).
Well, it's not so much that you would use the flash scope directly,
but it is used implicitly in some useful ways. One common example
that comes to mind is when you submit
+1 on Apache Shiro, it's a good alternative.
Thanks Janne for the writeup!
Cheers,
Freddy
On Tue, 11 Jan 2011 15:03 +0200, Janne Jalkanen
janne.jalka...@ecyrd.com wrote:
BTW, this reminds me... If your Stripes app needs security, using Apache
Shiro together with Stripes is a breeze.
Forgive me if I missed something, and I don't mean to cause any
trouble, but I need to ask: what happened to all the up in arms
from a few months ago where a bunch of enthusiasts wanted to help
out with Stripes? People were saying please let us in, we want
to help? People wanted to help out to
Must be joking. Tapestry 5 gets 0.00 for learning curve, developer
availability, job trends, and documentation.
On Wed, 1 Dec 2010 03:05:53 +, Samuel Santos sama...@gmail.com
said:
quoteAfter updating my JVM Web Framework matrix based on community
feedback, Tapestry Vaadin tied for 5th.
This came up a while back when a typo in Freddy's book resulted in code
that didn't work.
By the way, the typo has been corrected for current and future
owners of the ebook.
Freddy
--
Beautiful is writing same
Hi all,I came across this comparison on Devoxx, by Matt Raible
Interesting, thanks for the links!
Freddy
--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,
Hi Nikolaos,
The point wasn't that anyone got offended... but rather that some got
alarmed by the comment w.r.t. disaster and started jumping all over it.
As I mentioned in another post... I don't think that is what Remi
intended to say... .
The unfortunate thing is that the nested
While nothing you say is overtly wrong, you need to understand the tone
and candor of your comments are alarming to some...
...unless know Rémi, and then you know not to get offended :)
Seriously people, unless someone calls you a !(*$? !*$?!, don't
get offended. At least not on the Stripes
:-)
On Tue, 9 Nov 2010 22:01:49 -0500, Dimension123
dimension...@gmail.com said:
Im offended your book isn't here yet.
On topic...release this bad boy!
-Original Message-
From: Freddy Daoud xf2...@fastmail.fm
Sent: Tuesday, November 09, 2010 9:48 PM
To: nikol
, 2010 1:57 PM
To: Stripes Users List
Subject: Re: [Stripes-users] Source forge description: It's stripey and
itdoesn't suck
Stripes: Do Stuff!
On Oct 29, 2010, at 10:49 AM, Freddy Daoud wrote:
Stripes:
Ditch the configuration.
Harness the intuitiveness.
Enjoy the productivity
Stripes:
Ditch the configuration.
Harness the intuitiveness.
Enjoy the productivity.
Freddy
--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps games for the Nokia N8 for
You are both correct. Indeed perhaps something like {#event} would
have been better. Hindsight is always 20-20.
I realize I'm probably the only one who would like this, but I would
have used {_eventName} because that special request parameter is
already being used for the event name. So,
Hi Rick,
Freddy, I re-read chapter 11 and scanned the book again, and I can't
seem to find a reference to displaytag_fr.properties.
I meant in the code examples, which you can download from
http://www.pragprog.com/titles/fdstr/code
Also, do you have this in web.xml under the Stripes filter
Hi Rick,
Glad you figured out what the problem was!
Cheers,
Freddy
- Freddy Samuel,
- Thanks for all your assistance. I have figured out my problem. It
- was an installation problem. Apparently, I was using a very
- down-level version of displaytag. Updating my displaytag
Anyway, I guess it wouldn't hurt to have choice of the method
(property or parameter binding) as long as it didn't need bending
all the framework. But if someone would go on and implement this, I
believe that would be quite difficult to do so that it doesn't break
current Stripes-based code.
Hi Rick,
straightforward (and works great), however, I want to provide language
support for my displaytag tables too. It appears the default
displaytag.properties file is being found, but I can't seem to find the
language specific displaytag properties file, such as,
Hi Rick,
Thanks for the quick reply. I really appreciate that. By the way, love
your book. I highly recommend it for anyone wanting to learn Stripes. You
and Tim did a great job!
Thank you for the nice comments! It's great to read that, it makes
me very happy that you like the book!
Hi Aurangzeb,
It's not really a Maven tutorial, but if you want to look at an
example, you could try Rayures[1]. Click on Try it out, follow
the instructions, but
download from http://www.fdaoud.com/rayures-quickstart.jar.
You will have a Maven/Stripes project set up and ready to run
with the
Just my 2c, I hope this doesn't make things worse in terms of
misunderstandings.
I am not interested in taking a leading role, I am interested in
taking *the lead*. Yes, I am aware of how this comes across and no I
will not apologize for it. As I have stated before, what Stripes
needs most is
Hi Nikolaos,
Simply put, I agree with what you've said. However, I haven't the power
(in terms of user permissions, nor in terms of authority) to hand over
the keys to the Stripes framework to someone who is willing and able
to take over the role.
I do agree that someone actively involved needs
On Fri, 17 Sep 2010 20:48:44 -0700 (PDT), Barry Davies
barry.davi...@yahoo.com said many interesting things and had
useful suggestions for the future of Stripes.
BD aka RJ! Nice to see you again :) Thanks for sharing your
thoughts!
Cheers,
Freddy
On Sun, 5 Sep 2010 19:35:00 + (UTC), Aurangzeb Agha
Freddy, lots of of the extensions listed are owned you (I think).
Do you sites up for them?
What exactly are you referring to?
Freddy
--
This SF.net Dev2Dev
Hi Joel,
We are 99% sure we are going to go with Spring MVC. We are still implementing
the JPA/Spring based back end, so right now the UI is simply hello world, but it
was pretty simple to get at least something put together.
The other consideration was JSF 2. I've been using JSF at my full
Rick Grashel writes:
My preference would be to see a tighter integration of Stripes alongside other
up-and-coming, popular stack and development components. Basically, making
Stripes even cooler by integrating it with other cool things. Off the top of
my head -- in no particular order:
*
Hi Aurangzeb,
Like you, I think it's fantastic that several people, including
yourself, have shown their support for helping Stripes getting
some momentum back in terms of marketing and visibility.
For blogs, perhaps we should set up a separate site where people
can post. Someone mentioned
On Thu, Sep 2, 2010 at 3:56 PM, Aaron Porter aa...@... wrote:
Looks like you should be using ${fn:toUpperCase(employee.name)} instead
of ${fn:toUppercase(name)}
yes! thank you.
Hmm, that is what I initially suggested.. why didn't it work then? ;)
Cheers,
Freddy
I have experience with both. They are both good.
I now prefer JMesa because I like the API better.
I like being able to create tables in Java code.
Also, JMesa is a more active project, if that is a factor to you.
Cheers,
Freddy
On Wed, 1 Sep 2010 16:33:42 -0500, Lev d...@plektos.com said:
hi,
Hi Lev,
i am using DisplayTag to generate tables. i have an object for
which i want to display one of the fields in capital letters.
i have tried doing so using JSTL fn:toUpperCase, such as:
d:table name=${actionBean.employees} id=employee
requestURI=
Hi Joel,
stripes. The answers were good, but still not enough to get myself and
my
friend to go with Stripes. We've since chosen another framework and are
just starting implementation.
I'm very curious and interested to know, which framework did you choose?
By the way, this discussion is
Hi all,
I have been thinking about this topic for quite some time now and,
admittedly, have been avoiding it.. but now that the discussion has
been sparked, I can't hide my head in the sand anymore.
I am happy to see the responses to Nikolaos's post. Some very good
points are made.
Most of
. It took me a while to figure that
one out the first time I saw it.
-Ben
On Sun, Aug 29, 2010 at 2:09 PM, Freddy Daoud xf2...@fastmail.fm wrote:
Either something is seriously broken with Nested Layout Components in
1.5.4 OR I am seriously confused.
Well, I can tell you that your
Either something is seriously broken with Nested Layout Components in
1.5.4 OR I am seriously confused.
Well, I can tell you that your example works as expected with 1.5.2
and with the trunk. I think you are correct -- something is broken
in the 1.5.x branch. I don't get the (unexpected)
Looking under the bed, behind the couch, etc. of my hard disk drive,
I found the article (maybe not identical to the original posting).
http://www.fdaoud.com/database_resource_bundle.html
Cheers,
Freddy
--
Sell apps to
Anyone have an example of Stripes and Jmesa to display table data?
I'm currently using JMesa with Stripes in a project, but I can't share
the code.
However, I can tell you that there's not much to integrate JMesa with
Stripes. Meaning, if you follow the JMesa documentation to create
tables, in
Hi Aaron,
When validation fails, for example, passphrase is not entered, the page is
redisplayed with the the offending field and the message, but that is the
only element on that page. All the images, question list, radio buttons are
not redrawn . All the elements are generated from the
Aaron,
It appears that errors added to the ValidationErrors within event
handlers are not rendered. Is that true? I that related to life
cycle?
Again, when a validation error occurs,
the target event handler is *not* invoked and the Resolution that is
returned by
On Thu, 12 Aug 2010 21:57:15 -0400, Aaron Stromas
passog...@gmail.com said:
On 12 August 2010 16:00, Freddy Daoud xf2...@fastmail.fm wrote:
Aaron,
It appears that errors added to the ValidationErrors within event
handlers are not rendered. Is that true? I that related to life
cycle
Hi Simon,
Could you provide an SSCCE (http://sscce.org/)?
Cheers,
Freddy
--
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://www.stripesbook.com/blog/index.php?/archives/35-Using-a-database-backed-resource-bundle-with-Stripes.html
But unfortunately that site is not available any more?
Sorry about that. A malicious attack caused problems with the Stripes Book Blog
and I was unable to recover the content.
If
Hi Joaquin,
I am trying to do a ajax call inside a wizard form and I get this error
message:
Unhandled exception caught by the Stripes default exception handler.
net.sourceforge.stripes.exception.StripesRuntimeException: Submission of
a wizard form in Stripes absolutely requires that the
Hi again Joaquin,
Thanks Freddy!
Always a pleasure to help. When it's not a pleasure, I don't help. ;-)
I am trying to do a ajax call inside a wizard form and I get this error
message:
Unhandled exception caught by the Stripes default exception handler.
Resolution will transfer control to resources within application. How
about transferring control to another website?
return new RedirectResolution(http://www.gc.ca/;, false);
Cheers,
Freddy
--
The Palm PDK Hot Apps
Hi Erik,
So after much documentation reading, example following, and head
banging. I have seem to come to a dead end on trying to make unit tests
work with stripes. I have one working fine and one not working fine and
I really can't figure out why the one fails.
The problem is that your
Hi Lev,
along those lines, is there a way to add formatting to
the 'title' within a s:layout-render tag? for example:
s:layout-render name=/WEB-INF/jsp/common/layout_main.jsp
title=Matchups -- ${actionBean.date}
is there a way for me add a formatPattern to
Hi Lev,
i'm using DisplayTag with Stripes. on occasion, i want to format
a field sent to a DisplayTag table. for instance, consider:
d:table name=${actionBean.entries} id=entry requestURI=
defaultsort=1
d:column title=ID property=id sortable=true/
I use TestNG and have Stripersist, Stripes, Spring, etc... running in a
test without issues. It takes quite a bit of work to model the key
parts of your web.xml to get Stripersist to work. Once its done it
works great.
FWIW, with Rayures[1], you can subclass TestWithMockContainer and
I've made the latest Stripes 1.6 build available for Maven users.
Previously, I had named it 1.6-SNAPSHOT. That is appropriate for
snapshots of the trunk, but it bothers me because the snapshot can
change at any time and which build you are using is not immmediately
obvious.
This time, I've given
Hi Remi,
Sorry, I should have announced the change here. Now use:
http://www.fdaoud.com/maven2
Cheers,
Freddy
On Thu, 24 Jun 2010 16:17:44 +0200, VANKEISBELCK Remi r...@rvkb.com
said:
Hi folks,
Freddy, the maven repo for 1.6 snapshot is down :
http://www.stripesbook.com/maven2
Will it
-SNAPSHOT.pom
Cheers
Remi
2010/6/24 Brandon Atkinson brandon.n.atkin...@gmail.com:
that gave me a 404
On Thu, Jun 24, 2010 at 10:34 AM, Freddy Daoud xf2...@fastmail.fm wrote:
Hi Remi,
Sorry, I should have announced the change here. Now use:
http://www.fdaoud.com/maven2
Cheers
I also like having Spring manage Stripes action beans. For this purpose
I use Stripes 1.6's ObjectFactory and Rayures 2.0[1]. Of course, both
are code from the trunk and are unreleased.
[1]:http://code.google.com/p/rayures/source/checkout
Cheers,
Freddy
On Mon, 21 Jun 2010 22:29:39 +0200,
What exactly is all this hype around this ObjectFactory? Can some one
please explain what it is and why it is so useful???
It basically lets you hook in to the creation of Stripes objects: action
beans, type converters, formatters, etc. so that you can take control
of how these objects are
Hi Daniel,
I found a few links to the stripes book's (which I own -- good book)
blog, but those have been removed.
Thanks for the comment, I'm glad you like the book. As for the blog,
unfortunately I had to take it down for security issues and I did not
have a chance to retrieve the archives
A little comic relief
I'm on the last couple of chapters of Flexible Rails[1], and was reading
about using AMF with Rails (if you don't know what that is, don't bother
looking it up, it's not important here.) Basically, there are two competing
frameworks for achieving this, A and B.
The fun
I need to clarify some things
What's up with this: (It's too late now, they already copied Tim's code.),
is Struts 2 just a bad copy of Stripes?
First, of course I am referring to Tim Fennell, creator of Stripes.
Second, Struts 2 is not a Stripes clone. They did not copy Stripes. But in
Hi Daryl,
As you said, it might get tricky to test the response like this.
AJAX-based testing is outside the scope of the Stripes mock
framework; however, I'd recommend HtmlUnit[1] and do higher-level
AJAX/JavaScript testing, i.e. test for the ultimate result on the
page that you want to verify.
Will Hartung writes well:
I picked up Velocity, and mind I've been using it off and on since
inception which was, like, 2001. The group I was working with had
their own scheme all worked out and I beat them over the head to
convince them that Velocity was a better choice than rolling our
Nikolaos,
I needed to load templates from the classpath. I also needed to
process templates in a somewhat 'standalone' mode. Both were easier
with Velocity than JSPs.
I also needed a templating solution for another framework (another
language, even!) that just merged a map of key-value pairs
Morten that's excellent..
Just wanted to add that Velocity[1] is another good choice in my opinion.
I've used it a lot with good results, it's well-suited as a standalone
templating solution.
[1]:http://velocity.apache.org
Cheers,
Freddy
Try putting @DefaultHandler on the event handler that you want to be
the default for the Action Bean.
Cheers,
Freddy
On Fri, 26 Mar 2010 13:21:38 + (UTC), Daniel Cane
daniel.c...@gmail.com said:
Greets,
I have an ActionBean with multiple Resolutions - one of which is a
Another possibility is to use XML:
The loadFromXML(InputStream) and storeToXML(OutputStream, String,
String)
methods load and store properties in a simple XML format. By default the
UTF-8 character encoding is used, however a specific encoding may be
specified if required.
Source:
Hi Phil,
- DefaultActionBeanPropertyBinder - Running binding for property with
- name: people[0].email
- DefaultActionBeanPropertyBinder - Converting 1 value(s) using
- converter net.sourceforge.stripes.validation.StringTypeConverter
- DefaultActionBeanPropertyBinder - Could not bind property
Hi Phil,
Just got a working example. Things for you to try out:
* the @ValidateNestedProperties({...}) belongs on the private
ListPerson people field, the getter method, or the setter method,
not on the event handler;
* make sure that you have a public no-args constructor, public
Person() {},
Hi Phil,
net.sourceforge.stripes.controller.DefaultActionBeanPropertyBinder
is where the magic happens :-)
Cheers,
Freddy
On Thu, 4 Mar 2010 11:22:08 +, phillip darley
phillip.dar...@googlemail.com said:
Hi,
I've created a simple actionBean and jsp based on the example given @
Hi Luther,
How about just binding to a property?
Javascript (jQuery):
$.post(url, {jsonString: '[[0,2],[2,-1]]'});
Java:
public String jsonString;
// could also use private field with public getter and setter if you
prefer
@HandlesEvent(update)
@DefaultHandler
public Resolution updateState()
{
Hi Phil,
Actually, the simplest way is to use a List with indexed properties,
and make the field required:
@Validate(required=true)
private ListString inputs;
/* getter and setter */
In your JSP, use a loop to generate your fields so that you end up
with
s:text name=inputs[0]/
s:text
Hi Arnab,
I my application I have created a Class called BaseAction which extends
ActionBean. All my Action classes extends this BaseAction. So will the
BaseAction will also get instantiated with every request?
Yes, that is correct.
Cheers,
Freddy
http://www.stripesbook.com
Hi Farouk,
Yes, you can use stripes security as described in the book
with Rayures.
Cheers,
Freddy
On Sat, 23 Jan 2010 04:58:12 -0800 (PST), farouk alhassan
osbert252...@yahoo.com said:
How does Rayures handle access control. Does it use the support the
anotations as used in the stripes book?
I've created the upload request. Please vote for it:
http://jira.codehaus.org/browse/MAVENUPLOAD-2716
Cheers,
Freddy
http://www.stripesbook.com
On Wed, 13 Jan 2010 09:26:01 -0500, Brandon Atkinson
brandon.n.atkin...@gmail.com said:
I'm taking the lack of a response as a 'no, stripes doesn't
1 - 100 of 205 matches
Mail list logo