both Struts and JSTL. I'd pay real money for such a plugin.
Have you taken a look at this?
http://www.demosondemand.com/clients/m7/001/page/demo.asp
(Check out the long version).
--
bOOyah
-
To unsubscribe, e-mail: [EMAIL PROT
Rick Reumann wrote:
Actually there was a struts application/IDE that was for demo that was
quite impressive but now I forgot the name.
Was it NitroX from M7? http://www.m7.com/
The pricetag isn't *that* hefty.
--
bOOyah
---
Hi guys
I've got a simple form bean and a simpler JSP. I can get the JSP to
pull some values from the form bean but not others, and I cannot figure
out why.
I want to display Select menus in a variable number of rows. I managed
to figure out indexed properties (at loong last) and so
bOOyah wrote:
For crying out loud. No sooner had I clicked the 'Send' button on my
mailer when I spotted the bug. For those few of you still wiping the
tears from your eyes, the 'name' attribute above should, of course, have
been 'property'.
I've be
Jesus CHRIST
I've been staring at this bastard all day. No sooner had I composed a
lengthy, yet well crafted posting to the Struts Users' newsgroup than I
spotted my error. F*CKING Struts taglibs.
The 'name' attribute should have been 'property'. But it can be 'name'
under certain circumst
Joe Hertz wrote:
No sooner had I composed a lengthy, yet well crafted posting to the
Struts Users' newsgroup than I spotted my error.
LOL. Don't feel bad, I've done this probably 4 times myself on this mailing
list alone. Something about making oneself articulate exactly what the
problem is m
tem-1
x item-2
. . .
x item-16
Is there a straightforward way to iterate my List so as to render my
table as two columns (four columns really) of 8 rows each? Like this:
x item-1x item-9
x item-2x item-10
. . . . . .
x item-8x item-16
Thanks!
--
b
actually IDs; database primary keys as it happens.
Thanks again!
--
bOOyah
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Flag()'. But not on
Planet Struts. After blubbing like a stuck pig for an hour I finally
stabbed in the dark and named my getter 'getFlag()'. Presto-hey! It
all worked.
Frameworks...you gotta love 'em.
--
bOOyah
us to i18n-specific and cache them
for the lifetime of the app. The DTOs would always have ready-rolled
strings then. But again, this feels wrong; surely GUI strings are a
presentation tier issue?
Any thoughts?
--
bOOyah
-
To
ewhere that offers this?
--
bOOyah
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
ayed to show the user's error, the string "QWERTY" will not be
seen in the Age field; the field would be empty.
Read-write Integer properties on form beans will work great until users
enter bad data. Read-only properties are unaffected of course.
I think I got that about
to the 'c:forEach' loop! How can
I be declaring duplicate beans? I even added a scope="page" to the
'useBean' clause, but it made no difference.
I'm not explicitly including other JSPs in this JSP...I'm using Tiles
and Struts.
Google only return
s --%>
No doubt there's a better way of doing that too.
Many thanks Curtis.
--
bOOyah
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
sed upon some two element array based on index:
color = colorArray[index];
I like that. Nice.
Thanks for the reply Joe.
--
bOOyah
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
nu.item.search"
menuList[1] = "menu.item.about"
...
and so on.
Is there a neat Struts way of translating these keys to actual
locale-specific strings on their way to the JSP, or even in the JSP
itself? Or do I have to write my own helper met
Joe Hertz wrote:
You just need property files defining the various i18n strings.
http://www.anassina.com/struts/i18n/i18n.html
Sorry Joe - I obviously didn't explain myself adequately.
I already have property files containing i18n keys + strings. Like this:
ApplicationResources_en.properti
Hi again
I'm doing this:
I'd like the label string to be a concatenation of the value plus the
label attribute. Sort of like this:
Is there a Struts tag I can use, or do I have to doctor the beans in the
underlying options collection?
Thanks.
James Mitchell wrote:
You should do this in your action prior to forwarding to your jsp.
Thanks James - I suspected as much. :-\
--
bOOyah
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
uot;, new ActionError("err.name.required", "Name");
}
return errors;
My Application.Properties file
======
err.name.required=The '{0}' field is required
Thanks
--
bOOyah
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
ation marks, but I was editing a new one by mistake. DOH!
Thanks anyway. And those single quote marks don't cause any problems.
They work as expected so I left them in.
--
bOOyah
-
To unsubscribe, e-mail: [EMAIL PROT
pache.struts.action.ActionMessages"%>
...
But this doesn't work (using the logic & html EL taglibs):
<%@ page import="org.apache.struts.Globals"%>
<%@ page import="org.apache.struts.act
ommendations to work :-(
Thanks a mill for your help.
--
bOOyah
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
make any difference. Not even wrapping the single quotes in double
quotes ;-) Niall's suggestion worked well though.
Thanks anyway.
--
bOOyah
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
rd/product/showList" forwards back into your Struts Action
class with a 'method' parameter called 'showList' causing your existing
'showList' method to execute.
That's all off the top of my head Riyad. But I use that approach all
the time.
--
bOOyah
---
without editing Java. I read somewhere authoritative that
ActionForward was created for just this purpose; you chain the actions
in the Struts config file instead.
However, chaining actions programmatically could be a perfectly valid
thing to do though...I've only been using Struts f
Riyad Kalla wrote:
booya I really appreciate the code snippets and explination! I hadn't gotten
involved in ActionForwards and appreciate you shedding light on the situation
for me.
No problems Riyad! I'm glad to give back to this list after sucking it
dry for three months ;-)
es every 6 months
would get right on my nerves.
Any opinions? Does replacing the batteries in your wireless mouse or
keyboard drive you nuts? Are there real advantages to using a wireless
input device that I just cannot see?
Trivially yours,
--
bOOyah
---
Barett McGavock wrote:
I agree with you 100% and share your concerns about the wireless mice. I am
shopping for a non-wireless mouse for myself, as well. I'm looking at
products in stores from both Microsoft and Logitech that are not wireless. I
presume that these are not the newest-out products.
Riyad Kalla wrote:
"Power User" w.r.t. to mice gives me a mental image of someone grunting and
sweating while muscling their mouse around their desk...
That would be Steve Ballmer.
--
bOOyah
-
To unsubscribe, e-ma
ths out of the batteries I'd be happy. On average for me they run out
about every 6 weeks.
And bluetooth is generally pretty easy on power requirements. Are you a
gamer perchance? I used to need a new mouse every few months when
Tribes was de ri
from a company that I traditionally equate with
nanotechnology.
Happy hunting RSI Warriors.
--
bOOyah
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
rror messages accordingly.
hope this gives some ideas
Yes, it did. Many thanks Jesse. It was really easy in the end
(especially since my requirements were lightweight).
--
bOOyah
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
F
xml) and it worked a treat. No exceptions.
I'm using vanilla Struts 1.1 and JBoss 3.2.3 + Tomcat 4.
Regards,
--
bOOyah
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
ue to work.
Obviously I could check the system clock and perform a crude
calculation. But how would I trap the system clock being reset back in
time?
Are there lightweight alternative techniques?
TIA.
--
bOOyah
-
To unsubscri
Ralf Schneider wrote:
how can a use internationalized text strings stored in a resource bundle as
values of attributes?
Hi Ralf
Have you tried
I use the 'titleKey' attribute like this on 'html:submit'
36 matches
Mail list logo