You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@beehive.apache.org by James Black <jb...@ieee.org> on 2005/05/11 17:18:11 UTC
re: typo in pageflow tutorial
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I am at the bottom of
http://incubator.apache.org/beehive/pageflow/pageflow_jsp.html
<netui:form action="processLogin" method="POST">
<netui:textBox name="username" size="20"/>
<netui:textBox name="username" size="20" password="true"/>
<netui:button type="submit" value="Login"/>
</netui:form>
Both textboxes have 'name="username"'
- --
"Love is mutual self-giving that ends in self-recovery." Fulton Sheen
James Black james@usf.edu
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCgiIzikQgpVn8xrARArUAAJ0YIyfFuJ28ABuuum0/nYXDd1+V0wCfcahq
MCjlXb9cgG+1yiGz+KB/j6s=
=O9ZM
-----END PGP SIGNATURE-----
Re: typo in pageflow tutorial
Posted by Eddie O'Neil <ek...@bea.com>.
Matt--
Are you using a recent distribution snapshot? I just checked and
ControlImplementation has a setter for "isTransient".
So, hopefully we're okay on that one.
Keep them coming...
:)
Eddie
Matt wrote:
> While we're talking about typos in tutorials,
>
> The controls tutorial
> (http://incubator.apache.org/beehive/controls/tutorial_controls.html)
> seem to be using API-version which is different from the one than can be
> downloaded as binary. In example code:
>
> package pkg;
>
> import org.apache.beehive.controls.api.bean.*;
>
> @ControlImplementation(isTransient=true)
> public class HelloImpl implements Hello
> {
> public String hello()
> {
> return "hello!";
> }
> }
>
> The compiler will barf on "(isTransient=true)", and when you decompile
> the jars you see that ControlImplementation does not have isTransient
> method. The samples in the package have the correct code though.
>
> /m.
>
>
>
>
Re: typo in pageflow tutorial
Posted by Matt <ma...@koffein.dk>.
While we're talking about typos in tutorials,
The controls tutorial
(http://incubator.apache.org/beehive/controls/tutorial_controls.html)
seem to be using API-version which is different from the one than can be
downloaded as binary. In example code:
package pkg;
import org.apache.beehive.controls.api.bean.*;
@ControlImplementation(isTransient=true)
public class HelloImpl implements Hello
{
public String hello()
{
return "hello!";
}
}
The compiler will barf on "(isTransient=true)", and when you decompile
the jars you see that ControlImplementation does not have isTransient
method. The samples in the package have the correct code though.
/m.
Re: typo in pageflow tutorial
Posted by James Black <jb...@ieee.org>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Eddie O'Neil wrote:
>
> Hm. Interesting thing about that is that "textBox" doesn't have a
> "name" attribute -- it uses "dataSource".
I haven't tested my webapp since I started to rewrite it, I am just
going through the tutorial, using it as a guide for my own app. :)
I will make the additional comments to the jira bug report that you
suggested.
Thanx.
- --
"Love is mutual self-giving that ends in self-recovery." Fulton Sheen
James Black james@usf.edu
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCgjNTikQgpVn8xrARAsqhAJ4xqdtVXIKL86KsW0fckK+9ZL2u/ACeNBB0
aEHt0Yfg/y369Go57yn9ino=
=OSrl
-----END PGP SIGNATURE-----
Re: typo in pageflow tutorial
Posted by Eddie O'Neil <ek...@bea.com>.
Hm. Interesting thing about that is that "textBox" doesn't have a
"name" attribute -- it uses "dataSource".
:)
Given that this looks like a login form, the sample should be:
<netui:form action="processLogin" method="POST">
<netui:textBox dataSource="actionForm.username" size="20"/>
<netui:textBox dataSource="actionForm.password"
size="20" password="true"/>
<netui:button dataSource="actionForm.submit" value="Login"/>
</netui:form>
I'll add this to a bug on the JPF tutorial.
Thanks for pointing it out!
Eddie
James Black wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I am at the bottom of
> http://incubator.apache.org/beehive/pageflow/pageflow_jsp.html
>
> <netui:form action="processLogin" method="POST">
> <netui:textBox name="username" size="20"/>
> <netui:textBox name="username" size="20" password="true"/>
> <netui:button type="submit" value="Login"/>
> </netui:form>
>
> Both textboxes have 'name="username"'
>
> - --
> "Love is mutual self-giving that ends in self-recovery." Fulton Sheen
> James Black james@usf.edu
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (MingW32)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
>
> iD8DBQFCgiIzikQgpVn8xrARArUAAJ0YIyfFuJ28ABuuum0/nYXDd1+V0wCfcahq
> MCjlXb9cgG+1yiGz+KB/j6s=
> =O9ZM
> -----END PGP SIGNATURE-----
>