have you got the correct cascade setting on the parent object
i use the xml files for hibernate rather than the @ syntax in java classes and
i can set cascade="all" which means when i save/update the parent the children
are also saved or updated.
also remember that for hibernate to realise
Dear Rene,
Thks a lot for replying to me because I am feeling a little bit alone with
my CRUD ;-). In fact I am trying to build a dynamic MetaCrud.
My pb is simple: in the same jsp page I would like to update a Parent object
and its Childs (values):
Dear Rene,
Thks a lot for replying to me because I am feeling a little bit alone with
my CRUD ;-). In fact I am trying to build a dynamic MetaCrud.
My pb is simple: in the same jsp page I would like to update a Parent object
and its Childs (values):
name="name" label="Nom" />
xml escape is working fine. thanks.
--
View this message in context:
http://old.nabble.com/Regular-expressions---Email-Validation-tp28097766p28099880.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To un
Funny, I was going to suggest http://tinyurl.com/y8r4o25.
-Brian
On Wed, Mar 31, 2010 at 1:00 PM, sandeep kotha
wrote:
> http://sourceforge.net/projects/hibernate/files/hibernate3/
>
> On 31 March 2010 20:56, reuben swaroop singh wrote:
>
>> Hi,
>>
>>
>> I wanna download and use Hibernate.Kind
Have you tried a simpler regex to make sure that validation is wired
up correctly? The one you're currently using will reject valid email
addresses (e.g. local+p...@example.com), and it will probably allow
invalid ones through (like localp...@example.a.a).
See
http://tools.ietf.org/html/rfc2822#s
http://sourceforge.net/projects/hibernate/files/hibernate3/
On 31 March 2010 20:56, reuben swaroop singh wrote:
> Hi,
>
>
> I wanna download and use Hibernate.Kindly suggest the webpage where i can
> download Hibernate latest version?
>
> kindly forward this to appropriate mail id.
>
> In Anticip
tried using -
^([a-zA-Z0-9]([\w\.-]*[a-zA-Z0-9])*...@[a-za-z0-9]([\w\.-&]*[a-zA-Z0-9])*\.[a-zA-Z][a-zA-Z\.]*[a-zA-Z])[\s]*$
OR
^([a-zA-Z0-9]([\w\.-]*[a-zA-Z0-9])*...@[a-za-z0-9]([\w\.-\&]*[a-zA-Z0-9])*\.[a-zA-Z][a-zA-Z\.]*[a-zA-Z])[\s]*$
still not working. validation xml deploys successfully
I'm not sure if I understand what your actual question is, nor whether
it is particularly Struts 2 related (rather than just Hibernate) - but
you might want to have a look in the CRUD demo section of the Struts 2
showcase application. Maybe you will also find this demo useful:
http://github.com/rgi
Hi,
I wanna download and use Hibernate.Kindly suggest the webpage where i can
download Hibernate latest version?
kindly forward this to appropriate mail id.
In Anticipation
With Regards
Reuben Appadurai
That's neato. I can specify the locale in the link to this special page/action
& thereby get my date to parse!
Thanks!
Dan
> -Original Message-
> From: Rene Gielen [mailto:gie...@it-neering.net]
> Sent: Wednesday, March 31, 2010 6:21 AM
> To: Struts Users Mailing List
> Subject: Re: te
try & instead of &
> Date: Wed, 31 Mar 2010 08:41:39 -0700
> From: pankajj.j...@gmail.com
> To: user@struts.apache.org
> Subject: Regular expressions - Email Validation
>
>
> In struts I have regular expression for validating email like this -
>
>
It's in an XML file, so you need to use XML escaping, not C/Java escaping.
(*Chris*)
On Wed, Mar 31, 2010 at 8:41 AM, seeking_solution wrote:
>
> In struts I have regular expression for validating email like this -
>
> EMail
>
>
> ^([a-zA-Z0-9]([\w\.-]*[a-zA-Z0-9])*[...@[a-za-z0-9]([\
In struts I have regular expression for validating email like this -
EMail
^([a-zA-Z0-9]([\w\.-]*[a-zA-Z0-9])*[...@[a-za-z0-9]([\w\.-]*[a-zA-Z0-9])*\.[a-zA-Z][a-zA-Z\.]*[a-zA-Z])[\s]*$
Now I want to allow & in the email. I tried like this
^([a-zA-Z0-9&]([\w\.-]*[a-zA-Z0-9&])*
Felipe A. Lorenz wrote:
Im not sure that you can use it (instanceof).
The problem might not be with instanceof but rather StringElement. Did
you try a fully qualified classname?
On 31/3/2010 06:49, RogerV wrote:
is the closest you listed. Try that one (or replace
"structure.elements[#
The same problem as with any localized web app. Typical Struts 2
solution to explicitly switch the locale context:
Switch to German Locale
The value will remain throughout the session. Still would not parse the
date manually in the action then.
- René
Greg Lindholm schrieb:
> Don't get me wrong
Don't get me wrong, I think Struts does the best it can, the problem
is many developers who have never written an I18N app seem to expect
it to "just work" auto-magically and it doesn't.
One of the issues is the only "automatic" handling relies on the
browsers "accept-language" header.
An experienc
Im not sure that you can use it (instanceof).
Why dont you do that in the action class, creating a new collection!
On 31/3/2010 06:49, RogerV wrote:
Hi
I'm iterating over a List with and I want to test that the element returned is
an instanceof a specific type of element, so I've tried wit
Hi,
(copied from an earlier thread on numbers)
see
http://struts.apache.org/2.1.8.1/docs/formatting-dates-and-numbers.html
It is important to know that Struts 2 has always a locale context
request for each request, which affects both formating and parsing dates
and numbers. The request locale is
Hi,
see
http://struts.apache.org/2.1.8.1/docs/formatting-dates-and-numbers.html
It is important to know that Struts 2 has always a locale context
request for each request, which affects both formating and parsing dates
and numbers. The request locale is determined as follows:
1. Request paramete
I accept your answer, but Struts2 should just handle this! :-(
I guess I'll write a number of helper methods like you did.
> -Original Message-
> From: Greg Lindholm [mailto:greg.lindh...@gmail.com]
> Sent: Tuesday, March 30, 2010 10:14 AM
> To: Struts Users Mailing List
> Subject: Re: te
Hi
I'm iterating over a List with and I want to test that the element returned is
an instanceof a specific type of element, so I've tried with
none of which work. Could some kind soul show me the correct syntax for
this?
Regards
--
View this message in context:
http://old.nabble.com/s%
Hello,
My second message on this webmail and still very new on Struts 2.
My problem is, I guess, quite common. I have a simple action which return a
jsp containing a display:table. This table calls his data from the list
inside the actionclass.
The table display perfectly well, but only at the sec
23 matches
Mail list logo