Here's *one* way to achieve what you're after:
[left]
[right]
link1
link2
Courtesy of Eric Meyer
http://www.complexspiral.com/publications/containing-floats/
All that's different to your first example is the addition of an
additional 'float' on the outer div. This causes it to expand
You were right Laurie.
I thought I had commented out the , however, I had
used instead of <%-- --%>, so the code was still included in
the servlet.
Thanks for the tip.
--- Laurie Harper <[EMAIL PROTECTED]> wrote:
> Mon Cab wrote:
> > Please help.
> >
> > It seems that Tomcat is no lon
Thanks Frank/Michael/Rick for your inputs.
I'm in synch with your arguments and thought points.
Simulating server side push by using polling solution with right
interval should be the solution having the best trade off in terms of
scalability, and interoperability.
Regards,
Sourav
-Origina
For the errorStyleClass to be used there need to be a set of
"ActionMessages" stored under the appropriate key (i.e. Globals.ERROR_KEY)
and there needs to be a message for the field in error - i.e. in your case a
message associated with the "lastName" property.
If your returning an appropriate set
On 13/12/05 Max Cooper did say:
> It sounds like your main challenge is that you have requests to a web
> server that look like http://web.domain.com/foo/bar/me mapped to an app
> deployed on an app server that you might access directly as
> http://app.domain.com/me. The app will make site-root re
Have you tried using instead of ?
> -Original Message-
> From: fea jabi [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, January 03, 2006 11:37 AM
> To: user@struts.apache.org
> Subject: struts logic:iterate c:forEach of JSTL
>
>
> In struts config file I have it as
>
>
> ...
Thanks.
I figured out the issue. I had a different version of struts in another app,
and somehow that was classloader was picking up that older version..
But, still after I get them right, the text field is not picking up the
errorStyleClass and just has the styleClass, even incase of error..!
Her
Indeed, Rick is correct, this is not really technically feasible given the
basic nature of HTTP. Any solution would have to be of pull nature,
unless you get into applets of ActiveX or such things. You essentially
need to have a server running on the client... then the "real" server
could, theore
On 1/3/06, Rick Reumann <[EMAIL PROTECTED]> wrote:
> > 2. What are the relevant technologies avaialble in Java/J2EE for this -
> > a) How AJAX an be used ?
>
> I'd use the buzz word Ajax for that. I only know the very basics of it
How an async HTTP request can be a push technology?
--
Lakshmi <[EMAIL PROTECTED]> wrote:
> I downloaded from nightly builds but it has
> code(struts-el-1.3.0-dev-20060103-src.zip) and
> documentation(struts-el-1.3.0-dev-20060103.zip) of the Struts EL tags
> but not the libraries.
The struts-el-1.3.0-dev.jar file is there. By "lib
On 1/3/06, Sandhya Lakshmi <[EMAIL PROTECTED]> wrote:
> I downloaded from nightly builds but it has
> code(struts-el-1.3.0-dev-20060103-src.zip) and
> documentation(struts-el-1.3.0-dev-20060103.zip) of the Struts EL tags
> but not the libraries.
The struts-el-1.3.0-dev.jar
souravm wrote the following on 1/2/2006 11:34 PM:
The push will need to be initiated by an alert server or streaming
engine, which will keep pushing data (alerts) to the users's browsers.
I don't believe that is possible unless you create some kind of Applet,
but then you aren't really using
Ted,
I downloaded from nightly builds but it has
code(struts-el-1.3.0-dev-20060103-src.zip) and
documentation(struts-el-1.3.0-dev-20060103.zip) of the Struts EL tags
but not the libraries.
Eventhough on downloading the latest version of struts
1.2.8(struts-1.2.8-lib.zip ) version I did not find
The nightly builds for the upcoming Struts EL 1.3.0 release are here:
* http://svn.apache.org/builds/struts/maven/trunk/nightly/struts-el/
The best available version is bundled with the Struts 1.2.8 release:
* http://struts.apache.org/download.cgi
The libaries are labeled struts-bean-el, struts
There's a JSF integration library (as yet unreleased) that seems to be
working for some people, but the general feeling is that the library
breeds a clumsy architecture.
* http://struts.apache.org/struts-faces/index.html
Other than that, the best recommendation is that if you want to use
JSF, it'
Q: When exactly this method has to be used and when does this get called?
A: The reset method is called for each new request, for both request
and session scoped ActionForms, before the ActionForm is populated
from the request. Here's the sequence of events:
1. Request received by controller.
2.
On 1/3/06, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
> I would even go so far as to ask, aside from the obvious benefit of being
> able to change the look and feel of a site by pointing to a new
> stylesheet, what is the problem with table-based layouts? Is the easy
> swapping of stylesheets th
On 1/3/06, Niall Pemberton <[EMAIL PROTECTED]> wrote:
> Reset gets called just before the form is populated and the most common use
> is for resetting boolean properties set using checkboxes. This is because if
> the checkbox is not "checked" browsers do no submit a value, so the
> "population" mec
Dave Newton wrote the following on 1/3/2006 1:01 PM:
I would just have a div with a table in it to avoid all those issues.
Right that's what I typically do. I just keep hearing about how you
should use divs for layouts, so every so often, I go back to wrestling
div junk and get frustrated.
Reset gets called just before the form is populated and the most common use
is for resetting boolean properties set using checkboxes. This is because if
the checkbox is not "checked" browsers do no submit a value, so the
"population" mechanism doesn't set the property to "false" if the checkbox
is
When exactly this method has to be used and when does this get called?
Why do the checkboxes have to be reset?
Prepopulating the formbean is done in Action class. hence, it's not clear to
me the exact use of using the reset method.
Thanks.
Rick Reumann wrote:
What I just want as a test is a div with a border around it and then
two divs inside that div with text = One set of text aligned in a div
to the left, the other in a div text-aligned to the right. Then below
the main div some text:
I would just have a div with a table in
OK but a "setter" does exist for that property in the tag in
Struts 1.2.7 and Struts 1.2.8 so somethings wrong in your app somewhere.
Niall
- Original Message -
From: "RathinaGanesh MeenakshiSundaram" <[EMAIL PROTECTED]>
Sent: Tuesday, January 03, 2006 5:23 PM
Niall,
I checked up the
Niall,
I checked up the struts version in the war file. And, Iam sure, Iam using
1.2.8 version. Although, I previously used 1.2.7
Thanks,
Ganesh.
On 1/3/06, Niall Pemberton <[EMAIL PROTECTED]> wrote:
>
> Ganesh,
>
> This is almost certainly a problem in your deployment/application rather
> than
I am trying to download struts-el tags .But I could not find them can
anyone mail me the link to download the struts-el tag library
Thanks
Sandhya
---
St Jude Children's Research Hospital is internationally recogni
On 1/3/06, Marco Mistroni <[EMAIL PROTECTED]> wrote:
>
> Hello all,
> Sorry for the OT ... I was wondering, for anyone who has switched
> From struts to JSF, how have you dealt with indexed properties?
> I am currently using MyFaces, and looks like I have an usecase in which
> I need to use
Have you tried the table, table-row and table-cell display properties? But
if that works, I'd just go back to tables.
No, you are not alone :)
I too have found it to be, shall we say, not as straight-forward as
table-based layouts. And I am relatively conversant in CSS (no guru or
anything, but I can usually make it to do what I want in the end).
Of course, the benefits are pretty obvious (anyone as yet unconvi
Theres no way of extending it since all the logic is in a single
execute(ActionContext) method - however you can simply create your own
Command implementation and configure the ComposableRequestProcessor in
Struts 1.3 to use your implementation.
Confuguring Struts 1.3 to use your own command you c
In struts config file I have it as
...
In prepare action have the below which creates this list
private ArrayList getItems(DynaValidatorForm form1) {
LabelValueBean lblValueBean1 = new LabelValueBean("Visa1", "V1");
LabelValueBean lblValueBean2 = new
Naill,
Is there a way to extend the CreateActionForm class? It is called from
in the RequestProcessor Class?
On 1/3/06, Niall Pemberton <[EMAIL PROTECTED]> wrote:
> Its still in the processActionForm method in Struts 1.2.x - but in Struts
> 1.3 its moved into the CreateActionForm command:
>
> h
Its still in the processActionForm method in Struts 1.2.x - but in Struts
1.3 its moved into the CreateActionForm command:
http://svn.apache.org/viewcvs.cgi/struts/action/trunk/src/java/org/apache/struts/chain/commands/
There is also another place that creates the form beans - the
jsp tag will a
I always end up with nothing but trouble trying to position divs with
css that is a BREEZE to do with tables. css positioning is supposed to
be the layout savior yet my experience with it always ends up with
headaches - try something, see if it works, try something else, set if
it works. Oh and
Ganesh,
This is almost certainly a problem in your deployment/application rather
than a bug in struts - I use this feature with Struts 1.2.8 and it works
fine. Unless you can demonstrate that its a bug in struts rather than your
app then I am likely to close any bug you open for this as "WORKSFORM
In struts 1.1 (the only one i have the source for) its in the
processActionForm method.
dave
On Tue, 2006-01-03 at 08:38 -0600, Jim Reynolds wrote:
> Hello and Happy New Year
>
> I am trying to figure out which method (of the many) in the request
> processor physically takes the form bean and s
May be this article is helpful.If it is helpful please let us know.
http://www.onjava.com/pub/a/onjava/2004/11/10/ExtendingStruts.html
On 1/3/06, Jim Reynolds <[EMAIL PROTECTED]> wrote:
>
> Hello and Happy New Year
>
> I am trying to figure out which method (of the many) in the request
> proces
Hello and Happy New Year
I am trying to figure out which method (of the many) in the request
processor physically takes the form bean and sets it into the desired
scope? Based upon the configuration for said Action Mapping.
Regards
---
Hi everybody!
can anybody tell me good links about using JSF with Struts?
best regards,
markus
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
You might want to look at how the latest MailReader application
handles logging.
* http://tinyurl.com/7jhxo
Look for the "log." statements.
Unfortunately, it's not being included in a nightly build right now,
so the only other way to view the source is through a Subversion
checkout.
* file:///e
You do not need any help for using eclipse with struts, just learn the
struts and you will see that my-eclipse plug-in is self-explanatory for
struts application development.
On 1/3/06, Bogdan Paduraru <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> Thanks for answers so far.
>
> The thing is the ori
I'm replying to the User list, Rakesh, since this not a development question.
My favorite approach is to use a separate configuration for each
"story" (use-case, workflow, whatever) in the application, and one
other for global elements.
That way, in a multi-developer situation, different develope
Thanks Laurie
I was going thru' over the versions of struts all thru' my application. I
was previously using 1.2.7. But did'nt help.
Then, again, changed to 1.2.8 version..But, still it throws me the same
error message.
I'm sure, Iam using the errorStyleClass in only one html:text tag.
I'll t
Hello Friends,
"Happy NewYear to all"
I have a problem in displaying a set of languages in a dropdown menu in
my struts application.
Problem::
I have to display some four langauges in a drop down menu. Name :
English Code: en; Name: Portughese Code:pt; Name: French Code: fr
I am setting t
Hi all,
Thanks for answers so far.
The thing is the original people who wrote this PHP project
didn't know too much about programming and I inherited this project.
I'm an object programming addict and also I would prefer to use
something
that has been proved by industry as good technology.
I'm n
I think that before choosing a Java Web framework, you should perhaps
analyze the migration.
Many php webapps doesn't implement MVC design pattern.
I think that you should calculate the necessary time to completly
refactor your existing webapp into a new webapp.
Sometime, we think that porting a ph
Bogdan Paduraru wrote:
I'm managing a PHP/postgreSQL project. The purpose of the project is to
display some items (i.e : houses etc) on webpages, along with HTML text.
The problem is this project became too big and almost impossible to
handle since you can't separate very well presentation fr
Bogdan Paduraru wrote:
Any advice would be helpful, also when you recommend me something would
be nice to point some links with tutorials too because I also want to
train my programmers.
I'm in the process of finishing up an upgrade to my old struts site
which people have found helpful with
Is there Any possiability of implementing Data Grid in Web Application .
Can Any One Give Some information on this.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
I'm managing a PHP/postgreSQL project. The purpose of the project is to
display some items (i.e : houses etc)
on webpages, along with HTML text.
The problem is this project became too big and almost impossible to
handle since you can't separate very well presentation from logic.
I convi
Hello all,
Sorry for the OT ... I was wondering, for anyone who has switched
>From struts to JSF, how have you dealt with indexed properties?
I am currently using MyFaces, and looks like I have an usecase in which
I need to use indexed properties..
I was told that JSF does not support htat.
50 matches
Mail list logo