??xml version="1.0" encoding="utf-8" standalone="yes"?>日韩精品中文字幕一区二区三区 ,欧美不卡视频一区发布,婷婷激情图片久久http://www.aygfsteel.com/JPractice/JSF+Spring+Hibernate+MySQL 开发商务^台实?/description>zh-cnSun, 18 May 2025 11:00:04 GMTSun, 18 May 2025 11:00:04 GMT60JSF中页面排版的痛苦之处http://www.aygfsteel.com/JPractice/archive/2006/03/09/34521.htmlJPracticeJPracticeThu, 09 Mar 2006 09:55:00 GMThttp://www.aygfsteel.com/JPractice/archive/2006/03/09/34521.htmlhttp://www.aygfsteel.com/JPractice/comments/34521.htmlhttp://www.aygfsteel.com/JPractice/archive/2006/03/09/34521.html#Feedback0http://www.aygfsteel.com/JPractice/comments/commentRss/34521.htmlhttp://www.aygfsteel.com/JPractice/services/trackbacks/34521.html

JPractice 2006-03-09 17:55 发表评论
]]>
l于弄出一个可以发布进行测试的版本v0.1http://www.aygfsteel.com/JPractice/archive/2006/03/08/34286.htmlJPracticeJPracticeWed, 08 Mar 2006 08:11:00 GMThttp://www.aygfsteel.com/JPractice/archive/2006/03/08/34286.htmlhttp://www.aygfsteel.com/JPractice/comments/34286.htmlhttp://www.aygfsteel.com/JPractice/archive/2006/03/08/34286.html#Feedback1http://www.aygfsteel.com/JPractice/comments/commentRss/34286.htmlhttp://www.aygfsteel.com/JPractice/services/trackbacks/34286.html目前的功能有Q信息发布、导航菜单、栏目维护、文章维护、后台登录,完成了Tiles的组装,首页静态页面的布局分割。现在美工方面进一步加工一下,一个文章发布系l已具雏形,且叫它v0.1版吧Q)

另外需求稿斚w已经q展到v0.7版本Q现在这个刚有点形状的文章发布系l是整个大系l的一部分,不过功能虽少Q但主要收获是解决了一些JSF斚wl常遇到的问题?br>



JPractice 2006-03-08 16:11 发表评论
]]>
SUN-RI和MyFaces的一点区?/title><link>http://www.aygfsteel.com/JPractice/archive/2006/02/18/31430.html</link><dc:creator>JPractice</dc:creator><author>JPractice</author><pubDate>Sat, 18 Feb 2006 15:55:00 GMT</pubDate><guid>http://www.aygfsteel.com/JPractice/archive/2006/02/18/31430.html</guid><wfw:comment>http://www.aygfsteel.com/JPractice/comments/31430.html</wfw:comment><comments>http://www.aygfsteel.com/JPractice/archive/2006/02/18/31430.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.aygfsteel.com/JPractice/comments/commentRss/31430.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/JPractice/services/trackbacks/31430.html</trackback:ping><description><![CDATA[<h:outputLabel id="" value="#{category.name}" /><BR><BR>上面q行在用sun-ri的应用中不会报错<BR>但在MyFaces中就会报错:<BR>原因出?FONT color=#ff0000><STRONG>id=""</STRONG></FONT><FONT color=#000000> L׃好了</FONT><BR> <P><B><FONT style="BACKGROUND-COLOR: #525d76" color=#ffffff>description</FONT></B> <U>The server encountered an internal error () that prevented it from fulfilling this request.</U></P> <P><B><FONT style="BACKGROUND-COLOR: #525d76" color=#ffffff>exception</FONT></B> <PRE>javax.servlet.ServletException: empty expr javax.faces.webapp.FacesServlet.service(FacesServlet.java:121) org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:122) com.bizcms.view.utils.SecurityFilter.doFilter(Unknown Source) </PRE> <P></P> <P><B><FONT style="BACKGROUND-COLOR: #525d76" color=#ffffff>root cause</FONT></B> <PRE>javax.faces.FacesException: empty expr org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:421) org.apache.myfaces.application.jsp.JspTilesViewHandlerImpl.dispatch(JspTilesViewHandlerImpl.java:233) org.apache.myfaces.application.jsp.JspTilesViewHandlerImpl.renderView(JspTilesViewHandlerImpl.java:219) org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352) javax.faces.webapp.FacesServlet.service(FacesServlet.java:107) org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:122) com.bizcms.view.utils.SecurityFilter.doFilter(Unknown Source) </PRE><img src ="http://www.aygfsteel.com/JPractice/aggbug/31430.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/JPractice/" target="_blank">JPractice</a> 2006-02-18 23:55 <a href="http://www.aygfsteel.com/JPractice/archive/2006/02/18/31430.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>JSF代码片断整理http://www.aygfsteel.com/JPractice/archive/2006/02/16/31072.htmlJPracticeJPracticeThu, 16 Feb 2006 08:22:00 GMThttp://www.aygfsteel.com/JPractice/archive/2006/02/16/31072.htmlhttp://www.aygfsteel.com/JPractice/comments/31072.htmlhttp://www.aygfsteel.com/JPractice/archive/2006/02/16/31072.html#Feedback0http://www.aygfsteel.com/JPractice/comments/commentRss/31072.htmlhttp://www.aygfsteel.com/JPractice/services/trackbacks/31072.html一、Action Controller的ActionҎ中手工获取请求信?BR>ExternalContext context = FacesContext.getCurrentInstance().getExternalContext();
HttpServletRequest request = (HttpServletRequest) context.getRequest();
String email = request.getParameter("form2:email");

二、保?下面的jsp文g不被直接讉K
在web.xml中加入:
<security-constraint>
<display-name>
    Prevent access to raw JSP pages that are for JSF pages.
</display-name>
<web-resource-collection>
    <web-resource-name>Raw-JSF-JSP-Pages</web-resource-name>
    <!-- Add url-pattern for EACH raw JSP page -->
    <url-pattern>/welcome.jsp</url-pattern>
    <url-pattern>/login.jsp</url-pattern>
    ......
</web-resource-collection>
<auth-constraint>
      <description>No roles, so no direct access</description>
</auth-constraint>
</security-constraint>

三、加载国际化资源文g
<f:view locale="#{facesContext.externalContext.request.locale}">
<f:loadBundle basename="messages" var="msgs"/>

/WEB-INF/classes目录下,放messages_cn.propertiesQmessage_en.properties.....

待箋。。?BR>



JPractice 2006-02-16 16:22 发表评论
]]>
Tinymce的HTML~辑器成功整合到目当中http://www.aygfsteel.com/JPractice/archive/2006/02/13/30402.htmlJPracticeJPracticeMon, 13 Feb 2006 01:35:00 GMThttp://www.aygfsteel.com/JPractice/archive/2006/02/13/30402.htmlhttp://www.aygfsteel.com/JPractice/comments/30402.htmlhttp://www.aygfsteel.com/JPractice/archive/2006/02/13/30402.html#Feedback1http://www.aygfsteel.com/JPractice/comments/commentRss/30402.htmlhttp://www.aygfsteel.com/JPractice/services/trackbacks/30402.html

JPractice 2006-02-13 09:35 发表评论
]]>
Borland真的C无\可走的地步了么?http://www.aygfsteel.com/JPractice/archive/2006/02/09/30063.htmlJPracticeJPracticeThu, 09 Feb 2006 13:09:00 GMThttp://www.aygfsteel.com/JPractice/archive/2006/02/09/30063.htmlhttp://www.aygfsteel.com/JPractice/comments/30063.htmlhttp://www.aygfsteel.com/JPractice/archive/2006/02/09/30063.html#Feedback2http://www.aygfsteel.com/JPractice/comments/commentRss/30063.htmlhttp://www.aygfsteel.com/JPractice/services/trackbacks/30063.html

JPractice 2006-02-09 21:09 发表评论
]]>
需求稿v0.1出来?开发团队基本组v?/title><link>http://www.aygfsteel.com/JPractice/archive/2006/02/08/29984.html</link><dc:creator>JPractice</dc:creator><author>JPractice</author><pubDate>Wed, 08 Feb 2006 15:58:00 GMT</pubDate><guid>http://www.aygfsteel.com/JPractice/archive/2006/02/08/29984.html</guid><wfw:comment>http://www.aygfsteel.com/JPractice/comments/29984.html</wfw:comment><comments>http://www.aygfsteel.com/JPractice/archive/2006/02/08/29984.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/JPractice/comments/commentRss/29984.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/JPractice/services/trackbacks/29984.html</trackback:ping><description><![CDATA[<P>今天在跟客户认真地谈了一ơ需求,双方整理Z份需求稿v0.1版,几大功能版块M需求及部分l节、各版块开发紧急程度、前期部分开发Q务(有一部分比较简单的功能׃业务开展的需要)的时间进度初步明下来。开发团队现在有3人,正在物色一名美工,来看情冉|充一名开发h员。周6前的工作目标是q一步跟客户整理和确认需求、相兛_发规范资料的攉~写、团队开发沟通^台的准备、确定同客户的沟通机制、团队个人开发环境的准备{等?/P><img src ="http://www.aygfsteel.com/JPractice/aggbug/29984.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/JPractice/" target="_blank">JPractice</a> 2006-02-08 23:58 <a href="http://www.aygfsteel.com/JPractice/archive/2006/02/08/29984.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>l大家推荐一本关于小l开发的软g工程?/title><link>http://www.aygfsteel.com/JPractice/archive/2006/02/08/29867.html</link><dc:creator>JPractice</dc:creator><author>JPractice</author><pubDate>Tue, 07 Feb 2006 16:45:00 GMT</pubDate><guid>http://www.aygfsteel.com/JPractice/archive/2006/02/08/29867.html</guid><wfw:comment>http://www.aygfsteel.com/JPractice/comments/29867.html</wfw:comment><comments>http://www.aygfsteel.com/JPractice/archive/2006/02/08/29867.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.aygfsteel.com/JPractice/comments/commentRss/29867.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/JPractice/services/trackbacks/29867.html</trackback:ping><description><![CDATA[<P>q本书是我今天在整理自己的书柜时扑ֈ的,01q买的了Q一直没?IMG height=19 src="http://www.aygfsteel.com/Emoticons/red_smile.gif" width=19 border=0>Q今天翻出来览了一下目录,主要是介l小l团队开发的整个q程以及q程中涉及的计划、沟通协调、进度跟t、需求定义、小l设计、测试、维护等我们比较兛_的问题,q提供了一些实际操作性很强的规范。个人感觉非常实用,所以给大家推荐一下:<BR>《小lY件开发过E?人民邮电出的<BR>《Introduction to the Team Software Process?/P><img src ="http://www.aygfsteel.com/JPractice/aggbug/29867.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/JPractice/" target="_blank">JPractice</a> 2006-02-08 00:45 <a href="http://www.aygfsteel.com/JPractice/archive/2006/02/08/29867.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>今天增加?个小模块http://www.aygfsteel.com/JPractice/archive/2006/02/06/29653.htmlJPracticeJPracticeSun, 05 Feb 2006 16:37:00 GMThttp://www.aygfsteel.com/JPractice/archive/2006/02/06/29653.htmlhttp://www.aygfsteel.com/JPractice/comments/29653.htmlhttp://www.aygfsteel.com/JPractice/archive/2006/02/06/29653.html#Feedback3http://www.aygfsteel.com/JPractice/comments/commentRss/29653.htmlhttp://www.aygfsteel.com/JPractice/services/trackbacks/29653.html另外一个是初步研究了如何实现Html~辑器,能将~辑完的内容存到表的字段中,像在这里发表随W的功能Q?BR>{这两个功能q一步完善后Q就可以l护栏目和每个栏目下的内容,实现栏目内容的分cd在线l护

<hibernate-mapping package=".........................">
  <class name="Category" table="cms_categories" lazy="false">
    <id name="id" type="long" column="CATE_ID">
      <generator class="identity"/>
    </id>
    <property name="name" type="string" column="CATE_NAME" length="60" not-null="true"/>
    <set
       name="childCategories"
       cascade="save-update"
       inverse="true"
    >
       <key column="CATE_CATEGORY_ID" />
       <one-to-many class="Category" />
    </set>
    <many-to-one name="parentCategory" column="CATE_CATEGORY_ID" class="Category" cascade="none" />
  </class>
</hibernate-mapping>
另外哪位熟悉hibernate的朋友,帮我看看Q上面是Categorycȝ映射ҎQ不q当我写Q?BR>   Category category = new Category(categoryName);

   // find the new category's parent category object by the param parentCategoryId
   Category parentCategory = categoryDao.getCategory(parentCategoryId);

   if (parentCategory != null) {    
      category.setParentCategory(parentCategory);
      // parentCategory.getChildCategories().add(category);    ************
      categoryDao.save(category);
     ...............................


*******行如果不注释掉就会出ExceptionQ哪位熟悉hibernate的朋友给指点一?img src ="http://www.aygfsteel.com/JPractice/aggbug/29653.html" width = "1" height = "1" />

JPractice 2006-02-06 00:37 发表评论
]]>
初步完成一个用L录小模块http://www.aygfsteel.com/JPractice/archive/2006/02/05/29564.htmlJPracticeJPracticeSat, 04 Feb 2006 16:06:00 GMThttp://www.aygfsteel.com/JPractice/archive/2006/02/05/29564.htmlhttp://www.aygfsteel.com/JPractice/comments/29564.htmlhttp://www.aygfsteel.com/JPractice/archive/2006/02/05/29564.html#Feedback3http://www.aygfsteel.com/JPractice/comments/commentRss/29564.htmlhttp://www.aygfsteel.com/JPractice/services/trackbacks/29564.htmlQ由于代码测试还不是很熟Q唉Q要学的东西q很多!Q,搞了半天Q编了一个小的java applaction来测试才发现那个ExceptionQ不q还是体验了Spring的强大,~写那个applicationq是很容易的Q不q感觉JSF׃那么好测试了。最后经q努力还是调试成功,也对整个应用的分层设计有了更q体会Q今天ȝ有点收获吧?BR>
今天要上班了Q凌晨了Q,攑֮假后׃x天都弄到凌晨才睡了。。?BR>
今天早上看了一下,exadel中包含的hibernate版本?.1.0 alpha

JPractice 2006-02-05 00:06 发表评论
]]>
վ֩ģ壺 Ƥ| | ޶| Ҫ| Ϻ| ʡ| | ʯɽ| Ȫ| | | | | ̩| | | ƽȪ| | | | ɽ| ĵ| ϴ| ˮ| | | | | | | °| | ٷ| | | տ| | | | Ԫ| ȫ|