Author |
Message |
|
Hi community,
We're using the DOF framework.
Well, the sizing of the column is not working and I don't know why. Maybe someone has some experience with it and can support.
Thanks in advance.
We're creating the columns like this one:
Code:
...
addColumn(("personIdExternal"), literals.lit("lblEmployeeId"), DOFENUMDataClass.STRING.name(), 5, false);//personIdExternal
addColumn("personName", "Name", DOFENUMDataClass.STRING.name(), 100, false);
addColumn("startDate", "Start-Datum", DOFENUMDataClass.STRING.name(), 20, false);
....
...
addColumn(String id, String name, String dataClass, int length, boolean key) {
DOFPropertyType pt = new DOFPropertyType();
pt.setId(id);
pt.setName(name);
pt.setDataClass(dataClass);
pt.setLength(length);
pt.setKey(key);
m_dofType.getProperties().add(pt);
}
...
The result is a DOF grid with same column lengths
|
|
|
Huhu @ll,
in the past we used the username of the request header client information to implement something like a single sign on solution together with applet.
With the change to the HTML solution we don't receive the client username anymore.
Does someone implement a similar process with HTML?
Or is it possible to send the username with HTML solution as well?
Regards
Thomas
|
|
|
Hi everybody,
is it possible to execute a flush by pressing the enter key in a field component?
Has anyone implemented such a functionality like this?
Something similar to "tabonenter" in refer to "tabonenteralwaysflush" but without tab
Thanks,
bye
Thomas
|
|
|
Hi Björn,
thats it!
Thank you very much again!
With best regards...
|
|
|
Hi Community,
I added an autocomplete component on my grid column.
But, it is not working.
Does someone have an idea?
Code:
public class HttpXmlInterfaceUI extends InteractionUI implements Serializable{
public class NameAutoCompleteProvider extends DefaultAutoCompleteProvider
{
public List<String> getProposals(String currentText)
{
// // simulate some waiting time...
// try
// {
// Thread.currentThread().sleep(3000);
// }
// catch (Throwable t)
// {
// }
List<String> result = new ArrayList<String>();
if ("CaptainCasa".equalsIgnoreCase(currentText))
{
result.add("CaptainCasa");
result.add("CaptainCasa Enterprise Client");
result.add("CaptainCasa Corporate Community");
result.add("CaptainCasa GmbH");
}
else if ("JSF".equalsIgnoreCase(currentText))
{
result.add("JSF - Java Server Faces");
result.add("JSF - CaptainCasa Utilization");
result.add("JSF - Server Side UI Standard");
result.add("JSF - Some German Umlaute: üüü");
result.add("JSF - This is a Euro: €");
}
else if ("Müller".equalsIgnoreCase(currentText))
{
result.add("Müller, Björn");
result.add("Müller, Karl");
}
return result;
}
}
...
protected NameAutoCompleteProvider m_nameAC;
protected String m_name;
public String getNameACURL() { return m_nameAC.getURL(); }
public String getName() { return m_name; }
public void setName(String value) {m_name = value;}
public HttpXmlInterfaceUI(IWorkpageDispatcher dispatcher) {
super(dispatcher);
try
{
m_nameAC = new NameAutoCompleteProvider();
AutoCompleteMgr.add(m_nameAC);
// register clearing of "m_nameAC"
this.getOwningDispatcher().getWorkpage().addLifecycleListener(new WorkpageDefaultLifecycleListener()
{
public void reactOnDestroyed()
{
super.reactOnDestroyed();
AutoCompleteMgr.remove(m_nameAC);
}
});
}
catch (Exception ex)
...
Code:
<t:gridcol id="g_77" text="Column" width="100" >
<t:autocomplete id="g_78" flush="true" popupwidth="250" value="#{d.HttpXmlInterfaceUI.name}" valuesurl="#{d.HttpXmlInterfaceUI.nameACURL}" />
</t:gridcol>
By adding "CaptainCasa" there is no roundtrip to the server.
By using the example code on the CC Demo Workplace it is working fine.
Thanks in advance
|
|
|
Hi everybody,
we are using "exporter.exportURLCsvWholeGrid" to export a Grid into a CSV - format.
The numbers have as decimal separator point ‘ . ’ instead of comma ‘ , ‘.
The problem is that in excel file some numbers like 1.131 cannot be converted to 1,131.
Has anyone an idea to convert in excel or to change the export function?
regards
Thomas
|
|
|
Hi Björn,
thanks for your help.
I think/guess this is exactly what I'm looking for.
But, where I've to set this parameter?
Regards
|
|
|
Hi @ll,
is it possible to replace the existing "timeout page" to a customer page?
Or is there an existing function for an automatically reload to the "index" page?
Currently we implemented a "ping functionality" so that we never receive a timeout - but this is not a nice solution.
Thanks in advance for you help!
Regards
Thomas
|
|
|
I think we're closing the long polling.
On serveral installations (other customers) it is working well.
Remarkable is, that the most entries are from the same ip address.
Is it possible that the proxy has something to do with this issue?
Maybe the client is closing, but the proxy is keep alive the session/thread?
Thanks for your help in advance!
regards Thomas
|
|
|
Hi Community,
on the customer site we've the problem that the apache tomcat is crashing every 6 hours.
In our application running on this server we're using the longpolling component. We have noticed, that it seems to be that the apache is not able to close some long polling processes (see screenshot). Maybe this is the problem, why the apache is crashing.
somebody an idea?
regards thomas
|
|
|
Hi,
perfect!!!
thanks
|
|
|
Hi,
we are going to implement a LDAP logon with our application.
For this we need the user name of the client user.
Is it possible to send the user name by the http header?
regards
Thomas
|
|
|
Hi Community,
is fixed with the latest version of cc.
regards
|
|
|
Hi,
this are things I checked before.
bgpaint is working.
Only the font and foreground doesn't effect the view.
Regards, Thomas
|
|
|
Hi Community,
we're working with stylesheets.
For some time past the style for grdicols in refer to font/foreground is not working any more.
Code:
<tag name="gridcol" variant="default">
<set attribute="background" value="#C0C0C0"/>
<set attribute="bgpaint" value="rectangle(0,0,100%,100%,#FFFFFF,#C3D7E9,vertical)"/>
<set attribute="font" value="weight:bold"/>
<set attribute="foreground" value="#3F6495"/>
<set attribute="rowalignmenty" value="top"/>
</tag>
The font is neither displayed bold nor displayed colored.
Do someone have the same problems?
regards
Thomas
|
|
|