[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.webtools.jsf] standard JSF to iceFaces
|
I learn jsf but already have a need to use a iceFaces paginatorTable.
Unfortunatelly I have a problems to use iceFaces componentsin a eclipse
tutorial like
http://www.eclipse.org/articles/article.php?file=Article-EclipseDbWebapps/index.html,
so I will ask you forhelp. This is a standard jsf form: <form
action="demo.jsp" method="post">
<table>
<tr>
<td>Your name: (optional)</td>
<td><input type='text' name='name' value="${name}"></td>
</tr>
<tr>
<td>Your comments:</td>
<td><textarea name='comments' rows="6"
cols="40">${comments}</textarea></td>
</tr>
<tr>
<td></td>
<td><input type='submit' name='action' value='Submit'>
</tr>
</table>
<h3>${msg}</h3>
</form>
Can I use iceFaces components instead of standards jsf on a next way?For
example, for textarea: <ice:inputTextarea id="TxtCmt"
value="#{textFields.comments}"
cols="20" rows="4"
partialSubmit="true"
valueChangeListener="#{textFields.effectChangeListener}"
style="width:280px;height:80px;overflow:
auto;" />
Do I need a <form> or bean bellow exist instead of standard jsf form./* MPL
License text (see http://www.mozilla.org/MPL/) */
package
org.icefaces.application.showcase.view.bean.examples.component.textEntry;
import org.icefaces.application.showcase.view.bean.BaseBean;
/**
* <p>The TextFieldsBean class is the backing bean for the Text Entry
* demonstration. It is used to store the values of the input fields.</p>
*/
public class TextFieldsBean extends BaseBean {
/**
* The different kinds of text input fields.
*/
private String name;
private String password;
private String comments;
/**
* Gets the name property.
*
* @return value of name property
*/
public String getName() {
return name;
}
/**
* Sets the name property
*
* @param newValue new value of the name property
*/
public void setName(String newValue) {
name = newValue;
}
/**
* Gets the password property.
*
* @return value of the password property
*/
public String getPassword() {
return password;
}
/**
* Sets the password property.
*
* @param newValue new value of the password property
*/
public void setPassword(String newValue) {
password = newValue;
}
/**
* Gets the comments property.
*
* @return value of the comments property
*/
public String getComments() {
return comments;
}
/**
* Sets the comments property.
*
* @param newValue new value of the comments property
*/
public void setComments(String newValue) {
comments = newValue;
}
}
begin 666 tag_2.gif
M1TE&.#EA& `-`+/_`,# P `SF10:(1TG,2DW19G,_X^_[WRFSU-NBC-$54=>
M=CU29@H.$0```````````"'Y! $`````+ `````8``T```12$,A J[4R:Q"*
M_^ 7;%H7GMY(<J"Q-,)BA.IF>DFC*$URUIE;H4'P$!HH(.MT8!23I1,"=H!&
>/X9!`S'[D83'!&),6PD;Z#1(&41Y5YR+G+**```[
`
end
begin 666 tag_3.gif
M1TE&.#EA& `-`+/_`,# P `SF10:(1TG,5Q[FBDW19G,_X^_[WRFSW"6NU-N
MBC-$54=>=CU29@H.$0```"'Y! $`````+ `````8``T```13$,A J[4R:Q",
M_^ 7;%H7GMY(<N#1.,Z"A.IF>HNC,(YPUIF;09$P' :^G^U4>#B***#0DR#T
?HLM/@>%I*K/=!Z/Q:-!60E>O<0`!2Z@O^D*GK"(`.P``
`
end
begin 666 tag_4.gif
M1TE&.#EA& `-`+/_`,# P `SF1TG,5Q[FBDW19G,_X:RWWRFSW"6NV:(JE-N
MBCU29@H.$0```````````"'Y! $`````+ `````8``T```1,$,A J[4R:Q"*
M_^ 7;%H7GMY(<N?0-*>ZF5_RPC%)%P>S$+A<Z6-@* I 5&KH$2P0"$$#@9)-
8/K>LD!E*AJR9W<<K6K&4('#IPJ:L(@`[
`
end
begin 666 tag_5.gif
M1TE&.#EA& `-`+/_`,# P `SF10:(5Q[FBDW19G,_X^_[X:RWWRFSW"6NU-N
MBD=>=CU29@H.$0```````"'Y! $`````+ `````8``T```13$,A J[4R:Q"*
M_^ 7;%H7GMY(<J'C.D2H;J:'.(RB#.><U86$PX 2T4 *&.Q0] $'A,4"AO*Q
?/HB$A^#HD8!3*4ZV`AH8@@:#:"P7R2O.94Y910``.P``
`
end