Sorry for getting mixed up with terms, I didnt mean casting as in terms of
Java, :)
document.getElementById always returns object and then if we start treating
it as frames or forms. It some times doesnt work..
Thanks and Regards,
Nitish Kumar
-Original Message-
From: Frank W. Zam
Are you suggesting JSF is not MVC?
--
James Mitchell
Software Engineer / Open Source Evangelist
Consulting / Mentoring / Freelance
EdgeTech, Inc.
http://www.edgetechservices.net/
678.910.8017
AIM: jmitchtx
MSN: [EMAIL PROTECTED]
Skype: jmitchtx
- Original Message -
From: "Dakota Ja
getElementById is indeed the "standards-compliant" method... but something
which came in a bit late!!! Browser IE 5+ and Netscape 6+ support them...
but the earlier version browsers does not support getElementById (since
these browsers date before the standard was introduced.
Also the standar
Remember that getElementById is the "standards-compliant" method, the others
are not, IIRC. They of course work too, but when manipulating DOM objects,
getElementById is supposed to be used, according to the current standards.
Is there such a thing as casting in JS? I'm not sure. I don't thin
Forgot to add that "myform" should be the form name!
Nitesh
- Original Message -
From: "Nitesh" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Monday, June 27, 2005 10:23 AM
Subject: Re: javascript html:fprm and getElementById
Try out...
function setParam(mode)
{
docume
Try out...
function setParam(mode)
{
document.forms["myform"].action ="<%=(String)
request.getAttribute("origin")%"+ mode+ ".do";
document.forms[0].submit();
}
HTH
Nitesh
- Original Message -
Hi,
I need to change the action of my form on the fly. I use the following
javascript:
fu
This is just like the intentional "mistake" made in JSF. There are
real reasons for the MVC architecture. I am for flexibility but not
for couping things together into spaghetti code once again.
On 6/23/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote:
> WebWork actions are somewhat like Struts
I geuss, some thing working or not working in JavaScript is a lot dependent
on what version of what browser, are you using.
Well, Any ways, from my previous experience with JavaScript, usually
document.getElementById gives you an object, and casting it to form doesnt
work all the time..
it is a
Right the presentation should be posted up - although you can follow a
lot of my adventures with this stuff on the GroundBlog as well.
www.groundside.com/blog
Duncan
David G. Friedman wrote:
Duncan,
Will a link to this presentation be posted to the Wiki (or this list)
sometime after you prese
Ted Husted wrote On 26/06/05 13:25:
* http://struts.apache.org/roadmap.html
[snip]
With features like "extends", it becomes even easier to customize
Struts to use your own default classes and implementation strategies.
Once 1.3.x starts to ship, it will become even easier to use Struts
like
Injection IoC replacing a lot of heavyweight crap is why Spring is
"such a big [or little] deal".
On 6/26/05, David G. Friedman <[EMAIL PROTECTED]> wrote:
> Duncan,
>
> Will a link to this presentation be posted to the Wiki (or this list)
> sometime after you present? I find the topic interestin
Duncan,
Will a link to this presentation be posted to the Wiki (or this list)
sometime after you present? I find the topic interesting, especially since
I'm probably going to the Boston JUG in August to learn why Spring is
supposed to be such a big deal. :)
Regards,
David
-Original Message
Why do you believe this does not work? I just tried in IE and it worked
fine, as I would expect since I do this sort of thing all the time.
I would suggest throwing an alert before and after the code setting the
action, display what the action of the form is. I did this and it does
indeed ch
From: "Arash Bijanzadeh" <[EMAIL PROTECTED]>
I need to change the action of my form on the fly. I use the following
javascript:
...
It works perfect under mozilla but not IE. I think the problem is that IE
looks for Id in the name field of form and he couln't find it.
If
document.forms[0].s
On 6/26/05, Van <[EMAIL PROTECTED]> wrote:
> Also be there on Monday and Wednesday of the main conference. Planning
> to attend Craig's Shale talk on Wednesday.
I should note for completeness that I'm co-presenting this talk with
David Geary.
>
> -Van
>
Craig
Thanks for explanation. I think that the servlet tags should contain version
attribute/tag otherwise tags for 1.0 can be happily used by 1.1+.
Regards, Jan
> Those are both Struts 1.0 tutorials (when 'validate' would have been
> correct.) And Struts in Action was published in 2003, before even S
Going and Speaking:
TS-5068 - Spring and JavaServerâ„¢ Faces Technology: Synergy or Superfluous?
I'll also be around at Van's BayChi event
Duncan
http://www.groundside.com/blog
Richard Yee wrote:
Anyone on the list going to JavaOne?
-Richard
Hi Laurie,
I did not see that - thank you so much - you helpt me a lot.
Regards, Nici
Am Sonntag, den 26.06.2005, 07:19 -0400 schrieb Laurie Harper:
> nicole.wollgast wrote:
> > the DOCTYPE I am using is:
> >
> > > "-//Apache Software Foundation//DTD Struts Configuration
> > 1.0//EN
From: "Jan Bares" <[EMAIL PROTECTED]>
For instance:
Struts in Action, table 2.7, Struts weaknesses (maybe typo, the book has
many of them)
In sample code from common-controls
On samples found through google:
http://www.netstore.ch/mesi/strutsTutorial/part3.html
http://javaboutique.internet.com/
On 6/25/05, Richard Yee <[EMAIL PROTECTED]> wrote:
> Anyone on the list going to JavaOne?
>
> -Richard
I'll be at the alumni events this evening and the Java Web Developer
social gathering I organized after that from 8pm-10pm:
http://www.baychi.org/bof/java/20050626/
Als
> Is that the cleanest way to do that?
probably not but you be the judge :)
http://forum.hibernate.org/viewtopic.php?t=927886
ATTA
On 6/26/05, Larry Meadors <[EMAIL PROTECTED]> wrote:
> That always struck me as a strange pattern when using hibernate -
> using the view (the web layer) to manage
Support for this idea on the RoadMap for the 1.5.x zone under:
"Consider a "smart" action type. The idea is that a command in Struts
chain could look at the type indicated by the ActionMapping so both
Action classes and ActionCommand implementations are supported. People
could then mix-and-match
That always struck me as a strange pattern when using hibernate -
using the view (the web layer) to manage the data layer.
Is that the cleanest way to do that?
Larry
On 6/26/05, atta-ur rehman <[EMAIL PROTECTED]> wrote:
> Servlet filters would be way to go for this particular situation:
>
> ht
Servlet filters would be way to go for this particular situation:
http://www.hibernate.org/43.html
HTH.
ATTA
On 6/25/05, Ashraf Fouad <[EMAIL PROTECTED]> wrote:
> I'm openning a hibernate session for each request, so I want to close this
> after rendering data in JSP, as usually the objects are
On 6/24/05, Mark Galbreath <[EMAIL PROTECTED]> wrote:
> muhahahaha.
>
> I know you've missed me! When I signed off the list a couple of years ago
> (wow! that
Yes Mark, we all missed you...but will aim more carefully next time,
and make sure we have a clearer shot.
Larry
nicole.wollgast wrote:
the DOCTYPE I am using is:
http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd";>
Your doctype declaration is inconsistent: you specify version 1.0 in the public
identifier and 1.1 in the system identifier. You need to fix the public
identifier to also referenc
I've found that the directive in web.xml works only if the
error is thrown from an Action, before the JSP is processed. Putting
<%@ page errorPage="/errorPage.jsp" %> in your JSP may help.
I believe Tomcat always uses RequestDispatcher.forward for
directives, which breaks if the response is
> Where are you seeing 'validate' being used? (And what version of Struts
are
> you using?) All of the current docs, and the source, use 'validating'.
> (But it defaults to true, so unless you're trying to turn off validation,
> you don't need the init param.)
(I know that there is "validate" op
Hi,
I need to change the action of my form on the fly. I use the following
javascript:
function setParam(mode)
{
document.getElementById("myform").action ="<%=(String)
request.getAttribute("origin")%>"
+ mode+ ".do";
document.forms[0].submit();
}
and my form is :
"
styleId="myform" >
It works p
Hi Craig,
Am Samstag, den 25.06.2005, 13:09 -0700 schrieb Craig McClanahan:
> Nicole,
>
> Could you post the entire DOCTYPE declaration you are using? That
> will help us give you an idea of what is actually going on here.
the DOCTYPE I am using is:
http://jakarta.apache.org/struts/dtds/struts
If you are using eclipse may I suggest the following
http://propedit.sourceforge.jp/index_en.html
Made my life a lot easer
EROL TEZCAN wrote:
Very Thanks Paul !!
Now it works fine.
I opened the old properties file, and saved it as UTF-8, and then run same
native2ascii command. It encode al
The Calyxo development team is pleased to announce the
availability of Calyxo 0.9.0-rc2!
This is the second 0.9.0 candidate release, which comes with
some new features (like conditional action filters, expression
language based field checker) as well as improved documentation.
The Calyxo Web Appl
From: "Jan Bares" <[EMAIL PROTECTED]>
I am confused by parameters that can be passed to the ActionServlet from
web.xml file. The documentation says, that the parameter name is
"validating" but is seems that actual name is "validate":
http://struts.apache.org/api/org/apache/struts/action/ActionSe
33 matches
Mail list logo