r code ("doesn't work") and Ying's code ("does work") tells you the
> same thing. And if you understand how things like the
> tag work, you understand why it displays correctly, even though it
> fails on the submit. Yes?
>
> Dave
>
> On Tue, Oct 26,
The type conversion documentation covers this (somewhat obliquely,
> IMO), as do both books you mentioned.
>
> Dave
>
> On Tue, Oct 26, 2010 at 2:36 PM, Peter Bliznak wrote:
> > Nopebasically first line in the action is to call getter on that
> > list and it is
t;
> Sent from my iPhone
>
> On Oct 26, 2010, at 10:23 AM, Peter Bliznak wrote:
>
> > Opps...damn gmail.
> >
> > As I've said I am using pretty much same approach as it was suggested
> above
> > by the other poster.
> > I have list:
> > privat
ng a specific issue, post your code, configuration, and
> Struts version, otherwise we can't really help.
>
> Dave
>
> On Tue, Oct 26, 2010 at 11:59 AM, Peter Bliznak
> wrote:
> > Listen I googled quite a while before I asked here and all I saw was sea
> of
> >
s.
>
> If you're having a specific issue, post your code, configuration, and
> Struts version, otherwise we can't really help.
>
> Dave
>
> On Tue, Oct 26, 2010 at 11:59 AM, Peter Bliznak
> wrote:
> > Listen I googled quite a while before I asked here and all I s
Thanks for your time but what you show me is exactly what I was already
doing but inputted changes are NOT being seen in that list when I tried
to post it. That was my question or rather problem
On Tue, Oct 26, 2010 at 4:32 AM, Li Ying wrote:
> My way to solve this kind of problem:
>
> (1)
Listen I googled quite a while before I asked here and all I saw was sea of
lost souls asking same question dating back to 2007...but NOT answers...if
it is so simple and obvious then why docs for checkbox are not mentioning
this trivial case. .. BTW would you please point me to the site where
orm. If the
> code is invisible to the developer, I don't see much of a difference.
>
> I also gave you another option: use a map, keyed by an ID, with an object
> value.
>
> On Monday, October 25, 2010, Peter Bliznak wrote:
> > checked CheckboxInterceptor and see
nly way to get a value for an unchecked
> checkbox, that's just how HTML works. But yes, you're wrong; the
> checkbox interceptor does the work for you. Please read the
> documentation and just try it.
>
> Dave
>
> (Cumbersome? Compared to what?)
>
> On Monday
...I hope I am wrong -
sounds very cumbersome for 2010.
On Mon, Oct 25, 2010 at 9:39 PM, Dave Newton wrote:
> Same way they're generated now, with the checkbox tag, or by hand. Or use a
> map.
>
> And there's no "of course": people use both versions.
>
> Dave
>
:
> Which version of Struts?
>
> Struts 2 uses a hidden field to deal with default (unchecked) values.
> Struts 1 ActionForms used the reset() method to pre-load default
> values.
>
> Dave
>
> On Mon, Oct 25, 2010 at 9:16 PM, Peter Bliznak wrote:
> > Hi,
> >
Hi,
I have a list over which I am iterating - it has checkbox and other fields.
I know I can define array associated with checkbox's values but that only
returns values which were checked. In my other column I have date and I have
to make that date associated with checkbox's state. How am I suppose
Hi all,
here's my problem. How do I make S2 read property files from separate folder.
We have different properties for prod, uat and so on ... so we want the have
separate folder which will contain different set of files for each environment.
in S1 we used to have two source folders one for java f
Hi folk,
noticed few days ago app is throwing following exception but everything is
working
fine I see no problems whatsoever. But obviously I would be happier camper if
I had clean runs.
All ideas welcome.
Almost forgot running S_2.1.6 on WebShpere 6.1.
Peter.
[17/07/09 16:32:06:747 EDT] 00
Figured it out, forget it.
From: Peter Bliznak
To: Struts Users Mailing List
Sent: Friday, July 10, 2009 11:23:15 AM
Subject: Passing runtime exp into tag
Hi all,
translating portion of old code which was using S1 and Tiles and
ran into problem.
There is
Hi all,
translating portion of old code which was using S1 and Tiles and
ran into problem.
There is one tile representing form which is being used on almost all screens.
One doesn't want to write same tile over and over again since only name
of the action differs.
Existing code used this:
// de
Aahhh...in that case be my guest and go for it
From: Musachy Barroso
To: Struts Users Mailing List
Sent: Tuesday, July 7, 2009 2:33:12 PM
Subject: Re: Commercial framework based on struts2.
On Tue, Jul 7, 2009 at 11:22 AM, Peter Bliznak wrote:
> Gr
Excuse me but I've been following this list for number of years and
this is FIRST time anybody is asking for anything like this - I would
not call this an overwhelming demand.
Besides these kind of widgets can't ever be done to everyone's liking -
they must tweaked amd changed for a specific app -
Preciously!..what you said about changing form is exactly what I was thinking.
From: Dave Newton
To: Struts Users Mailing List
Sent: Saturday, June 20, 2009 8:35:50 PM
Subject: Re: Custom validation interceptor
Peter Bliznak wrote:
> It is across entire
t: Re: Custom validation interceptor
Peter Bliznak wrote:
> I have following requirement: If validation of the page fails 3 times
> in row - invalidate session and redirect to index page. Should I
> replace default validation interceptor in default stack with my own
> to achieve what I am a
Hi,I have following requirement:If validation of the page fails 3 times
in row - invalidate session and redirect to index page.Should I replace default validation interceptor in default stack with my own to achieve what I am after?I there any other way?Any hint would be greatly appreciatedPeter.
Hi all,
converting big S1 application and run into this problem.
Even though form is being validated in S1 version by validator.xml
there is an user field which was validated on focus lost by asynch call using
Ajax - to find found if by user chosen
user name is still available. Call is then interc
:27:24 PM
Subject: Re: JSON and ExtJS
yes indeed.
http://cwiki.apache.org/S2PLUGINS/json-plugin.html
musachy
On Dec 20, 2007 4:23 PM, Peter Bliznak <[EMAIL PROTECTED]> wrote:
> hm..so you are saying
>
> putting things into MAP like this:
>
> MAP entry 1 : success
Struts Users Mailing List
Sent: Thursday, December 20, 2007 3:54:22 PM
Subject: Re: JSON and ExtJS
just add fields to your action with those names and values, or return
a map with all those value as the root object to be serialized.
musachy
On Dec 20, 2007 3:49 PM, Peter Bliznak <[EMAIL PR
We are using EXTJS and Struts2 + Hibernate Search and JPA and here are no
problems.
As for JSON plugin mentioned below.
I was using it for old dojo before we gave up on it and switched to beatifull
EXTJS.
But I dont think I can use this JSON plugin since there is no way - or let me
put it thi
Hi
new to 2.0 ajax tags so I need some help on tree tag.
I am trying to build tree and since it rather big one I would like to get data
from server incrementally -- only when I click on tree node. I found tree docs
at http://struts.apache.org/2.x/docs/tree.html and at the very bottom of the
pag
Hi Rodrigo,
yes you can use commandButon.
Btw have you look at example code coming with Struts 1.3.5?
Peter.
PS
If you still have problem to make it work let me know I will send you some code
to nail it down.
Rodrigo Pereira <[EMAIL PROTECTED]> wrote: I am already doing this.
Can I use h:command
Yes it does work, I am using on every single page.
Rodrigo Pereira <[EMAIL PROTECTED]> wrote: hi All,
does anybody know if validator work with struts-faces?
I have read a lot of tutorials on the Internet, but no success at all
Thanks,
Rodrigo Pereira
of jsp.
Thanks
rukka
PETER BLIZNAK wrote:
> Hi Rodrigo,
> must admit I am not familiar with ajax4jsf tags. My setup is
> Struts-Myfaces-Tiles and I have pages I have to prepopulate pages with radio
> and check boxes based on what is coming from LDAP - for that I am forwarding
> to Str
e ajax (
ajax4jfs tags ).
Basically I want to populate 4 fields according to the value of another field.
Thanks,
Rodrigo Pereira
On 2/1/07, PETER BLIZNAK wrote:
> Hi Rodrigo,
> I do not have an answer to your question, but let me ask you why would you
> wanted to have actionForm act as a man
Hi Rodrigo,
I do not have an answer to your question, but let me ask you why would you
wanted to have actionForm act as a managed bean? I am guessing it is because
you want to use it for loading data into dataTable component. If that is a case
you don't have to use managedBean - any "ordinary" b
--- Rick Reumann <[EMAIL PROTECTED]> wrote:
> PETER BLIZNAK wrote:
> > Hi there,
> > I run into something I cant figure perhaps someone
> > here can help me to shed some light on it.
> >
> > Basically I have dynamic table - meaning I iterate
> > o
Hi there,
I run into something I cant figure perhaps someone
here can help me to shed some light on it.
Basically I have dynamic table - meaning I iterate
over supplied colection and build up table. No problem
there that is simple stuff. Confusion starts when one
of the columns must be list of op
33 matches
Mail list logo