[jboss-user] [JBoss Seam] - Re: Entities with one/many_to_many relationships and SEAM

adam.stortz do-not-reply at jboss.com
Mon Aug 21 09:21:07 EDT 2006


Pete,

I added facelets.LIBRARIES to my web.xml.  This did not correct the problem.

No, the tag is not being printed out verbatim on the page.  The interesting part of the resulting html looks like this: (This is after making multiple selections and submitting the page)


  | <form id="j_id4" name="j_id4" method="post" action="/unleashed/editBlogEntry.faces" enctype="application/x-www-form-urlencoded">
  |        <input type="hidden" name="j_id4:j_id5" value="0" /><table>
  |        <tbody>
  |            <tr>
  |                <td>Title</td>
  |                <td>
  |                    <input id="j_id4:title" type="text" name="j_id4:title" value="Title" />
  |                </td>
  |                <td></td>
  |            </tr>
  |            <tr>
  |                <td>Body</td>
  |                <td>
  |                    <textarea id="j_id4:body" name="j_id4:body" cols="30">
  |                        Body
  |                    </textarea>
  |                </td>
  |                <td></td>
  |            </tr>
  |            <tr>
  |                <td>User Groups</td>
  |                <td>
  |                    <select id="j_id4:userGroups" name="j_id4:userGroups" multiple="multiple" size="5" size="5">
  |                        <option value="1" selected="selected">User Group 1</option>
  | 	       <option value="2" selected="selected">User Group 2</option>
  |                    </select>
  |                </td>
  |                <td>
  |                    <span class="error">j_id4:userGroups: Validation Error: Value is not valid</span>
  |                 </td>
  |             </tr>
  |         </tbody>
  |     </table>
  |     <input type="submit" name="j_id4:j_id14" value="Save" />
  |     <input type="hidden" name="javax.faces.ViewState" id="javax.faces.ViewState" value="really long messy string" />
  |     <input type="hidden" name="j_id4" value="j_id4" />
  | </form>
  | 

When the page is submitted, none of my server side code is called.

Any thoughts?

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

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



More information about the jboss-user mailing list