Hi Matt
Actually in my page, I just commented some scripts and several lines. Does
it really matter???
My code is like the following. I really dont know what's wrong.
<%@ include file="/common/taglibs.jsp"%>
<head>
<title><fmt:message key="categoryDetail.title"/></title>
<meta name="heading" content="<fmt:message
key='categoryDetail.heading'/>"/>
</head>
<s:form id="categoryForm" action="saveCategory" method="post"
validate="true">
<li style="display: none">
<s:hidden key="category.id"/>
</li>
<s:textfield key="category.name" required="true" maxlength="50"
cssClass="text medium"/>
<!-- <s:textfield key="category.description" required="false"
maxlength="2048" cssClass="text medium"/> -->
<s:textarea key="category.description" required="false" cssClass="text
medium" rows="20" cols="50"/>
<!-- <s:textfield key="category.update_time" required="false"
maxlength="255" cssClass="text" size="11" title="date"/> -->
<s:select key="category.parent.id" label="In Category"
list="topCategories"
listKey="id" listValue="name"/>
<li class="buttonBar bottom">
<s:submit cssClass="button" method="save" key="button.save"
theme="simple"/>
<c:if test="${not empty category.id}">
<s:submit cssClass="button" method="delete" key="button.delete"
onclick="return confirmDelete('Category')" theme="simple"/>
</c:if>
<s:submit cssClass="button" method="cancel" key="button.cancel"
theme="simple"/>
</li>
</s:form>
mraible wrote:
>
> You might want to look at your page and make sure you have well-formed
> HTML.
>
> Matt
>
> On Sat, Oct 11, 2008 at 8:09 AM, overseastars <[EMAIL PROTECTED]>
> wrote:
>
>>
>> Hi Matt
>>
>> the first page is the form that I have.
>> If no name is input and the "add" button is pressed, it will go to the
>> second image.
>> http://www.nabble.com/file/p19933348/1.jpg
>>
>> It can be seen from the second that all menus shrink and there are no
>> buttons any more. What cannot be
>> seen is that it is quit hard to click those drop down menus because it's
>> diffcult to select one of them.
>> http://www.nabble.com/file/p19933348/2.jpg
>>
>>
>>
>>
>> mraible wrote:
>> >
>> > Can you send a screenshot that explains your issue visually?
>> >
>> > Thanks,
>> >
>> > Matt
>> >
>> > On Sat, Oct 11, 2008 at 5:56 AM, overseastars <[EMAIL PROTECTED]>
>> > wrote:
>> >
>> >>
>> >>
>> >> Hi all
>> >>
>> >> I just got troubles in displaying menus. Since I changed
>> auto-generated
>> >> codes , those drop-down menus become too small to be clicked when a
>> >> "save"
>> >> button is pressed. For example, I have a form to fill in but the
>> "name"
>> >> field which is a required textfield is null. Then the validation
>> failed
>> >> and
>> >> buttons disappeared. Top menus also shrink. It is difficult to select
>> >> those
>> >> drop down menus.
>> >> (the interesting point is that it will be fine if there are no
>> validation
>> >> errors. )
>> >> What I want is that button should always stand there. Nothing changes
>> but
>> >> just a validation warning message comes up. Can some one show me the
>> >> way???
>> >> Many thanks.
>> >>
>> >> Best Regards
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/Issues-of-forms-and-menus-tp19931972s2369p19931972.html
>> >> Sent from the AppFuse - User mailing list archive at Nabble.com.
>> >>
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >> For additional commands, e-mail: [EMAIL PROTECTED]
>> >>
>> >>
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Issues-of-forms-and-menus-tp19931972s2369p19933348.html
>> Sent from the AppFuse - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>
--
View this message in context:
http://www.nabble.com/Issues-of-forms-and-menus-tp19931972s2369p19933593.html
Sent from the AppFuse - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]