This week's book giveaway is in the General Computing forum.
We're giving away four copies of Emmy in the Key of Code and have Aimee Lucido on-line!
See this thread for details.
Win a copy of Emmy in the Key of Code this week in the General Computing forum!

ivan stefko

Greenhorn
+ Follow
since Jan 18, 2010
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by ivan stefko

or is there any possibility how can i use CellTree for it? CellTree is OK - because there is expand/collapse functionality, but there is only one 'column'...

for better demonstration this is what i exactly want:

http://dev.sencha.com/playpen/gxt/gridplugins/ - first table ... . In this case there is some external jar ... . I need to do it in GWT 2.1.0 (celltable, cellTree ... )

i.
9 years ago
GWT

Maneesh Godbole wrote:Looks like your requirement is like this:
1) You got data which has multiple attributes
2) These attributes need to be displayed as columns
3) Some of the attribute values can translate to heavy data.
4) You want to optimize the user experience so its fast.
5) One way of optimizing is fetching and displaying data only when required

Is this correct? If yes, my initial suggestion still holds true. You can display data in a tabular format with headers and all. To load and display heavy data at runtime, use a tree or a disclosure panel or even a lazy loading panel.

If this is not what you had in mind, please tell us what exactly you are trying to do.

PS. In the link you provided, incorporating headers is not that difficult. Just make them the first row of your table.



yeah.. requirements are OK. what i'm looking for is solution for fllowing... .

i have this simple example:


this is only table with data without expanded/colpased rows. So i need to add this functionality to this table and i don't know how.
I would like to use DisclosurePanel (if it is possible in this case) for it. So it means that i need define another column - which one/which kind of type?

Smth like this:



and next question is how can i achieve will be expanded throught all columns in table = colspan in HTML.

thanks

9 years ago
GWT

Maneesh Godbole wrote:Im a bit confused in understanding what exactly you are trying to do here.
In the link you provided, I already see multiple columns.Date, ID, Some stuff, commiter, some other stuff.


yeah.. may be bad example - this example should demonstrated collapse/expand rows. Is hard to say in this example if there are multiple columns or there are only one column because there isn't table header.
9 years ago
GWT

Maneesh Godbole wrote:You can add widgets to table cells.
Tree is a widget. So is a disclosure panel.



tree is a widget but represents only one column. i need table with 5 columns ... . I can use disclosurePanel and add this widget to table cells but there is another question: how can I assecurate that column width will be dynamical (according to context width) for each row??
9 years ago
GWT
Hi, I would like to create table in GWT 2.1.0 with expand/collapse rows (more than one column... ). Something like http://code.google.com/p/plechacik/updates/list but with more columns. Could you give me some advice how to?

thanks,
9 years ago
GWT

Jaikiran Pai wrote:

ivan stefko wrote:
problem is that DailyRollingFileAppender has method rollOver as private...
i need overwride this method - rollOver - because there is joining full path for rolling file.. => but it isn't possible. so i need some solution for it... .



So that would mean, you will perhaps have to extend from FileAppender instead of DailyRollingFileAppender and then rewrite your own logic.



yes.. it's possible .. good idea. my another idea is a take source code of DailyRollingFileAppender and rewrite by my logic...

thanks

Martijn Verburg wrote:Have you tried writing some code to extend the class? Is there something you are stuck on in particular?


ironic, ironic..

problem is that DailyRollingFileAppender has method rollOver as private... . you know what means 'private' clausula in base class?? i think so.. .

i need overwride this method - rollOver - because there is joining full path for rolling file.. => but it isn't possible. so i need some solution for it... .

some other constructive suggestions?

Martijn Verburg wrote:Have you read the guide on the log4j website?


yes, i looked there but i didn't find something what is usefull for my case... . some idea? or usefull link?
hi,
I'm going to use DailyRollingFileAppender but I need some special functionality of it. So, solution is write own appender (extends from DailyRollingFileAppender). DailyRollingFileAppender 'roll' periodicaly log file according datePattern which are defined in log4j.xml file => join timestamp to name of logfile.

I need
1. default log direcotry for log4j will be DIRECTORY1 (somewhere in my HDD) - there will be always 1 file (because rolling file will be moving to other directory)
2. move rolling logfile to specific directory (DIRECTORY2)... => log4j find out that is time to roll log file -> join timestamp to log file name -> move this file to my new directory (DIRECTORY2)

how can i write own appender and which method i have to overwrite?

thank you..
i already find the solution. is necessary to add this code to client:

MimeHeaders hd = message.getMimeHeaders();
hd.addHeader("SOAPAction", "urn:yoursoapaction");

more
See http://users.skynet.be/pascalbotte/rcx-ws-doc/saajpost.htm for a
sample SAAJ client.
9 years ago
hi all,
i'm trying to develop web service with attachment but i have a problem and i don't know where..

so server side:


if i deploy this web service to server (tomcat 5.5.25) and use soapUI application as client for test ... everything is OK... web service gets me 3 attachments.

so.. i need to have a look to client side:


if i run this client ... code ends with this error (- call this method: SOAPMessage response = connection.call(message, endpoint)):

EVERE: Generating fault class
AxisFault
faultCode: {http://xml.apache.org/axis/}Client.NoSOAPAction
faultSubcode:
faultString: no SOAPAction header!
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:no SOAPAction header!
at org.apache.axis.transport.http.AxisServlet.getSoapAction(AxisServlet.java:1013)
at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:678)
....................

no SOAPAction header!
at org.apache.axis.transport.http.AxisServlet.getSoapAction(AxisServlet.java:1013)
at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:678)
...................


-----------------------------------------------------------
develop IDE: eclipse
jar file in classpath: activation.jar, axis.jar, commons-discovery-0.2.jar, commons-logging.jar, jaxrpc.jar, mailapi_1_3_1.jar, saaj.jar, webserviceutils.jar, wsdl4j-1.5.1.jar


thanks for any help!

i.
9 years ago