Hi.
I have been reading Forms page of RIFE Wiki and a couple of questions
poped up :
1- "To generate a form, you simply have to call the
generateForm(Template template, Object beanInstance)"
What does generating a form mean?
Isn't supposed that forms are in the HTML page ?
2-
bean.addConstraint(
    new ConstrainedProperty("colors").inList(new String[] {"black",
"red", "blue"}));
What is this bean object ? instance of what ? what is its role ?
3- How can perform forwards and redirects in RIFE ?
4- RIFE offers methods like getParameterInt() and for other types.
Would be better to offer something like what WebWork do ?
In WebWork, you write :
<ww:textfield name="user.name" />
And the framework will create instance of User class automatically,
and with the support
of type converters, developer's life is so enjoyable.
5- What is FormBuilder ?
Again, isn't forms supposed to exist in the HTML page ?
6- We all know these URLs :
/catalog/item.do?id=23
How to generate such URL in RIFE ? Or RIFE is like JSF (post for every
thing) ?
7- bean.addConstraint(
    new ConstrainedProperty("login").maxLength(8);
With the following :
<!--V 'FORM:INPUT:property'-->size="10"<!--/V-->
will generate :
<input type="text" name="login" size="10" maxlength="8" />
Why not just writing :
<!--V 'FORM:INPUT:property'-->size="10" maxlength="8"<!--/V-->
Sorry, I'm a new comer but RIFE looks cool.
Thanks.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"rife-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rife-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to