# Language or-IN translations for PACKAGE package.
# Automatically generated, 2008.
#
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2009-08-01 18:34+0000\n"
"PO-Revision-Date: 2008-04-04 01:24+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

#. Tag: title
#: Controls.xml:5
#, no-c-format
msgid "Seam JSF controls"
msgstr ""

#. Tag: para
#: Controls.xml:6
#, no-c-format
msgid ""
"Seam includes a number of JSF controls that are useful for working with "
"Seam. These are intended to complement the built-in JSF controls, and "
"controls from other third-party libraries. We recommend JBoss RichFaces, "
"ICEsoft ICEfaces and Apache MyFaces Trinidad tag libraries for use with "
"Seam. We do not recommend the use of the Tomahawk tag library."
msgstr ""

#. Tag: title
#: Controls.xml:15
#, no-c-format
msgid "Tags"
msgstr ""

#. Tag: para
#: Controls.xml:17
#, no-c-format
msgid ""
"To use these tags, define the \"<literal>s</literal>\" namespace in your "
"page as follows (facelets only):"
msgstr ""

#. Tag: programlisting
#: Controls.xml:22
#, no-c-format
msgid ""
"<![CDATA[<html xmlns=\"http://www.w3.org/1999/xhtml\"\n"
"      xmlns:s=\"http://jboss.org/schema/seam/taglib\">]]>"
msgstr ""

#. Tag: para
#: Controls.xml:24
#, no-c-format
msgid "The ui example demonstrates the use of a number of these tags."
msgstr ""

#. Tag: title
#: Controls.xml:29
#, no-c-format
msgid "Navigation Controls"
msgstr ""

#. Tag: literal
#: Controls.xml:32
#, no-c-format
msgid "&lt;s:button&gt;"
msgstr ""

#. Tag: emphasis
#: Controls.xml:34 Controls.xml:111 Controls.xml:128 Controls.xml:144
#: Controls.xml:218 Controls.xml:254 Controls.xml:288 Controls.xml:302
#: Controls.xml:367 Controls.xml:383 Controls.xml:400 Controls.xml:417
#: Controls.xml:436 Controls.xml:515 Controls.xml:533 Controls.xml:557
#: Controls.xml:604 Controls.xml:621 Controls.xml:645 Controls.xml:664
#: Controls.xml:692 Controls.xml:715 Controls.xml:729 Controls.xml:769
#: Controls.xml:819 Controls.xml:847 Controls.xml:914 Controls.xml:1020
#: Controls.xml:1060 Controls.xml:1106 Controls.xml:1132 Controls.xml:1264
#, no-c-format
msgid "Description"
msgstr ""

#. Tag: para
#: Controls.xml:36
#, no-c-format
msgid ""
"A button that supports invocation of an action with control over "
"conversation propagation. <emphasis>Does not submit the form.</emphasis>"
msgstr ""

#. Tag: emphasis
#: Controls.xml:41 Controls.xml:119 Controls.xml:134 Controls.xml:156
#: Controls.xml:224 Controls.xml:272 Controls.xml:291 Controls.xml:315
#: Controls.xml:373 Controls.xml:389 Controls.xml:406 Controls.xml:423
#: Controls.xml:442 Controls.xml:521 Controls.xml:539 Controls.xml:563
#: Controls.xml:609 Controls.xml:626 Controls.xml:651 Controls.xml:671
#: Controls.xml:697 Controls.xml:720 Controls.xml:736 Controls.xml:777
#: Controls.xml:824 Controls.xml:852 Controls.xml:959 Controls.xml:1027
#: Controls.xml:1071 Controls.xml:1120 Controls.xml:1143 Controls.xml:1269
#, no-c-format
msgid "Attributes"
msgstr ""

#. Tag: para
#: Controls.xml:45 Controls.xml:159
#, no-c-format
msgid "<literal>value</literal> &#8212; the label."
msgstr ""

#. Tag: para
#: Controls.xml:50 Controls.xml:164
#, no-c-format
msgid ""
"<literal>action</literal> &#8212; a method binding that specified the action "
"listener."
msgstr ""

#. Tag: para
#: Controls.xml:57 Controls.xml:170
#, no-c-format
msgid "<literal>view</literal> &#8212; the JSF view id to link to."
msgstr ""

#. Tag: para
#: Controls.xml:62 Controls.xml:175
#, no-c-format
msgid "<literal>fragment</literal> &#8212; the fragment identifier to link to."
msgstr ""

#. Tag: para
#: Controls.xml:68 Controls.xml:181
#, no-c-format
msgid "<literal>disabled</literal> &#8212; is the link disabled?"
msgstr ""

#. Tag: para
#: Controls.xml:73 Controls.xml:186
#, no-c-format
msgid ""
"<literal>propagation</literal> &#8212; determines the conversation "
"propagation style: <literal>begin</literal>, <literal>join</literal>, "
"<literal>nested</literal>, <literal>none</literal>, <literal>end</literal> or "
"<literal>endRoot</literal>."
msgstr ""

#. Tag: para
#: Controls.xml:82
#, no-c-format
msgid ""
"<literal>pageflow</literal> &#8212; a pageflow definition to begin. (This is "
"only useful when <literal>propagation=\"begin\"</literal> or "
"<literal>propagation=\"join\"</literal> is used)."
msgstr ""

#. Tag: emphasis
#: Controls.xml:91 Controls.xml:204 Controls.xml:244 Controls.xml:276
#: Controls.xml:294 Controls.xml:360 Controls.xml:376 Controls.xml:394
#: Controls.xml:411 Controls.xml:428 Controls.xml:504 Controls.xml:526
#: Controls.xml:544 Controls.xml:596 Controls.xml:614 Controls.xml:637
#: Controls.xml:656 Controls.xml:685 Controls.xml:702 Controls.xml:746
#: Controls.xml:812 Controls.xml:840 Controls.xml:907 Controls.xml:1007
#: Controls.xml:1051 Controls.xml:1096 Controls.xml:1257 Controls.xml:1281
#, no-c-format
msgid "Usage"
msgstr ""

#. Tag: programlisting
#: Controls.xml:93
#, no-c-format
msgid ""
"<![CDATA[<s:button id=\"cancel\" \n"
"          value=\"Cancel\" \n"
"          action=\"#{hotelBooking.cancel}\"/>]]>"
msgstr ""

#. Tag: para
#: Controls.xml:94 Controls.xml:206
#, no-c-format
msgid ""
"You can specify both <literal>view</literal> and <literal>action</literal> "
"on <literal>&lt;s:link /&gt;</literal>. In this case, the action will be "
"called once the redirect to the specified view has occured."
msgstr ""

#. Tag: para
#: Controls.xml:101
#, no-c-format
msgid ""
"The use of action listeners (including the default JSF action listener) is "
"not supported with <literal>&lt;s:button /&gt;</literal>."
msgstr ""

#. Tag: literal
#: Controls.xml:109
#, no-c-format
msgid "&lt;s:conversationId&gt;"
msgstr ""

#. Tag: para
#: Controls.xml:113
#, no-c-format
msgid ""
"Add the conversation id to JSF link or button (e.g. <literal>&lt;h:"
"commandLink /&gt;</literal> , <literal>&lt;s:button /&gt;</literal>)."
msgstr ""

#. Tag: para
#: Controls.xml:121
#, no-c-format
msgid "None"
msgstr ""

#. Tag: literal
#: Controls.xml:126
#, no-c-format
msgid "&lt;s:taskId&gt;"
msgstr ""

#. Tag: para
#: Controls.xml:129
#, no-c-format
msgid ""
"Add the task id to an output link (or similar JSF control), when the task is "
"available via <literal>#{task}</literal>."
msgstr ""

#. Tag: para
#: Controls.xml:135 Controls.xml:274 Controls.xml:292 Controls.xml:316
#: Controls.xml:374 Controls.xml:390 Controls.xml:407 Controls.xml:424
#: Controls.xml:522 Controls.xml:540 Controls.xml:610 Controls.xml:652
#: Controls.xml:698 Controls.xml:721
#, no-c-format
msgid "None."
msgstr ""

#. Tag: literal
#: Controls.xml:142
#, no-c-format
msgid "&lt;s:link&gt;"
msgstr ""

#. Tag: para
#: Controls.xml:145
#, no-c-format
msgid ""
"A link that supports invocation of an action with control over conversation "
"propagation. <emphasis>Does not submit the form.</emphasis>"
msgstr ""

#. Tag: para
#: Controls.xml:151
#, no-c-format
msgid ""
"The use of action listeners (including the default JSF action listener) is "
"not supported with <literal>&lt;s:link /&gt;</literal>."
msgstr ""

#. Tag: para
#: Controls.xml:195 Controls.xml:236
#, no-c-format
msgid ""
"<literal>pageflow</literal> &#8212; a pageflow definition to begin. (This is "
"only useful when using <literal>propagation=\"begin\"</literal> or "
"<literal>propagation=\"join\"</literal>.)"
msgstr ""

#. Tag: programlisting
#: Controls.xml:205
#, no-c-format
msgid ""
"<![CDATA[<s:link id=\"register\" view=\"/register.xhtml\" \n"
"        value=\"Register New User\"/>]]>"
msgstr ""

#. Tag: literal
#: Controls.xml:216
#, no-c-format
msgid "&lt;s:conversationPropagation&gt;"
msgstr ""

#. Tag: para
#: Controls.xml:219
#, no-c-format
msgid ""
"Customize the conversation propagation for a command link or button (or "
"similar JSF control). <emphasis>Facelets only.</emphasis>"
msgstr ""

#. Tag: para
#: Controls.xml:227
#, no-c-format
msgid ""
"<literal>type</literal> &#8212; determines the conversation propagation "
"style: <literal>begin</literal>, <literal>join</literal>, <literal>nest</"
"literal>, <literal>none</literal>, <literal>end</literal> or "
"<literal>endRoot</literal>."
msgstr ""

#. Tag: programlisting
#: Controls.xml:245
#, no-c-format
msgid ""
"<![CDATA[<h:commandButton value=\"Apply\" action=\"#{personHome.update}\">\n"
"   <s:conversationPropagation type=\"join\" />\n"
"</h:commandButton>]]>"
msgstr ""

#. Tag: literal
#: Controls.xml:250
#, no-c-format
msgid "&lt;s:defaultAction&gt;"
msgstr ""

#. Tag: para
#: Controls.xml:256
#, no-c-format
msgid ""
"Specify the default action to run when the form is submitted using the enter "
"key."
msgstr ""

#. Tag: para
#: Controls.xml:260
#, no-c-format
msgid ""
"Currently you can only nest it inside buttons (e.g. <literal>&lt;h:"
"commandButton /&gt;</literal>, <literal>&lt;a:commandButton /&gt;</literal> "
"or <literal>&lt;tr:commandButton /&gt;</literal>)."
msgstr ""

#. Tag: para
#: Controls.xml:266
#, no-c-format
msgid ""
"You must specify an id on the action source. You can only have one default "
"action per form."
msgstr ""

#. Tag: programlisting
#: Controls.xml:277
#, no-c-format
msgid ""
"<![CDATA[<h:commandButton id=\"foo\" value=\"Foo\" action=\"#{manager.foo}"
"\">\n"
"   <s:defaultAction />\n"
"</h:commandButton>]]>"
msgstr ""

#. Tag: title
#: Controls.xml:283
#, no-c-format
msgid "Converters and Validators"
msgstr ""

#. Tag: literal
#: Controls.xml:286
#, no-c-format
msgid "&lt;s:convertDateTime&gt;"
msgstr ""

#. Tag: para
#: Controls.xml:289
#, no-c-format
msgid "Perform date or time conversions in the Seam timezone."
msgstr ""

#. Tag: programlisting
#: Controls.xml:295
#, no-c-format
msgid ""
"<![CDATA[<h:outputText value=\"#{item.orderDate}\">\n"
"   <s:convertDateTime type=\"both\" dateStyle=\"full\"/>\n"
"</h:outputText>]]>"
msgstr ""

#. Tag: literal
#: Controls.xml:300
#, no-c-format
msgid "&lt;s:convertEntity&gt;"
msgstr ""

#. Tag: para
#: Controls.xml:303
#, no-c-format
msgid ""
"Assigns an entity converter to the current component. This is useful for "
"radio button and dropdown controls."
msgstr ""

#. Tag: para
#: Controls.xml:308
#, no-c-format
msgid ""
"The converter works with any managed entity - either simple or composite. "
"The converter should be able to find the items declared in the JSF controls "
"on form submission, otherwise you will receive a validation error."
msgstr ""

#. Tag: emphasis
#: Controls.xml:318 Controls.xml:930 Controls.xml:1066
#, no-c-format
msgid "Configuration"
msgstr ""

#. Tag: para
#: Controls.xml:320
#, no-c-format
msgid ""
"You must use <emphasis>Seam managed transactions</emphasis> (see <xref "
"linkend=\"persistence.seam-managed-transactions\"/>) with <literal>&lt;s:"
"convertEntity /&gt;</literal>."
msgstr ""

#. Tag: para
#: Controls.xml:326
#, no-c-format
msgid ""
"If your <emphasis>Managed Persistence Context</emphasis> isn't called "
"<literal>entityManager</literal>, then you need to set it in components.xml:"
msgstr ""

#. Tag: programlisting
#: Controls.xml:331
#, no-c-format
msgid ""
"<![CDATA[<components xmlns=\"http://jboss.org/schema/seam/components\"\n"
"            xmlns:ui=\"http://jboss.org/schema/seam/ui\">\n"
" \n"
"   <ui:jpa-entity-loader entity-manager=\"#{em}\" />]]>"
msgstr ""

#. Tag: para
#: Controls.xml:333
#, no-c-format
msgid ""
"If you are using a <emphasis>Managed Hibernate Session</emphasis> then you "
"need to set it in components.xml:"
msgstr ""

#. Tag: programlisting
#: Controls.xml:337
#, no-c-format
msgid ""
"<![CDATA[<components xmlns=\"http://jboss.org/schema/seam/components\"\n"
"            xmlns:ui=\"http://jboss.org/schema/seam/ui\">\n"
" \n"
"   <ui:hibernate-entity-loader />]]>"
msgstr ""

#. Tag: para
#: Controls.xml:339
#, no-c-format
msgid ""
"If your <emphasis>Managed Hibernate Session</emphasis> isn't called "
"<literal>session</literal>, then you need to set it in components.xml:"
msgstr ""

#. Tag: programlisting
#: Controls.xml:345
#, no-c-format
msgid ""
"<![CDATA[<components xmlns=\"http://jboss.org/schema/seam/components\"\n"
"            xmlns:ui=\"http://jboss.org/schema/seam/ui\">\n"
"            \n"
"   <ui:hibernate-entity-loader session=\"#{hibernateSession}\" />]]>"
msgstr ""

#. Tag: para
#: Controls.xml:347
#, no-c-format
msgid ""
"If you want to use more than one entity manager with the entity converter, "
"you can create a copy of the entity converter for each entity manager in "
"<literal>components.xml</literal> - note how the entity converter delegates "
"to the entity loader to perform persistence operations:"
msgstr ""

#. Tag: programlisting
#: Controls.xml:355
#, no-c-format
msgid ""
"<![CDATA[<components xmlns=\"http://jboss.org/schema/seam/components\"\n"
"            xmlns:ui=\"http://jboss.org/schema/seam/ui\">\n"
" \n"
"   <ui:entity-converter name=\"standardEntityConverter\" entity-loader=\"#"
"{standardEntityLoader}\" />\n"
"            \n"
"   <ui:jpa-entity-loader name=\"standardEntityLoader\" entity-manager=\"#"
"{standardEntityManager}\" />\n"
"   \n"
"   <ui:entity-converter name=\"restrictedEntityConverter\" entity-loader=\"#"
"{restrictedEntityLoader}\" />\n"
"            \n"
"   <ui:jpa-entity-loader name=\"restrictedEntityLoader\" entity-manager=\"#"
"{restrictedEntityManager}\" />]]>"
msgstr ""

#. Tag: programlisting
#: Controls.xml:357
#, no-c-format
msgid ""
"<![CDATA[<h:selectOneMenu value=\"#{person.continent}\">\n"
"   <s:selectItems value=\"#{continents.resultList}\" var=\"continent\" \n"
"                  label=\"#{continent.name}\" />\n"
"    <f:converter converterId=\"standardEntityConverter\" />\n"
"</h:selectOneMenu>]]>"
msgstr ""

#. Tag: programlisting
#: Controls.xml:361
#, no-c-format
msgid ""
"<![CDATA[<h:selectOneMenu value=\"#{person.continent}\" required=\"true\">\n"
"   <s:selectItems value=\"#{continents.resultList}\" var=\"continent\" \n"
"                  label=\"#{continent.name}\" \n"
"                  noSelectionLabel=\"Please Select...\"/>\n"
"   <s:convertEntity />\n"
"</h:selectOneMenu>]]>"
msgstr ""

#. Tag: literal
#: Controls.xml:365
#, no-c-format
msgid "&lt;s:convertEnum&gt;"
msgstr ""

#. Tag: para
#: Controls.xml:368
#, no-c-format
msgid ""
"Assigns an enum converter to the current component. This is primarily useful "
"for radio button and dropdown controls."
msgstr ""

#. Tag: programlisting
#: Controls.xml:377
#, no-c-format
msgid ""
"<![CDATA[<h:selectOneMenu value=\"#{person.honorific}\">\n"
"   <s:selectItems value=\"#{honorifics}\" var=\"honorific\" \n"
"                 label=\"#{honorific.label}\"\n"
"                 noSelectionLabel=\"Please select\" />\n"
"   <s:convertEnum />\n"
"</h:selectOneMenu>]]>"
msgstr ""

#. Tag: literal
#: Controls.xml:381
#, no-c-format
msgid "&lt;s:convertAtomicBoolean&gt;"
msgstr ""

#. Tag: para
#: Controls.xml:384
#, no-c-format
msgid ""
"<literal>javax.faces.convert.Converter</literal> for <literal>java.util."
"concurrent.atomic.AtomicBoolean</literal>."
msgstr ""

#. Tag: programlisting
#: Controls.xml:395
#, no-c-format
msgid ""
"<![CDATA[<h:outputText value=\"#{item.valid}\">\n"
"   <s:convertAtomicBoolean />\n"
"</h:outputText>]]>"
msgstr ""

#. Tag: literal
#: Controls.xml:398
#, no-c-format
msgid "&lt;s:convertAtomicInteger&gt;"
msgstr ""

#. Tag: para
#: Controls.xml:401
#, no-c-format
msgid ""
"<literal>javax.faces.convert.Converter</literal> for <literal>java.util."
"concurrent.atomic.AtomicInteger</literal>."
msgstr ""

#. Tag: programlisting
#: Controls.xml:412
#, no-c-format
msgid ""
"<![CDATA[<h:outputText value=\"#{item.id}\">\n"
"   <s:convertAtomicInteger />\n"
"</h:outputText>]]>"
msgstr ""

#. Tag: literal
#: Controls.xml:415
#, no-c-format
msgid "&lt;s:convertAtomicLong&gt;"
msgstr ""

#. Tag: para
#: Controls.xml:418
#, no-c-format
msgid ""
"<literal>javax.faces.convert.Converter</literal> for <literal>java.util."
"concurrent.atomic.AtomicLong</literal>."
msgstr ""

#. Tag: programlisting
#: Controls.xml:429
#, no-c-format
msgid ""
"<![CDATA[<h:outputText value=\"#{item.id}\">\n"
"   <s:convertAtomicLong />\n"
"</h:outputText>]]>"
msgstr ""

#. Tag: literal
#: Controls.xml:434
#, no-c-format
msgid "&lt;s:validateEquality&gt;"
msgstr ""

#. Tag: para
#: Controls.xml:437
#, no-c-format
msgid ""
"Tag to nest inside an input control to validate that its parent's value is "
"equal (or not equal!) to the referenced control's value."
msgstr ""

#. Tag: para
#: Controls.xml:445
#, no-c-format
msgid "<literal>for</literal> &#8212; The id of a control to validate against."
msgstr ""

#. Tag: para
#: Controls.xml:450
#, no-c-format
msgid "<literal>message</literal> &#8212; Message to show on failure."
msgstr ""

#. Tag: para
#: Controls.xml:455
#, no-c-format
msgid ""
"<literal>required</literal> &#8212; False will disable a check that a value "
"at all is inputted in fields."
msgstr ""

#. Tag: para
#: Controls.xml:460
#, no-c-format
msgid "<literal>messageId</literal> &#8212; Message id to show on failure."
msgstr ""

#. Tag: para
#: Controls.xml:465
#, no-c-format
msgid ""
"<literal>operator</literal> &#8212; What operator to use when comparing the "
"values Valid operators are:"
msgstr ""

#. Tag: para
#: Controls.xml:470
#, no-c-format
msgid "<literal>equal</literal> &#8212; Validates that value.equals(forValue)"
msgstr ""

#. Tag: para
#: Controls.xml:475
#, no-c-format
msgid ""
"<literal>not_equal</literal> &#8212; Validates that !value.equals(forValue)"
msgstr ""

#. Tag: para
#: Controls.xml:480
#, no-c-format
msgid ""
"<literal>greater</literal> &#8212; <![CDATA[Validates that ((Comparable)"
"value).compareTo(forValue)> 0]]>"
msgstr ""

#. Tag: para
#: Controls.xml:485
#, no-c-format
msgid ""
"<literal>greater_or_equal</literal> &#8212; <![CDATA[Validates that "
"((Comparable)value).compareTo(forValue)>= 0]]>"
msgstr ""

#. Tag: para
#: Controls.xml:490
#, no-c-format
msgid ""
"<literal>less</literal> &#8212; <![CDATA[Validates that ((Comparable)value)."
"compareTo(forValue) <0]]>"
msgstr ""

#. Tag: para
#: Controls.xml:495
#, no-c-format
msgid ""
"<literal>less_or_equal</literal> &#8212; <![CDATA[Validates that "
"((Comparable)value).compareTo(forValue) <= 0]]>"
msgstr ""

#. Tag: programlisting
#: Controls.xml:505
#, no-c-format
msgid ""
"<![CDATA[<h:inputText id=\"name\" value=\"#{bean.name}\"/>\n"
"<h:inputText id=\"nameVerification\" >\n"
"   <s:validateEquality for=\"name\" />\n"
"</h:inputText>]]>"
msgstr ""

#. Tag: literal
#: Controls.xml:513
#, no-c-format
msgid "&lt;s:validate&gt;"
msgstr ""

#. Tag: para
#: Controls.xml:516
#, no-c-format
msgid ""
"A non-visual control, validates a JSF input field against the bound property "
"using Hibernate Validator."
msgstr ""

#. Tag: programlisting
#: Controls.xml:527
#, no-c-format
msgid ""
"<![CDATA[<h:inputText id=\"userName\" required=\"true\" \n"
"             value=\"#{customer.userName}\">\n"
"  <s:validate />\n"
"</h:inputText>\n"
"<h:message for=\"userName\" styleClass=\"error\" />]]>"
msgstr ""

#. Tag: literal
#: Controls.xml:531
#, no-c-format
msgid "&lt;s:validateAll&gt;"
msgstr ""

#. Tag: para
#: Controls.xml:534
#, no-c-format
msgid ""
"A non-visual control, validates all child JSF input fields against their "
"bound properties using Hibernate Validator."
msgstr ""

#. Tag: programlisting
#: Controls.xml:545
#, no-c-format
msgid ""
"<![CDATA[<s:validateAll>\n"
"  <div class=\"entry\">\n"
"    <h:outputLabel for=\"username\">Username:</h:outputLabel>\n"
"    <h:inputText id=\"username\" value=\"#{user.username}\" \n"
"                 required=\"true\"/>\n"
"    <h:message for=\"username\" styleClass=\"error\" />\n"
"  </div>\n"
"  <div class=\"entry\">\n"
"    <h:outputLabel for=\"password\">Password:</h:outputLabel>\n"
"    <h:inputSecret id=\"password\" value=\"#{user.password}\" \n"
"                   required=\"true\"/>\n"
"    <h:message for=\"password\" styleClass=\"error\" />\n"
"  </div>\n"
"  <div class=\"entry\">\n"
"    <h:outputLabel for=\"verify\">Verify Password:</h:outputLabel>\n"
"    <h:inputSecret id=\"verify\" value=\"#{register.verify}\" \n"
"                   required=\"true\"/>\n"
"    <h:message for=\"verify\" styleClass=\"error\" />\n"
"  </div>\n"
"</s:validateAll>]]>"
msgstr ""

#. Tag: title
#: Controls.xml:552
#, no-c-format
msgid "Formatting"
msgstr ""

#. Tag: literal
#: Controls.xml:555
#, no-c-format
msgid "&lt;s:decorate&gt;"
msgstr ""

#. Tag: para
#: Controls.xml:558
#, no-c-format
msgid ""
"\"Decorate\" a JSF input field when validation fails or when "
"<literal>required=\"true\"</literal> is set."
msgstr ""

#. Tag: para
#: Controls.xml:566
#, no-c-format
msgid ""
"<literal>template</literal> &#8212; the facelets template to use to decorate "
"the component"
msgstr ""

#. Tag: para
#: Controls.xml:572
#, no-c-format
msgid ""
"<literal>enclose</literal> &#8212; if true, the template used to decorate "
"the input field is enclosed by the element specified with the \"element\" "
"attribute. By default this is a div element."
msgstr ""

#. Tag: para
#: Controls.xml:580
#, no-c-format
msgid ""
"<literal>element</literal> &#8212; the element to enclose the template used "
"to decorate the input field. By default, the template is enclosed with a div "
"element."
msgstr ""

#. Tag: para
#: Controls.xml:587
#, no-c-format
msgid ""
"<literal>#{invalid}</literal> and <literal>#{required}</literal> are "
"available inside <literal>s:decorate</literal>; <literal>#{required}</"
"literal> evaluates to <literal>true</literal> if you have set the input "
"component being decorated as required, and <literal>#{invalid}</literal> "
"evaluates to <literal>true</literal> if a validation error occurs."
msgstr ""

#. Tag: programlisting
#: Controls.xml:597
#, no-c-format
msgid ""
"<![CDATA[<s:decorate template=\"edit.xhtml\">\n"
"   <ui:define name=\"label\">Country:</ui:define>\n"
"      <h:inputText value=\"#{location.country}\" required=\"true\"/>\n"
"   </s:decorate>]]>"
msgstr ""

#. Tag: programlisting
#: Controls.xml:598
#, no-c-format
msgid ""
"<![CDATA[<ui:composition xmlns=\"http://www.w3.org/1999/xhtml\"\n"
"   xmlns:ui=\"http://java.sun.com/jsf/facelets\"\n"
"   xmlns:h=\"http://java.sun.com/jsf/html\"\n"
"   xmlns:f=\"http://java.sun.com/jsf/core\"\n"
"   xmlns:s=\"http://jboss.org/schema/seam/taglib\">\n"
"                  \n"
"   <div>   \n"
"   \n"
"      <s:label styleClass=\"#{invalid?'error':''}\">\n"
"         <ui:insert name=\"label\"/>\n"
"         <s:span styleClass=\"required\" rendered=\"#{required}\">*</s:"
"span>\n"
"      </s:label>\n"
"        \n"
"      <span class=\"#{invalid?'error':''}\">\n"
"         <s:validateAll>\n"
"            <ui:insert/>\n"
"         </s:validateAll>\n"
"      </span>\n"
"        \n"
"      <s:message styleClass=\"error\"/>     \n"
"      \n"
"   </div>   \n"
"  \n"
"</ui:composition>]]>"
msgstr ""

#. Tag: literal
#: Controls.xml:602
#, no-c-format
msgid "&lt;s:div&gt;"
msgstr ""

#. Tag: para
#: Controls.xml:605
#, no-c-format
msgid "Render a HTML <literal>&lt;div&gt;</literal>."
msgstr ""

#. Tag: programlisting
#: Controls.xml:615
#, no-c-format
msgid ""
"<![CDATA[<s:div rendered=\"#{selectedMember == null}\">\n"
"   Sorry, but this member does not exist.\n"
"</s:div>]]>"
msgstr ""

#. Tag: literal
#: Controls.xml:619
#, no-c-format
msgid "&lt;s:span&gt;"
msgstr ""

#. Tag: para
#: Controls.xml:622
#, no-c-format
msgid "Render a HTML <literal>&lt;span&gt;</literal>."
msgstr ""

#. Tag: para
#: Controls.xml:630
#, no-c-format
msgid "<literal>title</literal> &#8212; Title for a span."
msgstr ""

#. Tag: programlisting
#: Controls.xml:638
#, no-c-format
msgid ""
"<![CDATA[<s:span styleClass=\"required\" rendered=\"#{required}\" title="
"\"Small tooltip\">*</s:span>]]>"
msgstr ""

#. Tag: literal
#: Controls.xml:643
#, no-c-format
msgid "&lt;s:fragment&gt;"
msgstr ""

#. Tag: para
#: Controls.xml:646
#, no-c-format
msgid ""
"A non-rendering component useful for enabling/disabling rendering of it's "
"children."
msgstr ""

#. Tag: programlisting
#: Controls.xml:657
#, no-c-format
msgid ""
"<![CDATA[<s:fragment rendered=\"#{auction.highBidder ne null}\">\n"
"   Current bid:\n"
"</s:fragment>]]>"
msgstr ""

#. Tag: literal
#: Controls.xml:662
#, no-c-format
msgid "&lt;s:label&gt;"
msgstr ""

#. Tag: para
#: Controls.xml:665
#, no-c-format
msgid ""
"\"Decorate\" a JSF input field with the label. The label is placed inside "
"the HTML <literal>&lt;label&gt;</literal> tag, and is associated with the "
"nearest JSF input component. It is often used with <literal>&lt;s:"
"decorate&gt;</literal>."
msgstr ""

#. Tag: para
#: Controls.xml:674 Controls.xml:996
#, no-c-format
msgid "<literal>style</literal> &#8212; The control's style"
msgstr ""

#. Tag: para
#: Controls.xml:679 Controls.xml:1001
#, no-c-format
msgid "<literal>styleClass</literal> &#8212; The control's style class"
msgstr ""

#. Tag: programlisting
#: Controls.xml:686
#, no-c-format
msgid ""
"<![CDATA[<s:label styleClass=\"label\">\n"
"  Country:\n"
"</s:label>\n"
"<h:inputText value=\"#{location.country}\" required=\"true\"/>]]>"
msgstr ""

#. Tag: literal
#: Controls.xml:690
#, no-c-format
msgid "&lt;s:message&gt;"
msgstr ""

#. Tag: para
#: Controls.xml:693
#, no-c-format
msgid "\"Decorate\" a JSF input field with the validation error message."
msgstr ""

#. Tag: programlisting
#: Controls.xml:703
#, no-c-format
msgid ""
"<![CDATA[<f:facet name=\"afterInvalidField\">\n"
"  <s:span>\n"
"    &#160;Error:&#160;\n"
"    <s:message/>\n"
"  </s:span>\n"
"</f:facet>]]>"
msgstr ""

#. Tag: title
#: Controls.xml:710
#, no-c-format
msgid "Seam Text"
msgstr ""

#. Tag: literal
#: Controls.xml:713
#, no-c-format
msgid "&lt;s:validateFormattedText&gt;"
msgstr ""

#. Tag: para
#: Controls.xml:716
#, no-c-format
msgid "Checks that the submitted value is valid Seam Text"
msgstr ""

#. Tag: literal
#: Controls.xml:727
#, no-c-format
msgid "&lt;s:formattedText&gt;"
msgstr ""

#. Tag: para
#: Controls.xml:730
#, no-c-format
msgid ""
"Outputs <emphasis>Seam Text</emphasis>, a rich text markup useful for blogs, "
"wikis and other applications that might use rich text. See the Seam Text "
"chapter for full usage."
msgstr ""

#. Tag: para
#: Controls.xml:739
#, no-c-format
msgid ""
"<literal>value</literal> &#8212; an EL expression specifying the rich text "
"markup to render."
msgstr ""

#. Tag: programlisting
#: Controls.xml:747
#, no-c-format
msgid "<![CDATA[<s:formattedText value=\"#{blog.text}\"/>]]>"
msgstr ""

#. Tag: emphasis
#: Controls.xml:749
#, no-c-format
msgid "Example"
msgstr ""

#. Tag: title
#: Controls.xml:764
#, no-c-format
msgid "Form support"
msgstr ""

#. Tag: literal
#: Controls.xml:767
#, no-c-format
msgid "&lt;s:token&gt;"
msgstr ""

#. Tag: para
#: Controls.xml:770
#, no-c-format
msgid ""
"Produces a random token that is inserted into a hidden form field to help to "
"secure JSF form posts against cross-site request forgery (XSRF) attacks. "
"Note that the browser must have cookies enabled to submit forms that include "
"this component."
msgstr ""

#. Tag: para
#: Controls.xml:780
#, no-c-format
msgid ""
"<literal>requireSession</literal> &#8212; indicates whether the session id "
"should be included in the form signature, hence binding the token to the "
"session. This value can be set to false if the \"build before restore\" mode "
"of Facelets is activated (the default in JSF 2.0). (default: false)"
msgstr ""

#. Tag: para
#: Controls.xml:790
#, no-c-format
msgid ""
"<literal>enableCookieNotice</literal> &#8212; indicates that a JavaScript "
"check should be inserted into the page to verify that cookies are enabled in "
"the browser. If cookies are not enabled, present a notice to the user that "
"form posts will not work. (default: false)"
msgstr ""

#. Tag: para
#: Controls.xml:799
#, no-c-format
msgid ""
"<literal>allowMultiplePosts</literal> &#8212; indicates whether to allow the "
"same form to be submitted multiple times with the same signature (as long as "
"the view does not change). This is a common need if the form is perform Ajax "
"calls but not rerendering itself or, at the very least, the UIToken "
"component. The preferred approach is to have the UIToken component "
"rerendered on any Ajax call where the UIToken component would be processed. "
"(default: false)"
msgstr ""

#. Tag: programlisting
#: Controls.xml:813
#, no-c-format
msgid ""
"<![CDATA[<h:form>\n"
"   <s:token enableCookieNotice=\"true\" requireSession=\"false\"/>\n"
"   ...\n"
"</h:form>]]>"
msgstr ""

#. Tag: literal
#: Controls.xml:817
#, no-c-format
msgid "&lt;s:enumItem&gt;"
msgstr ""

#. Tag: para
#: Controls.xml:820
#, no-c-format
msgid "Creates a <literal>SelectItem</literal> from an enum value."
msgstr ""

#. Tag: para
#: Controls.xml:827
#, no-c-format
msgid ""
"<literal>enumValue</literal> &#8212; the string representation of the enum "
"value."
msgstr ""

#. Tag: para
#: Controls.xml:833
#, no-c-format
msgid ""
"<literal>label</literal> &#8212; the label to be used when rendering the "
"<literal>SelectItem</literal>."
msgstr ""

#. Tag: programlisting
#: Controls.xml:841
#, no-c-format
msgid ""
"<![CDATA[<h:selectOneRadio id=\"radioList\"\n"
"                  layout=\"lineDirection\"\n"
"                  value=\"#{newPayment.paymentFrequency}\">\n"
"   <s:convertEnum />\n"
"   <s:enumItem enumValue=\"ONCE\"         label=\"Only Once\" />\n"
"   <s:enumItem enumValue=\"EVERY_MINUTE\" label=\"Every Minute\" />\n"
"   <s:enumItem enumValue=\"HOURLY\"       label=\"Every Hour\" />\n"
"   <s:enumItem enumValue=\"DAILY\"        label=\"Every Day\" />\n"
"   <s:enumItem enumValue=\"WEEKLY\"       label=\"Every Week\" />\n"
"</h:selectOneRadio>]]>"
msgstr ""

#. Tag: literal
#: Controls.xml:845
#, no-c-format
msgid "&lt;s:selectItems&gt;"
msgstr ""

#. Tag: para
#: Controls.xml:848
#, no-c-format
msgid ""
"Creates a <literal>List&lt;SelectItem&gt;</literal> from a List, Set, "
"DataModel or Array."
msgstr ""

#. Tag: para
#: Controls.xml:855
#, no-c-format
msgid ""
"<literal>value</literal> &#8212; an EL expression specifying the data that "
"backs the <literal>List&lt;SelectItem&gt;</literal>"
msgstr ""

#. Tag: para
#: Controls.xml:862
#, no-c-format
msgid ""
"<literal>var</literal>&#8212; defines the name of the local variable that "
"holds the current object during iteration"
msgstr ""

#. Tag: para
#: Controls.xml:868
#, no-c-format
msgid ""
"<literal>label</literal> &#8212; the label to be used when rendering the "
"<literal>SelectItem</literal>. Can reference the <literal>var</literal> "
"variable."
msgstr ""

#. Tag: para
#: Controls.xml:875
#, no-c-format
msgid ""
"<literal>itemValue</literal> &#8212; Value to return to the server if this "
"option is selected. Optional, by default the <literal>var</literal> object "
"is used. Can reference the <literal>var</literal> variable."
msgstr ""

#. Tag: para
#: Controls.xml:884
#, no-c-format
msgid ""
"<literal>disabled</literal> &#8212; if true the <literal>SelectItem</"
"literal> will be rendered disabled. Can reference the <literal>var</literal> "
"variable."
msgstr ""

#. Tag: para
#: Controls.xml:892
#, no-c-format
msgid ""
"<literal>noSelectionLabel</literal> &#8212; specifies the (optional) label "
"to place at the top of list (if <literal>required=\"true\"</literal> is also "
"specified then selecting this value will cause a validation error)."
msgstr ""

#. Tag: para
#: Controls.xml:900
#, no-c-format
msgid ""
"<literal>hideNoSelectionLabel</literal> &#8212; if true, the "
"<literal>noSelectionLabel</literal> will be hidden when a value is selected"
msgstr ""

#. Tag: programlisting
#: Controls.xml:908
#, no-c-format
msgid ""
"<![CDATA[<h:selectOneMenu value=\"#{person.age}\" \n"
"                 converter=\"ageConverter\">\n"
"  <s:selectItems value=\"#{ages}\" var=\"age\" label=\"#{age}\" />\n"
"</h:selectOneMenu>]]>"
msgstr ""

#. Tag: literal
#: Controls.xml:912
#, no-c-format
msgid "&lt;s:fileUpload&gt;"
msgstr ""

#. Tag: para
#: Controls.xml:915
#, no-c-format
msgid ""
"Renders a file upload control. This control must be used within a form with "
"an encoding type of <literal>multipart/form-data</literal>, i.e:"
msgstr ""

#. Tag: programlisting
#: Controls.xml:921
#, no-c-format
msgid "<![CDATA[<h:form enctype=\"multipart/form-data\">]]>"
msgstr ""

#. Tag: para
#: Controls.xml:923
#, no-c-format
msgid ""
"For multipart requests, the Seam Multipart servlet filter must also be "
"configured in <literal>web.xml</literal>:"
msgstr ""

#. Tag: programlisting
#: Controls.xml:928
#, no-c-format
msgid ""
"<![CDATA[<filter>\n"
"  <filter-name>Seam Filter</filter-name>\n"
"  <filter-class>org.jboss.seam.servlet.SeamFilter</filter-class>\n"
"</filter>\n"
"\n"
"<filter-mapping>\n"
"  <filter-name>Seam Filter</filter-name>\n"
"  <url-pattern>/*</url-pattern>\n"
"</filter-mapping>]]>"
msgstr ""

#. Tag: para
#: Controls.xml:932
#, no-c-format
msgid ""
"The following configuration options for multipart requests may be configured "
"in components.xml:"
msgstr ""

#. Tag: para
#: Controls.xml:939
#, no-c-format
msgid ""
"<literal>createTempFiles</literal> &#8212; if this option is set to true, "
"uploaded files are streamed to a temporary file instead of in memory."
msgstr ""

#. Tag: para
#: Controls.xml:946
#, no-c-format
msgid ""
"<literal>maxRequestSize</literal> &#8212; the maximum size of a file upload "
"request, in bytes."
msgstr ""

#. Tag: para
#: Controls.xml:953
#, no-c-format
msgid "Here's an example:"
msgstr ""

#. Tag: programlisting
#: Controls.xml:957
#, no-c-format
msgid ""
"<![CDATA[<component class=\"org.jboss.seam.web.MultipartFilter\">\n"
"  <property name=\"createTempFiles\">true</property>\n"
"  <property name=\"maxRequestSize\">1000000</property>\n"
"</component>]]>"
msgstr ""

#. Tag: para
#: Controls.xml:962
#, no-c-format
msgid ""
"<literal>data</literal> &#8212; this value binding receives the binary file "
"data. The receiving field should be declared as a <literal>byte[]</literal> "
"or <literal>InputStream</literal> (required)."
msgstr ""

#. Tag: para
#: Controls.xml:970
#, no-c-format
msgid ""
"<literal>contentType</literal> &#8212; this value binding receives the "
"file's content type (optional)."
msgstr ""

#. Tag: para
#: Controls.xml:976
#, no-c-format
msgid ""
"<literal>fileName</literal> &#8212; this value binding receives the filename "
"(optional)."
msgstr ""

#. Tag: para
#: Controls.xml:982
#, no-c-format
msgid ""
"<literal>fileSize</literal> &#8212; this value binding receives the file "
"size (optional)."
msgstr ""

#. Tag: para
#: Controls.xml:988
#, no-c-format
msgid ""
"<literal>accept</literal> &#8212; a comma-separated list of content types to "
"accept, may not be supported by the browser. E.g. <literal>\"images/png,"
"images/jpg\"</literal>, <literal>\"images/*\"</literal>."
msgstr ""

#. Tag: programlisting
#: Controls.xml:1008
#, no-c-format
msgid ""
"<![CDATA[<s:fileUpload id=\"picture\" data=\"#{register.picture}\" \n"
"              accept=\"image/png\"\n"
"              contentType=\"#{register.pictureContentType}\" />]]>"
msgstr ""

#. Tag: title
#: Controls.xml:1015
#, no-c-format
msgid "Other"
msgstr ""

#. Tag: literal
#: Controls.xml:1018
#, no-c-format
msgid "&lt;s:cache&gt;"
msgstr ""

#. Tag: para
#: Controls.xml:1021
#, no-c-format
msgid ""
"Cache the rendered page fragment using JBoss Cache. Note that <literal>&lt;s:"
"cache&gt;</literal> actually uses the instance of JBoss Cache managed by the "
"built-in <literal>pojoCache</literal> component."
msgstr ""

#. Tag: para
#: Controls.xml:1030
#, no-c-format
msgid ""
"<literal>key</literal> &#8212; the key to cache rendered content, often a "
"value expression. For example, if we were caching a page fragment that "
"displays a document, we might use <literal>key=\"Document-#{document.id}\"</"
"literal>."
msgstr ""

#. Tag: para
#: Controls.xml:1038
#, no-c-format
msgid ""
"<literal>enabled</literal> &#8212; a value expression that determines if the "
"cache should be used."
msgstr ""

#. Tag: para
#: Controls.xml:1044
#, no-c-format
msgid ""
"<literal>region</literal> &#8212; a JBoss Cache node to use (different nodes "
"can have different expiry policies)."
msgstr ""

#. Tag: programlisting
#: Controls.xml:1052
#, no-c-format
msgid ""
"<![CDATA[<s:cache key=\"entry-#{blogEntry.id}\" region=\"pageFragments\">\n"
"  <div class=\"blogEntry\">\n"
"    <h3>#{blogEntry.title}</h3>\n"
"    <div>\n"
"      <s:formattedText value=\"#{blogEntry.body}\"/>\n"
"    </div>\n"
"    <p>\n"
"      [Posted on&#160;\n"
"      <h:outputText value=\"#{blogEntry.date}\">\n"
"        <f:convertDateTime timezone=\"#{blog.timeZone}\" locale=\"#{blog."
"locale}\" \n"
"                           type=\"both\"/>\n"
"      </h:outputText>]\n"
"    </p>\n"
"  </div>\n"
"</s:cache>]]>"
msgstr ""

#. Tag: literal
#: Controls.xml:1058
#, no-c-format
msgid "&lt;s:resource&gt;"
msgstr ""

#. Tag: para
#: Controls.xml:1061
#, no-c-format
msgid ""
"A tag that acts a file download provider. It must be alone in the JSF page. "
"To be able to use this contol, web.xml must be set up as follows."
msgstr ""

#. Tag: programlisting
#: Controls.xml:1068
#, no-c-format
msgid ""
"<![CDATA[<servlet>\n"
"   <servlet-name>Document Store Servlet</servlet-name>\n"
"   <servlet-class>org.jboss.seam.document.DocumentStoreServlet</servlet-"
"class>\n"
"</servlet>\n"
"<servlet-mapping>\n"
"   <servlet-name>Document Store Servlet</servlet-name>\n"
"   <url-pattern>/seam/docstore/*</url-pattern>\n"
"</servlet-mapping>\n"
"]]>"
msgstr ""

#. Tag: para
#: Controls.xml:1074
#, no-c-format
msgid ""
"<literal>data</literal> &#8212; Data that should be downloaded. May be a "
"java.util.File, an InputStream or a byte array."
msgstr ""

#. Tag: para
#: Controls.xml:1080
#, no-c-format
msgid "<literal>fileName</literal> &#8212; Filename of the file to be served"
msgstr ""

#. Tag: para
#: Controls.xml:1085
#, no-c-format
msgid ""
"<literal>contentType</literal> &#8212; content type of the file to be "
"downloaded"
msgstr ""

#. Tag: para
#: Controls.xml:1090
#, no-c-format
msgid ""
"<literal>disposition</literal> &#8212; disposition to use. Default is inline"
msgstr ""

#. Tag: para
#: Controls.xml:1097
#, no-c-format
msgid "Here is an example on how to use the tag:"
msgstr ""

#. Tag: programlisting
#: Controls.xml:1098
#, no-c-format
msgid ""
"<![CDATA[<s:resource xmlns=\"http://www.w3.org/1999/xhtml\"\n"
"        xmlns:s=\"http://jboss.org/schema/seam/taglib\"\n"
"        data=\"#{resources.data}\"\n"
"        contentType=\"#{resources.contentType}\"\n"
"        fileName=\"#{resources.fileName}\" />\n"
"]]>"
msgstr ""

#. Tag: para
#: Controls.xml:1100
#, no-c-format
msgid ""
"The bean named <literal>resources</literal> is some backing bean that given "
"some request parameters servers a specific file, see <literal>s:download</"
"literal>."
msgstr ""

#. Tag: literal
#: Controls.xml:1105
#, no-c-format
msgid "&lt;s:download&gt;"
msgstr ""

#. Tag: para
#: Controls.xml:1107
#, no-c-format
msgid ""
"Builds a RESTful link to a <literal>&lt;s:resource&gt;</literal>. Nested "
"<literal>f:param</literal> build up the url."
msgstr ""

#. Tag: para
#: Controls.xml:1114
#, no-c-format
msgid "<literal>src</literal> &#8212; Resource file serving files."
msgstr ""

#. Tag: programlisting
#: Controls.xml:1121
#, no-c-format
msgid ""
"<![CDATA[<s:download src=\"/resources.xhtml\">\n"
"    <f:param name=\"fileId\" value=\"#{someBean.downloadableFileId}\"/>\n"
"</s:download>]]>"
msgstr ""

#. Tag: para
#: Controls.xml:1123
#, no-c-format
msgid ""
"Will produce something like: <literal><![CDATA[http://localhost/resources."
"seam?fileId=1]]></literal>"
msgstr ""

#. Tag: literal
#: Controls.xml:1130
#, no-c-format
msgid "&lt;s:graphicImage&gt;"
msgstr ""

#. Tag: para
#: Controls.xml:1133
#, no-c-format
msgid ""
"An extended <literal>&lt;h:graphicImage&gt;</literal> that allows the image "
"to be created in a Seam Component; further transforms can be applied to the "
"image."
msgstr ""

#. Tag: para
#: Controls.xml:1138
#, no-c-format
msgid ""
"All attributes for <literal>&lt;h:graphicImage&gt;</literal> are supported, "
"as well as:"
msgstr ""

#. Tag: para
#: Controls.xml:1146
#, no-c-format
msgid ""
"<literal>value</literal> &#8212; image to display. Can be a path "
"<literal>String</literal> (loaded from the classpath), a <literal>byte[]</"
"literal>, a <literal>java.io.File</literal>, a <literal>java.io.InputStream</"
"literal> or a <literal>java.net.URL</literal>. Currently supported image "
"formats are <literal>image/png</literal>, <literal>image/jpeg</literal> and "
"<literal>image/gif</literal>."
msgstr ""

#. Tag: para
#: Controls.xml:1159
#, no-c-format
msgid ""
"<literal>fileName</literal> &#8212; if not specified the served image will "
"have a generated file name. If you want to name your file, you should "
"specify it here. This name should be unique"
msgstr ""

#. Tag: emphasis
#: Controls.xml:1168
#, no-c-format
msgid "Transformations"
msgstr ""

#. Tag: para
#: Controls.xml:1169
#, no-c-format
msgid ""
"To apply a transform to the image, you would nest a tag specifying the "
"transform to apply. Seam currently supports these transforms:"
msgstr ""

#. Tag: literal
#: Controls.xml:1177
#, no-c-format
msgid "&lt;s:transformImageSize&gt;"
msgstr ""

#. Tag: para
#: Controls.xml:1182
#, no-c-format
msgid "<literal>width</literal> &#8212; new width of the image"
msgstr ""

#. Tag: para
#: Controls.xml:1188
#, no-c-format
msgid "<literal>height</literal> &#8212; new height of the image"
msgstr ""

#. Tag: para
#: Controls.xml:1194
#, no-c-format
msgid ""
"<literal>maintainRatio</literal> &#8212; if <literal>true</literal>, and "
"<emphasis>one</emphasis> of <literal>width</literal>/<literal>height</"
"literal> are specified, the image will be resized with the dimension not "
"specified being calculated to maintain the aspect ratio."
msgstr ""

#. Tag: para
#: Controls.xml:1205
#, no-c-format
msgid "<literal>factor</literal> &#8212; scale the image by the given factor"
msgstr ""

#. Tag: literal
#: Controls.xml:1215
#, no-c-format
msgid "&lt;s:transformImageBlur&gt;"
msgstr ""

#. Tag: para
#: Controls.xml:1220
#, no-c-format
msgid ""
"<literal>radius</literal> &#8212; perform a convolution blur with the given "
"radius"
msgstr ""

#. Tag: literal
#: Controls.xml:1230
#, no-c-format
msgid "&lt;s:transformImageType&gt;"
msgstr ""

#. Tag: para
#: Controls.xml:1235
#, no-c-format
msgid ""
"<literal>contentType</literal> &#8212; alter the type of the image to either "
"<literal>image/jpeg</literal> or <literal>image/png</literal>"
msgstr ""

#. Tag: para
#: Controls.xml:1247
#, no-c-format
msgid ""
"It's easy to create your own transform - create a <literal>UIComponent</"
"literal> which implements <literal>org.jboss.seam.ui.graphicImage."
"ImageTransform</literal>. Inside the <literal>applyTransform()</"
"literal>method use <literal>image.getBufferedImage()</literal> to get the "
"original image and <literal>image.setBufferedImage()</literal> to set your "
"transformed image. Transforms are applied in the order specified in the view."
msgstr ""

#. Tag: programlisting
#: Controls.xml:1258
#, no-c-format
msgid ""
"<![CDATA[<s:graphicImage rendered=\"#{auction.image ne null}\"\n"
"                value=\"#{auction.image.data}\">\n"
"  <s:transformImageSize width=\"200\" maintainRatio=\"true\"/>\n"
"</s:graphicImage>]]>"
msgstr ""

#. Tag: literal
#: Controls.xml:1262
#, no-c-format
msgid "&lt;s:remote&gt;"
msgstr ""

#. Tag: para
#: Controls.xml:1265
#, no-c-format
msgid "Generates the Javascript stubs required to use Seam Remoting."
msgstr ""

#. Tag: para
#: Controls.xml:1272
#, no-c-format
msgid ""
"<literal>include</literal> &#8212; a comma-separated list of the component "
"names (or fully qualified class names)for which to generate Seam Remoting "
"Javascript stubs. See <xref linkend=\"remoting\"/> for more details."
msgstr ""

#. Tag: programlisting
#: Controls.xml:1282
#, no-c-format
msgid ""
"<![CDATA[<s:remote include=\"customerAction,accountAction,com.acme.MyBean\"/"
">]]>"
msgstr ""

#. Tag: title
#: Controls.xml:1289
#, no-c-format
msgid "Annotations"
msgstr ""

#. Tag: para
#: Controls.xml:1291
#, no-c-format
msgid ""
"Seam also provides annotations to allow you to use Seam components as JSF "
"converters and validators:"
msgstr ""

#. Tag: literal
#: Controls.xml:1299
#, no-c-format
msgid "@Converter"
msgstr ""

#. Tag: programlisting
#: Controls.xml:1302
#, no-c-format
msgid ""
"<![CDATA[@Name(\"itemConverter\") \n"
"@BypassInterceptors \n"
"@Converter\n"
"public class ItemConverter implements Converter {\n"
"   \n"
"   @Transactional\n"
"   public Object getAsObject(FacesContext context, UIComponent cmp, String "
"value) {\n"
"      EntityManager entityManager = (EntityManager) Component.getInstance"
"(\"entityManager\");\n"
"      entityManager.joinTransaction();\n"
"      // Do the conversion\n"
"   }\n"
"  \n"
"   public String getAsString(FacesContext context, UIComponent cmp, Object "
"value) {\n"
"      // Do the conversion\n"
"   }\n"
"  \n"
"}]]>"
msgstr ""

#. Tag: programlisting
#: Controls.xml:1304
#, no-c-format
msgid ""
"<![CDATA[<h:inputText value=\"#{shop.item}\" converter=\"itemConverter\" />]]"
">"
msgstr ""

#. Tag: para
#: Controls.xml:1306
#, no-c-format
msgid ""
"Registers the Seam component as a JSF converter. Shown here is a converter "
"which is able to access the JPA EntityManager inside a JTA transaction, when "
"converting the value back to it's object representation."
msgstr ""

#. Tag: literal
#: Controls.xml:1316
#, no-c-format
msgid "@Validator"
msgstr ""

#. Tag: programlisting
#: Controls.xml:1319
#, no-c-format
msgid ""
"<![CDATA[@Name(\"itemValidator\") \n"
"@BypassInterceptors \n"
"@org.jboss.seam.annotations.faces.Validator\n"
"public class ItemValidator implements javax.faces.validator.Validator {\n"
"      \n"
"   public void validate(FacesContext context, UIComponent cmp, Object "
"value)\n"
"         throws ValidatorException {\n"
"      ItemController ItemController = (ItemController) Component.getInstance"
"(\"itemController\");\n"
"      boolean valid = itemController.validate(value);\n"
"      if (!valid) {\n"
"         throw ValidatorException(\"Invalid value \" + value);\n"
"      }\n"
"   }\n"
"}]]>"
msgstr ""

#. Tag: programlisting
#: Controls.xml:1321
#, no-c-format
msgid ""
"<![CDATA[<h:inputText value=\"#{shop.item}\" validator=\"itemValidator\" />]]"
">"
msgstr ""

#. Tag: para
#: Controls.xml:1322
#, no-c-format
msgid ""
"Registers the Seam component as a JSF validator. Shown here is a validator "
"which injects another Seam component; the injected component is used to "
"validate the value."
msgstr ""
