You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by smithfox <ss...@gmail.com> on 2007/08/22 08:03:41 UTC

Why TD can't include background attribute in html template?

I'm a wicket beginner,
Yesterday, I find a problem, but I can't sure it is a wicket1.3beta2 bug

If you write a td with a background attribute, all wicket:id after the td
will can't be recognized.

My html template is a simple form. 
UTF-8
-- 
View this message in context: http://www.nabble.com/Why-TD-can%27t-include-background-attribute-in-html-template--tf4309559.html#a12268532
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Why TD can't include background attribute in html template?

Posted by Martin Funk <fu...@arcor.de>.
smithfox schrieb:
> Thank you for reporting the bug.
>
> But I test following code is OK, Anbody can do more test under my project
> codes.
>
> <form>
> <table>
> <tr><td background="images/abc.png"></td></tr>
> </table>
> </form>
>   
I think the problem comes up when a wicket markup element is surounded 
by an markup element with an attribute refering to some resource using a 
relative path.
Some thing like

<td background="images/abc.png">
 <p wicket:id="foo">bar</p>
</td>

mf
> For duplicating the bug:
> I think the form should have tow layer nested tables and the better add some
> Chinese text :)
> Beacuse I don't know the really cause.
>
>
> Martin Funk-3 wrote:
>   
>> smithfox schrieb:
>>     
>>> The zip file is my project zip ball
>>>
>>> http://www.nabble.com/file/p12271290/wicket_test.zip wicket_test.zip 
>>>
>>>
>>>
>>> Martin Funk-3 wrote:
>>>   
>>>       
>>>> smithfox schrieb:
>>>>     
>>>>         
>>>>> I'm a wicket beginner,
>>>>> Yesterday, I find a problem, but I can't sure it is a wicket1.3beta2
>>>>> bug
>>>>>
>>>>> If you write a td with a background attribute, all wicket:id after the
>>>>> td
>>>>> will can't be recognized.
>>>>>
>>>>> My html template is a simple form. 
>>>>> UTF-8
>>>>>   
>>>>>       
>>>>>           
>>>> Could you post the the template code of the form and maybe the generated 
>>>> html of that form?
>>>>
>>>> Martin
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>>
>>>>
>>>>
>>>>     
>>>>         
>>>   
>>>       
>> I'd say it is a bug.
>>
>> Could you please verify if the bug i filed describes you problem poperly?
>> https://issues.apache.org/jira/browse/WICKET-871
>>
>> mf
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>>
>>     
>
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Why TD can't include background attribute in html template?

Posted by smithfox <ss...@gmail.com>.
Thank you for reporting the bug.

But I test following code is OK, Anbody can do more test under my project
codes.

<form>
<table>
<tr><td background="images/abc.png"></td></tr>
</table>
</form>

For duplicating the bug:
I think the form should have tow layer nested tables and the better add some
Chinese text :)
Beacuse I don't know the really cause.


Martin Funk-3 wrote:
> 
> smithfox schrieb:
>> The zip file is my project zip ball
>>
>> http://www.nabble.com/file/p12271290/wicket_test.zip wicket_test.zip 
>>
>>
>>
>> Martin Funk-3 wrote:
>>   
>>> smithfox schrieb:
>>>     
>>>> I'm a wicket beginner,
>>>> Yesterday, I find a problem, but I can't sure it is a wicket1.3beta2
>>>> bug
>>>>
>>>> If you write a td with a background attribute, all wicket:id after the
>>>> td
>>>> will can't be recognized.
>>>>
>>>> My html template is a simple form. 
>>>> UTF-8
>>>>   
>>>>       
>>> Could you post the the template code of the form and maybe the generated 
>>> html of that form?
>>>
>>> Martin
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>
>>>
>>>
>>>     
>>
>>   
> I'd say it is a bug.
> 
> Could you please verify if the bug i filed describes you problem poperly?
> https://issues.apache.org/jira/browse/WICKET-871
> 
> mf
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Why-TD-can%27t-include-background-attribute-in-html-template--tf4309559.html#a12274236
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Why TD can't include background attribute in html template?

Posted by Martin Funk <fu...@arcor.de>.
smithfox schrieb:
> The zip file is my project zip ball
>
> http://www.nabble.com/file/p12271290/wicket_test.zip wicket_test.zip 
>
>
>
> Martin Funk-3 wrote:
>   
>> smithfox schrieb:
>>     
>>> I'm a wicket beginner,
>>> Yesterday, I find a problem, but I can't sure it is a wicket1.3beta2 bug
>>>
>>> If you write a td with a background attribute, all wicket:id after the td
>>> will can't be recognized.
>>>
>>> My html template is a simple form. 
>>> UTF-8
>>>   
>>>       
>> Could you post the the template code of the form and maybe the generated 
>> html of that form?
>>
>> Martin
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>>
>>     
>
>   
I'd say it is a bug.

Could you please verify if the bug i filed describes you problem poperly?
https://issues.apache.org/jira/browse/WICKET-871

mf

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Why TD can't include background attribute in html template?

Posted by smithfox <ss...@gmail.com>.
The zip file is my project zip ball

http://www.nabble.com/file/p12271290/wicket_test.zip wicket_test.zip 



Martin Funk-3 wrote:
> 
> smithfox schrieb:
>> I'm a wicket beginner,
>> Yesterday, I find a problem, but I can't sure it is a wicket1.3beta2 bug
>>
>> If you write a td with a background attribute, all wicket:id after the td
>> will can't be recognized.
>>
>> My html template is a simple form. 
>> UTF-8
>>   
> Could you post the the template code of the form and maybe the generated 
> html of that form?
> 
> Martin
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Why-TD-can%27t-include-background-attribute-in-html-template--tf4309559.html#a12271290
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Why TD can't include background attribute in html template?

Posted by Martin Funk <fu...@arcor.de>.
smithfox schrieb:
> I'm a wicket beginner,
> Yesterday, I find a problem, but I can't sure it is a wicket1.3beta2 bug
>
> If you write a td with a background attribute, all wicket:id after the td
> will can't be recognized.
>
> My html template is a simple form. 
> UTF-8
>   
Could you post the the template code of the form and maybe the generated 
html of that form?

Martin

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org