You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Nils Drews <dr...@imapmail.org> on 2006/04/26 16:26:22 UTC

[tobago] Re: Cut off Boxes and Tables

Hi group and Volker,

Thx for the hint with the prefix ... should have thought of it.

The jsf code looks like:

<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://myfaces.apache.org/tobago/component"
prefix="tc"%>
<%@ taglib uri="http://myfaces.apache.org/tobago/extension"
prefix="tx"%>

<f:view>
	<tc:page width="800px" height="600px">
		<f:facet name="layout">
			<tc:gridLayout rows="1*;fixed;1*" columns="1*;500px;1*"/>
		</f:facet>
		
		<tc:cell spanX="3"/>

		<tc:cell/>
		<tc:box id="login_Form" label="User Verwaltung">
			<f:facet name="layout">
				<tc:gridLayout />
			</f:facet>
			<tx:in id="name" value="#{loginBean.name}" required="true" label="Name">
				<f:validateLength minimum="2" maximum="10" />
			</tx:in>
			<tx:in id="password" value="#{loginBean.password}" required="true" label="Passwort">
				<f:validateLength minimum="2" maximum="10" />
			</tx:in>
			<tc:button id="button" action="#{loginBean.login}" 
				label="Login" defaultCommand="true"/>
		</tc:box>
		<tc:cell/>
		
		<tc:cell spanX="3"/>
		
	</tc:page>
</f:view>

And the Screenshot is attached. There you can see, that there is smth.
missing on the right side. 

Thx in advance (again)

Nils Drews

On Wed, 26 Apr 2006 14:53:18 +0200, "Volker Weber"
<us...@weber-oldenburg.de> said:
> Hi Niels,
> 
> you still speaking about tobago? Please prefix tobago issues with
> '[tobago]' in the subject.
> 
> could you please post the jsf code? And maybe a screenshot.
> 
> Without more info my guess is a misconfiguration of the layout
> constraints.
> 
> 
> Regards,
>   Volker
> 
> 
> Nils Drews wrote:
> > Hello,
> > 
> > OK, now I'm getting a box, everything is rendered fine ... except for
> > the only Problem, that each Box is cut off on the right side. It seems,
> > that there are only a few px missing, but it's still annoying. Anyone
> > got the same problem ??
> > 
> > Just another Dummy-Question!!
> > 
> > Ciao, Nils Drews
> 
> -- 
> Don't answer to From: address!
> Mail to this account are droped if not recieved via mailinglist.
> To contact me direct create the mail address by
> concatenating my forename to my senders domain.
-- 
  Nils Drews
  drews@imapmail.org


Re: [tobago] Re: Cut off Boxes and Tables

Posted by Nils Drews <dr...@imapmail.org>.
I used scarborough and attached all available themes in the lib folder.
But after changing it to charlotteville it worked and i couldn'
reproduce the error even if i switched back to scarborough ... strange
... another question is, why the buttons semm to work with mozilla and
are doing a relaod, but don't trigger the attached action. Used with IE6
its all right and it works out pretty well ...

Well, but thank you very much for your time and help!

Now it's working with all themes and with IE6. For my testing purpose
that is ok ...

Ciao, Nils Drews

On Wed, 26 Apr 2006 16:47:24 +0200, "Volker Weber"
<us...@weber-oldenburg.de> said:
> This looks like something with the theme configuration is wrong.
> Looks like layout calculating is done for speyside theme but rendering
> is in scarborough theme. I have no idea how this could be possible.
> Could you send me the war file to investigate this?
> 
> Which tobago-theme-*.jar are in WEB-INF/lib ? And which themes are
> configured in tobago-config.xml?
> 
> 
> 
> Nils Drews wrote:
> > Hi group and Volker,
> > 
> > Thx for the hint with the prefix ... should have thought of it.
> > 
> > The jsf code looks like:
> > 
> > <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
> > <%@ taglib uri="http://myfaces.apache.org/tobago/component"
> > prefix="tc"%>
> > <%@ taglib uri="http://myfaces.apache.org/tobago/extension"
> > prefix="tx"%>
> > 
> > <f:view>
> > 	<tc:page width="800px" height="600px">
> > 		<f:facet name="layout">
> > 			<tc:gridLayout rows="1*;fixed;1*" columns="1*;500px;1*"/>
> > 		</f:facet>
> > 		
> > 		<tc:cell spanX="3"/>
> > 
> > 		<tc:cell/>
> > 		<tc:box id="login_Form" label="User Verwaltung">
> > 			<f:facet name="layout">
> > 				<tc:gridLayout />
> > 			</f:facet>
> > 			<tx:in id="name" value="#{loginBean.name}" required="true" label="Name">
> > 				<f:validateLength minimum="2" maximum="10" />
> > 			</tx:in>
> > 			<tx:in id="password" value="#{loginBean.password}" required="true" label="Passwort">
> > 				<f:validateLength minimum="2" maximum="10" />
> > 			</tx:in>
> > 			<tc:button id="button" action="#{loginBean.login}" 
> > 				label="Login" defaultCommand="true"/>
> > 		</tc:box>
> > 		<tc:cell/>
> > 		
> > 		<tc:cell spanX="3"/>
> > 		
> > 	</tc:page>
> > </f:view>
> > 
> > And the Screenshot is attached. There you can see, that there is smth.
> > missing on the right side. 
> > 
> > Thx in advance (again)
> > 
> > Nils Drews
> > 
> > On Wed, 26 Apr 2006 14:53:18 +0200, "Volker Weber"
> > <us...@weber-oldenburg.de> said:
> > 
> >>Hi Niels,
> >>
> >>you still speaking about tobago? Please prefix tobago issues with
> >>'[tobago]' in the subject.
> >>
> >>could you please post the jsf code? And maybe a screenshot.
> >>
> >>Without more info my guess is a misconfiguration of the layout
> >>constraints.
> >>
> >>
> >>Regards,
> >>  Volker
> >>
> >>
> >>Nils Drews wrote:
> >>
> >>>Hello,
> >>>
> >>>OK, now I'm getting a box, everything is rendered fine ... except for
> >>>the only Problem, that each Box is cut off on the right side. It seems,
> >>>that there are only a few px missing, but it's still annoying. Anyone
> >>>got the same problem ??
> >>>
> >>>Just another Dummy-Question!!
> >>>
> >>>Ciao, Nils Drews
> >>
> >>-- 
> >>Don't answer to From: address!
> >>Mail to this account are droped if not recieved via mailinglist.
> >>To contact me direct create the mail address by
> >>concatenating my forename to my senders domain.
> >>
> >>
> >> ------------------------------------------------------------------------
> >>
> >>
> >> ------------------------------------------------------------------------
> >>
> >> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> <%@ taglib
> >> uri="http://myfaces.apache.org/tobago/component" prefix="tc"%> <%@
> >> taglib uri="http://myfaces.apache.org/tobago/extension" prefix="tx"%> 
> 
> -- 
> Don't answer to From: address!
> Mail to this account are droped if not recieved via mailinglist.
> To contact me direct create the mail address by
> concatenating my forename to my senders domain.
-- 
  Nils Drews
  drews@imapmail.org


Re: [tobago] Re: Cut off Boxes and Tables

Posted by Volker Weber <us...@weber-oldenburg.de>.
This looks like something with the theme configuration is wrong.
Looks like layout calculating is done for speyside theme but rendering
is in scarborough theme. I have no idea how this could be possible.
Could you send me the war file to investigate this?

Which tobago-theme-*.jar are in WEB-INF/lib ? And which themes are
configured in tobago-config.xml?



Nils Drews wrote:
> Hi group and Volker,
> 
> Thx for the hint with the prefix ... should have thought of it.
> 
> The jsf code looks like:
> 
> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
> <%@ taglib uri="http://myfaces.apache.org/tobago/component"
> prefix="tc"%>
> <%@ taglib uri="http://myfaces.apache.org/tobago/extension"
> prefix="tx"%>
> 
> <f:view>
> 	<tc:page width="800px" height="600px">
> 		<f:facet name="layout">
> 			<tc:gridLayout rows="1*;fixed;1*" columns="1*;500px;1*"/>
> 		</f:facet>
> 		
> 		<tc:cell spanX="3"/>
> 
> 		<tc:cell/>
> 		<tc:box id="login_Form" label="User Verwaltung">
> 			<f:facet name="layout">
> 				<tc:gridLayout />
> 			</f:facet>
> 			<tx:in id="name" value="#{loginBean.name}" required="true" label="Name">
> 				<f:validateLength minimum="2" maximum="10" />
> 			</tx:in>
> 			<tx:in id="password" value="#{loginBean.password}" required="true" label="Passwort">
> 				<f:validateLength minimum="2" maximum="10" />
> 			</tx:in>
> 			<tc:button id="button" action="#{loginBean.login}" 
> 				label="Login" defaultCommand="true"/>
> 		</tc:box>
> 		<tc:cell/>
> 		
> 		<tc:cell spanX="3"/>
> 		
> 	</tc:page>
> </f:view>
> 
> And the Screenshot is attached. There you can see, that there is smth.
> missing on the right side. 
> 
> Thx in advance (again)
> 
> Nils Drews
> 
> On Wed, 26 Apr 2006 14:53:18 +0200, "Volker Weber"
> <us...@weber-oldenburg.de> said:
> 
>>Hi Niels,
>>
>>you still speaking about tobago? Please prefix tobago issues with
>>'[tobago]' in the subject.
>>
>>could you please post the jsf code? And maybe a screenshot.
>>
>>Without more info my guess is a misconfiguration of the layout
>>constraints.
>>
>>
>>Regards,
>>  Volker
>>
>>
>>Nils Drews wrote:
>>
>>>Hello,
>>>
>>>OK, now I'm getting a box, everything is rendered fine ... except for
>>>the only Problem, that each Box is cut off on the right side. It seems,
>>>that there are only a few px missing, but it's still annoying. Anyone
>>>got the same problem ??
>>>
>>>Just another Dummy-Question!!
>>>
>>>Ciao, Nils Drews
>>
>>-- 
>>Don't answer to From: address!
>>Mail to this account are droped if not recieved via mailinglist.
>>To contact me direct create the mail address by
>>concatenating my forename to my senders domain.
>>
>>
>> ------------------------------------------------------------------------
>>
>>
>> ------------------------------------------------------------------------
>>
>> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> <%@ taglib
>> uri="http://myfaces.apache.org/tobago/component" prefix="tc"%> <%@
>> taglib uri="http://myfaces.apache.org/tobago/extension" prefix="tx"%> 

-- 
Don't answer to From: address!
Mail to this account are droped if not recieved via mailinglist.
To contact me direct create the mail address by
concatenating my forename to my senders domain.