VANKEISBELCK Remi a formulé ce vendredi :
> Anyway, here' my wish list for 2.0, inspired from Play! :
> 1/ Async, non-blocking support
> 2/ Dynamic action beans (ie that are resolved at run-time instead of
> startup-time)
> 3/ Better flash scope (using cookies for example)
> 4/ Built-in JSON
Luis Tiago Rico vient de nous annoncer :
Hi there, for html 5 attributes:
Insted of using the Standard Tag Library%@ taglib prefix=stripes uri=
http://stripes.sourceforge.net/stripes.tld; %
Use DynAttr Tag Library%@ taglib prefix=stripes uri=
Matt White a exprimé avec précision :
I am converting some old code from HTML4 to HTML5 to get better mobile
support.
Hello,
Did you manage to handle html 5 new input types with stripes ?
Like input type=number.
I'd like to make my application user friendly on ipad.
Hello,
I have an issue I never had with stripes (1.5.3), probably due to
configuration error, but it must be so obvious that I can't find it !
Fields and link parameters are not populated.
${actionBean.myObject.myField} shows the right value but s:text
name=myObject.myField/ remains empty.
Lionel co...@free.fr a écrit dans le message de
news: i8ni9u$hu...@dough.gmane.org...
Looks like it happens only with strings, longs and dates are well
populated.
Really looks like a Converter issue.
I guess it comes from stripernate as I don't have any converter in this
project...
I
Hello,
I usually throw CallbackExceptions using hibernate's Lifecycle when the
application is asked to load an object on which access is restricted.
This CallbackException is catched and not rethrown by Striperstist.
Even if it wasn't caught, it would still be caught and hidden by
Iwao AVE! wrote:
It wouldn't work, unfortunately.
Please see:
http://www.stripesframework.org/jira/browse/STS-679
It's strange: I used it once and works fine !
(with stripes 1.5.2)
--
Let Crystal Reports handle
Jan Künstler wrote:
Maybe instead of:
order.user.userId=User name
invoice.user.userId=User name
you can just use:
userId=User name
Would be great if it worked ;)
Unfortunately, the last attempt made to find the label is fieldname and
not fieldname after last dot.
Jan Künstler wrote:
Hi Abhi,
yes you can. You need two entries in your resource bundle: One for a
generic error message and one for the field name.
validation.required.valueNotPresent = {0} is requierd
fieldname = Field Name
there is one issue with that behaviour: it creates lots of
Hi Aaron,
I updated from svn and now everything works fine.
Thanks for the update !
Lionel
Aaron Porter aa...@mongus.com a écrit dans le message de news:
48935194.6000...@mongus.com...
Sounds like I need to dust of the old deproxify code that Remi wrote for
Stripernate and stick
Thanks Aaron, I'll try to check next week.
Lionel
Aaron Porter aa...@mongus.com a écrit dans le message de news:
4acc30a6.1090...@mongus.com...
Lionel,
Sorry for taking so long on this one. I think I've got a fix in place if
you'd like to test it.
Aaron
You can make your actionBean implement ValidationErrorHandler and use
something like this:
public Resolution handleValidationErrors(ValidationErrors errors) throws
Exception {
if
(XMLHttpRequest.equals(this.getContext().getRequest().getHeader(X-Requested-With)))
{
return new
order to have muy interceptor
called before the LocalePicker ?
Thanks.
Lionel
--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart
.
If I log the real value form the getter , it shows [1, 2, 3].
Is it possible to do what I want without repopulating the rigth value using
javascript ?
Thanks,
Lionel
Ross Sargant rsarg...@tvrc.com a écrit dans le message de news:
bafb48740909080738m244d12c5s9bd30c15b50b9...@mail.gmail.com
Mike McNally wrote:
I have EL functions in my library to extract keys and values and
Map.Entry lists out of a Map; they're really simple to do and they're
very useful in such situations.
The less code I write, the better I feel :)
Of course, you can easily write a tag that will extract values
Newman, John W wrote:
Stripes simply uses NumberFormat under the hood, that is where this
behavior is coming from. So it's either a jdk bug or not a bug at
all.
It is not a bug, it's people who don't respect the standards.
It's the same with the french locale which can't be used to parse
disabled on the select tag generates a disabled=true on the html select tag,
which behaviour is not to send any value.
Either use readonly attribute or add a hidden value.
Lionel
CN Yee yeec...@gmail.com a écrit dans le message de news:
856f41ce0906222324u2336beebi421c2f8a138ab
Select tags are the most difficult to manage, all other fields are quite easy.
With selects, you'll face two major issues making it a little more complex:
- get the label to show on the screen (yes, it seems easy, but try to manage
option-collections, option-enumeration, simple options)
-
Hi all,
I'd like to force users to use the pattern dd/MM/ when they type a date.
By default, stripes allows lots of patterns.
To avoid mistakes, I want the same pattern for every user (I have french
users on english or chinese computers)
I added the following key in my properties file:
Iwao AVE! wrote:
Hi Lionel,
As the Stripes' default DateTypeConverter is designed to be lenient,
I would recommend creating your own DateTypeConverter implementation
if you need a strict validation.
Thanks.
I will do that.
This could have been the default implementation when a pattern
+].regulationName,
new LocalizableError (validation.required.valueNotPresent));
}
if(other basic validation) {}
index++;
}
}
}
Is there some way to avoid this ?
thanks.
Lionel
fix example..
Lionel
Aaron Porter aa...@mongus.com a écrit dans le message de news:
4a26c7a6.4050...@mongus.com...
Hi Lionel,
I saw that the first time I read your message but I forgot about it when
changing the code. Sorry about that.
How is it failing - are you getting an exception
Thanks Aaron.
Did you have a look a the last part of my mail ?
I have an issue when the @Id is on the field on a proxified Entity.
This is always null on a javassist proxy:
((Field) accessor).get(entity);
You have to call the getter to get the value.
Lionel
Aaron Porter wrote:
Thanks
, ((Field) accessor).getName());
Lionel
--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers brand creativity professionals. Meet
the minds behind Google
Héctor López wrote:
Unless required, I would stay away from container managed security,
it's too complex for what it's really worth... I've been using the
JSecurity project for a while and I love it. It's not integrated
How I work with tomcat container managed security:
- define a
AK wrote:
This is not specifically a Stripes issue, but I suspect someone here
has dealt with this problem and can provide some advice.
I'm trying to build a set of dependent drop-down menus, State and
City. When one of the 50 states is selected from the 1st drop-down,
the City menu is
Hello,
I have an issue with the way Stripes handles fields localization: it makes
me create many duplicate items in the resource bundle.
Let's say I have a TruckEntity having a ColorEntity and a CarEntity having a
ColorEntity.
I have two actionBeans, one to manage a TruckEntity, and one to
Oscar Westra van Holthe - Kind wrote:
What does this return?
this.getContext().getResponse().getSession().setAttribute(testAttribute,
Hello World!);
System.out.println(this.getContext().getResponse().getSession().getAttribute(Hello
World!));
null ?
:)
Toni Lyytikäinen wrote:
No, but there are various hacks to make it work. AjaxTags has a tag
for this, and you can also make your own javascript-based hack with
e.g. YUI or Prototype, namely set the onclick property on the
pagination links to some function where you retrieve the new list with
Freddy Daoud wrote:
Gregg, thanks for posting the example. Could you include a link to
the plugin?
http://ui.jquery.com/
What I really miss is a good dependent combobox widget, as good as the one
from ajaxtags which uses prototype.
By the way, there are lots of much greater autocomplete
Lionel wrote:
Hi Aaron
I add logs to EntityUtil.java: I can see that the
deproxifyCglibClass() works fine: the Field accessor containing the
Id is found. But ((Field) accessor).get(entity) always return null.
I've logged the value of entity.toString (which return the Id value):
the right
bug/issue? - include partial JSP, AJAX and ForwardResolution() does not render
collections in the bean - only scalar fieldsyou have to include the core taglib
definition in the jsp.
[EMAIL PROTECTED] uri=http://java.sun.com/jsp/jstl/core; prefix=c %
Tayeb Taouti DR Tes Appl. Java [EMAIL
Hi,
I get this Exception when I initialise a dropdown with a Proxied entity.
ERROR EntityFormatter: 150 - The object passed in was not annotated with
@Entity or @MappedSuperclass!
java.lang.NullPointerException
at
Aaron Porter wrote:
Hi Lionel,
We'll probably need more than that to go on. Can you paste in some
code?
Here is what I to in a Filter before chaining the request to Stripersist:
User user= (User)httpSession.getAttribute(user);
if(user==null){
user.setUserNbConnect(user.getUserNbConnect()+1
Lionel wrote:
User user= (User)httpSession.getAttribute(user);
if(user==null){
forgot:
user = userDao.findById(principal.getName());
user.setUserNbConnect(user.getUserNbConnect()+1);
}
I need the user on each request for visibility filters and to display its
name.
I don't want to load
Ken wrote:
I need to render about 30,000
rows without pagination into a scrollable table with sorting
capabilities. Right now it is set up so that the browser (IE) does
all of the work using xml. What would be my best way if I wanted to
use hibernate(caching blah blah I got that taken care
Following the same scenario, I don't face this issue...
Lionel
Tissen [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL
PROTECTED]
Dear All,
I have ACL based Secuity in my application and the security works fine in all
the happy flows. But I found an issue while testing
Aaron Porter wrote:
If you haven't noticed yet the example app's web.xml is incorrect -
the Extension.Packages should use org.stripersist instead of
com.stripersist.
It's org.stripesstuff.
I'm trying to use stripersist with tomcat.
To load the persistance.xml file, you do:
URL url =
Gregg Bolinger wrote:
Yea, META-INF/persistence.xml should be in your classpath
(WEB-INF/classes). So its being loaded from the correct place.
Sounds like you aren't putting the file in the right place. :)
You're right.
i made it work, I sent the mail too quickly :)
Alan Gutierrez wrote:
Ultimately, I created an Interceptor. During ActionBeanResolution it
takes the account slug from the path...
http://domain.com/stripes/PublicationEdit.action?publication=5
I just wonder why you need to have a different path for each customer.
Can't you know the customer
Lionel wrote:
Etienne Bernard wrote:
Hi Alan,
Personnaly I would use hibernate filters to automatically add the
where
clause.
Filters work fine for criterias and queries, but they are not applied
on a session.get or session.load...
You still have to check the customerId manually
You can
Ken wrote:
hello all,
I am having the problem with the ajax submission from a page with
both a stripes:button and stripes:submit on the same page and it
always go to the default. Ive read whats on the web and the mailing
list am I am wondering if there is a definite solution to this
problem
Hi !
My applications need french locale to display values (dates and numbers) but
English locale for Float and Double inputs (nobody use the coma separator to
type decimal values)
How can I configure Stripes to always use the US locale for Number
validation but still use French for display and
+1 for trim=true by default
maxLength is completely useless without trimming.
If default is false, we'll have to add it on every field !
Ben Gunter [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL
PROTECTED]
Hello, folks. The subject of trimming parameter values before validation,
[EMAIL PROTECTED] wrote:
http://www.exttld.com/
Haven't used it but looks promising
but needs to purchase an expensive per developper licence.
-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't
45 matches
Mail list logo