Win a copy of Head First Android this week in the Android forum!

Palaninathan Arumugam

Greenhorn
+ Follow
since Apr 25, 2005
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Palaninathan Arumugam

Hi

I am getting the following error.
I am pasting the content of the code which is causing the problem.
Please help me.

Error: Duplicate component ID 'messageDetailsForm:_id8' found in
view.'

Code :

<tr>
<c:choose>
<c:when test="${ empty
sessionScope.ceoMessageRecordBean.businessObject.id}">
<td align="right" class=messageDetailsLabel><fmt:message
key="messages.emailOption"/></td>
<td align="left">
<h:selectOneMenu id="email"
required="true"
value="#
{ceoMessageRecordBean.businessObject.emailOption}">
<f:selectItem
itemValue="No Email"
itemLabel="No Email"/>
<f:selectItem
itemValue="All Employees"
itemLabel="All Employees"/>
</h:selectOneMenu>
<h:message for="email" styleClass="requiredText"/>
</td>
</c:when>
<c therwise>
<td align="right" class=messageDetailsLabel><fmt:message
key="messages.emailOption"/></td>
<td align="left"class=newsArticleDetailsText >
<c ut
value="${ceoMessageRecordBean.businessObject.emailOption}" />
</td>
</c therwise>
</c:choose>
</tr>

Thanks
palani
16 years ago
JSF
Hi
This may be a simple question but I don`t know how to do in JSF.
I have a drop down box with values in the page1 and I want to capture the user selected value from the drop down in the page2. How can I do this?
Any sample code will be greatful.

Thanks
Palani
16 years ago
JSF
Thanks for the reply.
It would be helpful for me if you can share a example for the same.
I am new to JSF.
Thanks again
16 years ago
JSF
Hi

I am looking for a JSF tag to choose the file from the system.
In HTML we have <input type="file"> tag which will show the file selection with browse button , whether the user can select the file.
I am wondering whether is there any tag similar to that in JSF.If there is
no standard tag , how can I do that ?
Please help me.

Regards
palani
16 years ago
JSF