|
|
|
|
Re: standard JSF to iceFaces [message #617770 is a reply to message #475967] |
Fri, 25 April 2008 06:18  |
Eclipse User |
|
|
|
Or, more simplier, I need a "editing database" iceFaces example :)
"Mario" <mzupan@vup.hr> wrote in message
news:fus56k$ehe$1@build.eclipse.org...
>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-Ecl ipseDbWebapps/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.compone nt.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;
> }
>
> }
>
>
|
|
|
Re: standard JSF to iceFaces [message #617773 is a reply to message #475968] |
Fri, 25 April 2008 17:27  |
Eclipse User |
|
|
|
On 4/25/2008 6:18 AM, Mario wrote:
> Or, more simplier, I need a "editing database" iceFaces example :)
www.icefaces.org
And, as far as I remember, ICEfaces has its own set of Eclipse plugins for
integrating into IDE.
|
|
|
|
Powered by
FUDForum. Page generated in 0.04739 seconds