You can use &lt;span&gt; to write <span>.
For your problem, did you already try new TextField("waitedForId", ...) ?
Which exception do you get?
howzat wrote:
>
> The < span > didn't show up so I post again (with spanA replacing the span
> tag).
>
> I have a table with 3 columns and 1 row.
> I need the 1st 2 cells to show the 2 wicket radio buttons ("allExtractors"
> & "triggeredExtractors") in my RadioGroup ("filterGroup") and the 3rd cell
> to show a wicket text field ("waitedForId").
>
> I tried:
>
> <spanA wicket:id="filterGroup">
> <td><input type="radio" wicket:id="allExtractors"> </input></td>
> <td><input type="radio" wicket:id="triggeredExtractors"> </input></td>
> <td><input type="text" wicket:id="waitedForId"> </input></td>
> </spanA>
>
> and
>
> TextField waitedForIdField = new TextField("filterGroup:waitedForId",new
> PropertyModel(this,"getCurrentExtractorFilter().waitedForId"));
>
> as "filterGroup:waitedForId" is the format other nested components are
> represented at to in the Page section of the exception page I get back (eg
> my "allExtractors" radio button appears as
> "form:filterGroup:allExtractors"). This did not work.
>
> I can take "waitedForId" out of the scope of the span ("filterGroup") and
> it works (with the text field's id set to just "waitedForId") but ... is
> there a way to do nesting as I describe above? What are the
> rules/best-practices regarding nested components in wicket?
>
--
View this message in context:
http://www.nabble.com/nested-%22wicket%3Aid%22s-tf3824195.html#a10829655
Sent from the Wicket - User mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user