any idea?
--
View this message in context:
http://www.nabble.com/Validwhen-and-array-t1291360.html#a3451426
Sent from the Struts - User forum at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
A similar question would be:
What if one developed in Ajax, and the back end tech stack did not matter.
What Ajax framework would you use would matter.
.V
Michael Jouravlev wrote:
What if you developed components in good old JSP, and used whatever
action framework you like,
---
The text as is from JSP 2.0 Spec
Point 1.
EL expression An element in a JSP page representing an expression to be
parsed
and evaluated via the JSP Expression Language. Syntactically it is delimited
by the ${ and } characters.
Point 2.
JSP.2.3.5.5 Relational Operators
The relational operators a
At 1:34 PM +1000 3/17/06, Hey Nony Moose wrote:
Richard Yee wrote:
I know this is supposed to work, but I'm getting an error starting up
my Struts 1.2.8 application on Tomcat 5.5.15 when I unplug my computer
from the Internet.
The stack trace is:
java.net.UnknownHostException: jakarta.apa
Try replacing your jar file. This is a long shot, but when I had
these before I think the jar got corrupted. It's probably looking
for the DTD on the internet because it can find them on your computer.
You can always put the DTD's in the WEB-INF root, but you shouldn't
since Tomcat 5 should find th
Richard Yee wrote:
> I know this is supposed to work, but I'm getting an error starting up
> my Struts 1.2.8 application on Tomcat 5.5.15 when I unplug my computer
> from the Internet.
> The stack trace is:
>
> java.net.UnknownHostException: jakarta.apache.org
when i get these in this scenario i
Are these slaves servers that you have some degree of control over? I
ask because if so, can you just dictate that they have to run on some
known port, and then you can still get the rest of the information
dynamically.
Or, almost as good... although my idea of scanning for the port was
obvi
I know this is supposed to work, but I'm getting an error starting up my
Struts 1.2.8 application on Tomcat 5.5.15 when I unplug my computer from
the Internet.
The stack trace is:
java.net.UnknownHostException: jakarta.apache.org
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:1
I think this is basically impossible. If this is possible, someone would
have to explain how. You cannot have these two kinds of controllers
actually working together as more than incompatible choices. This sort of
thinking is what started the problem in Struts. If I were a WW2 buff, I
would be
> even if it would work, how can you guarantee it resolves the proper
> hostname? the default linux installation resolves
> InetAdress.getLocalhost() to "localhost" until you remove the
> 127.0.0.1 line from your etc/hosts.
Right now the port was the problem. We are not using name-based virtual
ho
I didn't expect to trigger such an elaborate discussion ;-)
> Personally, I still think that parsing the server.xml and the
> context.xml or whatever config files the webserver is using is the
> second best option.
There is another problem - how can you get path to tomcat root directory?
It's no
On 3/16/06, James Mitchell <[EMAIL PROTECTED]> wrote:
> What if <--- dangerous I know!
>
> What if there existed a JSF 1.2 implementation built with WW2 at the
> core?
>
> I'm definitely not an expert with either JSF or WW2, however, I've
> looked at both just enough to be convinced that it is po
Interesting thought James... I don't know how it would turn out, but I
certainly don't think it's a crazy idea... I've never thought the whole
component vs. page argument made a whole lot of sense. I happen to
think the two ideas are compatible, if done right. Maybe this would be
the right f
Daniel,
I often can across this problem in my development and found that a possible
solution is to use the
runtime-based version of the JSTL.
<%@ taglib prefix="c_rt" uri="http://java.sun.com/jstl/core_rt"; %>
It does involve scriplet but which is it's main down fall. Hope it helps
*
What if <--- dangerous I know!
What if there existed a JSF 1.2 implementation built with WW2 at the
core?
I'm definitely not an expert with either JSF or WW2, however, I've
looked at both just enough to be convinced that it is possible. WW2
has everything I already love about Struts an
Leon Rosenberg wrote:
On 3/16/06, Dave Newton <[EMAIL PROTECTED]> wrote:
Frank W. Zammetti wrote:
Unfortunately, it has one minor drawback: it doesn't work :)
Minor quibble.
Dave
Frank, Dave...
even if it would work, how can you guarantee it resolves the proper
hostname? the default linu
Dave Newton wrote:
Two things jump out at me:
1) It looks like it's container-dependent: "The servlet container must
implement the URL handlers and |URLConnection| objects that are
necessary to access the resource."
2) It's not making a "real" request so the container might short-circuit
the no
I am very sorry, Dave, for taking up your time.
I have found the problem. The problem is not the
FIELDSET. The problem is caused by something else in
that web page.
My apology.
--- Dave Newton <[EMAIL PROTECTED]> wrote:
> Caroline Jen wrote:
> > Instead a horizontal
> > scrollbar is automati
I believe Dakota is correct in this area. The problem is not
with JSF itself, but the way the Struts team has divided itself
into competing camps. JSF and Struts are competing because their
approaches are orthogonal; it doesn't make any sense to do both
unless you are on a migration path.
When you
Caroline Jen wrote:
> Instead a horizontal
> scrollbar is automatically created because the
> FIELDSET is still 1280 in width.
>
Why? I'm not aware that fieldsets take a width argument. Is it inside
another element that defines an absolute width?
Maybe an HTML newsgroup would be better.
Dave
I put a FIELDSET (i.e., the ) around a
'table'.
I (as a developer) am viewing a 1280*1024 screen.
Everything looks fine. The FIELDSET (a thin line box)
is drawn along the right and left edges of the screen.
Because most of the users have a screen size of
1024*768.
When I adjust the screen p
On 3/16/06, Dave Newton <[EMAIL PROTECTED]> wrote:
> Frank W. Zammetti wrote:
>
> > Unfortunately, it has one minor drawback: it doesn't work :)
> >
>
> Minor quibble.
>
> Dave
Frank, Dave...
even if it would work, how can you guarantee it resolves the proper
hostname? the default linux installat
I am trying to access a session object where the key is the field
"ACCOUNT_PROFILE_SESSION_ATTRIBUTE" in a Constants JAVA file called
"GlobalConstants". I created a wrapper around it that extends Map
(JSTLConstants) to contain all the constants so I could access it via
JSTL. I am trying to do the
Frank W. Zammetti wrote:
> import java.io.*;
> import javax.servlet.*;
> import javax.servlet.http.*;
> import java.util.*;
> import java.net.*;
> public class TestServlet extends HttpServlet {
> public void init(ServletConfig config) {
> try {
> ServletContext context = config.getServl
On Thu, March 16, 2006 4:29 pm, Leon Rosenberg said:
> On 3/16/06, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
>> Hmm... yeah, I guess your right :) D'oh! I made the onconscious
>> assumption that the slave would know about itself, but if that were true
>> there wouldn't be any reason to do any
On 3/16/06, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
> Hmm... yeah, I guess your right :) D'oh! I made the onconscious
> assumption that the slave would know about itself, but if that were true
> there wouldn't be any reason to do any of this, it could just send that
> information to the mast
On 3/16/06, Mark Shifman <[EMAIL PROTECTED]> wrote:
> I also get this error:
> 2006-03-16 15:29:03 StandardContext[/shale-mailreader-20060316]Exception
> starting filter shale
> java.lang.UnsupportedClassVersionError:
> org/apache/shale/tiger/faces/LifecycleListener (Un
Hmm... yeah, I guess your right :) D'oh! I made the onconscious
assumption that the slave would know about itself, but if that were true
there wouldn't be any reason to do any of this, it could just send that
information to the master straight away. Sorry, I missed the obvious :)
--
Frank W. Z
On 3/16/06, Mark Shifman <[EMAIL PROTECTED]> wrote:
>
> Hi :
> Today I got the shale-mailreader-20060316.war, dropped it into my
> webapps dir, went to the tomcat manager and
> it wasn't running. I tried to start it and was told Message: FAIL
> - Appli
On 3/16/06, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
> Ok, here's another possibility...
>
> From the plug-in, launch a daemon thread (daemon just in case the server
> has to go down before the thread is done, in which case it won't block the
> shutdown). Have the thread sleep for some amount
Frank W. Zammetti wrote:
> >From the plug-in, launch a daemon thread (daemon just in case the server
> has to go down before the thread is done, in which case it won't block the
> shutdown). Have the thread sleep for some amount of time, 30 seconds
> maybe, however long on average it takes your ap
Leon Rosenberg wrote:
> hmm, I suppose the poster wants to run a n workers for m applications
> scenario with own load balancing, and wants to add new applications
> and servers dynamically.
>
That was my assumption; random slaves should be able to volunteer
automagically on startup.
Really I
Works like a charm! I used the binding method and now I'm off and
running.
Thanks!
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Craig
McClanahan
Sent: Thursday, March 16, 2006 1:42 PM
To: Struts Users Mailing List
Subject: Re: [Shale]/jsf Referencing
Ok, here's another possibility...
>From the plug-in, launch a daemon thread (daemon just in case the server
has to go down before the thread is done, in which case it won't block the
shutdown). Have the thread sleep for some amount of time, 30 seconds
maybe, however long on average it takes your
hmm, I suppose the poster wants to run a n workers for m applications
scenario with own load balancing, and wants to add new applications
and servers dynamically.
right?
Leon
On 3/16/06, Mark Lowe <[EMAIL PROTECTED]> wrote:
> On 3/16/06, Leon Rosenberg <[EMAIL PROTECTED]> wrote:
> > On 3/16/06, M
On 3/16/06, Leon Rosenberg <[EMAIL PROTECTED]> wrote:
> On 3/16/06, Mark Lowe <[EMAIL PROTECTED]> wrote:
> > Why cant the master server provide the information, as i assume that
> > some form of request is being made via a socket or otherwise to
> > register the client? Even if no you can still do
On 3/16/06, James Reynolds <[EMAIL PROTECTED]> wrote:
>
>
> I'm enjoying the helper methods extended from the AbstractViewController
> and I'd like to send a message to a particular component.
Good idea :-).
For example,
> here's the slick error() method.
>
> protected void error(javax.faces.c
Hi :
Today I got the shale-mailreader-20060316.war, dropped it into my
webapps dir, went to the tomcat manager and
it wasn't running. I tried to start it and was told Message: FAIL
- Application at context path /shale-mailreader-20060316 could not be
started
I am using Apache T
Yep thats what I ended up doing. The code
(Locale)ExpressionEvaluatorManager.evaluate("locale",
expr,Locale.class, this, pageContext)
was working against standard.jar (1.0).So just not sure why this is breaking
all of a sudden.
Thanks,
Mujahid
Frank W. Zammetti wrote:
I'm not sure
I'm not sure about the convertor, but could you instead just do:
String localCode = (String)ExpressionEvaluatorManager.evaluate("locale",
expr, String.class, this, pageContext);
Locale locale = new Locale(localCode);
At least that way your only asking the ExpressionEvaluatorManager to deal
with a
I'm enjoying the helper methods extended from the AbstractViewController
and I'd like to send a message to a particular component. For example,
here's the slick error() method.
protected void error(javax.faces.component.UIComponent component,
java.lang.String summary)
I'm n
I have a custom tag in which I am evaluating an attribute as follow:
(Locale)ExpressionEvaluatorManager.evaluate("locale", expr,
Locale.class, this, pageContext)
But I get an error:
javax.servlet.jsp.JspException: An error occurred while evaluating
custom action attribute "locale" with value
On 3/16/06, Mark Lowe <[EMAIL PROTECTED]> wrote:
> Why cant the master server provide the information, as i assume that
> some form of request is being made via a socket or otherwise to
> register the client? Even if no you can still do what you need by
> creating a socket or url connection to the
Why cant the master server provide the information, as i assume that
some form of request is being made via a socket or otherwise to
register the client? Even if no you can still do what you need by
creating a socket or url connection to the master, and have the master
send the details back.
A bit
On Thu, March 16, 2006 1:33 pm, Dave Newton said:
> Frank W. Zammetti wrote:
>> How about having a servlet as part of your webapp that starts up before
>> Struts does... then, from your plugin, you scan the local machine by
>> sending a request to every port from 1 to 1, and whichever you get
>
Frank W. Zammetti wrote:
> How about having a servlet as part of your webapp that starts up before
> Struts does... then, from your plugin, you scan the local machine by
> sending a request to every port from 1 to 1, and whichever you get the
> appropriate reply from is your port. Since we alr
On Thu, March 16, 2006 1:07 pm, Leon Rosenberg said:
> a bit crazy suggestion. Why don't you just parse the server.xml at
> startup to determine the port?
I'll one-up your crazyness Leon...
How about having a servlet as part of your webapp that starts up before
Struts does... then, from your plug
a bit crazy suggestion. Why don't you just parse the server.xml at
startup to determine the port?
regards
Leon
On 3/16/06, Wojciech Ciesielski <[EMAIL PROTECTED]> wrote:
> OK, thank you all. I thought that it's possible in some easy way through
> J2EE/Struts API. If not we will try to work around
I wouldn't use validwhen to do this - use intRange or I think theres a
minvalue - from memory added in 1.2.8, but I could be wrong.
Niall
- Original Message -
From: "fea jabi" <[EMAIL PROTECTED]>
Sent: Thursday, March 16, 2006 4:22 PM
>
>
>
> test
>
OK, thank you all. I thought that it's possible in some easy way through
J2EE/Struts API. If not we will try to work around it somehow...
Reagards,
Wojtek
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-
Hehe, don't feel bad... I was *this* close to replying with pretty much
the same thing you did, I realized I would have been wrong just before I
clicked Send :)
So may be I should apologize for lack of precision in initial post :-)
Absolutely no offense taken anyway and thanks for will to as
fea jabi wrote:
>( ((*this* == "") or (*this* != null))
> and (*this* >= 0) )
Never used validwhen, but wouldn't the boolean equation be something
more like:
this == "" or this == null or this >= 0?
You have something more like "it's valid when the value is empty and the
valu
will this sort of thing do?
window.onload = function() {
if(rowAdded) {
var table = document.getElementById("mytable");
tableFocus(table);
}
}
function tableFocus(table) {
window.scroll(0,table.offsetTop);
table.style.borderColor = "#f00";
table.style.bor
[EMAIL PROTECTED] wrote:
> Did you even _LOOK_ at the url that I sent the first time? Your slave
> starts and fires init() and makes a call to the master, the master will
> take the request and reconstruct the URL from the slave.
>
How does this help? This is the URL that the slave requested
thankyou, for detail explanation.
From: "Frank W. Zammetti" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List"
To: "Struts Users Mailing List"
CC: user@struts.apache.org
Subject: Re: errorStyleClass
Date: Thu, 16 Mar 2006 11:03:51 -0500 (EST)
elements are a bit notorious in not allowi
<2cents>
> try {
> InetAddress addr = InetAddress.getLocalHost();
> String hostname = addr.getHostName();
> } catch (UnknownHostException e) { }
This could easily return "localhost" (and the ip of 127.0.0.1) or
something as useless as this depending on your /etc/hosts. There is no
valid way to
Hehe, don't feel bad... I was *this* close to replying with pretty much
the same thing you did, I realized I would have been wrong just before I
clicked Send :)
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
AIM: fzammetti
Yahoo: fzammetti
MS
DuhI misunderstood and I apologize. You need a callback URL...lemme
think on that a second.
-Dennis
[EMAIL PROTECTED]
03/16/2006 11:21 AM
Please respond to
"Struts Users Mailing List"
To
"Struts Users Mailing List"
cc
Subject
Re: [OT ]Re: obtaining server URL (or ip and port) from
test
( ((*this* == "") or (*this* != null)) and
(*this* >= 0) )
want the value to be greater than 0, but can be empty or null. Also no chars
are allowed.
trying using above. but the error gets shown when is a null or empty value.
how to fix
Should work on IE too... OP, what was the underying goal? Do you just
want to make sure the added row is on the screen? If so, I think Mark is
on the right track.
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
AIM: fzammetti
Yahoo: fzammett
Did you even _LOOK_ at the url that I sent the first time? Your slave
starts and fires init() and makes a call to the master, the master will
take the request and reconstruct the URL from the slave.
Posted again JUST IN CASE:
http://javaalmanac.com/egs/javax.servlet/GetReqUrl.html
-Dennis
On Thu, March 16, 2006 10:52 am, Wojciech Ciesielski said:
>
>>>
>>> I need to find URL to my application
>>> (http://myhost:8080/myAppContext) from within init() method of struts
>>> plugin (implementing PlugIn interface). Any ideas how can I do this
>>> programatically without specifying it expli
If i've understood the problem, rather than trying to focus on the
table you could create the illusion.. You'd need to get a where the
table is on the page and perhaps apply some styles to the table. If
you cant get the position of the table then an anchor will do.. Just
scroll the window to that.
[EMAIL PROTECTED] wrote:
Assuming all of the "slaves" know the id of the "master", then maybe you
have a RegisterServlet that's called by a slave processing servers during
their init? http://javaalmanac.com/egs/javax.servlet/GetReqUrl.html
-Dennis
The problem is that slaves know master's
Wojciech Ciesielski ha scritto:
We are trying to create distributed computing environment based on
web-apps with one master server where multiple processing servers
register themselves. Communication is done by calling action via HTTP.
And therefore I have to let master server know about URL of
Frank W. Zammetti wrote:
> On Thu, March 16, 2006 10:39 am, Dave Newton said:
>
>> I'm not convinced you can set focus on a non-input item; that really
>> wouldn't make any sense.
>>
> I think you actually can, at least in IE (I was a bit surprised by this).
>
Ooo, that's spooky... I g
Your scripts sound like just the kind of thing that would be well-received
as a struts.sourceforge.net project (hint-hint!) Maybe slap a Swing
front-end on it and execute the scripts via BSF?
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
AI
elements are a bit notorious in not allowing you all the CSS
flexibility the other controls do. This is, as I understand it, because a
is treated essentially as a separate window. For instance, note
that if you have a and you position it over a , regardless
of how you try and set the z-index,
Assuming all of the "slaves" know the id of the "master", then maybe you
have a RegisterServlet that's called by a slave processing servers during
their init? http://javaalmanac.com/egs/javax.servlet/GetReqUrl.html
-Dennis
Wojciech Ciesielski <[EMAIL PROTECTED]>
03/16/2006 10:52 AM
Please r
On Thu, March 16, 2006 10:39 am, Dave Newton said:
> Anjishnu Bandyopadhyay wrote:
>> Actually, it is a table where rows can be added/deleted.
>> So, after, addition/deletion of a row, (on page load) focus is to be set
>> to the table.
>>
>
> I'm not convinced you can set focus on a non-input item
Hi,
It's almost Friday here so I thought I could throw in an OT, hope you don't
mind ...
I'm sure that most of you already read the Effective Java of Joshua Bloch.
In the item discussing the equals method he talks about the imposibility to
write a valid equals method for a subclass that adds a ne
I need to find URL to my application
(http://myhost:8080/myAppContext) from within init() method of struts
plugin (implementing PlugIn interface). Any ideas how can I do this
programatically without specifying it explicitly in one of
application configuration files?
You can't do it, in any
Frank W. Zammetti wrote:
> http://easystruts.sourceforge.net/
> http://www.myeclipseide.com/ContentExpress-display-ceid-55.html
> http://weblog.cemper.com/a/200311/02-struts-studio-eclipse-plugin-for-struts-modelling.php
>
> You may be right that none of them does ALL the steps you mentioned... I
>
Antonio Petrelli wrote:
> Wojciech Ciesielski ha scritto:
>> I need to find URL to my application
>> (http://myhost:8080/myAppContext) from within init() method of struts
>> plugin (implementing PlugIn interface). Any ideas how can I do this
>> programatically without specifying it explicitly in on
Dave Newton wrote:
I'm not convinced you can set focus on a non-input item; that really
wouldn't make any sense.
+1
I'd try using a fragment identifier (pointing to from the link that leads to the page or via JS on load (the first way is
better).
hth,
Manos
---
Anjishnu Bandyopadhyay wrote:
> Actually, it is a table where rows can be added/deleted.
> So, after, addition/deletion of a row, (on page load) focus is to be set
> to the table.
>
I'm not convinced you can set focus on a non-input item; that really
wouldn't make any sense.
I believe you'll n
On Thu, March 16, 2006 9:21 am, Dave Newton said:
> Struts irritates me because I have to tweak or create at least 4 files
> for every action: JSP, resources, tiles, struts-config (although I've
> started playing with the Spring/Struts stuff) in multiple places. Add
> validation if there's a form.
I just thought I'd chime in here even though I haven't been following the
arguments all along. As background - I'm working a contract where we use
JSF with ADF controls mixed in. I have had a very pleasant experience
using JSF with Eclipse though most of my previous experience was with
Struts. T
Karel Honzl ha scritto:
Hi,
I'm using validation on action form. I have action for displayng input form
named /insert and other action for form submission named /insertsubmit .
But when form don't pass validation url in browser is changed to
/insertsubmit.do, but I want to have there /insert.do.
I'm not sure *anything* is off-topic for this thread :) LOL
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
AIM: fzammetti
Yahoo: fzammetti
MSN: [EMAIL PROTECTED]
Java Web Parts -
http://javawebparts.sourceforge.net
Supplying the wheel, so you
Alberto Marquÿe9s ha scritto:
value="id_tema" >
PRINT MENSAJE
You cannot use this way, value must be a constant.
You can use JSTL
http://java.sun.com/products/jsp/jstl/1.1/docs/tlddocs/index.html
Ciao
Antonio
---
sorry for the mistake.
my code is :
test
((*this*!=null) or (adr[1] !=null ))
--
View this message in context:
http://www.nabble.com/Validwhen-and-array-t1291360.html#a3437728
Sent from the Struts - User forum at Nabble.com.
-
Wojciech Ciesielski ha scritto:
Hi there,
I need to find URL to my application (http://myhost:8080/myAppContext)
from within init() method of struts plugin (implementing PlugIn
interface). Any ideas how can I do this programatically without
specifying it explicitly in one of application confi
This might not be Struts related issue. More of CSS stuff I guess.
I am using this errorStyleClass and works great for text fields, where I am
highlighting the border with different color when there is an error.
If it is a dropdown when there is an error(when the user did not select any)
the
On 3/16/06, coudot <[EMAIL PROTECTED]> wrote:
>
> Thanks but I have already looked at this example.
> There is not control validwhen on an element of an array.
> All the other controls(intRange,required...) works fine on my field adr[0].
>
> the problem is the adr[1] in the , although it seems to b
On 3/16/06, Morten Andersen <[EMAIL PROTECTED]> wrote:
> I want to use JSTL to check the role of the user (it can be one of many)
>
> I'm new to JSTL so even the simplest things gives me problems:
>
> I've set the role using request.setAttribute("role" , role);
>
> This tag:
>
>
> Prints out the r
Morten Andersen wrote:
I want to use JSTL to check the role of the user (it can be one of many)
I'm new to JSTL so even the simplest things gives me problems:
I've set the role using request.setAttribute("role" , role);
This tag:
Prints out the role fine
While the following statements are
I want to use JSTL to check the role of the user (it can be one of many)
I'm new to JSTL so even the simplest things gives me problems:
I've set the role using request.setAttribute("role" , role);
This tag:
Prints out the role fine
While the following statements are newer true:
Hi there,
I need to find URL to my application (http://myhost:8080/myAppContext)
from within init() method of struts plugin (implementing PlugIn
interface). Any ideas how can I do this programatically without
specifying it explicitly in one of application configuration files?
Thanks in advan
Actually, it is a table where rows can be added/deleted.
So, after, addition/deletion of a row, (on page load) focus is to be set
to the table.
-Original Message-
From: Dave Newton [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 16, 2006 7:37 PM
To: Struts Users Mailing List
Subject: Re
Dakota Jack wrote:
> I cannot see how Struts is going to be able
> to be viable in the long run.
>
Personally, I think the trick is in the tooling. JSF is obviously
designed for tooling and works well, similarly to the .NET/Visual Studio
'experience'.
Struts irritates me because I have to twea
Struts Group,
Is it such a dumb question that i am not getting any response? or is it
a bug. If someone can let me know, that it is ok to tweak the bean util
code i will. I am not sure whether it has other side effects. I just
want to make sure that it does not cause obvious side effects.
Str
Anjishnu Bandyopadhyay wrote:
> I have a JSP page, which has a table (). On load of the page, I
> need to set focus on this table.
>
Why would you want to set focus on something that can't receive user input?
Dave
-
To unsu
Thanks but I have already looked at this example.
There is not control validwhen on an element of an array.
All the other controls(intRange,required...) works fine on my field adr[0].
the problem is the adr[1] in the , although it seems to be
allowed in the struts documentation.
--
View this mes
Take a look at the struts-examples webapp, theres a validwhen example
in the "validator" module - since 1.2.7 or 1.2.8 I think
Niall
On 3/16/06, coudot <[EMAIL PROTECTED]> wrote:
>
> Hi,
> I have an array of two adress lines in my form.
> I want to check if AT LEAST one line is not empty.
>
> I w
Hi,
I have an array of two adress lines in my form.
I want to check if AT LEAST one line is not empty.
I want to use the validwhen to check the first line.
The first line is valid only it's not null or the second line is not null.
But I have an error on my page when the instruction is called in
ah, ok, well thanks, that was rather illuminating :)
thanks a thousand
Julian
> --- Ursprüngliche Nachricht ---
> Von: "Leon Rosenberg" <[EMAIL PROTECTED]>
> An: "Struts Users Mailing List"
> Betreff: Re: ActionForm Stringvariables
> Datum: Thu, 16 Mar 2006 14:19:41 +0100
>
> well, two re
Dear All
I would like to formally announce that JAVAWUG (Java Web User Group)
is holding the sixteenth Birds-of-Feather (Meet up XVI) at the
Oracle City of London offices on Friday, 17th March 2006.
The meeting will take place in a room with Audio/Visual facilities
between 7-9:30 pm. There will
well, two reasons, the practical one:
checks for null are annoying, and people tend to lazily forget them.
the more theoretical reason, is that null is not a truly OO concept
(at least according to some authors), and you should use a NullObject
concept (being of same type as your normal Object exp
When you use messages from an alternate (i.e. non default) message
resources you need to specify the "bundle" attribute in the
tag.
So if you have something like this in your struts-config,xml:
Then to use your "'GeneralMessages" in your jsp you specify bundle="common":
1 - 100 of 116 matches
Mail list logo