You misunderstand. I'm not talking about wicket:id, I'm talking about the standard-HTML attribute "id".

I'm saying that the tag having the attribute wicket:id="fileInput" needs to be also have id="upload".

Gili

Juergen Donnerstag wrote:
sorry, but I don't get it. Why shall there be a wicket:id="upload"? As
you already mentioned there is no component with id "upload" which get
added either. The component handling the <input> has the id
"fileInput".

Juergen

On 5/27/05, Gili <[EMAIL PROTECTED]> wrote:

       I just did a CVS update to be sure and in the rc3 codebase there is
still no id="upload" tag.

       I think you might be confusing

value="Upload!"

       with

id="upload"

       We're looking for the latter and it doesn't exist in the HTML file.

Gili

Juergen Donnerstag wrote:

well, it does. see below

      <fieldset>
       <legend>Upload form</legend>
        <p>
         <label for="upload">File</label>
         <input wicket:id="fileInput" type="file"/>
         </p>
         <input type="submit" value="Upload!"/>
      </fieldset>

Juergen

On 5/27/05, Gili <[EMAIL PROTECTED]> wrote:


      So this is a bug in our example code. The fact that we have
for="upload" implies that the following <input> html tag must have
id="upload" which it does not.

      Should I open a bug report for this or can you put in a quick fix?

Thanks,
Gili

Juergen Donnerstag wrote:


wicket components are identified by wicket:id, as you should know by
now. please see any of the html refs on the "for" attribute.

Juergen

On 5/27/05, Gili <[EMAIL PROTECTED]> wrote:



In wicket-examples, UploadPage.html we have:

         <label for="upload">File</label>

but there is no html component with id "upload". Is this a bug? Which
component is this meant to label?

Thanks,
Gili


-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop




-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=fad-ysdn-ostg-q22005
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop



-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop




-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=fad-ysdn-ostg-q22005
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop



-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop




-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=fad-ysdn-ostg-q22005
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop



-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to