JiveJdon Community Forums
在线377人   首页   主题表   培训咨询   标签   精华   查搜   注册    登陆 RSS
首页 » 论坛 » 项目工程开发经验谈
???en_US.forumThreadPrev.name??? 上一主题
  Go back to the topic 返回本主题   Go back to the topic listing返回主题列表
???en_US.forumThreadNext.name??? 下一主题
Go 总共有 4 回复 / 1
 发表新帖子   回复该主题贴
shinn

悄悄话
发表文章: 4
注册时间: 2004年04月16日 10:11
请教一个初级问题:html:button 的 alt,disabled 等属性  2004年04月19日 12:56 到本帖网址 加入本帖到收藏夹 发送到手机 回复该主题
标签列表
我在看Struts文档的 HTML Tags (http://jakarta.apache.org/struts/userGuide/struts-html.html)部分的时候,看到button标签有alt,disabled 等属性,可是我在jsp中加上了如下的标签:<html:button property="aa" value="AA" alt="BB" disabled="true"/>
却出现错误,提示说属性alt和disable无效,这是怎么会事?
只写 <html:button property="aa" value="AA"> 在JSP上显示是好用的
是不是我的理解是错的?
谢谢各位!
shinn

悄悄话
发表文章: 4
注册时间: 2004年04月16日 10:11
Re: 请教一个初级问题:html:button 的 alt,disabled 等属性  2004年04月19日 12:58 到本帖网址 加入本帖到收藏夹 发送到手机 回复该主题
我在看Struts文档的 HTML Tags (http://jakarta.apache.org/struts/userGuide/struts-html.html)部分的时候,看到button标签有alt,disabled 等属性,可是我在jsp中加上了如下的标签:〈html:button property="aa" value="AA" alt="BB" disabled="true"/〉
却出现错误,提示说属性alt和disable无效,这是怎么会事?
只写〈html:button property="aa" value="AA"〉 在JSP上显示是好用的
是不是我的理解是错的?
谢谢各位!

// 在此输入java代码
singlewing

悄悄话
发表文章: 4
注册时间: 2004年04月02日 15:35
Re: 请教一个初级问题:html:button 的 alt,disabled 等属性  2004年04月19日 15:32 到本帖网址 加入本帖到收藏夹 发送到手机 回复该主题
html是不行的
要知道为什么,你理解一下HTML Tags的原理,就知道了。
singlewing

悄悄话
发表文章: 4
注册时间: 2004年04月02日 15:35
Re: 请教一个初级问题:html:button 的 alt,disabled 等属性  2004年04月19日 15:49 到本帖网址 加入本帖到收藏夹 发送到手机 回复该主题
不好意思,没看清楚你的意思
<html:button property="aa" value="aaa" onclick="buttonClick(1)" alt="BB" disabled="true"/>
我试过了,没问题,是不是你的taglib没有引入啊?
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
shinn

悄悄话
发表文章: 4
注册时间: 2004年04月16日 10:11
Re: 请教一个初级问题:html:button 的 alt,disabled 等属性  2004年04月20日 11:33 到本帖网址 加入本帖到收藏夹 发送到手机 回复该主题
singlewing
谢谢你,原来是我的*.tld用的是Struts1.0的。耽误大家的时间了,不好意思,谢谢大家。
这个主题有 4 回复 / 1Go
???en_US.forumThreadPrev.name??? 上一主题
  Go back to the topic 返回本主题   Go back to the topic listing返回主题列表    返回页首返回页首
???en_US.forumThreadNext.name??? 下一主题
热点TAG: AOP cache 缓存 DDD EJB 集群 设计模式 Hibernate IOC JiveJdon OO RBAC Seam Spring Struts
正在读取,请等待...
google yahoo 新浪ViVi 365Key网摘 天极网摘 CSDN网摘 添加到百度搜藏 POCO网摘 博采网摘
查询本论坛内 回复超过的热门帖子
     回复该主题贴
标题
 
粗体 斜体 下划线 插入图片 插入代码 插入url链接 插入附件
内容
  发贴前查询 标签列表勿重复发表问题

RSS 手机阅读 add to google add to yahoo
解惑之道在J道 ,打造中国最具影响力的的企业软件社区
OpenSource JIVEJDON v3.0 Powered by JdonFramework Code © 2002-08 jdon.com
anti spam