[jboss-user] [JBoss Seam] - Re: Update example: how to do ?

miloslav.vlach do-not-reply at jboss.com
Wed Jun 13 07:16:03 EDT 2007


  |         <h:form>	
  |         	<fieldset>
  |         		<legend><h:outputText value="#{messages['zakladni.informace']}" /></legend>
  | 	        	<table class="full">
  | 	        		<tr>
  | 	        			<td colspan="2">
  | 	        				<table class="full">
  | 	        					<tr>
  | 	        						<td>obrazek1</td>
  | 	        						<td>anotacni text</td>
  | 	        						<td>obrazek2</td>
  | 	        					</tr>
  | 	        				</table>
  | 	        			</td>
  | 	        		</tr>
  | 	        		<s:decorate template="/edit.xhtml">
  | 	        			<ui:define name="label"><h:outputText value="#{messages['author.name']}" />:</ui:define>
  | 	        			<h:inputText value="#{viewArticle.authorName}" />
  | 	        		</s:decorate>
  | 	        		<s:decorate template="/edit.xhtml">
  | 	        			<ui:define name="label"><h:outputText value="#{messages['article.title']}" />:</ui:define>
  | 	        			<h:inputText value="#{viewArticle.title}" />
  | 	        		</s:decorate>
  | 	        		<tr>
  | 	        			<th>Ikonky</th>
  | 	        			<td>nejake ikonkty</td>
  | 	        		</tr>
  | 	        		<s:decorate template="/edit.xhtml">
  | 	        			<ui:define name="label"><h:outputText value="#{messages['intro.text']}" /></ui:define>
  | 	        			<h:inputTextarea value="#{viewArticle.introText}" />
  | 	        		</s:decorate>
  | 	        		<s:decorate template="/edit.xhtml">
  | 	        			<ui:define name="label"><h:outputText value="#{messages['full.text']}" /></ui:define>
  | 	        			<h:inputTextarea value="#{viewArticle.fullText}" />
  | 	        		</s:decorate>	        		
  | 	        		<s:decorate template="/edit.xhtml">
  | 	        			<ui:define name="label"><h:outputText value="#{messages['article.keywords']}" />:</ui:define>
  | 	        			<h:inputText value="#{viewArticle.keywords}" />
  | 	        		</s:decorate>
  | 	        		<s:decorate template="/edit.xhtml">
  | 	        			<ui:define name="label"><h:outputText value="#{messages['article.description']}" />:</ui:define>
  | 	        			<h:inputText value="#{viewArticle.descriptions}" />
  | 	        		</s:decorate>
  | 	        		<s:decorate template="/edit.xhtml">
  | 	        			<ui:define name="label"><h:outputText value="#{messages['article.links']}" />:</ui:define>
  | 	        			<h:inputTextarea value="#{viewArticle.links}" />
  | 	        		</s:decorate>
  | 	        		
  | 	        		<s:decorate template="/edit.xhtml">
  | 	        			<ui:define name="label"><h:outputText value="#{messages['article.gallery']}" />:</ui:define>
  | 	        			<h:selectOneMenu value="#{viewArticle.galleryId}">
  | 	        				<f:selectItems value="#{galleryComboAction.galleries}" />
  | 	        			</h:selectOneMenu>
  | 	        		</s:decorate>		        				        			        			        		
  | 	        		<tr>
  | 	        			<td colspan="2">
  | 	        				<h:commandButton value="Upravit" action="#{articleEditAction.save}" />
  | 	        			</td>
  | 	        		</tr>
  | 	        	</table>
  |         	</fieldset> 
  |         </h:form>
  | 


  | <?xml version="1.0" encoding="UTF-8"?>
  | <!--  incident view - action execute before show -->
  | <page view-id="/admin/actions/article/articleedit.xhtml">
  |     <param name="id" value="#{article.id}" />
  |     <action execute="#{articleEditAction.load(article.id)}" />
  | </page>
  | 



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053892#4053892

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4053892



More information about the jboss-user mailing list